/gt-wiki:gt-wiki-ingestfrom gt-wiki
Ingests URLs, files, or pasted text into an LLM Wiki vault, storing source material immutably and guiding the ingest discussion.
Ships in gt-wiki. 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 |
|---|---|
a new Sources/YYYY-MM-DD <title>.md | vault_source_store {name, content} — write-once |
<gt-scripts>/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-scripts>/gt_broker.py drain | nothing to run after vault_queue_write; vault_queue_drain if anything was queued from the shell |
wiki_log.py <vault> log … (it runs the vault's gt_log.py) | vault_log_add {line}: the line it would write, YYYY-MM-DD HH:MM TZ [<kind>] <subject> — <detail> |
wiki_log.py <vault> index … | vault_queue_write {path: index.md, op: append, section, content: "- [[<Page>]] — <summary>"} |
Fetch or receive source material, store it immutably, and run the ingest
conversation. Vault path: $GT_VAULT if set, else vault_path in ~/.claude/vault-config.json.
$ARGUMENTS is a URL, a local file path, or the literal text "paste".
Read <vault>/Knowledge/_template.md before writing any Knowledge page.
It is the single source of truth for frontmatter fields, categories, status
values, and conventions.
Knowledge pages are vault content: never Write/Edit them directly — the gt PreToolUse guard
denies it. Put each page body or section body in a scratch file outside the vault and queue it
with gt's gt_write_queue.py (installed at
~/.claude/plugins/cache/golden-thread-plugin/gt/<newest>/scripts/):
python3 <gt-scripts>/gt_write_queue.py --vault "<vault>" --path "Knowledge/<Page Title>.md" \
--op create|replace-section|append|replace-file [--section "<heading>"] --content-file <scratch file> \
--session <session id> --hint "<why>"
A section is a level-2 heading (## <heading>); replace-section replaces its whole
body, so the scratch file carries everything you keep. Sources/ is exempt: a source file is
written directly (step 3). Nothing reaches a page until gt_broker.py drain (same directory)
runs — once, at the end of the write phase (step 8). This holds in every Golden Thread
vault (one with Projects/golden-thread/); only a standalone wiki with no gt installed has no
queue, and there the pages are written directly. The same applies to the other gt-wiki skills.
Fetch — URL: retrieve with WebFetch. File path: read it. "paste" or empty: ask the user to paste the material.
Duplicate check — before storing, check BOTH:
index.md for pages already covering this topicSources/ frontmatter for this URL or local path (grep for it)
If the source already exists, say so and switch to updating instead.Store — save raw content to Sources/YYYY-MM-DD <source-title>.md.
Frontmatter fields per the vault's CLAUDE.md (distinguishes repo-file
sources from web-only sources). For a file inside a git repo, also record
upstream_sha: — the output of git -C <dir> log -1 --format=%H -- <file>
— so /gt:gt-wiki-refresh can later diff from exactly this point. Never
modify a file in Sources/ after creation.
Read current state — read index.md to know what already exists.
Discuss — present key findings: main concepts, which existing pages would update, what new pages this suggests. Ask what to emphasize.
Wait for approval — do NOT write pages until the user confirms.
Write — create/update pages in Knowledge/ per Knowledge/_template.md.
One concept per page. Through the queue: a new page is --op create with
the whole page (frontmatter included) in the scratch file; an existing page
is --op replace-section --section "<heading>" per section you revise.
Frontmatter sits above the first heading, where sections cannot reach:
change one key per request with --op set-property --key <k> --value <v>
(no content file) — status:, updated:, or an inline list such as
sources: [...]. A block-list key (sources: with one - item per line)
or any other frontmatter change set-property cannot express (the queue
refuses set-property on a block-form key): read the page, rebuild its full
text with the change made, and queue --op replace-file --content-file <scratch file> (no section). The base hash is recorded at queue time, so
the broker escalates rather than overwrite a page changed in between.
Cross-link — the most important step. For every new or updated page
add upstream, downstream, hub, and cross-domain links, and update
existing pages to link back. Do not rely on the index alone: grep
Knowledge/ for the new page's title and key terms — pages that mention
them are link candidates the index summary would not surface. Test
mentally: from the index, is every piece of surrounding context reachable
in 1-2 hops? A link back on an existing page is a queued
--op append --section "Related" (one line, - [[<Page Title>]] — <why>),
or a replace-section when the link belongs inside revised prose.
Then drain once, for all of steps 7–8:
python3 <gt-scripts>/gt_broker.py drain --vault "<vault>"
and report it in one line: applied N, held N, escalated N. A held write
waits for the next drain; an escalated one is now a #conflict task for
the owner — name it, do not retry it by hand.
Update navigation — call wiki_log.py twice:
python3 <plugin>/scripts/wiki_log.py <vault> log ingest "<Page Title>" \
--line "created: <Page Title>" --line "source: <Sources/file.md>"
python3 <plugin>/scripts/wiki_log.py <vault> index "<Page Title>" \
"<one-line summary>" [--section "<Section Name>"]
<plugin> is the Base directory for this skill: path two levels up
(../../). If the page already exists in index.md the index command
replaces its entry in place. In a Golden Thread vault the script writes
neither file itself: log goes through gt's gt_log.py --vault <vault> add (log.md is
generated) and index is queued and drained through the broker — it
prints the decision (apply, held, …); relay anything but apply.
Summarize — report what was created, updated, and cross-linked.
Some Topic.mdgrowingLinks are the primary navigation mechanism — they replace RAG retrieval.
The LLM follows [[wikilinks]] hop by hop from index.md.
A page created from a Q&A session still needs a source. Create a lightweight
Sources/YYYY-MM-DD Conversation - <topic>.md capturing the question, the
substance of the answer, and where the knowledge came from. This keeps the
page → source chain uniform: sources: is required on every page. The
source file is written directly (Sources/ is exempt from the queue); the
page itself goes through the queue like any other (steps 7–8).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/gt-wikiALWAYS CHECK FIRST: the user has an LLM Wiki (interlinked pages plus immutable sources). Read its index before exploring repos or code. Use when: the user asks how something works, what a tool does, which conventions apply, or any platform question. Vault path: ~/.claude/vault-config.json (vault_path); if missing, ask once and offer to save it./gt-wiki-initSet up a new LLM Wiki vault: ask the path and domain, then run the bundled init script. Use when the user says: set up the wiki, initialize my vault, create a knowledge base, get me started with the gt-wiki plugin./gt-wiki-lintHealth-check the user's LLM Wiki with the bundled script, then propose fixes. Use when the user says: lint the wiki, wiki health, garden the wiki, find broken links or orphans or stale pages. Vault path via ~/.claude/vault-config.json.Generated from the plugin's indexed repository (shaven/golden-thread) — no native marketplace selected
npx claudepluginhub p/shaven-gt-wiki-golden-thread-plugin-golden-thread-wiki-0-2-92 plugins in one repository ship this exact skill · first indexed Oct 31, 2026
Other plugins' skills for the same job