Stage Launch skill for Claude

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.

Stage Launch SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

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.
    python3 scripts/payload_generator.py \
      --sheet ./my-agent/build-sheet.json --out-dir ./my-agent
    # -> ./my-agent/payloads/{01-environment,02-agent,03-session,04-kickoff}.json
    
    Agent toolset → always_allow; every MCP toolset → always_ask (baked into the agent payload's permission_policies).
  2. Write the launch script.
    python3 scripts/launch_script_writer.py --out-dir ./my-agent
    
    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 $ANTHROPIC_API_KEY at runtime.
  3. Validate before launch.
    python3 scripts/payload_validator.py --dir ./my-agent
    
    FAIL blocks — especially a key_leak finding. Fix and re-run.
  4. Minimal key step (never in chat). Check the shell first:
    [ -n "$ANTHROPIC_API_KEY" ] && echo "key present" || echo "export ANTHROPIC_API_KEY=... 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.
    export ANTHROPIC_API_KEY=...      # in their shell, not in chat
    ./my-agent/launch.sh
    
    Mark checkpoints with Console deep links. Then goal_state.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; payload_validator.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 $ANTHROPIC_API_KEY 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 always_ask. 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/payload_generator.py — build sheet → 4 ordered API payloads.
  • scripts/launch_script_writer.py — resumable BYOK curl launcher (no key handling).
  • scripts/payload_validator.py — pre-launch check + API-key-leak scan.

How to install Stage Launch

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit alirezarezvani/claude-skills/agent-launcher/skills/stage-launch#main ~/.claude/skills/stage-launch

Codex

npx degit alirezarezvani/claude-skills/agent-launcher/skills/stage-launch#main ~/.codex/skills/stage-launch

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Stage Launch skill do?

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.

+How do I install Stage Launch in Claude Code?

Copy the skill folder into ~/.claude/skills/stage-launch, for example with "npx degit alirezarezvani/claude-skills/agent-launcher/skills/stage-launch#main ~/.claude/skills/stage-launch". Claude Code loads it automatically and uses it when a task matches.

+Does Stage Launch work with ChatGPT or Codex?

Yes. Stage Launch uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/stage-launch. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Stage Launch free?

Stage Launch is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related marketing skills

  1. Marketing Skills

    Use when looking for which of the 44 marketing skills fits a task. Lists them by pod and routes to one; does no marketing work itself.

    alirezarezvani/claude-skills★ 30k
  2. Image

    When the user wants to create, generate, edit, or optimize marketing images, or asks which approach to take (generate, design, or…

    coreyhaines31/marketingskills★ 61k
  3. Agent Reach

    只读读取各平台内容:搜索、读帖、看评论、取字幕、查行情和职位。 Use when 用户提到或贴出链接:小红书/xiaohongshu、B站/bilibili、Twitter/X、Reddit、…

    Panniantong/Agent-Reach★ 113k
  4. Webinar Marketing

    Use when planning, promoting or fixing a webinar or virtual event (registrations, show-up, follow-up, conversion).

    alirezarezvani/claude-skills★ 30k
  5. Wrap Up

    Use when closing out a launched managed agent ('wrap up', 'what do I own now').

    alirezarezvani/claude-skills★ 30k
  6. X Twitter Growth

    Use for growing on X/Twitter: tweets, threads, profile audit, competitors or posting plan.

    alirezarezvani/claude-skills★ 30k
  7. Eas Update Insights

    Official

    Check the health of published EAS Update: crash rates, install/launch counts, unique users, payload size, and the split between embedded…

    expo/skills★ 4.2k
  8. Reddit Auth

    Reddit authentication management skill. Check login status, log out. Triggered when user asks to check Reddit login status or log out.

    1146345502/reddit-skills★ 16
  9. Reddit Content Ops

    Reddit compound content operations skill. Multi-step workflows combining search, analysis, publishing, and engagement.

    1146345502/reddit-skills★ 16

See all marketing skills →

More skills from alirezarezvani

  1. Statistical Analyst

    Is a difference real? Significance tests, confidence intervals, sample size and test duration for A/B results.

    alirezarezvani/claude-skills★ 30k
  2. Stock Analysis

    Analyze, research or value a listed stock or company (US, global, NSE or BSE) with verified data, ratios, scores and valuation.

    alirezarezvani/claude-skills★ 30k
  3. Strategic Alignment

    Use when teams pull in different directions, OKRs don't connect or departments optimize locally.

    alirezarezvani/claude-skills★ 30k

All skills by alirezarezvani →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.