robertsfeir/atelier-pipeline/pipeline-setup

Claude Code and agent skill by robertsfeir/atelier-pipeline

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when users want to install or set up the atelier-pipeline multi-agent orchestration system in their project. Bootstraps all agent personas, rules, commands, references, and pipeline state files. Works for new and existing projects.

Install

npx vskill@latest install robertsfeir/atelier-pipeline/pipeline-setup

SKILL.md

The same SKILL.md was published earlier as robertsfeir/atelier-pipeline/pipeline-setup.

Atelier Pipeline -- Setup

This skill installs the full Atelier Pipeline multi-agent orchestration system into the user's project.

Heads-up (Claude Code < 2.1.89): Agent persona frontmatter declares an effort field (values: low, medium, high, xhigh) in addition to model. Claude Code runtimes older than 2.1.89 ignore the effort field silently -- the pipeline still functions, but effort-based promotion signals are not honoured by the runtime. See ADR-0041 for the full effort-tier model. If your team is on an older Claude Code build, either upgrade or treat the effort field as documentation-only. Cursor users: the effort field is passed through as metadata; refer to Cursor release notes for runtime support.

<contract> <requires>

  • CLAUDE_PLUGIN_ROOT (Claude Code) or CURSOR_PROJECT_DIR (Cursor) environment variable set by the runtime.
  • Plugin source/ tree present at ${CLAUDE_PLUGIN_ROOT}/source/ (shared, claude, cursor overlays).
  • Write access to project root (.claude/, docs/, CLAUDE.md).
  • jq available on PATH for hook registration in settings.json.

