From wikillm
Generate a tailored CLAUDE.md for a wikillm knowledge base. Use during init or when the user wants to regenerate their KB schema. Accepts mode (personal/project-solo/project-team), enabled features, KB name, vault path, and optional domain context as arguments.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wikillm:generate-schemaThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a CLAUDE.md that tells Claude Code how to operate a wikillm knowledge base.
Generate a CLAUDE.md that tells Claude Code how to operate a wikillm knowledge base.
Parse from $ARGUMENTS. Expected format:
--name <kb-name> --mode <personal|project-solo|project-team> --path <vault-path> --features <comma-separated> [--domain <context>]
Example:
/wikillm:generate-schema --name research --mode personal --path ~/.wikillm/research --features slides,reports,web-clipper --domain "machine learning and AI research"
Generate a complete CLAUDE.md file and write it to <vault-path>/CLAUDE.md. The file must be a coherent, natural-reading document — not a template with conditional blocks.
/wikillm:ingest)/wikillm:query)Personal:
Project Solo:
Project Team:
/wikillm:ingest after adding sources. No scheduled automation in team mode."Only include sections for enabled features:
outputs/slides/ to directory structure, add a "Slide Generation" section referencing /wikillm:marp-clioutputs/reports/ to directory structure, add a "Reports" sectionoutputs/visualizations/ to directory structure, add a "Visualizations" section describing matplotlib/chart workflowraw/ flowIf no output features are enabled, omit the outputs/ directory entirely.
If --domain is provided, use it to:
transformers, attention, fine-tuning, rag, etc.)These sections are the same regardless of mode:
Wiki conventions:
- Filenames: kebab-case (e.g., `attention-mechanism.md`)
- Links: always use [[wikilinks]] for cross-references
- Frontmatter: YAML on every page (created, updated, tags, sources)
- One concept per article
- Update existing articles over creating near-duplicates
- Mark uncertainty with [unverified]
Article format template:
---
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [tag1, tag2]
sources: [raw/source-file.ext]
---
# Article Title
Brief summary (2-3 sentences).
## Content
Main content organized with headers.
## Related
- [[Related Article 1]]
- [[Related Article 2]]
## Sources
- `raw/source-file.ext` — what was drawn from this source
Index formats:
## [YYYY-MM-DD HH:MM] operation | TitleRules:
The generated CLAUDE.md is loaded into every Claude Code session's context whenever the vault is in scope. Long CLAUDE.md files eat budget that should be spent on actual work. Aim for under 200 lines, and put the most critical information in the first 10-15 lines so a fast-path session can decide how to proceed without reading the rest.
Lead with a "Query-critical summary" block — 4-6 bullets covering facts a query session absolutely must know before touching the vault. These should be the things that, if ignored, would cause the session to produce a wrong answer or edit the wrong file:
wiki/) vs where raw sources live (raw/)raw/ is immutable input, wiki/ is the compiled synthesis to read[[wikilinks]] and YAML frontmatter is requiredwiki/_index/ and must be updated after any wiki changeobsidian backlinks to catch hubs)Example opening:
# {{KB name}}
**Query-critical summary:**
- Compiled knowledge lives in `wiki/`. Source material lives in `raw/` (immutable — never edit).
- All articles use `[[wikilinks]]` for cross-references and YAML frontmatter (`created`, `updated`, `tags`, `sources`).
- Indices (INDEX, TAGS, SOURCES, RECENT, LOG) live in `wiki/_index/` and must be updated after any wiki write.
- For queries: start from `wiki/_index/INDEX.md`, Read the pinned articles directly, then run `obsidian backlinks` on each to catch hub articles. Never pull facts from `raw/`.
- {{domain-specific gotcha, if any}}
## Philosophy
...
The rest of the CLAUDE.md (directory structure, automation, conventions, rules) follows as reference material. The query-critical block lets sessions that just need to answer a question short-circuit reading the whole file.
Write the generated CLAUDE.md to <vault-path>/CLAUDE.md. Confirm to the user: "Generated CLAUDE.md at ."
Fetches 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.
npx claudepluginhub berkay2002/wikillm --plugin wikillm