New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

A user wants to build, launch, grade

agent-launcher — Domain Orchestrator

by alirezarezvani · MIT license · ★ 26,349 on GitHub · v2.11.2 · updated Aug 30

agent-launcher — Domain Orchestrator cover

Use when a user wants to build, launch, grade, or schedule a Claude Managed Agent (CMA) in their own Anthropic account — "build me an agent", "launch this as a managed agent", "run this on a schedule", "grade my agent against a rubric",…

---
name: agent-launcher-orchestrator
description: Use when a user wants to build, launch, grade, or schedule a Claude Managed Agent (CMA) in their own Anthropic account — "build me an agent", "launch this as a managed agent", "run this on a schedule", "grade my agent against a rubric", "set up a nightly worker". Reads the per-session goal (./my-agent/goal.json), routes deterministically to one of five phase sub-skills (interview → stage-launch → grade-iterate → run-without-you → wrap-up) via goal_router.py, and compiles the goal+phase into an execution shape (single-pass workflow / bounded grade→iterate loop / recurring cron deployment loop) via loop_compiler.py. Forks context so heavy intake (build sheets, payloads, eval cases) stays out of the parent thread. All launches are emitted as BYOK curl the user runs with their own key; no tool makes API calls. Inspired by anthropics/launch-your-agent (Apache-2.0). Distinct from engineering/agent-harness (generic domain loop) and engineering/write-a-skill (authors Claude Code skills, not CMAs).
context: fork
version: 2.11.2
author: Alireza Rezvani
license: MIT
tags: [claude-managed-agents, cma, agent, launch, orchestrator, session-goal, loop, workflow, cron, outcome, byok]
compatible_tools: [claude-code, codex-cli, cursor, antigravity, opencode, gemini-cli]
---

# agent-launcher — Domain Orchestrator

Every session starts with a **goal** — one sentence for one CMA. This orchestrator
reads that goal, routes to the right phase, and compiles the goal into a **loop or
a workflow**. Heavy intake stays in the forked context; the parent gets a digest.

Inspired by Anthropic's `launch-your-agent` reference skill (Apache-2.0). This is

Overview

Every session starts with a goal — one sentence for one CMA. This orchestrator reads that goal, routes to the right phase, and compiles the goal into a loop or a workflow. Heavy intake stays in the forked context; the parent gets a digest.

Manual install (npx, ZIP)
Claude Codenpx skills add alirezarezvani/claude-skills --skill agent-launcher-orchestrator -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/alirezarezvani/claude-skills/tar.gz/19392f7a0826 \ | tar -xz -C ~/.claude/skills --strip-components=3 claude-skills-19392f7a0826/agent-launcher/skills/agent-launcher-orchestrator
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/4a63ec06bf2ba900c7aa/agent-launcher-orchestrator.zip" -OutFile "$env:TEMP\agent-launcher-orchestrator.zip"; Expand-Archive "$env:TEMP\agent-launcher-orchestrator.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md5.2 KB
  • README.md1.2 KB
  • scripts/3 files · 20.6 KB
Read the files here
alirezarezvani/19392f75 files
Shared references2SKILL.md reads these from elsewhere in the repo. Not in the ZIP.Get them on GitHub ↗
SKILL.md
Show the full text95 lines

agent-launcher — Domain Orchestrator

Every session starts with a goal — one sentence for one CMA. This orchestrator reads that goal, routes to the right phase, and compiles the goal into a loop or a workflow. Heavy intake stays in the forked context; the parent gets a digest.

Inspired by Anthropic's launch-your-agent reference skill (Apache-2.0). This is an independent re-implementation; CMA semantics come from ../../references/cma-primitives.md.

The through-line: the session goal

