Skip to content
Back to skills

Tfx Harness

BSecurity

Use for meta-routing questions. Read the canonical routing SSOT and return exactly one branch and immediate owner; do not execute the requested work.

  • 7 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 22, 2026
toolsshellgit

Security analysis

B75/100
  • criticalModifies startup scripts or system services for persistence

Pro scans all 2 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add tellang/triflux --skill tfx-harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tfx Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tfx Harness
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/tellang-tfx-harness/badge)](https://www.skillsdirectory.com/skills/tellang-tfx-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tfx-harness
description: >
  Use for meta-routing questions. Read the canonical routing SSOT and return
  exactly one branch and immediate owner; do not execute the requested work.
---

# tfx-harness — Codex adapter

This skill is a routing adapter, not an execution engine. Read D0–D11 from the
canonical routing SSOT, classify the user intent against available host
capability evidence, and return one immediate owner. Do not copy the routing
tree, keyword rules, or owner matrix into this file.

## Jev branch selection

Unless the request names a skill or mode explicitly (D0), run this once before
reading the SSOT. Summarize the request and leave out secrets and pasted text.

```sh
tfx judge route --task '<request summary>'
```

When `choice` is set, it is the branch and the one-line `rule` decides the
owner, so do not read the full SSOT. Read the full SSOT only if `rule` does not
settle on one owner. When `choice` is null or the command fails, locate the SSOT
below and decide directly.

## Locate the routing SSOT

This skill is installed globally but the SSOT belongs to the Triflux project.
Try these locations in order and return blocked only when all four fail:

1. `$TFX_ROUTING_SSOT`, when set.
2. `.claude/rules/tfx-routing.md` below the main Git worktree, derived from
   the parent of `git rev-parse --git-common-dir`.
3. Walk upward from the current working directory looking for
   `.claude/rules/tfx-routing.md`.
4. `references/tfx-routing.md` inside this skill directory, copied from the
   package by `tfx setup`. It serves machines without a clone and may lag the
   clone, so it comes last.

Run the block below verbatim to apply this order. Do not rewrite it or join
it into one line. Empty output means blocked. On Windows without a POSIX
shell, follow the numbered list instead.

```sh
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/.codex/skills/tfx-harness/references/tfx-routing.md"; do
  [ -f "$f" ] && { echo "$f"; break; }
done
```

Do not use `git rev-parse --show-toplevel` for step 2. In a linked worktree it
returns that worktree root, whose SSOT may be a stale branch snapshot.
`--git-common-dir` still points to the main repository's `.git` directory.

When blocked, include this one-line remedy: rerun `tfx setup` to install the
step 4 copy. To follow a clone's latest policy instead, set
`export TFX_ROUTING_SSOT=<triflux clone>/.claude/rules/tfx-routing.md` in
`~/.zshenv`, because hooks and headless workers may not load interactive
`~/.zshrc`. Do not create a global copy or symlink under
`~/.claude/rules/`; Claude auto-loads that directory into unrelated sessions.

## Return contract

Translate only host syntax. Resolve the SSOT owner against the current Codex
Available Skills inventory, preserving the exact `$skill` name when it exists.

```text
[tfx-harness]
branch: D<n>
owner: <exactly one immediate owner>
availability: available | unavailable | unknown
fallback_notice: <optional>
status: recommendation-only | dispatching | blocked
```

- Return exactly one branch and one immediate owner.
- With unknown availability, do not infer a fallback.
- With measured unavailability, report
  `owner unavailable → tfx-X fallback` before using the fallback.
- If the SSOT cannot be read, return
  `blocked: routing SSOT unavailable` and the remedy above.
- For a “which skill/path?” question, remain recommendation-only.
- When the user clearly requests execution, read the selected downstream
  `SKILL.md`, invoke or follow that exact Codex `$skill`, and then relinquish
  routing ownership. Do not keep solving the downstream task inside this
  adapter once its owner is available.
- If the owner is unavailable, use only the fallback explicitly allowed by the
  SSOT and label the measured unavailability before dispatch.
- Do not select downstream implementation agents, models, profiles, or effort.

Files in this skill

  • SKILL.md2.8 KB
  • skill.json69 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.