claude-skills/docs/commands/cs-launch.md
Claude abd9c9d8de
docs(site): generate agent-launcher pages (18th domain) + nav
generate-docs.py learns the agent-launcher domain (5 hardcoded maps extended);
regenerated docs tree: 343 skill pages / 96 agent pages / 122 command pages
(561 total). mkdocs.yml nav gains the Agent Launcher skill section (7 pages),
4 cs-agent-* agent entries, and 8 /cs:* command entries; all nav targets verified
to exist.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012FwXG6TqCXKZQvF4iD69cv
2026-08-24 17:26:12 +00:00

34 lines
1.5 KiB
Markdown

---
title: "/cs-launch — Slash Command for AI Coding Agents"
description: "Main entry / resume for building a Claude Managed Agent. Runs the agent-launcher-orchestrator skill from the current session goal — reads. Slash command for Claude Code, Codex CLI, Gemini CLI."
---
# /cs-launch
<div class="page-meta" markdown>
<span class="meta-badge">:material-console: Slash Command</span>
<span class="meta-badge">:material-github: <a href="https://github.com/alirezarezvani/2-claude-skills/tree/main/agent-launcher/commands/cs-launch.md">Source</a></span>
</div>
Route through the `agent-launcher-orchestrator` skill.
**$ARGUMENTS**
## Steps
1. If `$ARGUMENTS` is a goal and no `./my-agent/goal.json` exists, set it:
`python3 agent-launcher/skills/agent-launcher-orchestrator/scripts/goal_state.py init --goal "$ARGUMENTS"`.
2. Route from the current phase:
`python3 agent-launcher/skills/agent-launcher-orchestrator/scripts/goal_router.py --out-dir ./my-agent`
— act on exit 0 (route) / 3 (ask the printed question) / 4 (refuse; get one sentence).
3. Compile the loop:
`python3 agent-launcher/skills/agent-launcher-orchestrator/scripts/loop_compiler.py --out-dir ./my-agent`.
4. Invoke the routed phase skill; on completion, `goal_state.py advance` and print a
≤100-word digest (phase done, artifact paths, loop shape, one next step).
## Refusals
- No goal set → run `/cs:goal set "..."` first.
- Under-3-word goal → get one sentence naming the one job.
- Never touch the network or the API key.