</requires> <produces>

  • .claude/rules/, .claude/agents/, .claude/commands/, .claude/references/, .claude/hooks/ populated from source overlays.
  • .claude/pipeline-config.json with branching strategy, project name, and feature flags.
  • .claude/settings.json with hook registrations (PreToolUse, SubagentStart, SubagentStop, SessionStart, PreCompact, PostCompact, StopFailure).
  • .claude/.atelier-version plugin version marker.
  • docs/pipeline/ state files (pipeline-state.md, context-brief.md, error-patterns.md, investigation-ledger.md).
  • CLAUDE.md with pipeline section appended.
  • Cursor only: .cursor-plugin/rules/*.mdc reference wrappers.

</produces> <invalidates>

  • Any prior install's .claude/rules/, .claude/agents/, .claude/commands/, .claude/references/, and .claude/hooks/ contents (overwritten from source on re-sync; live state files in docs/pipeline/ and .claude/pipeline-config.json are preserved).
  • Deprecated quality-gate.sh, orphan brain-capture hooks, orphan session-hydrate.sh registration, and stale atelier-brain .mcp.json entries (Steps 0–0d).

</invalidates> </contract>

<procedure id="setup">

Setup Procedure

Where Files Are Installed

Before gathering project information, understand where the pipeline installs files and how they interact with your project:

LocationWhat Goes ThereGit StatusShared With Team?
.claude/rules/Eva persona, orchestration rules, model selection, branch lifecycleProject-local, committed to repoYes -- team members get the same pipeline rules
.claude/agents/Agent persona files (Sarah, Colby, etc.)Project-local, committed to repoYes -- consistent agent behavior across the team
.claude/commands/Slash command definitions (/pm, /pipeline, etc.)Project-local, committed to repoYes -- same commands available to all
.claude/references/Quality framework, invocation templatesProject-local, committed to repoYes -- shared knowledge base
.claude/hooks/Enforcement scripts (path, sequencing, git guards)Project-local, committed to repoYes -- same guardrails for everyone
.claude/pipeline-config.jsonBranching strategy, feature flagsProject-local, committed to repoYes -- team-wide configuration
.claude/settings.jsonHook registrations (tells Claude Code to run the hooks)Project-local, committed to repoYes -- hooks activate for all team members
docs/pipeline/Pipeline state, context brief, error patternsProject-local, committed to repoYes -- session recovery works across machines
CLAUDE.mdPipeline section appended to project instructionsProject-local, committed to repoYes -- Claude Code reads this automatically

Key points:

  • All installed files live inside the project directory -- nothing is written to ~/.claude/ or other user-level locations.
  • Everything is designed to be committed to git so team members inherit the pipeline when they clone.
  • The plugin itself (installed via claude plugin add) is user-level, but the project files it generates are project-level.
  • To remove all installed files later, use the /pipeline-uninstall skill.
Step 0: Clean Up Deprecated quality-gate.sh

Before gathering any project information, unconditionally run this cleanup on every /pipeline-setup invocation. It is silent unless it finds something to remove.

  1. Check file: Check if .claude/hooks/quality-gate.sh exists. If found: delete the file. Note that removal occurred.
  2. Check settings.json: Check if .claude/settings.json exists and contains a hook entry referencing quality-gate.sh in any command string across all hook event types (PreToolUse, SubagentStop, PreCompact, etc.). If found:
  • Parse the JSON. If the JSON is malformed or invalid, log a warning ("Warning: .claude/settings.json is malformed JSON -- skipping quality-gate.sh entry removal. Does not block setup.") and continue to step 3.
  • Remove the hook entry containing "quality-gate" from the command string.
  • If removing that entry leaves an empty hooks array for an event type, remove the event type entry entirely (no empty arrays left behind).
  • Write the updated JSON back to .claude/settings.json.
  • Note that removal occurred.
  1. Print notice (conditional): If either artifact was found and removed: print exactly Removed deprecated quality-gate.sh (see retro lesson #003).
  2. Silent no-op: If neither found: do nothing. No output.

Edge case handling:

  • File exists but settings.json entry already removed: detect file, delete it, print notice. Check settings.json independently of file existence.
  • settings.json has quality-gate.sh entry but file does not exist: detect entry in settings.json, remove it, print notice.
  • Both found: remove both, print single notice (not two).
  • Neither found: silent no-op.

This cleanup targets only quality-gate.sh entries. Other hook entries (enforce-eva-paths.sh, enforce-sequencing.sh, enforce-git.sh, etc.) are not affected.

Step 0b: Clean Up Orphan Brain-Capture Hooks

Unconditionally run this cleanup on every /pipeline-setup invocation. Silent unless it finds something to remove.

  1. Check prompt-brain-capture.sh: If .claude/hooks/prompt-brain-capture.sh exists, delete it with rm -f .claude/hooks/prompt-brain-capture.sh. Note that removal occurred.
  2. Check warn-brain-capture.sh: If .claude/hooks/warn-brain-capture.sh exists, delete it with rm -f .claude/hooks/warn-brain-capture.sh. Note that removal occurred.
  3. Print notice (conditional): If either file was found and removed: print exactly Removed orphan brain-capture hooks (superseded by brain-extractor agent).
  4. Silent no-op: If neither found: do nothing. No output.
Step 0c: Clean Up Orphan session-hydrate.sh Registration

Unconditionally run this cleanup on every /pipeline-setup invocation. Silent unless it finds something to remove.

session-hydrate.sh is now an intentional no-op (superseded by the atelier_hydrate MCP tool) and must NOT be registered in .claude/settings.json. Older installs may still have a registration entry.

  1. Check settings.json: Check if .claude/settings.json exists and contains a hook entry whose command string contains exactly session-hydrate.sh (not session-hydrate-enforcement.sh or other similarly-named hooks) across all hook event types (SessionStart is the typical location). If found:
  • Parse the JSON. If the JSON is malformed or invalid, log a warning ("Warning: .claude/settings.json is malformed JSON -- skipping session-hydrate.sh entry removal. Does not block setup.") and continue to Step 1 (Gather Project Information).
  • Remove the hook entry containing "session-hydrate.sh" from the command string.
  • If removing that entry leaves an empty hooks array for an event type, remove the event type entry entirely (no empty arrays left behind).
  • Write the updated JSON back to .claude/settings.json.
  • Note that removal occurred.
  1. Print notice (conditional): If the entry was found and removed: print exactly Removed orphan session-hydrate.sh registration (intentional no-op, see source comment).
  2. Silent no-op: If not found: do nothing. No output.

Note: The .claude/hooks/session-hydrate.sh file itself is NOT deleted — it is re-copied by Step 3a as an intentional no-op backward-compatibility shim. Only the settings.json registration is removed.

This cleanup targets only session-hydrate.sh registrations. Other hook entries are not affected.

Step 0d: Clean Up Orphan atelier-brain .mcp.json Entry

Unconditionally run this cleanup on every /pipeline-setup invocation. Silent unless it finds something to remove.

The Atelier Brain MCP server is now registered and managed entirely by the plugin. Older installs may have a stale project-level .mcp.json entry that must be removed.

  1. Check .mcp.json: Check if .mcp.json exists in the project root and contains an "atelier-brain" key under the mcpServers object. If found, atomically remove atelier-brain and delete the file if mcpServers is empty. Run via Bash:

``bash python3 -c " import json, os p = '.mcp.json' if not os.path.exists(p): exit(0) try: d = json.load(open(p)) except Exception: print('Warning: .mcp.json is malformed JSON -- skipping atelier-brain entry removal. Does not block setup.') exit(0) d.get('mcpServers', {}).pop('atelier-brain', None) if not d.get('mcpServers'): os.remove(p) else: json.dump(d, open(p, 'w'), indent=2) " ``

Then run the safety-net check — if .mcp.json still exists with empty or absent mcpServers, delete it unconditionally:

``bash if [ -f .mcp.json ]; then python3 -c "import json,os,sys; d=json.load(open('.mcp.json')); sys.exit(0) if d.get('mcpServers') else os.remove('.mcp.json')" 2>/dev/null; fi ``

Note that removal occurred.

  1. Print notice (conditional): If the entry was found and removed: print exactly Removed stale atelier-brain .mcp.json entry (now managed by plugin).
  2. Silent no-op: If not found: do nothing. No output.

This cleanup targets only atelier-brain entries. Other MCP server entries in .mcp.json are not affected.

Step 0e: Migrate Stale Brain MCP permissions.allow Entries (ADR-0055)

Unconditionally run this cleanup on every /pipeline-setup invocation. Silent unless it finds something to remove.

Per ADR-0055, the brain is moving from this pipeline plugin into the standalone mybrain plugin. The 8 permissions.allow entries written by older brain-setup runs use the bundled-plugin prefix mcp__plugin_atelier-pipeline_atelier-brain__. After Phase 3 these entries no longer match any registered tool — they are dead weight. Removing them now is safe: when the user re-runs /brain-setup against the current brain plugin, the correct entries are re-added.

  1. Check settings.json: Check if .claude/settings.json exists and contains any permissions.allow entry whose value starts with the prefix mcp__plugin_atelier-pipeline_atelier-brain__. If found:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
25
Repository forks
8
7-day trend score
16

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/robertsfeir/atelier-pipeline/pipeline-setup/badge)](https://verified-skill.com/skills/robertsfeir/atelier-pipeline/pipeline-setup)

Something wrong with this skill or its page? Tell us.