界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

run-agent

run-agent

【开发与工程】Launch and supervise Claude Code or Codex through the CCAM Run API. Use when the user wants to start a monitored agent, select a model, approval policy, sandbox, or working directory, send a follow-up, inspect live output, resume a native session, or stop a dashboard-launched run.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: run-agent description: > Launch and supervise Claude Code or Codex through the CCAM Run API. Use when the user wants to start a monitored agent, select a model, approval policy, sandbox, or working directory, send a follow-up, inspect live output, resume a native session, or stop a dashboard-launched run.

Run Agent

Use ccam run against the local dashboard.

Workflow

  1. Verify the provider binary:
    • ccam run binary claude
    • ccam run binary codex
  2. Discover supported models with ccam run models <provider>.
  3. Confirm the working directory with ccam run cwds.
  4. Show the exact launch settings before starting. Include provider, prompt, working directory, model, approval mode, sandbox, and resume session ID.
  5. Start only after user confirmation:
ccam run start --provider codex --cwd /path/to/repo \
  --prompt "Review the current changes" \
  --permission on-request --sandbox workspace-write --yes
  1. Inspect with ccam run list or ccam run get <id> --envelopes.
  2. Send follow-ups with ccam run send <id> --text "..." --provider codex --yes.
  3. Stop with ccam run stop <id> --yes.

Safety

  • Never use danger-full-access unless the user explicitly requests it.
  • Do not start, message, or stop a run without confirmation.
  • Preserve the provider used to start the run when sending messages.
  • Treat run history as evidence. Do not claim completion from process status alone when the final output or persisted session shows an error.
我的收藏