/gt:gt-openfrom gt
Loads a project from the vault at session start by reading core docs in order, indexing memory, summarizing status, and asking where to pick up. Activated by phrases like 'open project X' or 'continue project X'.
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_catchup.py … --mark | vault_report {report: catchup, project, brief} |
gt_surface.py handoffs … | vault_report {report: handoffs_surface, project} |
gt_digest.py check … | vault_report {report: digest_check, project} |
gt_supersede.py listing … | vault_report {report: supersede_listing, folder} |
gt_handoff_status.py list … | vault_report {report: handoffs, all} |
gt_task.py list … | vault_report {report: tasks, filters} |
gt_review_stamp.py … | vault_derived_write {action: review_stamp, pages} |
gt_doctor.py … | vault_report {report: doctor} |
gt_settings.py get …, gt_code_review.py plan | unchanged: they read settings and the code repo, not the vault |
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) |
Load a project and build full context before proceeding.
First word handoff or task? Then this is not a project open — go to
Opening a handoff or a task at the end of this file and skip the steps below. Any other
argument is a project (unchanged).
Use $GT_VAULT if it is set (a session pinned to one vault, such as the demo); otherwise read ~/.claude/vault-config.json for vault_path. If missing → tell the user to run /gt:gt-init first.
Step 1 — Find the project
List folders in <vault>/Projects/. Skip CONVENTIONS.md, PROTOCOL.md, README.md, and any non-directory entries.
If the user provided no project name (bare /gt:gt-open with no argument): read <vault>/Projects/README.md to get the project list with their current stage, then present a numbered menu:
Projects:
1. shel — implementing
2. golden-thread — designing
3. ...
Pick a number (or type a name):
Wait for the user to choose before continuing.
If the user provided a name: fuzzy-match it against folder names. If multiple match, show the same numbered menu filtered to matches and ask. If none match, say so and offer to create it with /gt:gt-create.
Step 2 — Read CONVENTIONS.md and PROTOCOL.md (once per session)
If not already in context this session, read:
<vault>/Projects/CONVENTIONS.md — tag taxonomy, lifecycle phases, file roles<vault>/Projects/PROTOCOL.md — execution protocol and cross-project process rulesStep 3 — Read the project README
Read <vault>/Projects/<slug>/README.md. Its YAML frontmatter (domain,
stage, topology, tags) is the fastest read of where this project stands —
take it before the prose. Note:
Step 3b — Catch-up brief (when returning after a while)
Before reading anything else, run:
python3 <base_dir>/../../scripts/gt_catchup.py --vault "<vault>" --project <slug> --mark
Add --brief when the user asked for one (/gt:gt-open <slug> --brief), --no-brief when they
asked for none. It prints one paragraph — only when the project has not been opened on this
machine for brief_absence_days days (default 7) or --brief was given, and there were commits
to the project in that window — and nothing otherwise. Show it first, verbatim, as the
generated summary it says it is; never restate it as established fact. It does not replace the
reading sequence below: Step 4 still follows in full. --mark records this open so the next
absence is measured from now.
Step 4 — Read documents in order
Read all existing files in this sequence (skip any that don't exist):
source.md — read this before anything else that might lead to touching code. It says where the code actually lives, which hosts serve which role in which environment, and which files are shared across servers. Acting without it is how you edit the wrong box or overwrite a file that exists on three machines.idea.md — original brain dump, the "why"research.md or research/ folder — findings, codebase analysis, gotchasdecisions.md — ADRs, architectural choices madedesign.md — current implementation approachspec.md — implementation spec ready for handoff (if exists)runbook.md — operational procedures (if exists)Then any handoff still waiting in this project — run
python3 ~/.claude/golden-thread/hooks/gt_surface.py handoffs --project <slug> --vault "<vault>".
It prints one line per handoff that has not been handled (or whose deferral has ended), and
nothing when the owner set handoff_surface: manual. A handoff exists because the last session
could NOT capture everything, so name each waiting one in the summary and offer
/gt:gt-handle handoff. Do not read its body unless the user wants to handle it now. (Until
0.17.2 this skill never looked, so a handoff reached the next session only if someone
remembered it existed.)
If source.md links a fleet page (**Fleet:** [[INFRASTRUCTURE]]), read that page too — it holds the host table the project deliberately does not duplicate.
On research.md: it is append-only and grows without bound. If it exceeds ~200 lines, do not read it whole — read its ## headings to learn what is covered, then read only the entries relevant to what the user is about to do, plus the most recent few.
If research-digest.md exists and is current, read it instead of the headings. Ask first:
python3 <base_dir>/../../scripts/gt_digest.py check --vault "<vault>" --project <slug> — exit 0
means the digest was built from research.md exactly as it is now (its frontmatter carries the
hash). The digest gives one line per recent section plus pinned findings; read the full entries
in research.md only where the work needs them. Exit 1 (missing or stale) → fall back to the
headings as above. /gt:gt-work regenerates the digest.
Then index the memory files — do not read them all:
memory/MEMORY.md — read this index only. It is one line per file (- [Title](file.md) — description), which is enough to know what exists and what each file covers.memory/*.md file only when the current task touches its subject, or the user asks for it.supersedes: <path>; list the folder through
python3 <base_dir>/../../scripts/gt_supersede.py listing Projects/<slug>/memory --vault "<vault>"
and name only what it prints: a replaced note appears as (replaces …) on its successor, never as a line of its own, and an
[EXPIRED …] note is named as expired. The older notes are still on disk — open one only when the user asks for the history.
A note retracted with /gt:gt-forget (0.21.0) is not printed at all; it too stays on disk.This keeps session startup cheap. A project with 40 memory files costs ~45 lines to open instead of ~2,000, and the detail is still one read away the moment it is needed. Loading everything up front buys nothing and crowds out the context the actual work needs.
Step 5 — Load sub-projects (if any)
If the README status board references sub-projects (subfolders within the project), read their READMEs. Only go deeper into a sub-project if:
For sub-projects, follow the same read order (idea → research → decisions → design).
Step 6 — Announce review queue
Check <vault>/review-queue.md. If it has pending items, mention the count once:
"The vault has N items waiting for review."
Step 7 — Summarize and ask
After loading, briefly tell the user:
/security-review and /code-review (and any test runner or "current branch" tool) will target the vault, not the code under discussion, so a code review must be pointed at the code repo explicitly — or run gt_code_review.py plan <repo>, which takes the root as an argument. This is orientation, not a warning. gt_doctor.py --only repo-target shows the resolved paths.Then ask: "Where do you want to pick up?"
MEMORY.md is an index, not a manifest to expand. Read a memory file when the work needs it, not because it is listedidea.md is missing, the project is uninitialized — offer to run /gt:gt-create to scaffold it properlygt-open is the open verb for every artifact, not only projects (verb-first vocabulary,
0.18.1). Dispatch on the first word only; no fuzzy matching.
| invoked as | opens |
|---|---|
/gt:gt-open <slug> | a project — the steps above, unchanged |
/gt:gt-open handoff | menu of the waiting handoffs, then the chosen one |
/gt:gt-open handoff <id> | that handoff: a path, a filename, or a unique part of one |
/gt:gt-open task <id> | that task's full detail (slug:LINE:HASH, as /gt:gt-list tasks prints it) |
A handoff. List without reading any body:
python3 ~/.claude/golden-thread/hooks/gt_handoff_status.py list --vault "<vault>" --all
With no <id>, show the waiting ones as a numbered menu and wait for a choice. With an <id>,
match it against the listed paths; several matches → the same menu, filtered; none → say so.
Then read that one handoff in full, plus the ## Tasks lines of its project's README.md
that cite its filename — nothing else (no project docs; that is /gt:gt-open <slug>). Summarise:
its status (and deferral date), what it says to do first, what it says must not be assumed, and
its open items. Offer /gt:gt-handle handoff to work through it. Read-only.
A task. Find it:
python3 <vault>/Projects/golden-thread/tools/gt_task.py list --vault "<vault>" <slug> --json
(<slug> is the part of the ID before the first :; add deferred and run again if it is not
there.) No row with that ID → the README changed since the ID was taken: say so and show the
project's current list. Otherwise show the full line and every field (p, waiting, since,
due, defer, ref), its age, and — only if it has a ref:: — read that one file and say
what it holds. If the line cites a handoff, name it. Then offer the four ways on:
/gt:gt-complete task <id>, /gt:gt-handle task, /gt:gt-open <slug> for the whole project, or
just start the work. Read-only.
Loading a project is read-only for project files. The one write it makes is outside the
project: after the Step 7 summary, if loading read any Knowledge/ page as context (a fleet page
such as [[INFRASTRUCTURE]], a page source.md or the README points at), stamp those pages so
the wiki lint's review-due check sees that they were read:
python3 <base_dir>/../../scripts/gt_review_stamp.py --vault "<vault>" "Knowledge/<Page>.md" ...
It writes last_reviewed: <today> through the write queue, skips pages already stamped today,
and does nothing when the review_stamp setting is off. Stamp nothing if no Knowledge page was
read.
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-64 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.Other plugins' skills for the same job