State lives at ./my-agent/goal.json (the user's folder). Manage it with goal_state.py (init / set / status / advance) — it also backs the /cs:goal command and the opt-in SessionStart hook. The goal's phase selects the lane; the phase + recurrence selects the loop shape.

Routing (deterministic)

Run the router, then act on its exit code:

python3 scripts/goal_router.py --out-dir ./my-agent
# exit 0 ROUTE  -> fork to the named phase sub-skill
# exit 3 ASK    -> ask the one printed forcing question, then re-route
# exit 4 REFUSE -> goal too vague; get one sentence, then re-route
Lane (phase) Sub-skill Loop/workflow
interview interview single-pass workflow
stage-launch stage-launch single-pass workflow
grade-iterate grade-iterate bounded grade→iterate loop
run-without-you run-without-you recurring cron deployment loop
wrap-up wrap-up —

Compile the loop

python3 scripts/loop_compiler.py \
  --out-dir ./my-agent --max-iterations 5 --cron "0 9 * * *" --timezone Europe/Berlin --nest-outcome

loop_compiler.py emits plan.v1: single-pass, grade-iterate (always with a max_iterations cap 1..20), or cron-loop (optionally nesting a self-grading outcome per firing). See ../../references/loops-and-workflows.md.

Pre-flight gates (hard refusals)

  1. No goal set. If goal.json is missing, run goal_state.py init --goal "..." first. The orchestrator does not guess a goal.
  2. Goal too vague. Router exit 4 — get one sentence naming the one job before routing. Never route on under-3-word goals.
  3. Never make API calls. Emit BYOK curl; the user runs it with their own $ANTHROPIC_API_KEY. No script in this plugin touches the network.
  4. Never print the key. Launch scripts read the key from the environment.

Hand-off contract

After routing, fork to the sub-skill with: the goal string, agent_name, out_dir (./my-agent), and the compiled plan.v1. When the sub-skill returns, goal_state.py advance moves the phase and the parent gets a ≤100-word digest (phase done, artifact paths, loop shape, one next step).

Forcing-question library (walk one at a time; recommend + cite)

  1. "What one job should this agent do end-to-end?" — Recommend: the single most repeated task. Cite: interview-to-config.md (six intake slots). Refuse to route a two-job goal; split into two ./my-agent-*/ folders.
  2. "What kicks it off — you ask it, an event, or a schedule?" — Recommend: on-demand for v0, schedule as the Phase-4 upgrade. Cite: loops-and-workflows.md.
  3. "How would you grade a good run?" — Recommend: 3–5 rubric lines grounded in the output. Cite: cma-primitives.md (outcomes; rubric required).
  4. "Is a real integration ready, or do we mock it in v0?" — Recommend: mock with a schema-true custom tool; wire the MCP server as v1. Cite: interview-to-config.md.
  5. "Should run #10 be smarter than run #1?" — Recommend: attach a memory store only if yes; else skip it. Cite: cma-primitives.md (memory limits + injection risk).

Tools

  • scripts/goal_state.py — own goal.json (init/set/status/advance).
  • scripts/goal_router.py — goal → lane (exit 0 route / 3 ask / 4 refuse).
  • scripts/loop_compiler.py — goal+phase → plan.v1 execution shape.
1---
2name: agent-launcher-orchestrator
3description: Use when a user wants to build, launch, grade, or schedule a Claude Managed Agent (CMA) in their own Anthropic account — "build me an agent", "launch this as a managed agent", "run this on a schedule", "grade my agent against a rubric", "set up a nightly worker". Reads the per-session goal (./my-agent/goal.json), routes deterministically to one of five phase sub-skills (interview → stage-launch → grade-iterate → run-without-you → wrap-up) via goal_router.py, and compiles the goal+phase into an execution shape (single-pass workflow / bounded grade→iterate loop / recurring cron deployment loop) via loop_compiler.py. Forks context so heavy intake (build sheets, payloads, eval cases) stays out of the parent thread. All launches are emitted as BYOK curl the user runs with their own key; no tool makes API calls. Inspired by anthropics/launch-your-agent (Apache-2.0). Distinct from engineering/agent-harness (generic domain loop) and engineering/write-a-skill (authors Claude Code skills, not CMAs).
4context: fork
5version: 2.11.2
6author: Alireza Rezvani
7license: MIT
8tags: [claude-managed-agents, cma, agent, launch, orchestrator, session-goal, loop, workflow, cron, outcome, byok]
9compatible_tools: [claude-code, codex-cli, cursor, antigravity, opencode, gemini-cli]
10---
11 
12# agent-launcher — Domain Orchestrator
13 
14Every session starts with a **goal** — one sentence for one CMA. This orchestrator
15reads that goal, routes to the right phase, and compiles the goal into a **loop or
16a workflow**. Heavy intake stays in the forked context; the parent gets a digest.
17 
18Inspired by Anthropic's `launch-your-agent` reference skill (Apache-2.0). This is
19an independent re-implementation; CMA semantics come from
20[`../../references/cma-primitives.md`](../../references/cma-primitives.md).
21 
22## The through-line: the session goal
23 
24State lives at `./my-agent/goal.json` (the user's folder). Manage it with
25`goal_state.py` (init / set / status / advance) — it also backs the `/cs:goal`
26command and the opt-in `SessionStart` hook. The goal's `phase` selects the lane;
27the phase + recurrence selects the loop shape.
28 
29## Routing (deterministic)
30 
31Run the router, then act on its exit code:
32 
33```bash
34python3 scripts/goal_router.py --out-dir ./my-agent
35# exit 0 ROUTE -> fork to the named phase sub-skill
36# exit 3 ASK -> ask the one printed forcing question, then re-route
37# exit 4 REFUSE -> goal too vague; get one sentence, then re-route
38```
39 
40| Lane (phase) | Sub-skill | Loop/workflow |
41|---|---|---|
42| interview | `interview` | single-pass workflow |
43| stage-launch | `stage-launch` | single-pass workflow |
44| grade-iterate | `grade-iterate` | **bounded grade→iterate loop** |
45| run-without-you | `run-without-you` | **recurring cron deployment loop** |
46| wrap-up | `wrap-up` | — |
47 
48## Compile the loop
49 
50```bash
51python3 scripts/loop_compiler.py \
52 --out-dir ./my-agent --max-iterations 5 --cron "0 9 * * *" --timezone Europe/Berlin --nest-outcome
53```
54 
55`loop_compiler.py` emits `plan.v1`: `single-pass`, `grade-iterate` (always with a
56`max_iterations` cap 1..20), or `cron-loop` (optionally nesting a self-grading
57outcome per firing). See [`../../references/loops-and-workflows.md`](../../references/loops-and-workflows.md).
58 
59## Pre-flight gates (hard refusals)
60 
611. **No goal set.** If `goal.json` is missing, run
62 `goal_state.py init --goal "..."` first. The orchestrator does not guess a goal.
632. **Goal too vague.** Router exit 4 — get one sentence naming the one job before
64 routing. Never route on under-3-word goals.
653. **Never make API calls.** Emit BYOK curl; the user runs it with their own
66 `$ANTHROPIC_API_KEY`. No script in this plugin touches the network.
674. **Never print the key.** Launch scripts read the key from the environment.
68 
69## Hand-off contract
70 
71After routing, fork to the sub-skill with: the goal string, `agent_name`,
72`out_dir` (`./my-agent`), and the compiled `plan.v1`. When the sub-skill returns,
73`goal_state.py advance` moves the phase and the parent gets a ≤100-word digest
74(phase done, artifact paths, loop shape, one next step).
75 
76## Forcing-question library (walk one at a time; recommend + cite)
77 
781. **"What one job should this agent do end-to-end?"** — *Recommend:* the single
79 most repeated task. *Cite:* interview-to-config.md (six intake slots). Refuse to
80 route a two-job goal; split into two `./my-agent-*/` folders.
812. **"What kicks it off — you ask it, an event, or a schedule?"** — *Recommend:*
82 on-demand for v0, schedule as the Phase-4 upgrade. *Cite:* loops-and-workflows.md.
833. **"How would you grade a good run?"** — *Recommend:* 3–5 rubric lines grounded
84 in the output. *Cite:* cma-primitives.md (outcomes; rubric required).
854. **"Is a real integration ready, or do we mock it in v0?"** — *Recommend:* mock
86 with a schema-true custom tool; wire the MCP server as v1. *Cite:* interview-to-config.md.
875. **"Should run #10 be smarter than run #1?"** — *Recommend:* attach a memory
88 store only if yes; else skip it. *Cite:* cma-primitives.md (memory limits + injection risk).
89 
90## Tools
91 
92- `scripts/goal_state.py` — own `goal.json` (init/set/status/advance).
93- `scripts/goal_router.py` — goal → lane (exit 0 route / 3 ask / 4 refuse).
94- `scripts/loop_compiler.py` — goal+phase → `plan.v1` execution shape.
95 
View all files on GitHub →

Details

Version
2.11.2
Updated
Aug 30, 2026
License
MIT
Stars on the repo
★ 26,349
Checked
Source
alirezarezvani/claude-skills ↗
Creator
alirezarezvani · 363 listings
View creator

Similar skills

See all →
SkillTurn the current project website into a short, polished/braglatent-spaces/brag · by latent-spacesTurn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag", "let's brag about this", "make a launch video", "turn this into a video", or wants to share what they built. Reads the project code directly — no live URL or screenshots needed.★ 12.5k GitHub starsSkillTurn a project directory or a website URL into a short/brag-slimlatent-spaces/brag · by latent-spacesTurn a project directory or a website URL into a short, shareable launch video with music, motion, and share copy. One file, no bundled assets — built entirely by the model with the tools already on the machine. Use when someone says "/brag-slim", "let's /brag about this", "brag about <url>", "make a launch video", or wants to show off what they built. If the /brag skill is also installed, let /brag handle those phrases; it hands off here on Opus 5.5.★ 12.5k GitHub starsSkillPlan, build and quality-check a premium short commercialBusiness motion filmechris6/motion-video-kit · by echris6Plan, build and quality-check a premium short commercial for a real business (roofing, property, ecommerce, B2B software) using AI-generated footage, code-built motion (HTML/GSAP), selective Three.js and an independent-critic "Gauntlet" loop. Use when asked to make a launch-style / SaaS-style video, business ad, explainer, sample reel or pitch video, or to review and improve one. Encodes motion principles distilled from 28 professional launch films, a quality bar, audio rules and a business-offer playbook.★ 665 GitHub starsSkillLaunch your AI product to global attentionAI Product Launch PlaybookGingiris-1031/gingiris-skills · by Gingiris-1031Launch your AI product to global attention — the playbook behind Manus, Devin, and AFFiNE's breakout launches. Covers AI-specific GTM strategy, hype cycle management, waitlist tactics, and multi-market rollout for maximum day-one impact.★ 82 GitHub starsSkillBuild motion graphics and launch videos in codeMotion osjasonlee-breadcrumb/motion-os · by jasonlee-breadcrumbBuild motion graphics and launch videos in code, then open them in Motion OS, a local scene-by-scene review player where the user edits copy, pins notes on the frame, and sends one prompt back. Use when the user asks for a motion graphic, launch video, explainer, product video or animated ad, says "motion os", or pastes feedback that starts with "Motion OS feedback for".★ 61 GitHub starsSkillBuild a 30-60s motion-graphics launch video for a <YOURBRANDLaunch video creatortimscheuerai/content-vault · by timscheueraiBuild a 30-60s motion-graphics launch video for a <YOUR_BRAND> product or feature. Remotion 4 React composition + ElevenLabs AI narration + sound effects + background music, beat-anchored timing, brand-aligned design system. Use when asked to "create a launch video", "make a product video", "video for X feature", "launch a new feature", or "/launch-video".★ 37 GitHub stars

More from alirezarezvani

SkillResume a paused experiment/ar:ar-resume — Resume Experimentalirezarezvani/claude-skills · by alirezarezvaniResume a paused experiment. Checkout the experiment branch, read results history, continue iterating. Use when the user runs /ar:ar-resume or asks to pick up a previously started autoresearch experiment.★ 26.3k GitHub starsSkillShow experiment dashboard with results, active loops/ar:ar-status — Experiment Dashboardalirezarezvani/claude-skills · by alirezarezvaniShow experiment dashboard with results, active loops, and progress. Use when the user runs /ar:ar-status or asks how an autoresearch experiment is going.★ 26.3k GitHub starsSkillStart an autonomous experiment loop with user-selected/ar:loop — Autonomous Experiment Loopalirezarezvani/claude-skills · by alirezarezvaniStart an autonomous experiment loop with user-selected interval (10min, 1h, daily, weekly, monthly). Uses CronCreate for scheduling. Use when the user runs /ar:loop or asks to run an autoresearch experiment continuously on a schedule.★ 26.3k GitHub starsSkillRun a single experiment iteration/ar:run — Single Experiment Iterationalirezarezvani/claude-skills · by alirezarezvaniRun a single experiment iteration. Edit the target file, evaluate, keep or discard. Use when the user runs /ar:run or asks for one manual autoresearch iteration.★ 26.3k GitHub starsSkillSet up a new autoresearch experiment interactively/ar:setup — Create New Experimentalirezarezvani/claude-skills · by alirezarezvaniSet up a new autoresearch experiment interactively. Collects domain, target file, eval command, metric, direction, and evaluator. Use when the user runs /ar:setup or asks to start optimizing a file with the autoresearch loop.★ 26.3k GitHub starsSkill/cs:boardroom <brief/cs:boardroom — Multi-Role Boardroom Deliberationalirezarezvani/claude-skills · by alirezarezvani/cs:boardroom <brief> — 6-phase multi-role deliberation across the C-suite with Phase 2 isolation, critic pre-screen, and synthesis. Outputs a board memo. Use when a decision spans multiple executive domains — e.g. a pricing change touching finance, positioning, and product, or a raise-vs-cut runway call.★ 26.3k GitHub stars