Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add tellang/triflux --skill tfx-doctorgit clone --depth 1 https://github.com/tellang/trifluxWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/tellang/triflux/tfx-doctor)<a href="https://agentmods.dev/skills/tellang/triflux/tfx-doctor"><img src="https://agentmods.dev/badge/skills/tellang/triflux/tfx-doctor/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/tellang/triflux/tfx-doctor"><img src="https://agentmods.dev/badge/skills/tellang/triflux/tfx-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00081 | $0.01454 |
| Opus 5 | $0.00041 | $0.00727 |
| Sonnet 5 | $0.00016 | $0.00291 |
| Haiku 4.5 | $0.00008 | $0.00145 |
Grade B, and why
tfx-doctor scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Antigravity MCP 안전성** — `~/.gemini/settings.json`의 stdio MCP 감지 (spawn EPERM 방지) How it starts
The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tfx-doctor — triflux 진단 및 수리
뭔가 안 될 때, HUD가 이상할 때, CLI가 안 보일 때 실행하세요.
워크플로우
Step 1: 모드 선택 (AskUserQuestion)
인자 없이 호출된 경우 모드를 선택한다:
question: "어떤 진단 모드를 실행하시겠습니까?"
header: "모드"
options:
- label: "진단 (Diagnose)"
description: "읽기 전용 전체 검사 — 아무것도 수정하지 않음"
- label: "수정 (Fix)"
description: "파일 동기화 + 캐시 정리 후 진단 실행"
- label: "캐시 관리 (Cache)"
description: "캐시 파일별 상태 조회, 선택적 삭제"
- label: "전체 초기화 (Reset)"
description: "모든 캐시 삭제 + 재생성 (위험)"
--fix, --reset 인자가 있으면 바로 해당 모드로 실행.
Step 2: 모드별 실행
진단 모드
Bash("triflux doctor --json")
JSON 결과를 파싱하여 마크다운 테이블로 표시:
| 항목 | 상태 | 비고 |
|------|------|------|
| tfx-route.sh | ✅ | v2.0 |
| HUD | ✅ | 설치됨 |
| Codex CLI | ✅ | found |
| Antigravity CLI | ⚠ | 미설치 (선택) |
| ... | ... | ... |
이슈가 발견되면 AskUserQuestion:
question: "N개 이슈가 발견되었습니다. 자동 수정을 시도하시겠습니까?"
header: "수정"
options:
- label: "자동 수정 실행 (Recommended)"
description: "triflux doctor --fix 실행"
- label: "건너뛰기"
description: "수정 없이 결과만 확인"
수정 모드
Bash("triflux doctor --fix")
결과를 보고한다.
캐시 관리
~/.claude/cache/ 디렉토리의 캐시 파일들을 Read/Glob으로 조회:
| 캐시 파일 | 설명 |
|---|---|
| claude-usage-cache.json | Claude 사용량 |
| codex-rate-limits-cache.json | Codex 레이트 리밋 |
| gemini-quota-cache.json | Antigravity 쿼터 |
| sv-accumulator.json | 절약량 누적 |
| mcp-inventory.json | MCP 서버 인벤토리 |
| cli-issues.jsonl | CLI 이슈 로그 |
| triflux-update-check.json | 업데이트 체크 |
| .omc/cache/codex-skills.json | Codex 스킬 인덱스 |
| .omc/state/tier-environment.json | Tier 환경 스냅샷 |
| .omc/cache/project-meta.json | 프로젝트 메타 |
| .omc/state/search-engines.json | 검색 엔진 상태 |
존재하는 캐시 파일 목록과 크기를 테이블로 표시 후 AskUserQuestion:
question: "어떻게 삭제하시겠습니까?"
header: "삭제"
options:
- label: "전체 삭제"
description: "모든 캐시 파일 삭제"
- label: "에러 캐시만 삭제"
description: "파싱 에러가 있는 파일만 삭제"
- label: "선택 삭제"
description: "파일 하나씩 선택하여 삭제"
- label: "취소"
description: "삭제하지 않음"
"선택 삭제" 시 각 파일에 대해 AskUserQuestion으로 삭제 여부 확인.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 171 lines · 81 tokens per session scan B b03add3a9fd1
tfx-doctor is a skill published in the GitHub repository tellang/triflux (7 stars, last pushed 3d ago), licensed MIT. It adds 81 tokens to every session and 1,454 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
debug
Debug a stubborn bug with a deterministic reproduction, hypothesis ledger, one-variable fixes, and a regression test. Use after the first obvious look fails, reproduction is unclear, or a fix attempt failed. Not for routine obvious failures; use for "ไล่บั๊ก".
bisect
Pinpoint the first bad commit for a reproducible regression in a safe temporary worktree. Use when HEAD is bad, a known revision is good, and one unattended command distinguishes them; handles flaky endpoints and git-bisect skip exit 125.
bug-detective
This skill should be used when the user asks to "debug this", "fix this error", "investigate this bug", "troubleshoot this issue", "find the problem", "something is broken", "this isn't working", "why is this failing", or reports errors/exceptions/bugs. Provides systematic debugging workflow and common error patterns.
do-it-code-quality
Use when designing, changing, or debugging code to locate causal ownership and close the affected behavior.
lucia-chat
Set two agent sessions talking through the Luciazero Agent Bus and watch it live in a terminal: pick the pair, open the windows, read the transcript. Use for "ให้ codex กับ claude คุยกัน" or "watch the bus".
system-health
Suggest whether the machine needs a DISK or MEMORY cleanup — and catch the case where Heimdall ITSELF is the hog (runaway orphaned python from the presence keeper). Use when the machine is slow / swapping / laggy, disk or "System Data" is full, memory is exhausted, at the start of a long session, or when the user asks…