/gt:gt-settingsfrom gt
View and modify Golden Thread's automatic behaviors: component drift checks, session report cards, upstream watch, and module settings. Also shows LOTR connections and per-agent model costs.
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_settings.py show / explain / get, gt_sandbox.py status, gt_model_policy.py show, gt_integrity.py status / verify | unchanged: they read ~/.claude, which stays readable |
gt_settings.py models (the page) | unchanged: it only reads |
gt_settings.py set …, gt_settings.py models set / reset / profile / apply-calibration, gt_model_policy.py choose / set / clear / apply, gt_integrity.py unlock / lock / relock | terminal: sandbox mode write-protects ~/.claude on purpose — a setting that could switch a guard off must never be changed from inside the fence |
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.
Everything this system does without being asked that is optional is registered in one place and can be turned off. A mechanism that acts on its own and cannot be inspected or disabled is not trustworthy — which is the same argument the Core rules make about enforcement, pointed back at the tooling itself.
The exception is deliberate and worth saying out loud. The four hooks that carry and
backstop the Core rules — inject_core_rules.sh, validate_response.sh,
guard_session_claims.sh, guard_vault_writes.sh — have no entry, because enforcement
the enforced session can switch off is not enforcement. They are still visible:
install.sh names every hook it wires and /gt:gt-doctor reports whether each is
registered and current. Removing one is an uninstall, not a setting. gt_settings.py's
own docstring carries the full reasoning, including why test_gate and protected_paths
are registered when these are not.
Settings live in ~/.claude/vault-config.json, beside vault_path. They are per machine: $GT_VAULT changes which vault a session works on, never where settings are read.
Step 1 — Locate the script
<plugin>/scripts/gt_settings.py. The plugin cache is
~/.claude/plugins/cache/golden-thread-plugin/gt/<version>/.
Step 2 — Show the current state
python3 <plugin>/scripts/gt_settings.py show
Prints every setting, its current value, whether that value is set explicitly or is the default, and the options. Do this before changing anything so the user sees what they have.
When LOTR is installed, show ends with one line such as LOTR: 3 connected, 1 needs sign-in -- details: /gt:gt-settings lotr, or LOTR: not configured when the gateway has
no configuration yet. Read that line back to the user.
show lists the model settings together under Models and cost — model_profile,
agent_models, and the calibration settings — beside the others, not after the modules.
If the argument is models (/gt:gt-settings models), or the user asks what model an agent
runs on, what the agents cost, or whether the models are right, show the Models and cost page:
python3 <plugin>/scripts/gt_settings.py models
One row per agent type, in three groups — pipeline stages (with their job types), module agents
(gt-lotr:*, gt:disk-reader) and skills by intent (fast, balanced, deep, with the number of skills
in each). Each row has its model · effort, why (override, profile, task tier or inherit), the last
7 days' runs, tokens and cost (an estimate: tokens at list price), and the last calibration
verdict with its date and agreement, or not calibrated / not enough runs. The header gives the
profile, the session model (Claude Code's /model; gt never changes it) and the calibration
settings. Read the page back, then offer the changes it prints at the foot:
python3 <plugin>/scripts/gt_settings.py models set <agent-type> <model> [<effort>] # one row; --skill/--plugin for those
python3 <plugin>/scripts/gt_settings.py models reset <agent-type> # back to the profile or tier
python3 <plugin>/scripts/gt_settings.py models profile average|very-high|inherit # applied at once
python3 <plugin>/scripts/gt_settings.py models apply-calibration [<agent-type>|all] # stored verdicts only
An effort the model does not accept is refused, naming the allowed values (Haiku has none), never
lowered quietly. apply-calibration prints each stored verdict and then applies only the ones
asked for; run it only when the user asks. To produce fresh verdicts, /gt:gt-calibrate runs the
calibration pass now, whatever model_calibration says (the budget and weekly-allowance guards
still apply). All of these change settings, so under sandbox mode they are terminal commands.
If the argument is lotr (/gt:gt-settings lotr), or the user asks what is connected
to LOTR or whether a connection works, show the connection table instead:
python3 <plugin>/scripts/gt_settings.py lotr # every connection and its state
python3 <plugin>/scripts/gt_settings.py lotr --check # test every MCP connection now
Each line is ✓ connected, ⚠ needs sign-in, ✗ error (with the error code and when),
○ not used yet or – disabled, and a connection that needs attention carries the fix
(for example run: lotr login jira@personal). Show the table as it is; do not run the fix
for the user. A sign-in is theirs to do at a terminal.
Step 3 — Explain, if the user is choosing
python3 <plugin>/scripts/gt_settings.py explain <name>
Each setting carries the reasoning for its default, including the failure that motivated it. Read that back rather than paraphrasing — the defaults are chosen against specific incidents, and the incident is the argument.
Step 4 — Change it
python3 <plugin>/scripts/gt_settings.py set <name> <value>
Validated against the registry; an invalid value is refused with the valid ones listed. Reports what changed, from and to.
show is the authority, not this table. Run it first — a module that is not installed
registers nothing, so what is actually available on this machine is a fact about this
machine. What gt itself ships:
| Setting | Values | Default |
|---|---|---|
component_updates | off · report · confirm · auto | report |
version_check | off · report | report |
orphan_check | off · report · reap | report |
push_check | off · report | report |
test_gate | off · warn · auto · block | auto |
parallel_work | off · on | on |
parallel_max | auto, or a positive integer | auto |
protected_paths | off · ask | ask |
And what the shipped modules add when installed:
| Setting | Module | Values | Default |
|---|---|---|---|
report_card | report-card | off · minimal · full | minimal |
closeout_check | report-card | off · ask | ask |
watch | watch | off · report | off |
show lists every setting gt itself registers, then each installed module's settings
under module <name>. Since 0.15.0 report_card and closeout_check come from the
report-card module (gt-report-card, no command of its own) and watch from the
watch module (/gt-watch:gt-watch); a module that is not installed registers nothing.
A value you set for a module that is later switched off is kept and listed as
OFF — settings kept, not in effect; it takes effect again after
bash install.sh --with <module>. Switching a setting off never uninstalls a module, and
install.sh --without <module> never rewrites a setting.
component_updates — at session start, compares INSTALLED hooks and scripts
against what is checked into the plugin. Found live on 2026-08-29 that
guard_session_claims.sh was installed but absent from the plugin source, and
validate_response.sh had drifted: two of three enforcement mechanisms existed on
one machine only, and a fresh install would have had the Core rules as documents
with nothing re-asserting them.
Note what auto does not do: it never overwrites a file whose installed copy
is newer than the source, and never deletes one the source lacks. That is not
caution for its own sake — the real drift ran exactly that direction, so a naive
"source is truth" updater would have reverted the timestamp validator and deleted
the claim guard, silently, on every session start.
report_card (report-card module) — a pass at /compact, auto-compact and session end. minimal
reports hygiene from the session just done; full adds vault features that are
available and unused. It fires on PreCompact so it is written while there is
still context to write it in.
vault_hints (0.19.1, default on since 0.21.0) — when on, a UserPromptSubmit hook matches each
prompt against index.md and adds at most three - <title> — <path> lines naming pages that
may already hold the answer. It reads one file and never a page body; nothing is added below
the match threshold or past its 0.8 s budget. Off by default because it costs a little on every
turn. Turn on with python3 <base_dir>/../../scripts/gt_settings.py set vault_hints on.
lockdown (0.20.5, default strict) — how much Claude may run without asking.
strict · trust-local · trust-network · insecure; each level is a set of allow rules
gt_lockdown.py merges into ~/.claude/settings.json (gt's own rules only, recorded, settings
backed up first; credential files stay denied to the Read tool above strict). The installer
asks for it; explain lockdown prints the chart. It reduces prompts and is not a security
boundary. A security key: with gt unlock on, changing it needs a fresh confirmation. Restart
Claude Code after a change. python3 <base_dir>/../../scripts/gt_settings.py set lockdown trust-local.
sandbox_mode (0.20.1, default off) — gt sandbox mode. on has gt_sandbox.py merge
Claude Code settings into ~/.claude/settings.json (recording exactly what it added, so off
removes only that): the OS sandbox (sandbox.enabled, allowUnsandboxedCommands: false,
failIfUnavailable: true) with the vault, ~/.claude/golden-thread, the unlock home, LOTR and
the plugin dirs write-denied and the unlock state / LOTR credentials / locked vault folders
read-denied, ~/.gt-inbox as the one writable spot, and matching Read(...)/Edit(...) deny
rules for Claude's file tools. The vault is then read through the gt-vault MCP tools and written
through vault_queue_write (or gt_write_queue.py, which drops its request in the inbox).
Native Windows has no Claude Code sandbox: there it writes the permission rules only —
friction, not a boundary. Linux/WSL2 refuse it without bubblewrap and socat. Restart Claude
Code after switching; switching it off must be done from a terminal (the sandbox
write-protects ~/.claude). sandbox_vault_reads (deny default / allow) says whether the
shell and file tools may still read the vault; vault_mcp (auto default / on / off)
whether the vault MCP server offers its tools. Status and drift:
python3 <base_dir>/../../scripts/gt_sandbox.py status; SECURITY.md, "gt sandbox mode".
paranoid (0.21.0, default off) — protect gt's own installed code from being changed
behind your back. A group: the master paranoid (off | on) and one switch per part —
paranoid.os_lock (the OS locks gt's hooks, packs, plugin cache and marketplace copies),
paranoid.code_write_gate (a presence check before they are unlocked: Touch ID with gt unlock,
else a typed confirmation at a real terminal), paranoid.bash_guard (a shell command that writes
to that code stops and asks), paranoid.signed_manifest (each hook checks its own files before it
runs; the list is signed with the unlock key, or pinned — weaker — without it),
paranoid.plugin_dirs (the plugin cache and marketplace become protected paths) and
paranoid.require_unlock (refuse to turn it on until gt unlock is set up). A part left unset
follows the master; set one on / off to decide it yourself (paranoid (partial) then names
what is off). Every key is a security key. Do not turn any of them off for the user, and do not
try to: lowering one needs a person at a terminal (or the unlock confirmation), which an
assistant's shell does not have — give the user the command. explain paranoid says, in plain
words, who each part is for, what it protects against and what it costs; gt_integrity.py status
shows what is locked and sealed, gt_integrity.py verify re-checks it, and an upgrade is
gt_integrity.py unlock --for-upgrade then the installer (or just the installer).
model_profile (0.19.1; a normal setting from 0.21.0) — the model and effort each skill runs at, written into the
installed copy of every SKILL.md (never the release source). average (a new install's
default): fast skills haiku with no effort setting, balanced sonnet · medium, deep opus · high.
very-high: opus · xhigh everywhere. inherit: nothing written, every skill runs on the
session's model and effort. It lives with the install choices
(~/.claude/golden-thread/install-choices.json), and since 0.21.0 show lists it under
Models and cost and set model_profile average changes it: it records the choice and
re-applies it at once (the same as the policy tool's choose then apply), no reinstall. The
policy tool does the rest:
python3 <base_dir>/../../scripts/gt_model_policy.py show # every skill: model, effort, why
python3 <base_dir>/../../scripts/gt_model_policy.py choose very-high # then: ... apply
python3 <base_dir>/../../scripts/gt_model_policy.py set --skill gt-plan --model opus --effort max
python3 <base_dir>/../../scripts/gt_model_policy.py set --plugin gt-wiki --model sonnet --effort low
python3 <base_dir>/../../scripts/gt_model_policy.py clear --skill gt-plan
Precedence: per-skill override, then per-plugin override, then the skill's model_intent
through the profile, then inherit. An effort the model does not accept is refused when set,
naming the allowed values (Haiku has none) — never lowered quietly. Choices survive a
reinstall. Hooks have no model or effort in Claude Code, so they are not covered.
Specialist agents are set by the task, not the profile. Each agent stage runs at its
spec's tier through the intent pack — classify and draft haiku, extract and place sonnet,
reconcile, verify and generalize opus — even on a very-high machine ("doc reading doesn't
need opus"). agent_models (default task) is the switch: session passes no model and
every agent runs on the session's model (gt_settings.py set agent_models session). The Agent
tool takes a model alias and no effort, so an agent runs at the session's effort and an agent
override (used when agent_models is task) is a model only, by stage or job type (the job
type wins):
python3 <base_dir>/../../scripts/gt_model_policy.py set --agent extract --model haiku
python3 <base_dir>/../../scripts/gt_model_policy.py set --agent extract-code --model opus
python3 <base_dir>/../../scripts/gt_model_policy.py clear --agent extract
Append one entry to SETTINGS in gt_settings.py with default, values,
summary and detail — or, for a setting that belongs to a module, one entry in that
module's module.json settings list (key, default, values, summary, optional
detail). This skill and the validation pick it up with no other
change. Anything automatic that is not in that registry is an undocumented
behaviour, which is the thing this exists to prevent — so register it there rather
than reading a config key directly.
vault_path. A partial file leaves the hooks
unable to find the vault, which breaks enforcement rather than extending it. The
script refuses; do not work around it — run /gt:gt-init.gt_settings.get(name) so the default is applied consistently.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.Other plugins' skills for the same job