Agent skill · alirezarezvani

stage-launch

Use 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.

What it needs

About 2k tokens when loaded.

What this skill does

Phase 2 — Stage → Launch Turn the build sheet into runnable artifacts, then let the founder launch with their own key. No script here touches the network or the key — the user runs launch.sh. Workflow 1. Generate payloads. Agent toolset → alwaysallow; every MCP toolset → alwaysask (baked into the agent payload's permissionpolicies). 2. Write the launch script. launch.sh creates environment → agent → session → kickoff in order, chaining IDs, and resumes on re-run (each step skips if its .id file exists). It reads $ANTHROPICAPIKEY at runtime. 3. Validate before launch. FAIL blocks — especially a keyleak finding. Fix and re-run. 4. Minimal key step (never in chat). Check the shell first: Point the founder to platform.claude.com → API keys. Never print the key to chat, never write it to a file. 5. Launch + watch the first poll. Mark checkpoints with Console deep links. Then goalstate.py set --phase grade-iterate and advance. Hard rules (API-key safety) The key never enters chat, a file, a payload, or a log. launch.sh reads it from the environment; payloadvalidator.py scans for sk-ant-… leaks and FAILs. Sequential launch. environment → agent → session → kickoff. Watch the first poll foreground before declaring success. Resumable. Re-running launch.sh continues from the last created ID. Forcing-question library (recommend + cite) 1. "Is the key in your shell env already?" Recommend: check $ANTHROPICAPIKEY before anything. Cite: this SKILL, key-safety rules. 2. "Cloud or self-hosted environment?" Recommend: cloud for v0. Cite: cma-primitives.md (environment). 3. "Any MCP server in the payload?" Recommend: keep it alwaysask. Cite: cma-primitives.md (permissions). 4. "Did the first poll return idle/running cleanly?" Recommend: watch it foreground before moving on. Cite: cma-primitives.md (session lifecycle). Tools scripts/payloadgenerator.py — build sheet → 4 ordered API payloads. scripts/launchscriptwriter.py — resumable BYOK curl launcher (no key handling). …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills alirezarezvani/stage-launch--60bd79

View the source on GitHub

Browse the @skills marketplace