/gt:gt-brieffrom gt
Drafts a CLAUDE.md section for a project's code repo from vault notes, covering identity, stable decisions, runtime, and constraints. Prints for review without writing.
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.
None: SKILL.md is the whole skill.
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_brief.py --vault … <slug> | vault_report {report: brief, project}; read the code repo (--repo) from the shell |
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) |
The outward axis of PROTOCOL.md, Graduating a fact out to a repo, as a tool. A project's
CLAUDE.md is committed to its repo root, where every Claude Code session in that code reads
it with no vault and no plugin. This drafts that section from the vault; a person decides what
goes in.
1 — Resolve the vault and project. $GT_VAULT if set, else vault_path from
~/.claude/vault-config.json. The project is the one named, or the session's project; a
sub-project's bare slug works.
2 — Draft it. <base_dir> is the path in the Base directory for this skill: header.
python3 <base_dir>/../../scripts/gt_brief.py --vault "<vault>" <slug> [--repo <path to the code repo>]
stdout is the proposed section; stderr says what was missing (no ADRs, no source.md, no
vision line) and, with --repo, where it would go. Nothing is written anywhere.
What it contains: the project in one paragraph; Constraints — every ADR that is neither
superseded nor declares Expires when: / Expires: (a decision with a known end is not an
invariant); Where it runs from source.md; What not to do — the rejected alternatives
of current ADRs, one line each; then the optional Deeper context trailer, located through
~/.claude/vault-config.json. ADR numbers, [[wikilinks]] and lines naming vault folders are
stripped, because the content rule is absolute: a reader with no vault gets full value.
3 — Review it with the user. Apply the teammate test line by line — would this make sense
to someone who has never heard of this vault? — and drop any constraint still in motion
(stability is the graduation signal). runbook.md is deliberately not read: it is the
incubator, and whether a fact there has stopped changing is the user's call. Offer to add
stable runbook facts by hand.
4 — Place it, only on the user's yes. The destination is Projects/<path>/CLAUDE.md in the
vault (committed to the repo root), so the write goes through the write queue like any vault
write:
python3 <base_dir>/../../scripts/gt_write_queue.py --vault "<vault>" --path "Projects/<path>/CLAUDE.md" \
--op <create|replace-file> --content-file <file holding the reviewed text> --session <session id> --hint "gt-brief"
python3 <base_dir>/../../scripts/gt_broker.py drain --vault "<vault>"
create when the project has no CLAUDE.md yet, replace-file with the file's whole new text
when it has one. If the file already has hand-written content, merge the reviewed section into it rather than
replacing it. If the repo is a separate checkout, tell the user the path to copy it to; never
write into a code repo from here. Log it with the graduate verb, naming the repo from
source.md:
python3 "<vault>/Projects/golden-thread/tools/gt_log.py" --vault "<vault>" add \
'<today> [graduate] Projects/<path>/ → <repo>/CLAUDE.md: briefed <N> constraints'
What SKILL.md sets; muted values are Claude Code's defaults
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-21-342 skills in this plugin
/gt-allinRun every check in one command — scan, lint, optimize report, install health, credentials, runbook and wiki lint, the repo's tests, validation receipts — and report how many actually ran, not just what they found. Never pushes, never applies a change./gt-allin-commitCommit once the checks pass and a test receipt covers every staged file. Refuses without evidence, refuses on the default branch, and never pushes./gt-calibrateRun the model calibration pass now: re-run recent agent-stage work one tier down, one tier up and one effort higher, have a zero-context adjudicator judge the outputs, and show keep, move-down, move-up or raise-effort for each stage with the command to apply it. An alias for /gt:gt-optimize --only calibration that runs even when model_calibration is off. Use when the user says: calibrate the models, calibrate the agents, run model calibration, recalibrate the models, are my agents on the right model.Other plugins' skills for the same job