/gt:gt-handlefrom gt
Walks through waiting handoffs or tasks one at a time, letting you close, defer, keep, or move each item. Use when clearing backlog or triaging tasks.
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_handoff_status.py list … | vault_report {report: handoffs, project, all} |
gt_task.py list … | vault_report {report: tasks, filters} |
gt_close.py task <ID> --vault … (gt_task.py done + the rollup) | vault_task {action: close, id, reason} |
gt_task.py drop / defer / move / add | vault_task {action: drop | defer | move | add, …} |
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_close.py handoff --vault … | vault_handoff {action: close, file, reason} |
gt_handoff_status.py mark … | vault_handoff {action: mark, file, status, until, reason} |
gt_handoff_status.py items … / resolve … | terminal — vault_handoff has no item actions yet; ask the user to run the command in their own terminal (0.21.0) |
gt_farm_item.py build … / return … / accept … | terminal: it reads the item, the service table and the secret scan from the vault and writes packets under ~/.claude, which sandbox mode refuses the shell. Run it from a terminal and relay the result |
gt_tasks.py | vault_tasks_regen |
gt_session.py register / claims | skipped: the session is not recorded, so a sandboxed session holds no claim of its own and other sessions' file tools are not stopped from editing what it works on (the file tools cannot edit the vault under sandbox mode anyway); the server stamps its own session on every write, which the broker checks against other live sessions' claims |
One verb for working through what is waiting. The artifact is the first argument:
| invoked as | works through |
|---|---|
/gt:gt-handle handoff or handoffs (optionally <id> / a project) | waiting handoffs — section Handoffs below |
/gt:gt-handle task or tasks (optionally a filter) | open tasks — section Tasks below |
/gt:gt-handle with no argument | see Which one? |
Replaces gt-handoff-handle and gt-task-handle (0.18.1; the old names were removed in 0.21.4).
Vault: $GT_VAULT if set, else vault_path from ~/.claude/vault-config.json. Pass --vault on
every call (Core rule 2). <scripts> is ~/.claude/golden-thread/hooks (where install.sh puts
gt_handoff_status.py); <tool> is <vault>/Projects/golden-thread/tools/gt_task.py;
<close> is <base_dir>/../../scripts/gt_close.py — the same close logic /gt:gt-complete runs.
Match the first word only: handoff/handoffs → Handoffs; task/tasks → Tasks. Anything else
is a task filter (p1, mine, a project slug …) → Tasks with that filter.
No argument: count both, without opening anything —
python3 <scripts>/gt_handoff_status.py list --vault "<vault>" --json
python3 <tool> list --vault "<vault>" --json
Before you say a file exists or does not, before you hand the user a command that reads or edits
a path (sed, cp, vim, mv), and before you queue a write to a path you inferred, stat it:
python3 <base_dir>/../../scripts/gt_path_check.py <path> [<path>...] prints EXISTS or MISSING,
the resolved absolute form, kind, size and, for a missing path, near misses (another letter case,
one folder up, a moved ~/Projects / ~/Documents/Projects). It never reads contents. A relative
path resolves against the current folder (the vault only with --vault, or when you are inside
it); the output says which. UNKNOWN (exit 3) means the shell could not enter a folder on the way
(permission denied), never that the path is absent: check it with the path_stat tool (any path)
or, under gt sandbox mode, the vault route vault_report {report: path_check, pages} for a
vault-relative path. Label the claim
with its state: path verified (EXISTS, <date>) or path unverified (from memory). A MISSING
result with a near miss is a question for the user, never a reason to edit the near miss.
A handoff exists because a session could not capture everything. Since 0.17.2 each one has a
status — open, deferred (to a date) or handled — and an open one keeps being shown at
session start (setting handoff_surface) until someone deals with it. This is where it gets
dealt with.
Showing a handoff costs no context; handling one does. So nothing is loaded until the user
has picked ONE handoff, and then only that handoff and its project's task lines — not a full
/gt:gt-open.
python3 <scripts>/gt_handoff_status.py list --vault "<vault>"
One line each: path, project, age, open items, and why it counts as waiting (never marked,
deferral ended). Show the list as a numbered menu, oldest first, and ask which to handle. If the
user named a project, pass --project <slug>; if they named a handoff, skip the menu. Do not
open any handoff before they choose.
Nothing waiting → say so in one line and stop.
Read the chosen handoff, then the ## Tasks section of its project's README.md — only the
lines that cite this handoff's filename. That is the whole context. If an item genuinely cannot
be decided without more (a design.md, a source.md before touching a host), read that one file
and say why.
Start with the handoff's own open items — its unchecked - [ ] lines:
python3 <scripts>/gt_handoff_status.py items <handoff> --vault "<vault>"
Ids are generated by code. Every handoff has a handoff_id (H-YYYYMMDD-xxxx) and every open
item a block id (^h1, ^h2 …), so the full id of an item reads H-20261009-ab3k#h2 and it links as
[[<handoff stem>#^h2]]. items prints them (and back-fills an older handoff, saying so). Never
invent, guess or retype an id: read it from items and pass it to resolve --item, which also
takes ^h2, the item's number or its text. Cite the full ids, not the item text, when you
summarise what was resolved (the wrap-up, /gt:gt-work, /gt:gt-complete, the close-out).
Since 0.21.0 a handoff cannot be marked handled while any of those items is unresolved; the close is refused and names each one. Ask the user about each item (and each task citing the handoff) and apply ONE resolution:
gt_handoff_status.py resolve <handoff> --vault "<vault>" --item <id|n> --as closed --reason "<what settled it>".
If the decision belongs in decisions.md or research.md, write it there through the usual
/gt:gt-work path; the resolution line is not where a decision lives.… resolve <handoff> --item <id|n> --as task creates the task (same code as gt_task.py add)
and records its ID in the handoff; --task <ID> records one that already exists. The item is
followed from then on through the task list.farm_engines, Gemini and
You.com by default): python3 <farm-scripts>/gt_farm_item.py build --engine NAME --item-text "<item>" [--cite FILE] builds the packet and prints the resolve marker. It refuses, with the reason in one line,
an item that needs a repo write, a secret or production access, one the scrub and Releasable gate cannot
clear (most private items), or an engine whose profile is stale or unverified. The item then stays
unresolved (farmed) until gt_farm_item.py return calls the answer complete and gt:verify (through
/gt:gt-validate) has checked its claims: gt_farm_item.py accept files the answer only against a holding
gt-validation receipt for that exact answer.… --as dropped --reason "<why>". The reason is required and
is recorded in the handoff. Dropping is a decision; it is never silently deleted.--all --as closed|dropped --reason … resolves every remaining item with one reason, each still
recorded on its own line.The resolution set is open-ended (0.22 adds farmed, which keeps an item unresolved until its
answer is accepted); resolve --help lists what this version accepts.
For each task already citing the handoff, ask the user and apply ONE of:
p:: 1 with a since:: date, so it escalates the
project on its own if it sits for a week. (A kept task that cites the handoff by file name still
holds the close; convert the item with resolve --as task instead.)gt_task.py move writes it there first, then checks
this line off with where it went.An item with no task yet that should have one: resolve --as task, or raise one in the gt-work
shape
(- [ ] <item> — context in <handoff file> [p:: 1] [waiting:: user] [since:: YYYY-MM-DD]) or
settle it now.
How these reach README.md (Core rule 1). Never edit the README directly — the PreToolUse
guard denies a Write/Edit to vault content. There are two sanctioned paths:
Close / Drop / Move / a new task — the tools first. They change exactly one line, re-check that line's hash, and refuse if another live session claims the README:
python3 <tool> list --vault "<vault>" <slug> # find the citing task's ID
python3 <close> task <ID> --vault "<vault>" --reason "<what settled it>"
python3 <tool> drop <ID> --vault "<vault>" --reason "<why>"
python3 <tool> move <ID> --vault "<vault>" --to <other-slug> --reason "<why it belongs there>"
python3 <tool> add "<item> — context in <handoff file>" --vault "<vault>" --project <slug> --p 1 --waiting user
Anything the tools cannot address (a line they do not parse as a task, an edit that is not
close/drop/move/add) goes through the write queue as a replace-section of ## Tasks. Write the
whole new section body — every line as it is now, with only the decided lines changed — to a
scratch file and queue ONE replacement carrying all of this handoff's changes (two replacements
of one section in a pass conflict with each other):
python3 <base_dir>/../../scripts/gt_write_queue.py --vault "<vault>" \
--path Projects/<slug>/README.md --op replace-section --section "Tasks" \
--content-file <scratch file> --session <session id> --hint "handoff <file>: <what changed>"
python3 <base_dir>/../../scripts/gt_broker.py drain --vault "<vault>"
The broker records the section as it was when you queued and escalates (a task for the
owner, not a write) if anyone changed it in between — re-read and queue again rather than
forcing it. Report the drain in one line: N applied, N held, N escalated. Held means
another live session claims the README; it waits for the next drain — never work around it,
and do not mark the handoff handled until it is applied.
A decision for decisions.md or research.md goes through /gt:gt-work, which queues it.
# every item resolved (closed, a task, or dropped with a reason) -- the same close
# /gt:gt-complete handoff runs; it refuses while an item is unresolved (it names each) or a task
# citing the handoff is still open:
python3 <close> handoff <handoff> --vault "<vault>" --reason "<one line>"
# not now -- the whole handoff comes back on that date:
python3 <scripts>/gt_handoff_status.py mark <handoff> --vault "<vault>" --status deferred --until YYYY-MM-DD --reason "<why>"
Then offer the next waiting handoff, or stop.
Map the user's parameter to filters exactly as /gt:gt-list tasks does (<slug>, p1, mine,
overdue, stale, deferred, ref:<text>), then:
python3 <tool> list --vault "<vault>" <filters>
Say how many there are. With no parameter and a long list, propose a first cut (stale,
overdue, or one project) rather than starting at the top of everything.
Show the task line. Load context only if deciding needs it: the file its ref:: points at, or
one named file — never a full /gt:gt-open. Then ask the user for ONE of:
| decision | command |
|---|---|
| done (close) | python3 <close> task <ID> --vault "<vault>" --reason "<what settled it>" |
| drop | python3 <tool> drop <ID> --vault "<vault>" --reason "<why it no longer matters>" |
| defer | python3 <tool> defer <ID> --vault "<vault>" --until YYYY-MM-DD --reason "<why then>" |
| move | python3 <tool> move <ID> --vault "<vault>" --to <slug> --reason "<why it belongs there>" |
| keep | nothing — move on |
/gt:gt-complete task's logic: gt_task.py done, then the TASKS.md rollup, which records
the task.done event.decisions.md or research.md, record it there too — a task line is not
where a decision lives. That write goes through /gt:gt-work (an ADR through gt_adr.py, a
research entry through the write queue), never a direct edit: the PreToolUse guard denies a
Write/Edit to vault content (Core rule 1).Register the session and claim each README before its first write (Core rule 1); the tool refuses if another live session holds it. The tool is the write path for task lines — it re-checks the line's hash itself and goes through the write queue.
When the set is done or the user stops: one line with the counts (closed, dropped, deferred, moved, kept), then regenerate the rollup so "what's next" is current:
python3 <vault>/Projects/golden-thread/tools/gt_tasks.py --vault "<vault>"
design.md or global-memory/The broker escalates a write to those two (it does not apply it), and since 0.20.2 no gt MCP tool
does either: they are changed by the owner, in an editor. A #conflict task from the broker
points (ref::) at its conflict file in Projects/golden-thread/spool/broker/conflicts/, which
holds every version in full and the target as it stood. Offer to read that file with the user and
help them decide which version stands, or merge them in a scratch copy — then they make the edit
themselves and close the task here (/gt:gt-handle task). Never apply it for them, and never try
to route around the refusal.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
handoff-management, task-triage, backlog-clearing, gt-workflow
npx claudepluginhub shaven/golden-thread --plugin gt40 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./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 model calibration now: re-run recent agent-stage work a tier and an effort up and down, have a zero-context judge compare, and show each stage's verdict and the command to apply it. Runs even when model_calibration is off. Use when the user says: calibrate the models, calibrate the agents, run model calibration, are my agents on the right model./gt-closeClose this session's work, the opposite of /gt:gt-open: write back what it learned and release its vault claim. 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. To complete or archive a project, task or handoff, use /gt:gt-complete.2 plugins in one repository ship this exact skill · first indexed Oct 31, 2026
Other plugins' skills for the same job