From llm-wiki
Process a raw source document into the wiki — read it, discuss key takeaways, create/update wiki pages, update index and log. Use when the user drops a new document, article, or notes into raw/ or asks to "add", "process", "import", or "incorporate" a source.
How this skill is triggered — by the user, by Claude, or both
Slash command
/llm-wiki:ingestThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Process a raw source into the wiki via a 5-phase pipeline. Use `$ARGUMENTS` as the source file path if provided (e.g., `/ingest raw/source-document.md`).
Process a raw source into the wiki via a 5-phase pipeline. Use $ARGUMENTS as the source file path if provided (e.g., /ingest raw/source-document.md).
If the wiki infrastructure is missing, create it before proceeding. This makes /ingest the only command a new user needs.
Check for wiki/ directory structure. If any of these are missing, create them:
raw/, wiki/, wiki/concepts/, wiki/techniques/, wiki/entities/, wiki/synthesis/.llm-wiki/lenses/ (lens metadata directory)Check for wiki/index.md. If missing, create with empty category scaffolding:
---
title: Wiki Index
type: index
created: YYYY-MM-DD
updated: YYYY-MM-DD
---
# Wiki Index
## Entities
## Concepts
### Foundational
### Derived
## Techniques
## Synthesis & Comparisons
Check for wiki/log.md. If missing, create with initial entry:
---
title: Wiki Log
type: log
created: YYYY-MM-DD
updated: YYYY-MM-DD
---
# Wiki Log
## [YYYY-MM-DD] init | Wiki bootstrapped via first ingest
Created directory structure and initial files.
Skip wiki/overview.md creation here. Phase 5 will create or update it with real content from the source — no empty placeholder needed.
If anything was created, briefly note it to the user (e.g., "Wiki infrastructure created — proceeding with ingest.") but do not pause for confirmation.
If the wiki already exists, this section is a no-op.
raw/ to help the user find the right path. If raw/ is empty, suggest the user add a source document first., ![[filename]], or HTML <img> tags):
 (see CLAUDE.md "Image handling" for path format).wiki/index.md to identify overlaps with existing wiki content..llm-wiki/lenses/ for active lens files (status: active). Then:
AskUserQuestion tool to ask which lens to apply. Options: the best-fit lens with "(Recommended)", any other matching lenses, and "No lens (base domain)". Include a brief description on each option explaining why it fits (or doesn't).AskUserQuestion tool to propose a new lens. Options: "Create a new lens" (describe the proposed domain), "No lens (base domain)"..llm-wiki/lenses/<name>.md with status: draft, and present it to the user for review. Use the AskUserQuestion tool to confirm the draft. Options: "Approve lens", "Revise lens". Pause until approved. Then update status to active.AskUserQuestion tool to confirm direction. Options: "Proceed as presented (Recommended)", "Adjust emphasis or skip topics". Ask one question at a time — do not batch the lens question and direction question into a single AskUserQuestion call.wiki/datasets/imagenet.md (type: dataset, lens: machine-learning)").AskUserQuestion tool to get approval. Options: "Approve plan (Recommended)", "Adjust plan". If the user chooses to adjust, incorporate their feedback and re-present the updated plan with another AskUserQuestion call.entity → wiki/entities/concept → wiki/concepts/technique → wiki/techniques/comparison, synthesis, query-answer → wiki/synthesis/entity — background, key contributions, works, See alsoconcept — definition, principles, implications, relationships, See alsotechnique — what/when/how, example, pitfalls, See alsolens: <lens-name> to the frontmatter of every page created during this ingest.ml-optimization.md).## See also sections to all new and updated pages.. Use the correct relative path from the page's subdirectory — wiki content pages are two directory levels below the project root. Skip decorative images. For external URL images, preserve the original URL as-is.[[kebab-case-filename|Display Text]] — the target is always the filename stem you chose when creating the page. Example: if you created wiki/entities/anton-chekhov.md, other pages link with [[anton-chekhov|Anton Chekhov]]. Never use the page title or spaces in the link target.wiki/index.md: add new entries in the correct hierarchical category (Entities, Concepts > Foundational/Derived, Techniques, Synthesis & Comparisons).wiki/overview.md: If this is the first ingest, create the overview from scratch based on this source. Otherwise, revise the existing overview to reflect what this source adds. Keep it short (1-2 screens).wiki/log.md (include lens name if one was active):
## [YYYY-MM-DD] ingest | Source Title
or
## [YYYY-MM-DD] ingest (lens-name) | Source Title
Source: `raw/path/to/source.md`
Lens: lens-name (or "base" if no lens)
**New pages:** (list with one-line descriptions)
**Updated pages:** (list with what changed)
**Cross-references added:** (count or brief list)
scripts/wiki-check.py) validates each page as you write it — frontmatter, See also, type/directory match, wikilink resolution. If you see [wiki-check] WARNING in hook output, fix the issue immediately before continuing.wiki/index.md.lens field in frontmatter.) with a valid relative path to raw/.concept from technique using these tests:
## See also section.npx claudepluginhub tom5610/llm-wiki --plugin llm-wikiFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.