PluginLow riskUnclaimed
agent-launcher-skills
Turn Anthropic's launch-your-agent reference skill into a full domain plugin for building Claude Managed Agents (CMA). Every session starts with a goal (./my-agent/goal.json, surfaced by an opt-in AGENT_LAUNCHER_SESSION=1 SessionStart hook and driven by /cs-goal); a deterministic loop_compiler.py compiles that goal into a grade->iterate loop (CMA user.define_outcome self-grading, bounded by max_iterations), a recurring cron scheduled-deployment loop (run without you), or a single-pass interview->stage->launch workflow. 6 skills: agent-launcher-orchestrator (context: fork goal router) + interview (build sheet: primitives table + v1/v2 deferrals + eval plan) + stage-launch (validated env/agent/session/kickoff payloads + resumable BYOK curl launch script that never prints the key) + grade-iterate (outcome/rubric + verdict reader + held-back eval scaffold) + run-without-you (POSIX-cron deployment + NEXT-DIRECTIONS) + wrap-up (primitive inventory + regenerated overview HTML + next upgrades). 18 stdlib-only determi
alirezarezvanialirezarezvani/agent-launcher-skills
Description
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; theSessionStarthook 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 advancemoves 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 1–2).
- grade→iterate loop — CMA
user.define_outcomeself-grading, bounded bymax_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).
Hosts
Members6 skills · 4 assistants
agent-launcher-orchestratorUse when someone wants to build, launch, grade or schedule a Claude Managed Agent in their own Anthropic account ('build me an agent', 'run this nightly'). Reads the session goal, routes with goal_router.py and compiles the loop with loop_compiler.py.
grade-iterateUse when a launched managed agent needs grading against a rubric and improving ('grade my agent', 'is it good enough'). Builds the outcome with outcome_builder.py, reads verdicts with verdict_reader.py and runs held-back evals from eval_scaffold.py.
interviewUse when someone has an agent idea to scope before launch ('help me scope an agent'). Interviews them about the one job and writes a build sheet with build_sheet_builder.py, checked by primitives_validator.py; no API key needed.
run-without-youUse when a graded managed agent should run on a schedule, on an event trigger or on demand ('run it every morning'). Validates cron with cron_validator.py and builds the deployment with deployment_builder.py.
stage-launchUse when a managed-agent build sheet is ready to launch ('launch it', 'deploy the agent'). Generates and validates API payloads with payload_generator.py and payload_validator.py and writes a resumable curl script with launch_script_writer.py that uses the user's own key.
wrap-upUse when closing out a launched managed agent ('wrap up', 'what do I own now'). Inventories primitives with primitives_inventory.py, regenerates the overview with overview_page.py and suggests next upgrades with upgrade_suggester.py.
cs-agent-deployerAssistantPhase-4 specialist for making a Claude Managed Agent run without you. Turns a graded agent into a recurring POSIX-cron scheduled deployment (optionally self-grading each firing), an event-driven curl trigger, or confirmed on-demand use, then finalizes NEXT-DIRECTIONS. Invoke for phase=run-without-you. Uses deployment_builder.py, cron_validator.py, next_directions_writer.py. Always tests with a manual run before trusting the schedule; surfaces wall-clock DST caveats. Signature question — "What cadence, and did you fire one manual run first?"
cs-agent-graderAssistantPhase-3 specialist for the bounded grade→iterate loop when building a Claude Managed Agent. Defines a CMA outcome (required rubric, max_iterations clamped 1..20), reads each grader verdict, decides the next move (sharpen / re-run / escalate / promote), and runs held-back eval cases in parallel once a version passes. Invoke for phase=grade-iterate. Uses outcome_builder.py, verdict_reader.py, eval_scaffold.py. Never emits an unbounded loop. Signature question — "What are the 3–5 rubric lines a good run must satisfy?"
cs-agent-interviewerAssistantPhase-1 specialist for building a Claude Managed Agent — interviews the founder through the six intake slots (job, trigger, inputs, actions, definition-of-done, recurrence) and produces a validated build sheet (primitives table + v1/v2 deferrals + eval plan) without needing an API key. Invoke for phase=interview. Uses interview_planner.py, build_sheet_builder.py, primitives_validator.py. Mocks connectors in v0 (schema-true custom tools); real MCP servers become v1 deferrals. Signature question — "What one job — singular — should this agent do end-to-end?"
cs-agent-launcher-orchestratorAssistantSession-goal router for building Claude Managed Agents. Reads ./my-agent/goal.json, routes deterministically to a phase skill (interview → stage-launch → grade-iterate → run-without-you → wrap-up) via goal_router.py, and compiles the goal+phase into a single-pass workflow, a bounded grade→iterate loop, or a recurring cron deployment loop via loop_compiler.py. Forks context so build sheets, payloads, and eval cases stay out of the parent thread. Never makes API calls — emits BYOK curl. Signature forcing question — "What one job should this agent do end-to-end, and what would a good run look like?"
Permissions
- Full install
- 2.14.5
Runs on its own
- HookClaude CodeSessionStart
python3 ${CLAUDE_PLUGIN_ROOT}/hooks/session_start.py - HookClaude CodeSessionEnd
python3 ${CLAUDE_PLUGIN_ROOT}/hooks/session_end.py
pythonalirezarezvani.comapi.anthropic.comcode.claude.comgithub.commodelcontextprotocol.ioplatform.claude.comANTHROPIC_API_KEYChecks
Low risk · Nothing worth a warning was found.
Not reviewed by a person · Checked by rules; the model review is not switched on yet.
1 minor mark: common commands and the like, noted but not a concern
- Rule · sensitive_file_access
references/loops-and-workflows.md:71
Files60 files · 192.3 KB
- CLAUDE.md2.8 KB
- PUBLISH-CLAWHUB.md2.0 KB
- README.md3.9 KB
- SPEC.md6.2 KB
.claude-plugin/2
- authoring-notes.json1.5 KB
- plugin.json2.0 KB
agents/4
- cs-agent-deployer.md2.0 KB
- cs-agent-grader.md1.9 KB
- cs-agent-interviewer.md1.8 KB
- cs-agent-launcher-orchestrator.md2.4 KB
assets/4
- NEXT-DIRECTIONS.template.md842 B
- agent-overview.template.html2.0 KB
- build-sheet.schema.json3.3 KB
- example-build-sheet.json2.4 KB
commands/8
- cs-goal.md1.1 KB
- cs-grade.md1.3 KB
- cs-grill-agent-launcher.md1.4 KB
- cs-interview.md1.2 KB
- cs-launch.md1.5 KB
- cs-run-without-you.md1.4 KB
- cs-stage-launch.md1.4 KB
- cs-wrap-up.md1.0 KB
hooks/3
- hooks.json936 B
- session_end.py1.5 KB
- session_start.py2.5 KB
references/5
- cma-primitives.md6.9 KB
- examples-bank.md3.4 KB
- interview-to-config.md3.6 KB
- loops-and-workflows.md3.5 KB
- session-goal-model.md3.4 KB
skills/agent-launcher-orchestrator/2
- README.md1.2 KB
- SKILL.md4.5 KB
skills/agent-launcher-orchestrator/scripts/3
- goal_router.py6.1 KB
- goal_state.py7.4 KB
- loop_compiler.py7.5 KB
skills/grade-iterate/2
- README.md997 B
- SKILL.md3.5 KB
skills/grade-iterate/scripts/3
- eval_scaffold.py3.8 KB
- outcome_builder.py3.6 KB
- verdict_reader.py4.2 KB
skills/interview/2
- README.md1.1 KB
- SKILL.md3.8 KB
skills/interview/scripts/3
- build_sheet_builder.py3.6 KB
- interview_planner.py8.2 KB
- primitives_validator.py6.7 KB
skills/run-without-you/2
- README.md1.1 KB
- SKILL.md3.6 KB
skills/run-without-you/scripts/3
- cron_validator.py5.2 KB
- deployment_builder.py5.9 KB
- next_directions_writer.py3.9 KB
skills/stage-launch/2
- README.md1.0 KB
- SKILL.md3.4 KB
skills/stage-launch/scripts/3
- launch_script_writer.py4.2 KB
- payload_generator.py4.5 KB
- payload_validator.py6.5 KB
skills/wrap-up/2
- README.md844 B
- SKILL.md2.6 KB
skills/wrap-up/scripts/3
- overview_page.py4.5 KB
- primitives_inventory.py4.0 KB
- upgrade_suggester.py3.9 KB
Versions
- #12.14.5latestNov 17, 2026