agentleFS
hungnb94hungnb94/claude-code-pipeline/skills/run/SKILL.md

run

Skill2 starsChanged 6 months agoMITView on GitHub

Run a multi-step pipeline from a YAML file. Use when the user invokes /pipeline:run with an optional path to a pipeline YAML file.

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use debug, review and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 4 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After each step completes, the Stop hook advances to the next step automatically

    line 31

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

pipeline:run

Runs a pipeline defined in a YAML file. The pipeline executes steps automatically — agent steps run Claude prompts, shell steps run bash commands, and the Stop hook drives step continuation without user intervention.

Usage

/pipeline:run [path/to/pipeline.yaml] [requirements text]
  • path/to/pipeline.yaml — optional; defaults to .pipeline/pipeline.yaml
  • requirements text — optional inline text stored as {{user_requirements}} in pipeline shared state

Examples:

/pipeline:run
/pipeline:run examples/pipeline.yaml
/pipeline:run Add authentication with JWT tokens
/pipeline:run examples/pipeline.yaml Add authentication with JWT tokens

What happens

  1. The pipeline is initialized from the YAML file
  2. The entry step prompt is injected immediately — except for type: interview, which injects nothing (see below)
  3. After each step completes, the Stop hook advances to the next step automatically
  4. The pipeline ends when a terminal step is reached or a step has no next

Executing an injected step prompt

For agent and shell steps, each step's prompt/commands are injected verbatim via hook context — execute it exactly as given, including invoking any skill or command it references. Do not substitute your own ad-hoc approach (for example, asking your own improvised questions instead of running a referenced skill) even if it seems equivalent — the injected prompt is the step's contract with the rest of the pipeline.

interview steps are the exception: nothing is ever injected, not even a prompt: field defined in the YAML. Gather requirements through unprompted, natural conversation with the user. Edit/Write/MultiEdit are blocked until you finalize requirements by running complete_step.js --requirements.

Pipeline YAML format

entry: step_name

steps:
  step_name:
    type: agent # or shell
    prompt: |
      Your prompt here. Use {{previous_step_output}} for shared state.
    next: next_step # omit to end pipeline

  shell_step:
    type: shell
    commands:
      - npm test
    next: on_success
    next_fail: on_failure
    max_visits: 3 # prevent infinite loops

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.