Woodpecker Investigating Pipelines
ASecurityUse when a Woodpecker CI pipeline failed or its status is unclear, or to check whether a pipeline or step ran - a red `ci/woodpecker/...` check, "Pipeline failed" from `gh pr checks`, a Woodpecker `/repos/<id>/pipeline/<n>` URL or pipeline number, "why did CI fail" in a repo that builds with Woodpecker, a push or `pull_request` pipeline that never showed up, testing whether a new step or secret works, or before reading webhook deliveries or asking the user to open a Woodpecker page.
- 13 stars
- 0 votes
- 0 copies
- 2 views
- Added November 9, 2026
Works with
Security analysis
100/100Pro scans all 5 files and shows the line behind each finding
npx -y skills add technicalpickles/pickled-claude-plugins --skill woodpecker-investigating-pipelines --agent claude-codeAre you the author of Woodpecker Investigating Pipelines?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/technicalpickles-woodpecker-investigating-pipelines)---
name: woodpecker-investigating-pipelines
description: Use when a Woodpecker CI pipeline failed or its status is unclear, or to check whether a pipeline or step ran - a red `ci/woodpecker/...` check, "Pipeline failed" from `gh pr checks`, a Woodpecker `/repos/<id>/pipeline/<n>` URL or pipeline number, "why did CI fail" in a repo that builds with Woodpecker, a push or `pull_request` pipeline that never showed up, testing whether a new step or secret works, or before reading webhook deliveries or asking the user to open a Woodpecker page.
---
# Investigating Woodpecker pipelines
Woodpecker's web UI and REST API need a login Claude doesn't have, and a forge status only says "failed". `woodpecker-snapshot` drives `woodpecker-cli` (already logged in) and prints one block: the pipeline's state, every step's state, and the first failed step's log tail.
## Run it
```bash
bash "${CLAUDE_PLUGIN_ROOT}/scripts/woodpecker-snapshot" [REF] [--pr N | --sha SHA] [--repo owner/name] [--tail N]
```
| Input | Looks up |
|-------|----------|
| nothing | the pipeline for the current commit (repo from the git remote) |
| `--pr N` or `--sha SHA` | the pipeline for that commit (needs `gh` for `--pr`) |
| a number | that pipeline number. Numbers count across every branch and event in the repo, so don't guess one from a neighbor; look it up by commit. |
| a pipeline URL | the repo ID and number in it |
Exit 0 means a state was reported, including `failed`. Exit 2 means it couldn't read Woodpecker; the `State:` line says why.
A push and a `pull_request` pipeline can share a commit. The snapshot reports the newest and lists the rest as `Also for this commit:`. Check any of those that matter to the question.
## Read the State line first
The first line is always `State: <state>`. Report that state, not a guess from the forge status.
| State | Do this |
|-------|---------|
| `failed` | Read the log tail for the **first** failure. Later skipped steps are fallout. If the tail cuts off before the error, rerun with a larger `--tail`. With no failed step, the `Pipeline errors:` lines are the cause (a config or secret error). |
| `passed` | Mention any "failed but ignored" warning. It means a step fails on every run. |
| `running`, `queued`, `blocked` | Say so and stop. Don't call it passed or failed. `blocked` needs approval in the Woodpecker UI, which is the user's step. |
| `no pipeline` | Never read this as passing. Go through the listed causes. A silent webhook outage looks exactly like this. |
| `not set up`, `unauthorized` | The login is the user's step (it stores a token in the system keychain, which a command sandbox may block). Show the printed fix and see [references/setup.md](references/setup.md). |
| `unreachable` | Says nothing about the code. If the sandbox blocked the host, the printed fix is an allowlist entry. |
| `unknown` | Show the raw status or error as printed. Don't interpret it. |
## When the snapshot isn't enough
Raw commands, status strings seen so far, and CLI quirks are in [references/states.md](references/states.md).
Files in this skill
- SKILL.md
- evals/README.md
- evals/eval_set.json
- references/setup.md
- references/states.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.