tfx-codex

tfx-codex is a skill for Claude Code from tellang/triflux. It costs 34 tokens per session (702 once invoked), scanned A, original, MIT.

A TFX workflow runner that routes every supported external coding-assistant role through Codex. TFX is an orchestration setup for assigning software tasks to different AI assistants.

In plain words
What is it for?
Use it with `/tfx-codex` to run the TFX workflow using Codex, including UI generation and lightweight documentation tasks. It also accepts an optional Codex worker count.
Why use it?
It supports environments where the Antigravity command-line tool is unavailable by remapping its designer and writer roles to Codex. Other roles keep their documented assistant assignments.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions Codex.

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

Good fit Use it with /tfx-codex to run the TFX workflow using Codex, including…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tellang/triflux/tfx-codex
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-codex
Clone the repo
git clone --depth 1 https://github.com/tellang/triflux

Made for: Claude Code.

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-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/tellang/triflux/tfx-codex.svg)](https://agentmods.dev/skills/tellang/triflux/tfx-codex)
Your own site
<a href="https://agentmods.dev/skills/tellang/triflux/tfx-codex"><img src="https://agentmods.dev/badge/skills/tellang/triflux/tfx-codex.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 702 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00034 $0.00702
Opus 5 $0.00017 $0.00351
Sonnet 5 $0.00007 $0.00140
Haiku 4.5 $0.00003 $0.00070

Measured 7d ago against content hash a61ae37115a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

tfx-codex scanned grade A with 0 findings 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 7d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/triflux/skills/tfx-workspace/skill-snapshot/tfx-codex/SKILL.md · 66 lines

What it actually says

tfx-codex — Codex-Only 오케스트레이터

Codex CLI만 사용하여 모든 외부 CLI 작업을 라우팅합니다. Antigravity CLI가 없는 환경에서 사용합니다.

사용법

/tfx-codex "작업 설명"
/tfx-codex N:codex "작업 설명"

동작 원리

tfx-auto와 동일한 워크플로우를 사용하되, TFX_CLI_MODE=codex 환경변수를 설정하여 모든 Gemini 에이전트(designer, writer)를 Codex로 리매핑합니다.

에이전트 라우팅

에이전트 원래 CLI tfx-codex에서
executor, build-fixer, debugger Codex Codex (변경 없음)
architect, planner, critic, analyst Codex Codex (변경 없음)
code-reviewer, security-reviewer Codex Codex (변경 없음)
scientist, document-specialist Codex Codex (변경 없음)
designer Gemini Codex (effort: high) — UI 코드 생성
writer Gemini Codex Spark (effort: spark_fast) — 경량 문서
explore Claude Haiku Claude Haiku (변경 없음)
verifier, test-engineer Claude Sonnet Claude Sonnet (변경 없음)

실행 규칙

tfx-auto SKILL.md의 모든 Phase(1~6) 워크플로우를 그대로 따릅니다.

유일한 차이점:

  1. Phase 3 CLI 실행 시 TFX_CLI_MODE=codex를 환경변수로 전달:

    TFX_CLI_MODE=codex bash ~/.claude/scripts/tfx-route.sh {agent} '{prompt}' {mcp_profile}
    
  2. Phase 2 트리아지에서 gemini 분류 결과를 codex로 강제 변환:

    • Codex 분류가 gemini를 반환하면 → codex로 교체
    • Opus 분해에서 designer/writer → Codex 에이전트 + implement/analyze MCP 프로필
  3. MCP 프로필 조정:

    • designer: implement (코드 기반 UI 작업)
    • writer: analyze (문서 기반 리서치+작성)

필수 조건

  • Codex CLI: npm install -g @openai/codex
  • Antigravity CLI 불필요

Troubleshooting

문제 발생 시 /tfx-doctor 실행. (--fix 자동 수정, --reset 캐시 초기화)

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. 7d ago First seen · 66 lines · 34 tokens per session scan A a61ae37115a0

Subscribe to this mod's changes

tfx-codex is a skill published in the GitHub repository tellang/triflux (7 stars, last pushed 4d ago), licensed MIT. It adds 34 tokens to every session and 702 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. 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

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

lucia-chat

Set two agent sessions talking through the Luciazero Agent Bus and watch it live in a terminal: pick the pair, open the panes, read the transcript. Use for "ให้ codex กับ claude คุยกัน" or "watch the bus".

ohm41321/luciazero · 55 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

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

retro

Record durable lessons, null results, and footguns after hard work or debugging. Use when the user asks for a retro, dead ends need preserving, a task disproves an approach, or "จดบทเรียน". Keep repo knowledge separate from machine-local memory.

ohm41321/luciazero · 55 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