← ClaudeAtlas

tfx-hublisted

tfx-hub 개방형 스킬 — 커맨드(start/stop/status) + 자유형 작업 모두 처리
tellang/triflux · ★ 7 · AI & Automation · score 74
Install: claude install-skill tellang/triflux
# tfx-hub — MCP 메시지 버스 관리 + 개방형 작업 > CLI 에이전트(Codex/Antigravity/Claude) 간 실시간 메시지 허브를 관리합니다. > **커맨드 매칭 + fallthrough**: start/stop/status에 매칭되면 즉시 실행, > 매칭 안 되면 **hub 도메인 컨텍스트를 활용한 범용 작업**으로 처리합니다. ## 입력 해석 규칙 ``` /tfx-hub start → 커맨드 매칭 → 허브 시작 /tfx-hub stop → 커맨드 매칭 → 허브 중지 /tfx-hub status → 커맨드 매칭 → 상태 확인 /tfx-hub 테스트해줘 → fallthrough → hub 관련 범용 작업으로 처리 /tfx-hub 문서 저장해 → fallthrough → hub 관련 범용 작업으로 처리 /tfx-hub 브릿지 분석해 → fallthrough → hub 관련 범용 작업으로 처리 ``` **fallthrough 규칙**: 인자가 start/stop/status/--port 등 커맨드 키워드에 매칭되지 않으면, 사용자의 입력을 **hub/브릿지/메시지버스 도메인의 자유형 작업**으로 해석한다. fallthrough 라우팅: ```bash # tfx-route.sh 경유 (권장) Bash("bash ~/.claude/scripts/tfx-route.sh {에이전트} '{hub 컨텍스트 + 작업}' {mcp_profile}") # codex 직접 호출 시 — 반드시 exec 서브커맨드 포함 Bash("codex exec --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check '{작업}'") Bash("codex --profile xhigh exec --dangerously-bypass-approvals-and-sandbox --skip-git-repo-check '{작업}'") # ↑ --profile은 exec 앞에, --skip-git-repo-check은 exec 뒤에 # Claude 네이티브 (탐색/검증) Agent(subagent_type="oh-my-claudecode:explore", prompt="{작업}") ``` ## 커맨드 ### start — 허브 시작 ```bash Bash("node hub/server.mjs", run_in_background=true) ``` - Streamable HTTP MCP 서버를 `http://127.0.0.1:27888/mcp` 에서 시작 - SQLite WAL DB: `~/.claude/cache/tfx-hub/state.db` - PID 파일: `~/.claude/cache/tfx-hub/hub.pid` - 환경변수: `TFX_HUB_PORT` (포트), `TFX_HUB_DB` (DB 경로) ### stop — 허브 중지 ```bash # PID 파일에서 프로세스 ID 읽어서 종료 Ba