Claude Skill

woodpecker-investigating-pipelines

Use when a Woodpecker CI pipeline failed or its status is unclear - a red `ci/woodpecker/...` check, "Pipeline failed" from `gh pr checks`, a Woodpecker `/repos/<id>/pipeline/<n>` URL, "why did CI fail" in a repo that builds with Woodpecker, or a push that has no CI result at all

LLM Mart · 0 points · 1 views 0 listing impressions 0 install-command copies
Download technicalpickles-pickled-claude-plugins-plugins_woodpecker_skills_woodpecker-investigating-pipelines-85f769c.zip · 6 KB

Install

skills CLI npx skills add https://github.com/technicalpickles/pickled-claude-plugins/tree/main/plugins/woodpecker/skills/woodpecker-investigating-pipelines
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install technicalpickles-pickled-claude-plugins@llmmart
Git git clone https://github.com/technicalpickles/pickled-claude-plugins.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole technicalpickles/pickled-claude-plugins collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

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 "${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.
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.

Files (pickled-claude-plugins)
  • evals
    • eval_set.json 3 KB
      Loading…
    • README.md 3.9 KB
      Loading…
  • references
    • setup.md 1.7 KB
      Loading…
    • states.md 1.8 KB
      Loading…
  • SKILL.md 3 KB
    ---
    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).
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.