/memory:wiki-initfrom memory
Bootstraps the LLM Wiki pattern in a repo by creating the `.red/wiki/` layout, writing the wiki agent schema, updating gitignore, and registering a Wiki skill entry in CLAUDE.md/AGENTS.md. Run once per repo before using `/wiki`.
Ships in memory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Bootstrap the LLM Wiki with a short interview, then write the layout and agent schema.
Sets up the LLM Wiki pattern. After this runs, the agent has a persistent, incrementally-maintained knowledge base inside .red/wiki/ and a schema in .red/agents/wiki.md that teaches future sessions how to ingest sources, query, and lint.
Light grilling — three questions, then preview, then write. Don't dump all three at once; ask one, get the answer, move on.
Before asking anything, check:
.red/wiki/ — does it already exist? If yes, refuse to overwrite without an explicit --reset from the user..red/agents/wiki.md — already present?CLAUDE.md and AGENTS.md — does either have an ## Agent skills block?.gitignore — is .red/wiki/ already listed?gh repo view --json visibility — sanity check (informational only; the wiki is gitignored either way).The three questions are Domain, Source types, and Voice. Walk through them one at a time and recommend a default for each before waiting for an answer.
Q1 — Domain. "In one sentence, what will this wiki accumulate?" Examples: "research on LLMs applied to finance", "reading notes on The Lord of the Rings", "competitive intel on reddb.io competitors", "personal journals and self-tracking".
Q2 — Source types you expect to feed in. Multi-select, with defaults:
This defines what /wiki ingest must support out of the gate.
Q3 — Solo or team?
team.md page to map stakeholders.Default: infer from git config user.name + whether the repo has multiple contributors in git shortlog -sn (>1 → team).
Before writing, show the user:
.red/agents/wiki.md (with domain/source-types/voice substitutions applied)..gitignore line that will be appended.### Wiki block that will land under ## Agent skills in CLAUDE.md/AGENTS.md.Wait for approval.
Create the structure:
.red/
├── agents/wiki.md
└── wiki/
├── raw/
│ └── assets/
├── pages/
│ └── .gitkeep
├── index.md
└── log.md
Use the seed templates bundled with this skill:
.red/agents/wiki.md (substituting placeholders {{domain}}, {{source-types}}, {{voice}}).red/wiki/index.mdlog.md starts with the heading # Log and nothing else.Append to .gitignore:
# RedSkills wiki — local-only, never committed
.red/wiki/
If .gitignore doesn't exist, create it. If the line already exists (same prefix), skip.
Update CLAUDE.md/AGENTS.md:
Pick rules identical to red-setup:
CLAUDE.md exists, edit it.AGENTS.md exists, edit it.Append under ## Agent skills:
### Wiki
Incremental LLM Wiki for accumulating knowledge about `{{domain}}`. Schema at `.red/agents/wiki.md`. Use `/wiki` for ingest, query, and lint.
If a ### Wiki block already exists, update it in place instead of duplicating.
Tell the user:
.red/wiki/ is gitignored (nothing leaks)./wiki ingest <first source>..red/agents/wiki.md directly, or ask the agent to update it as conventions emerge.wiki skill.TEMPLATE-REFERENCE.md (opens in a new tab)agents/openai.yaml (opens in a new tab)examples/book-reading.md (opens in a new tab)examples/research.md (opens in a new tab)index-template.md (opens in a new tab)page-template-concept.md (opens in a new tab)page-template-entity.md (opens in a new tab)page-template-source.md (opens in a new tab)page-template-synthesis.md (opens in a new tab)schema-template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub reddb-io/red-skills --plugin memory14 skills in this plugin
/context-statusReport the project context stack posture without mutating anything. Use when checking whether agent rules, domain docs, ADRs, Memory graph/telemetry, and LLM Wiki are ready before a large task or self-improvement loop./doctorInspect and maintain the memory graph — list stale nodes (long-unaccessed and never recalled) and, only after explicit confirmation, prune them. Use when the user says "memory doctor", "clean up memory", "what's stale in memory", "prune old memory", or wants a health check of the graph. Graph mode only./exportExport the memory graph to a self-contained, navigable bundle — graph.json (data), graph.html (an interactive node-link view that opens straight from disk), and audit.md (a health summary). Use when the user says "export memory", "visualize the memory graph", "show me the graph", "dump the memory graph", or wants to browse what's stored. Graph mode only.Other plugins' skills for the same job