claude-skills/docs/commands/cs-goal.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

1.3 KiB

title description
/cs-goal — Slash Command for AI Coding Agents Set, show, or advance the per-session agent-launcher goal (./my-agent/goal.json) — the through-line of a CMA launch. Backs the opt-in SessionStart. Slash command for Claude Code, Codex CLI, Gemini CLI.

/cs-goal

:material-console: Slash Command :material-github: Source

The goal is one sentence for one agent. It selects the phase and the loop shape.

$ARGUMENTS

Run goal_state.py under agent-launcher/skills/agent-launcher-orchestrator/scripts/:

  • set "<goal>"goal_state.py init --goal "<goal>" (or set --goal if it exists).
  • statusgoal_state.py status (prints goal, agent_name, phase, phases_done, loop).
  • advancegoal_state.py advance (moves to the next phase).
  • phase <name>goal_state.py set --phase <name> (interview | stage-launch | grade-iterate | run-without-you | wrap-up | done).

Enable auto-surfacing each session with export AGENT_LAUNCHER_SESSION=1 (the opt-in SessionStart hook). Two jobs → two goals in two ./my-agent-*/ folders.