agentleFS
NollisNollis/Skills/llm-wiki/SKILL.md

llm-wiki

Skill0 starsChanged 7 months agoMITView on GitHub

Use when Codex needs to create, build, initialize, ingest into, query, lint, or maintain a persistent markdown knowledge base organized as an interlinked wiki. Trigger for requests about wiki setup, source ingestion, wiki-backed research notes, consistency audits, broken wikilinks, index maintenance, or filing reusable synthesized answers back into a local knowledge base.

94 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use touchdesigner-mcp, teams-meeting-pipeline and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • john-data-chenSkill

    touchdesigner-mcp

    Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.

    Also in 7 projects that use this

  • john-data-chenSkill

    teams-meeting-pipeline

    Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.

    Also in 9 projects that use this

  • mae616Skill

    p5js

    p5.js(クリエイティブコーディング)のProcessing由来「コードでスケッチ」思想を軸に、setup/drawループ・座標系・インタラクション・パフォーマンス最適化を整理する。p5.js、Processing、クリエイティブコーディング、ジェネラティブアート、インタラクティブ表現、ビジュアルプログラミング、Canvas描画、パーティクル、フラクタル、ノイズ表現に関する相談で必ず使うこと。ユーザーが「コードでアート」「動くビジュアル」「インタラクティブな描画」と言った場合にも適用する。

    Also in 12 projects that use this

  • aivrarSkill

    competitor-news-monitor

    Watch named companies for material news; cited digests.

    Also in 6 projects that use this

  • math-incSkill

    heartmula

    Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.

    Also in 7 projects that use this

  • Ivy-Chen1999Skill

    claude-history-ingest

    Ingest Claude Code conversation history into the Obsidian wiki. Use this skill when the user wants to mine their past Claude conversations for knowledge, import their ~/.claude folder, extract insights from previous coding sessions, or says things like "process my Claude history", "add my conversations to the wiki", "what have I discussed with Claude before". Also triggers when the user mentions their .claude folder, Claude projects, session data, past conversation logs, local-agent-mode sessions, or audit logs.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

