/gt:gt-completefrom gt
Guided completion of projects, tasks, or handoffs. Walks through open items, offers to save learnings, then archives. Supports sandbox mode with vault 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_close.py project <slug> --vault … (what stands in the way) | vault_report {report: close_check, project} |
gt_close.py task <ID> --vault … (gt_task.py done + the rollup) | vault_task {action: close, id, reason} |
gt_task.py drop / move / shelve | vault_task {action: drop | move | shelve, id, reason, to} |
gt_close.py project … --archive --vault … | vault_project {action: archive, project, reason}. --move (to Archive/) moves a whole folder: terminal only |
gt_close.py handoff --vault … | vault_handoff {action: close, file, reason} |
gt_handoff_status.py list | vault_report {report: handoffs} |
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_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_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 |
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.
The complete verb, with the artifact as its argument (0.18.1, renamed from close in 0.21.0 — /gt:gt-close now ends the session, the opposite of /gt:gt-open):
| invoked as | completes |
|---|---|
/gt:gt-complete project <slug> (or /gt:gt-complete <slug>) | a project — section Project |
/gt:gt-complete task <id> | one task — section Task |
/gt:gt-complete handoff [<id>] | one handoff — section Handoff |
Dispatch on the first word: project, task, handoff; an ID shaped slug:LINE:HASH is a task;
a path under handoff/ is a handoff; any other word is a project slug.
No argument: if this session has a project open (it ran /gt:gt-open <slug>), propose completing
that project and wait for a yes. Otherwise — or if the context fits more than one thing — ask
what to complete. Never guess: completing is the one verb here whose mistakes are expensive to undo.
Every step is propose-then-confirm: nothing is completed, moved or archived without the user's yes for that item.
Vault: $GT_VAULT if set, else vault_path from ~/.claude/vault-config.json; pass --vault on
every call (Core rule 2). <close> is <base_dir>/../../scripts/gt_close.py, <tool> is
<vault>/Projects/golden-thread/tools/gt_task.py. Every write below is a tool's, and the tools go
through the write queue — never Write/Edit a vault file from here (Core rule 1). Register the
session and claim the project's README before the first write.
python3 <close> project <slug> --vault "<vault>"
It lists every open task in the project and its sub-projects — deferred ones too, since a deferral
comes back — every handoff still open or deferred, and how many research.md entries there are.
Exit 1 means something is undecided, and the completion halts there until each item has a
disposition. Show the list; say the count.
For each task, ask for ONE of:
| decision | command |
|---|---|
| complete — it is done | python3 <close> task <ID> --vault "<vault>" --reason "<what settled it>" |
| drop — it no longer matters | python3 <tool> drop <ID> --vault "<vault>" --reason "<why>" |
| move — it belongs to another project | python3 <tool> move <ID> --vault "<vault>" --to <slug> --reason "<why>" |
| keep — as a record, never ranked again | python3 <tool> shelve <ID> --vault "<vault>" --reason "<why kept>" (sets p:: 7) |
For each handoff: walk its open items exactly as /gt:gt-handle handoff does (read that
skill's Handoffs section — <base_dir>/../gt-handle/SKILL.md), then complete it as in Handoff
below. A handoff cannot be "kept" in a project being archived: it would surface at every session
start forever. Its items move (as tasks) or complete.
If the user will not decide an item, stop the completion and say what is left. Do not archive a
project with an undecided item; that is the gate, and <close> enforces it.
Re-run Step P1 until it exits 0.
A completing project is the last cheap moment to lift findings out of it. Read research.md's ##
headings (Step P1 printed the count; for a long file read headings, not the whole file). Present
the candidates one at a time — a finding that would help another project, a convention, a
platform fact — and for each ask: promote (run /gt:gt-promote for that item: its mechanics,
its checks, its write path), defer (leave it, it stays readable in the archive), or drop.
Skip entries already promoted (they link a [[Knowledge page]]). Decisions in decisions.md that
apply beyond this project are candidates too. Nothing is lost by skipping: archiving is not
deleting.
Ask for a one-line reason, then:
python3 <close> project <slug> --vault "<vault>" --archive --reason "<one line>" --dry-run
python3 <close> project <slug> --vault "<vault>" --archive --reason "<one line>"
In place, by default (owner decision, 2026-10-01): vault_init's archive-project sets
stage: archived and archived: <date> in the README, adds an Archived banner, marks the
project's row in Projects/README.md as archived, and records an archive event. Nothing moves,
every [[wikilink]] still resolves, and the project drops out of TASKS.md (its open tasks were
all decided in Step P2).
--move, only when the user asks for it: after archiving in place, the folder is relocated to
Archive/<slug>/, and every path reference to Projects/<slug>/ elsewhere in the vault is
re-pointed through the write queue (drained at once; an edit made in between is escalated, never
overwritten). It refuses while any live session claims a file in the project. Files the queue may
not write — log.md, decisions.md, Sources/, spools — keep the old path as history, and the
count is reported. A relocate event is recorded.
Report the JSON rows in a few lines: what was updated, anything skipped or held.
python3 "<vault>/Projects/golden-thread/tools/gt_log.py" --vault "<vault>" add "<date time tz> [retire] <slug> — closed: <reason>"
python3 "<vault>/Projects/golden-thread/tools/gt_tasks.py" --vault "<vault>"
python3 <close> task <ID> --vault "<vault>" --reason "<what settled it>"
gt_task.py done checks the line off in the project README (through the write queue; it refuses
an ID whose line changed since it was listed — list again and use the new ID), then the TASKS.md
rollup runs, which records the task.done event. Echo what it printed. If it says the README is
held by another live session, the completion is queued, not lost; say so.
No ID given → list the session's project's open tasks (/gt:gt-list tasks <slug>) and ask which.
python3 ~/.claude/golden-thread/hooks/gt_handoff_status.py list --vault "<vault>" # no id given: pick one
python3 <close> handoff <path> --vault "<vault>" --reason "<one line>"
Marks the handoff handled (status and a status-log line, through the write queue) and records a
retire event whose note starts handoff.close. It refuses while any task citing the handoff
is still open — settle those first (/gt:gt-handle handoff walks them). Never delete a handoff;
its status says it is dealt with.
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.
--move.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
project-completion, task-management, handoff, archiving, gt-workflow
42 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.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-3Other plugins' skills for the same job