/triflux:tfx-harnessfrom triflux
Routes meta-requests about which skill or path to use, returning one branch and immediate owner from a canonical routing SSOT without executing.
Ships in triflux. 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.
이 스킬은 실행 엔진이 아니다. routing SSOT의 D0–D11을 읽어 사용자 intent와 확인 가능한 host capability evidence를 판정한다. 정책 표, keyword 표, owner 매트릭스를 이 파일에 복제하지 않는다.
명시 지정(D0)이 없으면 SSOT를 읽기 전에 요청을 요약해 한 번 실행한다. 비밀값과 붙여넣은 원문은 요약에 넣지 않는다.
tfx judge route --task '<요청 요약>'
choice가 있으면 그 값이 branch이고 rule 한 줄로 owner를 정한다. SSOT 전문은 읽지 않는다. rule만으로 owner가 하나로 정해지지 않으면 전문을 읽는다. choice가 null이거나 명령이 실패하면 아래 순서로 SSOT를 찾아 직접 판정한다.
이 스킬은 글로벌 설치이고 triflux 밖에서도 호출되지만 SSOT는 프로젝트 로컬 파일이다. 아래를 순서대로 시도하고, 전부 실패할 때만 blocked를 반환한다.
$TFX_ROUTING_SSOT (설정돼 있으면 1순위)$(git rev-parse --git-common-dir)의 부모 아래
.claude/rules/tfx-routing.md.claude/rules/tfx-routing.mdreferences/tfx-routing.md (tfx setup이 패키지에서 복사한 사본)위 순서는 아래 블록을 그대로 실행해 확인한다. 한 줄로 합치거나 다시 짜지 않는다. 출력이 비면 blocked다.
common=$(git rev-parse --git-common-dir 2>/dev/null) && common=$(cd "$common" && pwd)
d=$PWD
while [ "$d" != / ] && [ ! -f "$d/.claude/rules/tfx-routing.md" ]; do d=$(dirname "$d"); done
for f in "${TFX_ROUTING_SSOT:-}" "${common%/*}/.claude/rules/tfx-routing.md" "$d/.claude/rules/tfx-routing.md" "$HOME/.claude/skills/tfx-harness/references/tfx-routing.md"; do
[ -f "$f" ] && { echo "$f"; break; }
done
4순위는 clone이 없는 기기를 위한 것이다. 설치한 버전의 정책이라 clone보다 늦을 수 있으므로 1~3순위 뒤에 둔다.
2순위에 --show-toplevel을 쓰지 않는다. linked worktree 안에서는 worktree 루트를
반환하는데 그곳의 SSOT는 브랜치 분기 시점 사본이라, blocked 없이 stale 정책으로
조용히 오판정한다. --git-common-dir은 worktree 안에서도 메인 repo의 .git을 가리킨다.
blocked를 반환할 때는 해소 방법을 한 줄 덧붙인다: tfx setup을 다시 실행해 4순위 사본을 설치한다.
clone의 최신 정책을 쓰려면 export TFX_ROUTING_SSOT=<triflux clone>/.claude/rules/tfx-routing.md
를 ~/.zshenv에 둔다. ~/.zshrc는 interactive 전용이라 훅·headless 워커·툴 셸에서는 읽히지 않는다.
~/.claude/rules/에 사본이나 symlink를 두지 않는다. 그 디렉터리는 Claude가 모든 세션에
자동 로드하므로 tfx와 무관한 세션까지 SSOT 전문을 매번 컨텍스트에 싣게 된다.
npm 패키지에는 .claude/ 중 rules/tfx-routing.md와 rules/tfx-psmux.md만 들어 있다.
반환 형식:
[tfx-harness]
branch: D<n>
owner: <exactly one immediate owner>
availability: available | unavailable | unknown
fallback_notice: <optional>
status: recommendation-only | dispatching | blocked
owner unavailable → tfx-X fallback을 함께 알릴 수 있다.blocked: routing SSOT unavailable을 반환한다./skill 문법으로
owner에 handoff한다.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
Generated from the plugin's indexed repository (tellang/triflux) — no native marketplace selected
npx claudepluginhub p/tellang-triflux12 skills in this plugin
/tfx-auto통합 CLI 오케스트레이터이자 실행 스킬 front door. 단일/병렬 구현·수정 작업을 자동 분류해 Codex 우선으로 dispatch 하고, 명시 플래그로 mode/parallel/consensus 등 동작을 오버라이드한다. '코드 짜줘', '구현해줘', '만들어줘', '수정해줘', '고쳐줘', 'implement', 'build', 'fix' 같은 구현/수정 요청에 사용. 플래그 상세는 argument-hint, 라우팅 정책은 .claude/rules/tfx-routing.md 참조.
/tfx-comm`tfx lead <역할> --role communication`으로 띄운 상주 소통 세션이 사람과의 대화, 결정 받기, 사람에게 보이는 보고와 문서를 맡을 때 사용한다. 코드 워커 지휘와 머지는 리드 몫이라 다루지 않는다.
/tfx-doctortriflux 설치, CLI, HUD, 스킬, 캐시와 MCP 연결을 진단하고 관리 대상만 복구합니다. Use when: not working, broken, error, 안 돼, 이상해, 에러, 캐시, reset, doctor