56 rules. 0 are common, 33 are distinctive, and 23 are very specific to this project.

  • 0

    Common

    Most of the 76 edited versions we read keep these.

  • 33

    Distinctive

    This author's own choices. Worth a look.

  • 23

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use a three-layer layout:

    line 12
  2. Very specific:

    Treat raw/ as immutable source capture.

    line 32
  3. Very specific:

    Treat entities/, concepts/, comparisons/, and queries/ as agent-maintained wiki pages.

    line 33
  4. Very specific:

    Treat SCHEMA.md as the source of truth for naming, taxonomy, and page rules.

    line 34
  5. Very specific:

    Treat overview.md as the maintained high-level synthesis of what the wiki currently knows.

    line 35
  6. Very specific:

    Treat todos/ as optional but durable research-planning output for next questions, missing coverage, and follow-up workstreams.

    line 36
  7. Very specific:

    Use scripts/wiki_tool.py for deterministic structure checks:

    line 46
  8. Very specific:

    If the machine does not expose py or python, locate another Python 3 interpreter and invoke the script with that executable.

    line 56
  9. Distinctive:

    Always orient before doing anything substantive in an existing wiki:

    line 60
  10. Very specific:

    Read overview.md when it exists.

    line 64
  11. Very specific:

    Read the latest entries in log.md.

    line 65
  12. Distinctive:

    Search existing pages for the topic before creating anything new.

    line 66
  13. Distinctive:

    Use the CLI first when available:

    line 68
  14. Distinctive:

    Follow the schema taxonomy exactly.

    line 77
  15. Distinctive:

    Keep every new page cross-linked to at least two existing pages when the wiki has enough content to support that.

    line 78
  16. Distinctive:

    When you emit or run shell commands for wiki work on Windows:

    line 82
  17. Distinctive:

    Always prefer single-line PowerShell-compatible commands.

    line 84
  18. Distinctive:

    Never split a path argument across lines.

    line 85
  19. Very specific:

    Prefer single-quoted regex patterns when using rg from PowerShell.

    line 86
  20. Very specific:

    If rg is unavailable, blocked, or fails to launch, fall back to PowerShell-native search instead of retrying the same command shape:

    line 96
  21. Distinctive:

    Do not assume a wrapped command shown in the UI is safe to copy back into PowerShell unchanged.

    line 102
  22. Distinctive:

    When asked to create or start a wiki:

    line 106
  23. Distinctive:

    Ask for the domain only if it is not already clear from the request.

    line 109
  24. Distinctive:

    Use the generic schema template in references/schema-template.md.

    line 115
  25. Distinctive:

    Use ingest when the user provides a URL, file, PDF, pasted text, transcript, or notes worth preserving.

    line 119
  26. Distinctive:

    Search for affected entities/concepts before creating anything.

    line 123
  27. Distinctive:

    Update existing pages when possible.

    line 124
  28. Distinctive:

    Create new pages only when the topic is central to the source or clearly deserves persistent coverage.

    line 125
  29. Very specific:

    Update overview.md when the new material changes the current high-level picture.

    line 126
  30. Very specific:

    Update index.md and log.md every time.

    line 127
  31. Very specific:

    Never modify files under raw/ after capture.

    line 131
  32. Distinctive:

    Ask before touching 10 or more existing wiki pages from one ingest.

    line 132
  33. Distinctive:

    If sources conflict, record both claims with dates and sources rather than silently overwriting.

    line 133
  34. Very specific:

    Use tags already declared in SCHEMA.md.

    line 134
  35. Distinctive:

    When many new raw files appear at once, cluster them by theme first and ingest in batches instead of treating every file as its own topic.

    line 135
  36. Distinctive:

    Use references/page-templates.md when creating new entity, concept, comparison, or query pages.

    line 137
  37. Distinctive:

    When the user asks a domain question and a wiki exists:

    line 141
  38. Very specific:

    Read index.md to identify candidate pages.

    line 143
  39. Distinctive:

    Search the wiki when the topic could span multiple pages.

    line 144
  40. Distinctive:

    Read the relevant pages.

    line 145
  41. Very specific:

    Prefer answers like: "Based on [[page-a]] and [[page-b]]..."

    line 150
  42. Distinctive:

    Do not file trivial lookups or answers that are obvious from one page.

    line 159
  43. Distinctive:

    Use planning when the wiki has enough content that the next question is "what should I investigate next?" rather than "what do we know now?"

    line 163
  44. Very specific:

    Read index.md, overview.md, recent log.md, and any relevant queries/ or comparisons/.

    line 173
  45. Very specific:

    Write or update markdown files under todos/ only when the plan is likely to remain useful after this session.

    line 176
  46. Distinctive:

    Keep todo files actionable and scoped.

    line 177
  47. Very specific:

    Do not turn every session into planning.

    line 188
  48. Distinctive:

    Use the CLI for structural checks:

    line 192
  49. Very specific:

    Use the CLI whenever manual edits likely left index.md stale:

    line 220
  50. Distinctive:

    Use lowercase, hyphenated filenames.

    line 231
  51. Distinctive:

    Prefer updating an existing page over creating a shallow duplicate.

    line 234
  52. Very specific:

    Keep log.md append-only except for explicit yearly rotation.

    line 235
  53. Very specific:

    Keep overview.md concise and high signal.

    line 236
  54. Distinctive:

    Do not introduce extra infrastructure.

    line 237
  55. Distinctive:

    When you change the wiki, report:

    line 241
  56. Distinctive:

    follow-up ingest or cleanup suggestions when useful

    line 246

“Common” is measured: kept by at least 6 in 10 of the 76 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

LLM Wiki

Build and maintain a filesystem-based markdown wiki that compounds over time instead of re-deriving the same knowledge from scratch.

Core Model

