agent-launcher-orchestrator
它能做什么
这项技能引导你从一个想法走到一个可以运行的 Claude 托管智能体。适合希望在自己的 Anthropic 账户中设置智能体的人。
适用场景
- ✓当你想从一个想法出发构建新的 Claude 托管智能体时。
- ✓当你想启动智能体,并检查它是否按计划运行时。
- ✓当你想设置一个按计划定时运行的托管智能体时。
技能链接
https://github.com/alirezarezvani/claude-skills/blob/main/agent-launcher/skills/agent-launcher-orchestrator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我构建一个 Claude 智能体,每天早上检查我的客服邮件,并起草回复。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能会读取你的目标,选择合适的下一步,并使用辅助脚本编译智能体的循环或工作流程。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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)
- No goal set. If
goal.jsonis missing, rungoal_state.py init --goal "..."first. The orchestrator does not guess a goal. - Goal too vague. Router exit 4 — get one sentence naming the one job before routing. Never route on under-3-word goals.
- 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. - 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)
- "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. - "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.
- "How would you grade a good run?" — Recommend: 3–5 rubric lines grounded in the output. Cite: cma-primitives.md (outcomes; rubric required).
- "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.
- "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— owngoal.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.v1execution shape.
常见问题
我需要 API 密钥吗?
规划阶段不需要。之后启动智能体的阶段会使用你的 Anthropic 账户。
如果我的目标太模糊怎么办?
技能会先提出一个聚焦的问题,使目标在开始构建之前变得清晰。
它能为智能体安排定时运行吗?
能。技能涵盖在智能体通过评估并准备就绪后,按计划运行它。
详情
作者的原始描述
Use 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.
热度
- GitHub 星标
- 29k
- 排名
- #9380
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
grade-iterate
29k让你的智能体按评分标准为托管 AI 智能体的工作打分,并在固定的轮次内改进,因此它永远不会无限循环。
interview
29k让你的智能体就一个 AI 智能体的想法对你进行访谈,并在任何上线之前,把你的回答整理成一份简单的构建计划。
run-without-you
29k帮你的智能体设置托管 AI 智能体,使其按计划或在某个事件发生时运行,并在启动前检查定时设置。
stage-launch
29k帮你的智能体把完成的智能体计划转换为可直接运行的设置文件,以及一个使用你自己 API 密钥的启动脚本,由你亲自运行。