claude-skills/agent-launcher
Claude 86beb8f4bf
fix(agent-launcher): resolve gate-G1 phantom-path findings in the 6 SKILL.md files
check_paths.py resolves path tokens against the sub-skill root, the file's own
directory, or the repo root — the SKILL.md bash examples used plugin-root-relative
paths (skills/<skill>/scripts/x.py) that none of those bases resolve, and shared-
reference link texts (references/x.md) only resolved from the domain root. Bash
examples now use skill-dir-relative scripts/x.py; reference links use explicit
../../references/x.md. 617 files scanned, 0 findings; all other blocking gates
(G3/G4/G7/G8/G10, plugin.json, skill names) verified green locally.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012FwXG6TqCXKZQvF4iD69cv
2026-08-24 17:29:25 +00:00
..
.claude-plugin merge dev into agent-launcher branch: counters trued to 377/695/817/94, D1 sidecar move, models pinned to claude-opus-5, references topped up 2026-08-21 09:11:08 +00:00
agents feat(agent-launcher): new domain plugin for building Claude Managed Agents 2026-08-17 02:39:34 +00:00
assets merge dev into agent-launcher branch: counters trued to 377/695/817/94, D1 sidecar move, models pinned to claude-opus-5, references topped up 2026-08-21 09:11:08 +00:00
commands feat(agent-launcher): new domain plugin for building Claude Managed Agents 2026-08-17 02:39:34 +00:00
hooks feat(agent-launcher): new domain plugin for building Claude Managed Agents 2026-08-17 02:39:34 +00:00
references merge dev into agent-launcher branch: counters trued to 377/695/817/94, D1 sidecar move, models pinned to claude-opus-5, references topped up 2026-08-21 09:11:08 +00:00
skills fix(agent-launcher): resolve gate-G1 phantom-path findings in the 6 SKILL.md files 2026-08-24 17:29:25 +00:00
CLAUDE.md feat(agent-launcher): new domain plugin for building Claude Managed Agents 2026-08-17 02:39:34 +00:00
PUBLISH-CLAWHUB.md docs(agent-launcher): post-merge follow-up — changelog entry, plugin audit fixes, ClawHub publish plan 2026-08-24 17:26:12 +00:00
README.md feat(agent-launcher): new domain plugin for building Claude Managed Agents 2026-08-17 02:39:34 +00:00
SPEC.md feat(agent-launcher): new domain plugin for building Claude Managed Agents 2026-08-17 02:39:34 +00:00

agent-launcher

Build, launch, grade, and schedule Claude Managed Agents (CMA) in your own Anthropic account — as a Claude Code plugin where every session starts with a goal and that goal compiles into a loop or a workflow.

Inspired by Anthropic's reference skill anthropics/launch-your-agent (Apache-2.0). This is an independent re-implementation for the claude-skills marketplace — not a fork — that adds agents/sub-agents, an opt-in session-start goal, deterministic scaffolders, and explicit loop/workflow compilation.

The four phases

Phase Skill Command Loop/workflow
1 · Interview → Plan interview /cs:interview single-pass workflow
2 · Stage → Launch stage-launch /cs:stage-launch single-pass workflow
3 · Grade → Iterate grade-iterate /cs:grade grade→iterate loop (bounded by max_iterations)
4 · Run Without You run-without-you /cs:run-without-you recurring cron deployment loop
— · Close out wrap-up /cs:wrap-up

agent-launcher-orchestrator (context: fork) reads the session goal, routes to the right phase, and compiles the loop.

Every session starts with a goal

  • State lives in ./my-agent/goal.json (your folder — it keeps working after the session ends).
  • Set it: /cs:goal set "Launch an agent that triages my inbox every morning".
  • Resume it automatically: enable the opt-in hook with export AGENT_LAUNCHER_SESSION=1; the SessionStart hook surfaces the current goal + phase so you pick up exactly where you left off. Disabled by default — no ambient behavior in unrelated repos.
  • Advance it: /cs:goal advance moves to the next phase.

Loops vs workflows

loop_compiler.py compiles the goal + phase into exactly one shape:

  • single-pass workflow — interview → plan → stage → launch (Phases 12).
  • grade→iterate loop — CMA user.define_outcome self-grading, bounded by max_iterations (1..20); never unbounded (Phase 3).
  • recurring deployment loop — POSIX-cron scheduled deployment that re-runs the goal "without you", optionally self-grading each firing (Phase 4).

See references/loops-and-workflows.md.

Safety & hard rules

  • Deterministic scaffolders only — every tool is stdlib-only and makes no API calls. Live launches are emitted as BYOK curl scripts you run with your own $ANTHROPIC_API_KEY. The key is never printed, logged, or written.
  • Validators enforce CMA limits (≤20 skills/session, ≤8 memory stores, depth-1 multiagent, max_iterations ≤20, …).
  • The opt-in hook can never break a session (exits 0 on any error).

Quick start

export AGENT_LAUNCHER_SESSION=1          # optional: auto-surface the goal each session
/cs:goal set "Nightly repo dependency auditor that writes report.md"
/cs:launch                               # runs the orchestrator from the current phase

Layout

agent-launcher/
├── SPEC.md                     # the build goal (verification target)
├── skills/                     # 6 skills, 3 stdlib tools each
├── agents/                     # 4 agents (orchestrator + interviewer + grader + deployer)
├── commands/                   # 8 /cs:* commands
├── hooks/                      # opt-in SessionStart / SessionEnd
├── references/                 # 5 shared reference docs
└── assets/                     # build-sheet schema, overview + NEXT-DIRECTIONS templates, example

Attribution

Inspired by anthropics/launch-your-agent (Apache-2.0). CMA primitive semantics are drawn from the public Claude Managed Agents docs. No upstream code is copied verbatim. License: MIT (this plugin).