Use a three-layer layout:

wiki/
|-- SCHEMA.md
|-- index.md
|-- overview.md
|-- log.md
|-- raw/
|   |-- articles/
|   |-- papers/
|   |-- transcripts/
|   `-- assets/
|-- entities/
|-- concepts/
|-- comparisons/
|-- queries/
`-- todos/
  • Treat raw/ as immutable source capture.
  • Treat entities/, concepts/, comparisons/, and queries/ as agent-maintained wiki pages.
  • Treat SCHEMA.md as the source of truth for naming, taxonomy, and page rules.
  • Treat overview.md as the maintained high-level synthesis of what the wiki currently knows.
  • Treat todos/ as optional but durable research-planning output for next questions, missing coverage, and follow-up workstreams.

Path Resolution

Resolve the wiki path in this order:

  1. Explicit user-provided path
  2. LLM_WIKI_PATH environment variable
  3. ~/wiki

Use scripts/wiki_tool.py for deterministic structure checks:

# On Windows, prefer `py -3`. Any Python 3.11+ interpreter is fine.
py -3 scripts/wiki_tool.py orient --wiki C:\path\to\wiki
py -3 scripts/wiki_tool.py lint --wiki C:\path\to\wiki
py -3 scripts/wiki_tool.py reindex --wiki C:\path\to\wiki
py -3 scripts/wiki_tool.py init --wiki C:\path\to\wiki --domain "Startup research"

If the machine does not expose py or python, locate another Python 3 interpreter and invoke the script with that executable.

Existing Wiki Workflow

Always orient before doing anything substantive in an existing wiki:

  1. Read SCHEMA.md.
  2. Read index.md.
  3. Read overview.md when it exists.
  4. Read the latest entries in log.md.
  5. Search existing pages for the topic before creating anything new.

Use the CLI first when available:

py -3 scripts/wiki_tool.py orient --wiki C:\path\to\wiki --lines 25

After orientation:

  • Reuse existing pages instead of duplicating entities or concepts.
  • Follow the schema taxonomy exactly.
  • Keep every new page cross-linked to at least two existing pages when the wiki has enough content to support that.

Shell Command Hygiene

When you emit or run shell commands for wiki work on Windows:

  • Always prefer single-line PowerShell-compatible commands.
  • Never split a path argument across lines.
  • Prefer single-quoted regex patterns when using rg from PowerShell.
  • Quote full paths when they may contain spaces.
  • Pass each target directory as its own argument instead of relying on shell expansion tricks.

Preferred search shape:

rg -n '(context-hub|himalaya|fish-speech|Dolphin|MiroFish|autoresearch)' .\entities .\concepts .\comparisons .\queries

If rg is unavailable, blocked, or fails to launch, fall back to PowerShell-native search instead of retrying the same command shape:

Get-ChildItem -Path .\entities,.\concepts,.\comparisons,.\queries -Recurse -File | Select-String -Pattern 'context-hub|himalaya|fish-speech|Dolphin|MiroFish|autoresearch'

Do not assume a wrapped command shown in the UI is safe to copy back into PowerShell unchanged.

New Wiki Workflow

When asked to create or start a wiki:

  1. Resolve the target path.
  2. Ask for the domain only if it is not already clear from the request.
  3. Run init.
  4. Confirm the wiki structure exists.
  5. Explain the role of overview.md and todos/.
  6. Suggest the next useful ingest step.

Use the generic schema template in references/schema-template.md. Only specialize the domain, date, and any taxonomy additions that the user explicitly needs.

Ingest Workflow

Use ingest when the user provides a URL, file, PDF, pasted text, transcript, or notes worth preserving.

  1. Capture the source into raw/.
  2. Orient if this is a fresh session.
  3. Search for affected entities/concepts before creating anything.
  4. Update existing pages when possible.
  5. Create new pages only when the topic is central to the source or clearly deserves persistent coverage.
  6. Update overview.md when the new material changes the current high-level picture.
  7. Update index.md and log.md every time.

