/agi-super-team:codex-cc-guidefrom agi-super-team
Guides agents on using ACP sessions_spawn with runtime "acp" to invoke Claude Code or Codex for coding tasks. Covers one-shot vs persistent sessions, Telegram thread binding, and team workflow patterns.
Ships in agi-super-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
在 OpenClaw 里,agent 可以直接用 sessions_spawn 调起 Claude Code 或 Codex,写代码像发指令一样简单。
sessions_spawn({
task: "用 TypeScript 重构 ~/project/src/api.ts,加入错误处理和类型定义",
runtime: "acp",
agentId: "claude", // 或 "claude-code"
label: "重构-api",
mode: "run", // run=一次性,session=持久会话
cleanup: "delete" // 完成后删除 session
})
sessions_spawn({
task: "写一个 Python FastAPI CRUD 接口",
runtime: "acp",
agentId: "codex",
model: "openai/gpt-5.4",
label: "fastapi-crud"
})
| 模式 | 参数 | 适用场景 |
|---|---|---|
| 一次性 | mode: "run" | 单个任务,完成即删,最省资源 |
| 持久会话 | mode: "session" | 多步骤迭代、需要上下文累积 |
// 一次性:适合简单任务
sessions_spawn({
task: "在 /tmp 创建一个 React 组件 Counter.tsx",
runtime: "acp",
agentId: "claude",
mode: "run"
})
// 持久会话:适合复杂项目
sessions_spawn({
task: "继续上次的工作,修复登录页面的 bug",
runtime: "acp",
agentId: "claude",
mode: "session",
label: "react-project"
})
sessions_spawn({
task: "用 Next.js 14 App Router 重构整个电商前端",
runtime: "acp",
agentId: "claude",
thread: true, // 绑定到当前 Telegram thread
mode: "session",
label: "nextjs重构"
})
完成后 Claude Code 的输出会自动推送到 Telegram thread 里。
在 Telegram 发这些指令即可:
/acp spawn claude 帮我写一个 Docker Compose 文件
/acp spawn codex 用 Rust 写一个 http server
/acp status 查看当前 ACP 会话状态
/acp cancel 取消当前任务
/acp close 关闭会话
场景:Daniel 让你写一个 API
错误做法(慢、资源浪费):
自己开模型 → 写代码 → 测试 → 修 bug → 循环
正确做法(用 ACP + Claude Code):
1. 理解需求,确定技术栈和文件位置
2. sessions_spawn 调起 Claude Code 一次性任务
3. Claude Code 完成后你负责 review
4. 有问题再调一次 Claude Code 修
// 示例:Daniel 让小code 写一个用户认证 API
sessions_spawn({
task: `在 ~/clawd/projects/api/ 下创建用户认证模块:
- POST /auth/login(邮箱+密码,返回 JWT)
- POST /auth/register(邮箱+密码+昵称)
- GET /auth/me(返回当前用户信息,需带 Bearer token)
- 使用 Python FastAPI + SQLite
- 密码用 bcrypt 哈希
- JWT secret 从环境变量 AUTH_SECRET 读取
- 代码要可以运行,有完整的错误处理`,
runtime: "acp",
agentId: "claude",
label: "auth-api"
})
cleanup: "delete" 避免垃圾积累| 症状 | 检查项 |
|---|---|
sessions_spawn 没反应 | 确认 acp.enabled: true 在 openclaw.json |
| Claude Code 报错 "not found" | 确认 /usr/bin/claude 存在 |
| 会话卡住 | /acp cancel 然后重试 |
| 输出没推送到 Telegram | 确认 thread: true 且在支持 thread 的 channel |
{
acp: {
enabled: true,
defaultAgent: "claude",
allowedAgents: ["claude", "codex", "gemini-cli"]
}
}
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
acp, sessions-spawn, claude-code, codex, telegram-integration, team-workflow
npx claudepluginhub aaaaqwq/agi-super-team --plugin agi-super-team869 skills in this plugin
/5minbtcBTC 5分钟K线实时方向预测 + 币安预测市场错价套利(paper)。v6.0 真OFI驱动: 方向由当前K线原生 in-candle OFI 净流一票决定(ofi_n=2*(tb/v)-1, REST klines[9] 聚合, 零WS依赖; WS ofi.json 做新鲜度反转保护与交叉校准), 概率=P(close>open|ofi) 经验校准表+Bayesian shrink, edge=EV=p−ask 错价检测, 方向二选一无中性。13因子自v5.9起收敛到3个有证据信号且不再决定bias。黑天鹅防护: ATR spike+FNG<25。launchd 常驻 realtime/watch/trader。⚠️ Binance 端点**人工**双向切换(引擎为单端点硬依赖,无自动故障切换;2026-09-11 曾因 data-api SSL 失败静默断档 6h)。/sales-enablementWhen the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps.' Use this for any document or asset that helps a sales team close deals. For competitor comparison pages and battle cards, see competitor-alternatives. For marketing website copy, see copywriting. For cold outreach emails, see cold-email./accessibility-compliance-accessibility-auditYou are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.Other plugins' skills for the same job