跳至主要内容
小龙虾小龙虾AI
🤖

Dispatchi (Ralph Loop)

Launch non-blocking interactive Claude Code tasks for slash-only plugins like ralph-loop. Use when a task needs interactive slash commands and completion cal...

下载113
星标0
版本0.1.1
开发工具
安全通过
💬Prompt

技能说明


name: dispatchi description: Launch non-blocking interactive Claude Code tasks for slash-only plugins like ralph-loop. Use when a task needs interactive slash commands and completion callback routing.

Run {baseDir}/scripts/run_dispatchi.sh with user args.

Contract

  • Format: /dispatchi <project> <task-name> <prompt...>
  • Workdir mapping: ${REPOS_ROOT:-/home/miniade/repos}/<project>
  • Defaults: max-iterations=20, completion-promise=COMPLETE
  • Auto-exit: when completion promise appears on its own line, wrapper requests /exit and closes tmux session.

Local config

  • optional env file: ${OPENCLAW_DISPATCH_ENV:-<workspace>/skills/dispatch.env.local}
  • supports OpenClaw skills.entries.dispatchi.env injection
  • script is self-contained (bundled claude_code_run.py)

Security disclosure

  • Reads only allowlisted env keys from dispatch.env.local using key=value parsing (no source).
  • Launches local tmux session and local Claude process; writes output to configured result paths.
  • Network callback is disabled by default; enable only with ENABLE_CALLBACK=1 and explicit group settings.
  • No runtime download of external code.

Behavior

  1. Validate args and return usage if incomplete.
  2. Start interactive dispatch in background (non-blocking).
  3. Verify tmux session exists before returning started.
  4. Use /cancel <run-id> to stop a running loop.

如何使用「Dispatchi (Ralph Loop)」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Dispatchi (Ralph Loop)」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能