ccx-flow
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
CCX Flow 允许外部进程通过本地 HTTP 向当前 Claude Code 主会话注入上下文,无需 patch CC 二进制、无需启动新 CC 实例。
当前上下文
- 完整 Session ID: !
node -e "console.log(process.env.CLAUDE_SESSION_ID || '')" - 项目根目录: !
node -e "const {execSync}=require('child_process'); const {homedir}=require('os'); try { const root=execSync('git rev-parse --show-toplevel 2>/dev/null',{encoding:'utf8'}).trim(); if (root && root !== '/' && root !== homedir()) { console.log(root); process.exit(0); } } catch {} console.log(process.cwd());" - Flow 注册表目录:
<project-root>/.tmp/ccx-flow/ skill-path: 通常是~/.claude/skills- Flow Bridge 产物:
<skill-path>/scripts/flow-bootstrap.js与<skill-path>/scripts/flow-bridge.js