/gt:gt-implementfrom gt
Executes an approved gt-plan one phase at a time using test-first discipline: writes failing test, makes it pass, runs checks, stops on failure, commits only on user approval.
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_allin.py …, gt_allin_commit.py … | terminal: the tests member writes its receipt into ~/.claude/golden-thread/ and the vault members read the vault — both refused inside the sandbox. Meanwhile vault_report (lint, runbook_lint, optimize, doctor) shows the vault members' findings |
<repo>/.claude/gt-plan-current.md | unchanged: it is in the repo |
A terminal row is a step sandbox mode refuses on purpose — it changes settings or install state, or rewrites the vault wholesale. Give the user the exact command to run from a terminal, and carry on with the rest.
Runs the plan /gt:gt-plan wrote and the user approved. It owns the discipline — phase by
phase, test first, stop on red — and reuses the checks and the commit gate gt already has
(/gt:gt-allin, /gt:gt-allin-commit) rather than carrying a second copy of either.
<allin> is <base_dir>/../../scripts/gt_allin.py, <commit> is
<base_dir>/../../scripts/gt_allin_commit.py. Vault from $GT_VAULT or
~/.claude/vault-config.json; <repo> is the code repository.
Read <repo>/.claude/gt-plan-current.md.
.claude/gt-plan-current.md does not exist in this
repository. Run /gt:gt-plan first." Write no code.status: approved (a draft, or approval removed by an edit) → stop. Say:
"The plan in .claude/gt-plan-current.md is not approved (status: ). Approve it in
/gt:gt-plan first." Write no code.- [x] done) and go on.For the current phase, in this order — the order is the point:
Run the repo's checks through all-in — it finds the test suite the way the commit guard does,
records the receipt /gt:gt-allin-commit needs, and reports how many members actually ran:
python3 <allin> --vault "<vault>" --repo "<repo>" --only tests,scan
Report which tests ran (the command, the count passed and failed) — never just "tests pass". Then:
- [x] done <date> in the plan file, summarise it in two lines, and
ask before moving to the next phase.When the user wants a commit (after a phase or at the end), stage what the phase changed and run the commit gate, rehearsal first:
python3 <commit> --repo "<repo>" --vault "<vault>" -m "<message>" --dry-run
Show the staged files and the verdict, then ask: "Commit this?" Only on an explicit yes:
python3 <commit> --repo "<repo>" --vault "<vault>" -m "<message>"
It refuses without a test receipt covering every staged file, on the default branch, or with findings — read its refusals to the user; they are the feature. It never pushes, and neither do you.
After the last phase: all-in once more over everything, then tell the user what was built, which
tests prove it, and what the plan said was out of scope. Offer /gt:gt-work to capture what the
session learned — including its learn step, which looks for reusable patterns.
--allow-findings or --allow-default-branch on the
user's behalf, never push.status: draft for approval) rather than building it unasked.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-briefDraft a self-contained CLAUDE.md section for a project's code repo from its vault notes — what it is, the stable decisions, where it runs, what not to do — printed for review, never written. Use when the user says: /gt-brief, brief the repo, draft the repo CLAUDE.md, graduate this project to its repo, what should the repo's CLAUDE.md say./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./gt-closeClose this session's work — the opposite of /gt:gt-open: write back what the session learned (gt-work) and release the session's claim on the vault. To complete or archive a project, a task or a handoff, use /gt:gt-complete. Use when the user says: close this session, close out the session, I'm done for now, wrap up this session, close the project I opened./gt-completeComplete a project, a task or a handoff the guided way. A project: review every open task and handoff (complete, drop, move to another project, or keep shelved), offer to graduate what it learned, then archive it in place — or move it to Archive/ on request. A task: mark it done. A handoff: mark it handled. Use when the user says: complete the project, we're done with this project, archive the project, retire this project, mark that task done, mark that handoff handled, complete the handoff. To end the session you are in, use /gt:gt-close.Other plugins' skills for the same job