🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

fast-claude-code

by @deadlining

Claude Code 任务完成回调 Runtime。支持 Single / Interactive / Team 三种模式, ⚠️ 任务在后台 tmux 会话中运行,完成后通过 System Event 自动通知,无需轮询。 Use when: 需要运行 Claude Code 任务并在完成时获得通知。 NOT...

Versionv1.0.5
💡 Examples

# 重构单个文件
bin/fast-claude-code.sh single --task "重构 auth.js 的 JWT 逻辑" --project "/my/project"

安全审查(多视角)

bin/fast-claude-code.sh team --project "/my/project" --template "parallel-review" --task "审查安全性"

架构决策

bin/fast-claude-code.sh team --project "/my/project" --template "architecture-decision" --task "选择 PostgreSQL 还是 MongoDB"

复杂功能开发(设置超时)

TEAM_TIMEOUT=7200 bin/fast-claude-code.sh team --project "/my/project" --template "fullstack-feature" --task "实现用户认证系统"

Interactive 发送后续任务

bin/fast-claude-code.sh send-task --session "session-name" --task "后续任务"

Interactive 结束会话

bin/fast-claude-code.sh send-task --session "session-name" --task "exit session"

⚙️ Configuration

Timeout(Team 模式)

| 复杂度 | 超时 | 场景 | |--------|------|------| | 简单 | 默认 1h | 单文件、单模块 | | 中等 | 默认 1h | 少量文件、标准任务 | | 复杂 | 7200(2h) | 多模块、跨功能 | | 超复杂 | 10800(3h) | 全项目、架构级 |

TEAM_TIMEOUT=7200 bin/fast-claude-code.sh team --project "/path" --template "xxx" --task "xxx"

环境变量

  • TEAM_TIMEOUT:Team 模式超时时间(秒)
  • CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1:Team 模式必须设置
  • 📋 Tips & Best Practices

  • 任务在后台 tmux 会话中运行,完成后自动回调
  • Team 模式需要 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
  • Interactive 模式下可用 send-task 发送后续任务
  • ⚠️ 建议不要在一个项目下并行执行多个 Team 任务
  • View on ClawHub
    TERMINAL
    clawhub install fast-claude-code

    🧪 Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    🔍 Can't find the right skill?

    Search 60,000+ AI agent skills — free, no login needed.

    Search Skills →