agentleFS
IvanMurzakIvanMurzak/pipeline-claude/skills/clone/SKILL.md

clone

Skill1 starsChanged 5 months agoMITView on GitHub

Scaffold a ready-made pipeline into this project by copying a template that ships with the installed pipeline CLI into ./.pipeline/<name>/. Use to bootstrap a working pipeline (e.g. support-answer, ship-feature, example-minimal) without authoring one from scratch. Also lists the available templates with --list.

  • Installs packages

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. spotify/ads-agentic-tools★ 18same name
    2. moonkey48/claude-code-tips-★ 4same name
    3. vinitjhawar/opencouncil★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do NOT Read the cloned PIPELINE.md or any steps//*.md content, and do not open the template source.

    line 24
  2. Very specific:

    Run this from the consumer project's cwd — do NOT cd elsewhere first.

    line 46
  3. Distinctive:

    On a successful clone, tell the user briefly how to run it: Keep it short:

    line 58
  4. Very specific:

    Run it from here: /pipeline:run <cwd>/.pipeline/<name>/steps/01-*.md, or

    line 59
  5. Very specific:

    Run it as a driver from a terminal: pipeline drive <name>.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Clone a pipeline template

You are copying a ready-made pipeline TEMPLATE into the user's project so they have a working pipeline to run and adapt — no authoring required. You invoke the installed pipeline CLI (@baizor/pipeline; see docs/running-pipelines.md if it is not on PATH) — the plugin ships no CLI code of its own.

The template lands at <cwd>/.pipeline/<name>/ — inside the consumer project, never the plugin install dir. The template SOURCE ships with the CLI itself; it resolves the template relative to its own location, so cloning works identically wherever pipeline was installed from.

CRITICAL — token discipline: this is a pure thin router

Do NOT Read the cloned PIPELINE.md or any steps/**/*.md content, and do not open the template source. Your only job is to shell out to the installed CLI in the user's current working directory and report what it printed. The CLI already lists every file it created; relay that, do not re-read the tree to describe it. (This skill's allowed-tools is Bash only, which enforces that.)

Procedure

  1. Run pipeline clone in the consumer's current working directory, passing the user's arguments through verbatim (the <template-name> plus any flags):

    pipeline clone <passthrough-args>
    • Bare form: /pipeline:clone support-answer → run ... clone support-answer.
    • /pipeline:clone --list → run ... clone --list to show the available templates (no clone happens).
    • Pass --force (overwrite an existing target) and --dir <path> (clone into a different project root instead of the cwd) straight through when the user supplies them. Do NOT invent or hardcode a --dir; the default (cwd) is correct almost always.
    • Run this from the consumer project's cwd — do NOT cd elsewhere first; the clone must happen relative to where the user is (or --dir, when given).
  2. Interpret the exit code and report:
    • 0 — cloned (or --list / --help). Relay the CLI's output: the template name and the file list it printed. Then tell the user how to run it (step 3).
    • 1 — refused: ./.pipeline/<name>/ already exists (or the copy failed). Relay the CLI's message; offer --force to overwrite (which replaces the folder entirely) if that's what they want. Do not force it yourself.
    • 2 — usage: no name, unknown template, or a bad flag. The CLI prints the list of valid templates; relay it so the user can pick a real one.
  3. On a successful clone, tell the user briefly how to run it. Keep it short:
    • Run it from here: /pipeline:run <cwd>/.pipeline/<name>/steps/01-*.md, or
    • Run it as a driver from a terminal: pipeline drive <name>.
    • For the support-answer template specifically, mention that it takes two pipeline variables — PP_QUESTION (the question to answer) and PP_DOCS_DIR (the folder to retrieve over) — passed as --var PP_QUESTION=... --var PP_DOCS_DIR=....

Notes

  • Requires the pipeline CLI on PATH — install it once with bun add -g @baizor/pipeline (or npm i -g @baizor/pipeline); see docs/running-pipelines.md. If the command fails because pipeline is not found, point the user at that install line and stop; do not try to install it for them.
  • The available templates are whatever pipeline clone --list prints — do not hardcode the list here; it grows over time.
  • This skill never edits the template after cloning. If the user wants to adapt it, they edit the files under ./.pipeline/<name>/ themselves, or use /pipeline:design for a brand-new pipeline.

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.