Guardrails:

  • Never modify files under raw/ after capture.
  • Ask before touching 10 or more existing wiki pages from one ingest.
  • If sources conflict, record both claims with dates and sources rather than silently overwriting.
  • Use tags already declared in SCHEMA.md; add new tags there first if needed.
  • When many new raw files appear at once, cluster them by theme first and ingest in batches instead of treating every file as its own topic.

Use references/page-templates.md when creating new entity, concept, comparison, or query pages.

Query Workflow

When the user asks a domain question and a wiki exists:

  1. Read index.md to identify candidate pages.
  2. Search the wiki when the topic could span multiple pages.
  3. Read the relevant pages.
  4. Synthesize from the compiled knowledge, citing the wiki pages used.
  5. File the result back into queries/ or comparisons/ only when the answer would be expensive to reconstruct.
  6. Append a query entry to log.md if the result is filed.

Prefer answers like: "Based on [[page-a]] and [[page-b]]..."

File results when the output is one of these:

  • a durable comparison
  • a reusable research brief
  • a synthesis that spans multiple pages
  • a clarified framing of an open question

Do not file trivial lookups or answers that are obvious from one page.

Plan Workflow

Use planning when the wiki has enough content that the next question is "what should I investigate next?" rather than "what do we know now?"

Typical triggers:

  • the user asks for next steps, priorities, gaps, or research direction
  • the wiki has accumulated multiple sources in one theme
  • a batch ingest reveals thin coverage, disconnected ideas, or missing comparison pages

Planning workflow:

  1. Read index.md, overview.md, recent log.md, and any relevant queries/ or comparisons/.
  2. Identify where the wiki is thin, repetitive, or missing a useful synthesis page.
  3. Group the follow-up work into a small number of workstreams rather than a long flat task list.
  4. Write or update markdown files under todos/ only when the plan is likely to remain useful after this session.
  5. Keep todo files actionable and scoped. Prefer a few strong tasks over many shallow ones.
  6. Reference the relevant wiki pages with [[wikilinks]] so the next work session can jump directly into context.
  7. Append a plan entry to log.md when durable planning files are created or materially updated.

Todo files should usually contain:

  • a short title
  • why this workstream matters
  • 3-7 checkbox tasks
  • linked pages or source targets where relevant

Do not turn every session into planning. Use todos/ for durable next work, not chat scratch space.

Lint Workflow

Use the CLI for structural checks:

py -3 scripts/wiki_tool.py lint --wiki C:\path\to\wiki
py -3 scripts/wiki_tool.py lint --wiki C:\path\to\wiki --format json

The linter checks:

  • broken wikilinks
  • orphan pages
  • missing index entries
  • missing or malformed frontmatter
  • unknown tags
  • oversize pages
  • log rotation threshold

Fix severe issues first:

  1. broken links
  2. missing frontmatter
  3. missing index entries
  4. unknown tags
  5. orphan pages
  6. page size / style issues

Reindex Workflow

Use the CLI whenever manual edits likely left index.md stale:

py -3 scripts/wiki_tool.py reindex --wiki C:\path\to\wiki
py -3 scripts/wiki_tool.py reindex --wiki C:\path\to\wiki --check

reindex rebuilds section listings, total page count, and last-updated metadata from current wiki pages.

Writing Rules

  • Use lowercase, hyphenated filenames.
  • Include YAML frontmatter on every wiki page.
  • Keep summaries scannable.
  • Prefer updating an existing page over creating a shallow duplicate.
  • Keep log.md append-only except for explicit yearly rotation.
  • Keep overview.md concise and high signal. It should summarize the current map of the territory, not duplicate every page.
  • Do not introduce extra infrastructure. The wiki is plain markdown on disk.

Deliverables

When you change the wiki, report:

  • files created
  • files updated
  • important contradictions or open questions
  • follow-up ingest or cleanup suggestions when useful

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.