/gt:gt-validatefrom gt
Spawns a fresh-context agent to independently verify a claim by re-deriving it from primary sources, never seeing the original reasoning. Use before recording findings or production changes.
Ships in gt. 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.
Read when SKILL.md points to them.
Under gt sandbox mode (the session-start line says SANDBOX MODE; gt_settings.py get sandbox_mode prints on) Claude's shell and file tools cannot write the vault, and by default cannot read it. Every vault step below then takes the route in this table instead: a gt-vault MCP tool runs the same script, with the same checks, outside the sandbox. Read vault files with vault_read, vault_search and vault_list. With sandbox mode off (the default) nothing changes: the shell steps run as written.
| Shell step | Under gt sandbox mode |
|---|---|
gt_check.py …, gt_model.py skill … | run unchanged without --vault (shipped defaults: the shell cannot read the vault's packs). If the shell still refuses one, skip that check and say so |
<vault>/Projects/<slug>/validation-rules.md | vault_read |
gt_agent_spec.py … (render, spool-path, check-output) | skipped: spawn the validator with the inline prompt and say so |
gt_write_queue.py … | vault_queue_write — the same path, op, section, key and hint, with the text itself as content (no --session: the server stamps its own). The broker decides at once and the result says apply, held or escalate. design.md and global-memory/ are refused (owner only) |
gt_broker.py drain | nothing to run after vault_queue_write; vault_queue_drain if anything was queued from the shell |
gt_log.py … add "<line>" | vault_log_add {line} — the full line shape; with --event …, the same fields (event, item, from, to, level_from, level_to, project) |
Verify a claim by re-deriving it, not by reviewing it.
A validator must never receive the reasoning that produced the claim.
Give it the reasoning and it grades the argument — and inherits the same blind spot. Give it only the claim, the rules and the artifact, and it must go back to primary sources. That is the only thing that catches a wrong premise.
You are the worst possible author of this packet, because you already know the answer and your framing leaks. Treat packet construction as an adversarial exercise against yourself.
Use $GT_VAULT if it is set (a session pinned to one vault, such as the demo); otherwise read ~/.claude/vault-config.json for vault_path. If missing → tell the user to run
/gt:gt-init first.
Step 1 — Identify what is being validated
From the user's request, or from what this session just produced. Reduce it to a single falsifiable assertion. "The analysis is sound" is not validatable. "Widening NQ's target to 1.25 improves risk-adjusted return" is.
If there are several claims, validate them separately. A bundled claim returns a bundled verdict, which hides which part failed.
Step 1b — Can an installed checker decide it?
Some claims are mechanical: "this page is valid HTML", "this file's content matches its MIME type", "every input on this form has a label". A module may have installed a checker that decides exactly that, deterministically and without a model call. Ask:
python3 <base_dir>/../../scripts/gt_check.py list --for <the artifact file(s)>
If a listed checker decides the claim as stated, run it instead of an agent:
python3 <base_dir>/../../scripts/gt_check.py run <the artifact file(s)> --no-receipt
Report its verdict as the validation result — pass → confirmed, fail → refuted
(name each finding), and cannot-check → cannot-verify, never a pass. Then go to Step 7.
Use the fresh-context agent (Steps 2–6) only for a claim no checker covers, or for the part
of a claim a checker does not decide — and say which part went where.
Step 2 — Load the project's rule pack
Read <vault>/Projects/<slug>/validation-rules.md if it exists. For a sub-project,
read the parent's pack too — packs are inherited.
These are standing invariants the validator must enforce whether or not the request mentions them. This matters because a requester who has already made a domain error will not think to ask the validator to check for it.
Merge with any claim-specific rules. On conflict, the pack wins.
Step 3 — Choose the validator class
| Class | Use when the risk is |
|---|---|
empirical | A number, measurement or result could be wrong |
vantage | The measurement position may not be able to observe the answer |
rule-compliance | Work must satisfy core-rules/ or CONVENTIONS.md |
code | Code may not do what its name, comment or docs claim |
Pick more than one when more than one risk is present. Do not substitute a single generic reviewer — it produces agreement, not verification.
Step 4 — Build the packet
Exactly three fields:
claim: <the single falsifiable assertion>
rules: <merged pack + claim-specific constraints, stated operationally>
artifact: <file path / endpoint / dataset / command — where to look>
Then re-read it and strip: your conclusions, your numbers, your confidence, the transcript, prior results, and any adjective implying the expected answer. If the packet says "confirm that X", rewrite it as "determine whether X".
Include enough operational detail that the validator can reach the artifact independently — hostnames, API shapes, required filters. Withholding access is not isolation; withholding reasoning is.
Step 5 — Dispatch
Launch a subagent per class with the matching prompt from prompts/, plus the packet. Tell each one its return budget: the verdict, then at most 5 findings of at most 40 words each, each with its file:line or command; no recap of the packet.
Run them in the background; they are slow by design because they redo the work.
Which model. This skill declares model_intent: deep — a wrong verdict is expensive.
Resolve it before dispatching, and pass the model it names as the subagent's model:
python3 <base_dir>/../../scripts/gt_model.py skill <base_dir> --vault "<vault>"
Say the line it prints to the user (model_intent deep -> model …). If it reports the intent
UNMAPPED, it has already fallen back to balanced — use that model and say so; if it
names no model at all, dispatch without one (the session's own model) and say that too.
Never pick a model name yourself.
Specialist spec (only when agent_specialization is on). The setting defaults to
on (since 0.21.0); set off, this paragraph changes nothing. Otherwise first run:
python3 <base_dir>/../../scripts/gt_agent_spec.py resolve --skill gt-validate --vault "<vault>"
action: inline → dispatch as above (show any notice: line in one line). action: spawn
→ build each validator's prompt from the verify spec instead of by hand. Write the
packet's three fields to files under your scratchpad, then per class:
python3 <base_dir>/../../scripts/gt_agent_spec.py render verify --vault "<vault>" \
--input-file claim=<f> --input-file rules=<f> --input-file artifact=<f> \
--input-file method=<base_dir>/prompts/<class>.md
Spawn the subagent with exactly that output — the spec loads no vault context, and you
must not add any. Which agent: the resolver's agent: line. When it names gt:verify and your
Agent tool offers that type, spawn it with subagent_type: "gt:verify" and no model (its
definition carries model and effort, and starts without the CLAUDE.md files); otherwise spawn
as before on the model its model: line names (the task sets it: gt_agent_spec.py model verify; it replaces the skill-intent model above; session means pass none). For each result, write the record to the path
gt_agent_spec.py spool-path verify --session <id> --vault "<vault>" prints, as
{"job_type": "verify", "session_id": ..., "created": ..., "result": <its JSON>}, run
gt_agent_spec.py check-output verify "<record>" --vault "<vault>", and take the
verdict from its verdict field in Step 6. Show the user the summary lines; the full
derivation stays in the record.
Step 5b — A local engine for the empirical and code classes (optional, weaker)
When gt-farm is installed and a local engine is calibrated, a class may be put to it instead of the fresh-context
agent: nothing leaves the machine and no allowance is spent. It is a SECOND LOOK, not an independent
verification. Never use it for vantage or rule-compliance, for a production change, or when a number matters
most: use the agent.
python3 <base_dir>/../../scripts/gt_validation.py local --file <artifact> --class <empirical|code> \
--service <engine row> --claim "<the single falsifiable claim>"
It refuses (exit 2, nothing recorded) unless the engine is local: yes, calibrated, and the material passes the
secret scan; read the reason and fall back to the agent. Otherwise it records a receipt whose label is always
self-verified (local engine, weaker) with independent: false, plus the class and the calibration kind it
rested on, and exits 0 holds, 1 broken, 3 cannot-verify. Report it with that label, never as independently verified, and say that a small model can agree with a wrong claim. A broken from the engine is a lead to check,
not a refutation. Then go to Step 7 (the receipt is already recorded; skip gt_validation.py record).
Step 6 — Compare, in that order
Read the validator's independent derivation before re-reading your own. Then report:
cannot-verify must never be reported as a pass. A validator that could not check
something and stayed quiet manufactures false assurance, which is worse than no
validator at all.
Step 7 — Record
Append the verdict to the project's research.md with the date, the claim, the class
used, and the outcome. A refutation supersedes the original finding — mark it inline.
Both go through the write queue, never a direct edit (Core rule 1; the PreToolUse guard denies a Write/Edit to vault content). Put each body in a scratch file:
# the verdict: a new dated entry
python3 <base_dir>/../../scripts/gt_write_queue.py --vault "<vault>" \
--path Projects/<slug>/research.md --op append --content-file <verdict file> \
--session <session id> --hint "validation verdict: <claim>"
# a refutation's inline mark: the WHOLE body of the original finding's `##` section, as it is
# now, with only the supersession mark added
python3 <base_dir>/../../scripts/gt_write_queue.py --vault "<vault>" \
--path Projects/<slug>/research.md --op replace-section \
--section "<the original finding's heading text>" --content-file <section file> \
--session <session id> --hint "refuted by validation <date>"
python3 <base_dir>/../../scripts/gt_broker.py drain --vault "<vault>"
Report the drain in one line: N applied, N held, N escalated. Held: another live session
claims research.md; the next drain applies it — never work around it. Escalated: the
original section changed since you queued the mark, so the owner gets a task pointing at the
conflict file; say so, because until it is resolved the refuted finding still reads as standing.
Log in log.md with work, through its own tool:
python3 "<vault>/Projects/golden-thread/tools/gt_log.py" --vault "<vault>" add "<date time tz> [work] <slug> — validated: <claim> → <verdict>".
What SKILL.md sets; muted values are Claude Code's defaults
40 skills in this plugin
/gt-adoptAdopt a vault gt did not create: inspect its folders, propose a layout manifest, write it only after a yes, then run the read-only checks. Use when the user says: adopt this vault, use gt on my existing vault, my notes are not laid out like gt, point gt at my own folders./gt-allinRun every check in one command (scan, lint, optimize, install health, credentials, runbook and wiki lint, tests, receipts) and report how many actually ran. Never pushes or applies a change. Use when the user says: run everything, check everything, all checks./gt-allin-commitCommit once checks pass and a test receipt covers every staged file. Refuses without evidence or on the default branch; never pushes. Use when the user says: commit it, commit once checks pass.Generated from the plugin's indexed repository (shaven/golden-thread) — no native marketplace selected
npx claudepluginhub p/shaven-gt-golden-thread-plugin-golden-thread-0-22-02 plugins in one repository ship this exact skill · first indexed Oct 31, 2026
Other plugins' skills for the same job