tfx-analysis

tfx-analysis is a skill for Claude Code, Codex from tellang/triflux. It costs 76 tokens per session (1,989 once invoked), scanned A, original, MIT.

A code and architecture analysis workflow that can ask several command-line agents to examine a project from different viewpoints, including architecture, security, performance, user experience, and documentation.

In plain words
What is it for?
Use it to understand how code works, map project structure, investigate architecture, or perform a deeper review with the available analysis tools.
Why use it?
It helps compare independent findings and reach a broader assessment, while offering a quicker single-agent mode when the full setup is unavailable.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also runs codex exec. Also seen: reads .claude/ paths; mentions Codex; mentions Gemini CLI.

Part of the triflux plugin — 29 skills, 1 agent, 12 hooks shipped together

Good fit Use it to understand how code works, map project structure, investigate architecture, or perform a deeper review with the available analysis tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tellang/triflux/tfx-analysis
Install

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.

Any agent
npx skills add tellang/triflux --skill tfx-analysis
Clone the repo
git clone --depth 1 https://github.com/tellang/triflux

Made for: Claude Code, Codex.

Or install triflux, the plugin that ships this one along with the rest of its 29 skills, 1 agent, 12 hooks.

Wrote 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.

agentmods badge for tfx-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/tellang/triflux/tfx-analysis/github.svg)](https://agentmods.dev/skills/tellang/triflux/tfx-analysis)
Your own site
<a href="https://agentmods.dev/skills/tellang/triflux/tfx-analysis"><img src="https://agentmods.dev/badge/skills/tellang/triflux/tfx-analysis/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.

agentmods 80×15 button for tfx-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/tellang/triflux/tfx-analysis"><img src="https://agentmods.dev/badge/skills/tellang/triflux/tfx-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,989 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.01989
Opus 5 $0.00038 $0.00994
Sonnet 5 $0.00015 $0.00398
Haiku 4.5 $0.00008 $0.00199

Measured 8d ago against content hash 28c418afbb35, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

tfx-analysis scanned grade A 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sf http://127.0.0.1:27888/status >/dev/null && \
packages/triflux/skills/tfx-analysis/SKILL.md · 194 lines

How it starts

The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.

tfx-analysis — Code/Architecture Analysis (Deep by Default)

ARGUMENTS 처리: ARGUMENTS 에 --quick 포함 → Quick 모드. 그 외 → Deep 모드 (기본).

AI makes completeness near-free. 기본은 Claude(아키텍처) + Codex(보안/성능) + Antigravity(UX/문서화) Tri-Debate 합의. 빠른 단일 CLI 분석은 --quick opt-out.


모드 분기 (첫 단계)

ARGUMENTS 에 --quick 포함 → Quick 모드 (Codex 단일). 그 외 → Deep 모드 (기본, 3-CLI Tri-Debate).


Deep 모드 (기본)

전제조건 프로브 및 Tier Degradation

진입 즉시 실행 — 10초 내 가시적 출력 보장. 빈 stdout + exit 0 금지.

curl -sf http://127.0.0.1:27888/status >/dev/null && \
  codex --version 2>/dev/null && \
  agy --version 2>/dev/null
Tier 조건 실행 방식
Tier 1 Hub + Codex + Antigravity 전부 auto multi 3-CLI (tmux/psmux 리드면 interactive)
Tier 2 Codex 또는 Antigravity 중 하나만 가용 CLI + Claude Agent
Tier 3 Hub 또는 필요 CLI 불가 Claude Agent only (consensus 미적용)

Tier 3 시:

⚠ [Tier 3] multi 실행 환경 미충족 — single-model 모드 (consensus 미적용)
  누락: {missing}  |  권장: Hub + Codex + Antigravity 설치
  또는 /tfx-analysis --quick 사용

HARD RULES

  1. codex exec 직접 호출 및 deprecated Gemini CLI 직접 호출 금지
  2. Codex/Antigravity → Bash("tfx multi ...") 만. teammate mode는 생략해 auto 기본값을 쓴다.
  3. Claude → Agent(run_in_background=true)
  4. Bash + Agent 동시 호출

모델 역할

Model 역할 강점
Claude Opus (architect) 아키텍처/설계 레이어, SOLID, 확장성
Codex (security-engineer) 구현/보안 복잡도, OWASP, 기술 부채
Antigravity (ux-engineer) UX/문서화 DX, 접근성, 네이밍

EXECUTION

Step 1: 범위 파싱
  • target: 파일/디렉토리/주제
  • scope: 전체 + 하위
  • focus_areas: 아키텍처, 보안, 성능, DX
Step 2: 3-CLI 독립 분석 (Anti-Herding) — Bash + Agent 동시 호출

Agent (Claude 아키텍처):

Agent(
  subagent_type="oh-my-claudecode:architect",
  model="opus",
  run_in_background=true,
  name="arch-analyst",
  prompt="소프트웨어 아키텍트로서 분석하라. 대상: {target}. 렌즈: 아키텍처, SOLID, 응집도/결합도, 확장성, 테스트 용이성. JSON: { findings: [...], architecture_diagram: '...', health_score: 0-100 }"
)

Read the full file on GitHub · 194 lines

Files

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.

Changes

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.

  1. 8d ago First seen · 194 lines · 76 tokens per session scan A 28c418afbb35

Subscribe to this mod's changes

tfx-analysis is a skill published in the GitHub repository tellang/triflux (7 stars, last pushed 6d ago), licensed MIT. It adds 76 tokens to every session and 1,989 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

done

Run the closeout ritual before handing back non-trivial work; full verification, revert-probe honesty, independent review, and scope reporting. Use before declaring completion, opening a PR, wrapping up a change, or "ปิดงาน".

ohm41321/luciazero · 50 tokens

show

Visualize code structure, changes, and verification evidence in the smallest useful view. Use for connections, flows, diffs, file maps, Mermaid diagrams, evidence maps, or focused HTML; show facts and label unknowns.

ohm41321/luciazero · 47 tokens

code-review-excellence

This skill should be used when the user asks to review a diff or pull request, write review comments, audit code quality, establish review standards, or improve how a team performs code review.

Galaxy-Dawn/claude-scholar · 43 tokens

do-it-review

Use to assess requirements and implementation quality independently, or to resolve a batch of review findings.

tdwhere123/do-it · 22 tokens

ready

Make an unfamiliar repository agent-ready with a verify command, smoke tests, guardrails, and project notes. Use for repository setup, agentic engineering, verify commands, hooks, or allowlists; skip when verification and scope are already clear.

ohm41321/luciazero · 50 tokens

handoff

Write a state capsule so the next session — or a different agent/harness — can resume unfinished work without re-deriving context. Use when a session is ending with work incomplete, when the user says "handoff", "pack up", "ส่งต่อ", "continue tomorrow", when switching between Claude Code and Codex mid-task, or when…

ohm41321/luciazero · 86 tokens