/gt:gt-workfrom gt
Captures session findings into project vault files: research.md, decisions.md, design.md, spec.md, and PROTOCOL.md. Handles sandbox mode by routing vault writes through MCP tools.
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_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_digest.py write | vault_derived_write {action: digest, project} |
gt_adr.py allocate --vault … + the body + merge | vault_adr {action: allocate, project, title, body, supersedes, expires_when, expires} — allocates, writes the body into the slot and renders decisions.md in one call |
gt_memory_check.py … | vault_report {report: memory_check, project, work: true, pages} |
gt_promote_detect.py … | vault_report {report: promote_candidates, project, work: true} |
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) |
gt_events.py … emit … | vault_events_emit — the same fields |
gt_handoff.py … | vault_handoff {action: write, project, force}. The code repo's state (--repo) is outside the vault: read it from the shell and write it into the narrative sections |
gt_closeout.py signals / ask / answer | vault_report {report: closeout_signals, project}; vault_closeout {action: ask | answer, project, answer, until, note} |
gt_link_suggest.py suggest / apply | vault_report {report: link_suggest, page}; vault_derived_write {action: links, page, to} |
gt_optimize.py --demote … (an accepted demotion out of global-memory/) | terminal: the owner's, never a gt tool |
a README ## Tasks line | vault_task {action: add, project, text, p, waiting} |
gt_tasks.py | vault_tasks_regen |
gt_persona.py audience … | terminal: it reads the project README, which sandbox mode refuses; skip it and write the summary as you always do |
gt_agent_spec.py, gt_ingest_pipeline.py, gt_checkpoint.py (stage agents, pipeline runs, resume) | skipped under sandbox mode: they keep their state in the vault spool. Take the inline route and say so in one line |
gt_skeptic.py (rank the skeptic's flags, record the user's fix / keep / drop) | skipped under sandbox mode: it belongs to the skeptic pass, which keeps its state in the vault spool, and gt_agent_spec.py is skipped above |
gt_model_calibrate.py findings … (the evidence check on what is about to land) | terminal: give the user the exact command; the check is advisory and write-back completes without it |
a write to design.md or global-memory/ (the broker escalates one it is handed as a #conflict) | owner only: gt's MCP tools never edit them, with or without sandbox mode. Show the user the proposed text and the file it belongs in; they apply it in an editor. A #conflict task already raised for one points at its conflict file in Projects/golden-thread/spool/broker/conflicts/ |
Write back this session's findings into the vault. Run at the end of any meaningful work session.
Use $GT_VAULT if it is set (a session pinned to one vault, such as the demo); otherwise read ~/.claude/vault-config.json for the vault path. If neither gives a vault → tell user to run /gt:gt-init.
Ask if not obvious: "Which project are we writing back to?" (show available project slugs from <vault>/Projects/)
Read in a subagent, write from conclusions (0.21.4). The write-back draws on what this session already learned. When it needs more reading (a long research.md, logs, another project's notes), hand that to one subagent (or a gt specialist agent) and bring back only the conclusions. Never paste whole files into the main session: every later reply re-sends them.
Before writing anything, classify each finding:
| Scope | Where to write | Test |
|---|---|---|
| Session-only | Don't write | Won't need it again |
| This project | research.md / decisions.md / design.md / runbook.md | Specific to this codebase, team, or service |
| Cross-project | Knowledge/ wiki page | Platform constraint, infra fact, or tool truth that applies beyond this project |
| Every session | global-memory/ | Constant needed in ALL projects, regardless of codebase |
Rule: when in doubt, write to the project first. Facts earn their way up the hierarchy by recurring. A single incident is not enough for global-memory/ — flag it in research.md and promote after it applies in a second unrelated project.
Nothing in this skill edits a vault file directly. Each write below is queued, and the queue is drained once, at the end. Since 0.17.11 the PreToolUse guard denies a direct Write/Edit (or shell redirect) to vault content, so a direct edit is refused, not just discouraged.
For each write: put the text in a scratch file, then
python3 <base_dir>/../../scripts/gt_write_queue.py --vault "<vault>" --path <vault-relative .md> \
--op append|replace-section|create [--section "<## heading text>"] --content-file <file> \
--session <session id> --hint "<one line: why>"
append: a new research entry, a runbook procedure, an INBOX line, a new task line.
--section names the ## heading to append under; without it, the text goes at the end of
the file.replace-section: a design.md section that changed, or a README ## Tasks block with a
box ticked. The broker refuses it (escalates) if that section changed since you queued.create: a new file (a memory note, a spec).set-property: one frontmatter key, such as README stage:.Then, once, after the last write:
python3 <base_dir>/../../scripts/gt_broker.py drain --vault "<vault>"
Tell the user in one line what the broker did: N applied, N held, N escalated.
design.md and global-memory/ write, by design, and any conflicting
replacement. It becomes a task for the owner; say so, and name the conflict file it points to.Generated files keep their own tools and never go through the queue: log.md (gt_log.py add), decisions.md (gt_adr.py allocate + merge), events (gt_events.py emit).
Under gt sandbox mode every one of these takes the route in the table at the top of this skill.
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.
New discoveries, gotchas, measured behaviors, or anything surprising goes here.
## YYYY-MM-DD: <short title>
<finding in plain language — what you learned, what broke, what the fix was>
- **Verification**: unverified | self-verified | independently verified
- **Evidence**: <the command and what it printed, file:line read, the measurement, or the user's words>
Rules:
skeptic_pass)skeptic_pass alone decides this; it is independent of agent_specialization, which
governs only the ingest and validation hand-off. Both settings default to on (since 0.21.0); with
skeptic_pass set off there is no skeptic pass: write the entries as above. Before the first research.md entry lands, ask the resolver (<base_dir> is the
Base directory for this skill: header):
python3 <base_dir>/../../scripts/gt_agent_spec.py resolve --skill gt-work --vault "<vault>"
action: inline → no pass; write as normal (show a notice: line in one line if there is
one). action: spawn → write the drafted entries, verbatim, to a file under your
scratchpad, then:
gt_agent_spec.py render reconcile-session --input-file findings=<file> --vault "<vault>" and
spawn one subagent with exactly that output — nothing else from this session. Run
gt_agent_spec.py model reconcile-session --vault "<vault>": when it names agent type: gt:reconcile and your Agent tool offers it, spawn that type with no model (its
definition carries model and effort and starts without the CLAUDE.md files); otherwise pass
the alias on its first line as the Agent tool's model (session means pass none).gt_agent_spec.py spool-path reconcile-session --session <id> --vault "<vault>"
prints, as {"job_type": "reconcile-session", "session_id": ..., "created": ..., "result": <its JSON>},
then run gt_agent_spec.py check-output reconcile-session "<record>" --vault "<vault>".skeptic_max_flags, default 7):
python3 <base_dir>/../../scripts/gt_skeptic.py rank "<record>" --vault "<vault>"
It prints the most severe N: contradictions first, then overclaimed and unsupported-number,
then scope, stale, unverified, and says how many more are held back. The rest are one command
away (rank "<record>" --all); show them only if the user asks. For each flag shown, they fix
the entry, keep it as written, or drop it.
The pass is advice, never a gate: write-back completes whatever is decided, and a
skeptic that fails to run is reported in one line, not retried.skeptic_record_outcomes, on by default), one decision per
flag shown, so acceptance rates can be computed later:
python3 <base_dir>/../../scripts/gt_skeptic.py outcome --session <id> --decisions-file <json> --vault "<vault>"
where the file is [{"entry": "<title>", "kind": "<flag kind>", "decision": "fix|keep|drop"}, ...]
(or one flag at a time with --entry --kind --decision). With the setting off it records nothing
and says so. gt_skeptic.py outcomes reads them back as acceptance rates per kind.findings_calibration, on by default): run the evidence check on the same file:
python3 <base_dir>/../../scripts/gt_model_calibrate.py findings --text-file <file> --vault "<vault>"
It costs no model call and writes nothing. It reports an entry whose verification label is above
the evidence it carries, or whose inferred mechanism reads as fact. A finding with no evidence is
unverified however it is worded. Write each finding with its evidence: the command run and what
it printed, the file and line, the measurement, or the user's own statement, and a
**Verification**: line (unverified, self-verified or independently verified).Once this session's research.md entries are applied (drained), regenerate the project's
digest — a cheap first read beside the append-only file:
python3 <base_dir>/../../scripts/gt_digest.py write --vault "<vault>" --project <slug>
It rewrites Projects/<slug>/research-digest.md through the write queue: the last 20 ##
sections newest first, one line each (heading + first line, nothing inferred), plus up to 5
sections whose heading carries [pinned]. The first time, it also indexes the digest in
memory/MEMORY.md. It never touches research.md. A held or escalated result is reported
in one line, like any other queued write. To pin a finding, the user adds [pinned] to its
heading — the one edit to an existing research entry that is allowed.
Allocate the number before writing the ADR. Two sessions that both read "the highest is 5" will both write ADR-6; allocation makes that impossible. The command prints the number it reserved, and reserving it creates the file that holds it:
python3 <vault>/Projects/golden-thread/tools/gt_adr.py --vault "<vault>" allocate <project> --title "<title>"
Write the body into the slot it names, then gt_adr.py --vault "<vault>" merge <project>. Never pick a
number by reading decisions.md and adding one. allocate emits the adr event
itself — do not emit another.
New or revised technical decisions.
## ADR-N: <title>
- **Decision**: What was decided
- **Context**: Why — the constraint, incident, or requirement that drove this
- **Rejected alternatives**: What else was considered and why it lost
Rules:
Current architecture, component relationships, data flow. Unlike the others, this file changes section by section as the design evolves: queue a replace-section for each section that changed. Every design.md write is escalated to the owner for review (owner's choice, 2026-10-01). Tell the user the design change is waiting for them; it is not applied until they accept it.
Rules:
A spec is a self-contained implementation document designed to be handed to another session, developer, or agent with zero prior context. Create it when all open design questions in design.md are resolved.
Ask: "Is the design settled enough to write a spec?" If yes:
# <Project> Implementation Spec
## What to change
<exact files, functions, or systems to modify>
## Expected behavior
<precise description of what the code/system should do when done>
## Tests to write
<what tests to add and what they must verify>
## Acceptance criteria
- [ ] <specific, verifiable condition>
- [ ] <specific, verifiable condition>
Rules:
Add project-specific operational steps, environment setup, or deployment notes. This file is for project-specific HOW-TO — process rules that apply across projects go in PROTOCOL.md instead.
Rules:
/gt:gt-runbook-lintSession memory files (feedback.md, project-state.md, etc.) change most often. Queue a create for a new note and a replace-section (or append) for a change to an existing one, plus an append of its index line to memory/MEMORY.md.
<vault>/Projects/PROTOCOL.md holds rules that apply across ALL projects — not project-specific facts, not one-time incidents.
Write here when a ruling from this session will apply to future sessions and has been proven across more than one context (one incident is not enough — flag it in research.md and let it recur once before promoting).
Format: short imperative rules, grouped by concern. Strip incident-specific details — those stay where they originated.
Rules:
/gt:gt-promote after it recursAfter writing, check: does any finding apply beyond this project?
Knowledge/global-memory/PROTOCOL.mdAsk: "This looks like it applies beyond <project-slug>. Should I add it now, or flag for /gt:gt-promote later?"
Once the queue has been drained, run both. Each is read-only, prints nothing when it finds
nothing (say nothing then either), and honours its setting under --work
(memory_contradiction_check, promotion_candidates):
# memory notes you wrote or changed this session, against their same-topic neighbours
python3 <base_dir>/../../scripts/gt_memory_check.py --vault "<vault>" --project <slug> --work \
[--changed memory/<note>.md ...]
# promotion candidates a script can see
python3 <base_dir>/../../scripts/gt_promote_detect.py --vault "<vault>" --project <slug> --work
--changed (without it, the notes
git reports as modified are used). Show each pair it prints — both paths, the conflicting
sentences — and ask the question it asks: same fact? which is current? update the older or
link it to the newer? Change nothing unless the user decides, and then through the queue.
When the user picks the newer one (0.19.1), record it, do not just edit: the current note
gets supersedes: <path of the older note> in its frontmatter (a set-property or
replace-file through the queue). The older note stays as it is, on disk; gt-open then lists
only the current one and gt-query ranks the older below it. A contradiction resolved by
editing the older note in place loses the history that link keeps.promotion_overlap setting (→ Knowledge/), and global-memory notes naming a project
(gt-lint's global-scope-leak → demotion). Show each with its one-line justification and
destination; the user accepts, skips or defers each. Nothing is promoted without a yes —
accepted ones go through /gt:gt-promote or gt_optimize.py --demote.Add the line with the tool — never append to log.md by hand. It is generated
from per-session spool files, so a hand append is lost at the next merge:
python3 <vault>/Projects/golden-thread/tools/gt_log.py --vault "<vault>" add "<the line>"
The line it records:
<YYYY-MM-DD HH:MM TZ> [work] <project-slug>[, <other-slug>...] — wrote N finding(s), M ADR(s), updated design[, created spec]
allocate already emitted each ADR's event, and gt_tasks.py emits task events from
the README. What only you know is that a finding left the conversation. Right after
writing each research.md entry (level 3) or new memory/ note (level 2), run:
python3 "<vault>/Projects/golden-thread/tools/gt_events.py" --vault "<vault>" emit \
--kind capture --item "Projects/<slug>/research.md" --to "Projects/<slug>/research.md" \
--level-from 1 --level-to 3 --project <slug> --note "<entry title>"
(--item/--to the memory file and --level-to 2 for a memory note.) A refused
event is one stderr line; the write it describes stands.
gt_closeout.py reads this line to date each project's last write-back, so keep its
shape: the date first (time and zone after it are optional), then [work], then the
exact slug — several comma-separated when the work spans projects — then —.
You have just classified every finding and written the ones that belong in a file. Some will not have made it: a decision that needs the user, something mid-flight, a question raised and never answered. Those live only in this conversation, and this conversation is about to end.
gt_handoff.py exists for exactly that and is reached by one caller — the user typing
/gt:gt-create handoff. Which means it is offered at the moment a person happens to think of it,
rather than the moment it is needed.
So state the list, then ask. As you write the sections above, keep the items you identified and did not write, each with the reason. At the end:
The list is empty — say so in one line and stop. Do not ask. An offer made every
session is one that is always declined, which is how gt_closeout taught the same lesson:
it asked every session until the answer stopped being read. Nothing uncaptured, no question.
The list is not empty — name the items, then ask:
"These did not reach a file: , . Write a handoff so the next session has them? yes / no"
Only on yes:
python3 <scripts>/gt_handoff.py --vault "<vault>" --project <slug> [--repo <path>]
It gathers the facts and labels each one verified / unverified / unknown. You write
the narrative — what was decided, why, and what to do next. The script deliberately will
not: a document that reads finished when it is not hands the next session false confidence,
which is worse than handing it none. Put the uncaptured items in that narrative; they are
the reason the file exists.
An existing handoff is refused, not overwritten — it is someone's record of a session.
If one exists for today, say so and ask before passing --force.
A handoff nobody is told to read is write-only. The file is not the mechanism; the task
is. So after writing one, add one task per unresolved item to the project's ## Tasks in
README.md:
- [ ] <the unresolved thing, as a decision or an action> — context in <handoff file> [p:: 1] [waiting:: user] [since:: YYYY-MM-DD]
Three things about that line are deliberate:
p:: 1, not p:: 0. There is no p:: 0. Task priority is 1 urgent, 2 normal,
3 someday, 7+ shelved; 0 exists only at PROJECT level (pp:), where
Projects/CONVENTIONS.md defines it as "active harm accruing right now — nothing sits here
permanently." A handoff task parked there for ever would make that tier a place things live.since:: <today> is what makes it escalate. The stale-P1 rule raises the project one
level once a p:: 1 is seven days old, computed against the clock. Read the handoff tomorrow
and nothing happens; ignore it for a week and the project climbs on its own. That is stronger
than a fixed top priority, because it decays correctly and needs no cleanup.waiting:: user puts them on the human's list, which is correct — these are the items that
needed a person, which is why they did not reach a file.
The next session is told, without anyone asking (since 0.17.2). gt_handoff.py writes
status: open, and an open handoff is shown — one line, never its body — at every session start
or when its project is opened (setting handoff_surface) until it is handled or deferred to a
date through /gt:gt-handle handoff. It also counts as handled once every task citing it is
checked off, so the task must name the handoff's filename — that is how the two are joined.
Never write one on the user's behalf after a no. They have just told you these items are not worth a file, and that is theirs to decide.
persona_aligned)When you give the user the closing summary below, ask for the reader's audience line first:
python3 <base_dir>/../../scripts/gt_persona.py audience --project "<slug>" --vault "<vault>"
It prints an Audience: block built from the user's persona(s), in order, the first leading. It
prints nothing when persona_aligned is off or no persona is set; then write as you always do.
When it prints a block, write the summary for that reader (order, plain words, how much detail).
This changes only how the summary is worded: it never changes what you recorded, which facts you
kept, or any citation or verification state, and it is never applied to the extraction,
reconciliation or verification steps.
Closing a project is a decision nobody makes unless asked. Two moments call for it:
p:: 2 or better,
or the last task with a due date.python3 <vault>/Projects/golden-thread/tools/gt_closeout.py --vault "<vault>" signals <slug>
If any rule fires (R1 most tasks past due, R2 most tasks done and nothing
urgent, R3 three quiet weeks, R4 nothing open), record that you are asking and
then ask:
python3 <vault>/Projects/golden-thread/tools/gt_closeout.py --vault "<vault>" ask <slug> gt-work
"
<slug>looks finished: . Close it? yes / no / later — and why?"
Record the answer, whatever it is; the record is how the thresholds get tuned to the user's own pattern rather than a guess:
python3 <vault>/Projects/golden-thread/tools/gt_closeout.py --vault "<vault>" answer <slug> yes|no|later "<their words>"
A later takes a date. When the user names a time ("in 30 days", "after the release", "next
month"), turn it into a calendar date and pass --until YYYY-MM-DD:
answer <slug> later --until 2026-11-07 "<their words>". With no date, later defers
closeout_later_days (default 30). A past or invalid date is refused: ask again, do not guess.
The project is not offered again until that date, and the report card shows one summary line
(a count and a date) while any deferral is in force. A no holds until the project's signals change.
If yes, closing means: stage: complete in README.md frontmatter (archived
only once nothing at all remains); every leftover open task moved to [p:: 7] so
it stays in the README as a record but leaves the rollup and stops escalating the
project; pp: lowered to 3; a final research.md entry saying what shipped; then
the promotion check below, because a finished project is where the vault's most
general lessons usually are.
Never delete a task to close a project. Shelve it (p:: 7) or check it off with
a pointer to what superseded it.
README.md frontmatter drives the vault's index views. When a session changes
the project's reality, update the property too, not just the prose, by queuing a
set-property (--key stage --value active), and the prose with a replace-section:
| If this changed | Update |
|---|---|
| The project moved phase (idea → research → design → active → complete) | stage: |
| Where the code lives, or a new host was added | topology: and source.md |
| The project's grouping | domain: |
The ## Stage heading in the body and the stage: property must agree. If they
disagree, the property is what the Dataview views show, so fix the property and
make the prose match it.
Memory files carry level and enforcement in frontmatter so a rule's durability is
explicit from the moment it is written:
metadata:
type: core | feedback | user | reference
level: core | context | generic # default generic
enforcement: validated | reminder # required iff level: core
Default to generic. Do not set level: core here — Core is a promotion, and it
requires wiring an enforcement hook, which is /gt:gt-promote's job. A file marked
level: core without that wiring is exactly what gt-lint's core-unenforced check
exists to catch.
Template: templates/memory-file.md.
Run this step after Promotion Candidates and before the Log Entry — it is where a separate
gt-learn would have gone, folded in here so there is one capture path, not two (owner,
2026-10-01). The findings above are what happened; this looks for how the work was done that
should be done the same way next time.
Scan this session's conversation for:
decisions.md (search it first).Quality gate before showing anything: skip a candidate that is already captured (search the
project's decisions.md, research.md, runbook.md and memory/, and the wiki index), that
happened once with no reason to expect a repeat, or that is only true of today's state. Fewer,
real candidates beat a long list the user learns to wave through.
Present the survivors one at a time, one line each, and ask where it goes:
| answer | where | how |
|---|---|---|
| project convention | an ADR in Projects/<slug>/decisions.md | allocate with gt_adr.py, then the body through the write queue — exactly as decisions.md above |
| runbook step | Projects/<slug>/runbook.md | a queued append (Every write goes through the queue above) |
| memory note | Projects/<slug>/memory/<name>.md + its MEMORY.md line | queued create and append |
| beyond this project | Knowledge/ or global-memory/ | /gt:gt-promote — not written from here |
| skip | nowhere | — |
Every save goes through gt_write_queue.py + gt_broker.py drain (or gt_adr.py for an ADR) —
never Write/Edit on a vault path (Core rule 1). Count what was saved in the Log Entry line
(… , L pattern(s) kept). Nothing found is a fine result; say so in one line and move on.
When allocating an ADR, ask two questions and pass the answers as flags — the fields are
what gt-lint, gt-brief and gt-query's lineage mode read:
--supersedes <N> (repeatable). Writes
- **Supersedes**: ADR-N. Never edit the old ADR; this link is how the chain is traced.--expires-when "<condition>"; a date → --expires YYYY-MM-DD.
Lint surfaces a condition in the review queue at any age and a date once it has passed, and
gt-brief keeps an expiring decision out of the repo's stable constraints.python3 <vault>/Projects/golden-thread/tools/gt_adr.py --vault "<vault>" allocate <project> \
--title "<title>" [--supersedes N] [--expires-when "<condition>"] [--expires YYYY-MM-DD]
Both are optional; an ADR with neither is unchanged. Written by hand into a body, the lines
- **Supersedes**: ADR-N, - **Expires when**: <prose> and - **Expires**: YYYY-MM-DD (or
expires_when: in the Knowledge-page spelling) read the same.
When creating a memory file, ask: What entities (services, hosts, components) does this
memory file cover? List them to enable entity-based lookup. They go in its frontmatter so
/gt:gt-query --entity <name> finds it:
entities:
- auth-service
- TOKENSVC
Optional — skip it when the note is not about a nameable thing. Never add entities the user did not confirm.
Whenever this write-back created or updated a page in Knowledge/, run the link suggestion
pass for that page once the write has been applied:
python3 <base_dir>/../../scripts/gt_link_suggest.py suggest --vault "<vault>" --page "Knowledge/<Page>.md"
It reads the page's title, tags and opening, and only the frontmatter of every other Knowledge page, so it is cheap. It prints up to five candidates, cross-domain first, each with the reason (shared tag or title keyword) and the link type (cross-domain / hub / upstream / downstream / sibling). It never suggests a page that is already linked.
python3 <base_dir>/../../scripts/gt_link_suggest.py apply --vault "<vault>" --page "Knowledge/<Page>.md" --to "<Target>" [--to "<Target>" ...]
Both links go into each page's ## Related section through the write queue. If the user wants
only the forward link for one target, add --forward-only for that call. Skipped → write
nothing, and do not ask again in this session for the same page./gt:gt-work is the session kind of the ingest pipeline (owner, 2026-09-30): the same stages
and the same three stop rules as /gt:gt-ingest, with no approval prompt otherwise. The tool is
<base_dir>/../../scripts/gt_ingest_pipeline.py (<tool>); every command takes
--vault "<vault>" and --dry-run.
| Stage | For /gt:gt-work |
|---|---|
| intake-scan | the session text: credentials (Core rules 3, 9) and injection text carried in from tool output or web pages |
| survey | segment the session: each finding, decision, open item, file changed |
| extract | per segment: a finding with its source and verification state (extract-session) |
| classify | research / decisions (ADR) / design / memory / Knowledge candidate / handoff item (classify-session) |
| reconcile | dedupe and contradiction check; the skeptic pass is the reconcile-session agent |
| draft | via the write-broker queue, per target file |
## heading per segment (each finding, decision, open item, file changed), then
<tool> survey <notes file> --kind session --project <slug> --vault "<vault>". It scans
the text first and splits it into seg-NN units beside the file only if it is clean.
Exit 1 or 3 is a stop (a credential, injection text, or text that could not be
scanned): tell the user the kind and location as printed, never the content, and write
nothing until they have dealt with it.agent_specialization on, one extract-session subagent per segment, in
parallel (gt_agent_spec.py render extract-session --input path=<segment file>; the
agent is read-only, so it gets no scratch folder), spawned as
gt_agent_spec.py model extract-session says (the gt:extract agent type with no model
when it names one and your Agent tool offers it, else its alias as the Agent tool model;
or all segments at once through the gt:pipeline-stage workflow, as gt-ingest describes), each
result recorded with <tool> packet <run> --stage extract --unit seg-NN --result-file <f> --prompt-file <p>, where <p> is the saved render output that agent was given (kept for model calibration; 0.21.0).
With it off, do the same yourself: write each segment's finding as the extract JSON
(summary, findings [{claim, citation, verification}], gaps, instructions_seen,
segment_type) and record it with the same packet command. Then
<tool> fan-in <run> --stage extract; classify-session (optional) routes findings to
research, decisions, design, memory, a Knowledge candidate or a handoff item.<tool> reconcile <run>. Exit 1 is a stop: a finding directly
contradicts a fact already in gt. Show both facts with their citations; that finding is
not written until the user decides. The skeptic pass above is this stage's agent
(reconcile-session, the 0.17.10 skeptic), run when skeptic_pass is on (whatever
agent_specialization says), and recorded
with packet <run> --stage reconcile --unit all before re-running reconcile; its flags
stay advice, never a gate.<tool> draft <run> queues research, design and inbox entries through the write
broker and drains it once. The session step lines it prints (an ADR, a memory note, a
Knowledge candidate, global memory) are written by the sections above, as always.What SKILL.md sets; muted values are Claude Code's defaults
4 plugins in one repository ship this exact skill · first indexed Oct 18, 2026
37 skills in this plugin
/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./gt-allin-commitCommit once checks pass and a test receipt covers every staged file. Refuses without evidence or on the default branch; 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.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-5Other plugins' skills for the same job