agentleFS
dimasyankauskasdimasyankauskas/llm-knowledge-base/skill/SKILL.md

llm-wiki

Skill0 starsChanged 7 months agoMITView on GitHub

Use when you need to turn source documents into durable project memory, query what the wiki knows, or hand off grounded context between CLI agents. Works with any AI agent that reads SKILL.md files.

99 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use touchdesigner-mcp, heartmula 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.
  • aboylabsSkill

    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

  • 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 8 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

  • Ivy-Chen1999Skill

    graph-colorize

    Color-code the Obsidian graph view by rewriting `.obsidian/graph.json` colorGroups. Use this skill when the user says "color my graph", "color code obsidian", "colorize the graph", "color the graph by tag", "color by category", "highlight visibility in graph", "make the graph colorful", "distinguish tags in graph", or wants nodes in Obsidian's graph view tinted by tag, folder, or visibility. Generates a `colorGroups` array from the vault's actual tags/categories and merges it into the existing graph.json without clobbering other graph settings. Always backs up first.

    Also in 3 projects that use this

  • mae616Skill

    p5js

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

    Also in 12 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 8 projects that use this

  • +3 more from Ivy-Chen1999

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 81 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the active CLI agent for reasoning and writing.

    line 45
  2. Very specific:

    Use wiki for durable memory, validation, provenance, graph traversal, and health checks.

    line 46
  3. Distinctive:

    Do not treat this wiki as a second chatbot.

    line 47
  4. Very specific:

    Read the source and write atomic drafts into wiki/drafts/

    line 65
  5. Very specific:

    Use wiki pack --json when you need compact, agent-readable context without depending on provider credentials.

    line 92
  6. Distinctive:

    If an agent can already talk to NotebookLM through MCP, that is fine for research.

    line 112
  7. Distinctive:

    Use this wiki when you want the output to remain in your repo, stay inspectable, and be reusable by future agents.

    line 113
  8. Very specific:

    Use [[Page]]:relation_type in content or related_concepts in frontmatter:

    line 146
  9. Very specific:

    All rules live in SCHEMA.yaml at repo root.

    line 168

“Common” is measured: kept by at least 6 in 10 of the 81 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 Skill

Turn source documents into durable project memory: schema-checked Markdown pages, typed links, provenance, health checks, and agent-ready context packs.

This skill is agent-first and model-free. The active CLI agent should do the reading, reasoning, and writing. The wiki provides the memory layer, validation rails, and graph context.

When to Use This Skill

  • You want to convert PDFs, docs, transcripts, or notes into a reusable knowledge base.
  • You want a later CLI agent to inherit grounded context without rebuilding it from scratch.
  • You want citations, provenance, and graph relationships instead of free-form notes.
  • You want a public-friendly, git-versioned wiki rather than a hosted notebook surface.

What This Skill Does

  1. Plan ingestion: profile a source and give the active CLI agent a concrete extraction plan
  2. Query: gather graph-traversed context excerpts for the active agent to synthesize
  3. Link: turn pages into typed graph nodes with semantic edges
  4. Validate: enforce schema, sections, citations, and connectivity
  5. Maintain: surface stale pages, contradictions, thin pages, and missing links

For Humans (Plain Language)

# Plan document ingestion for the active CLI agent
wiki agent-ingest /path/to/source.pdf --type article

# Ask the wiki a question — returns context only
wiki query "What does the wiki know about RAG?" --context-only

# Save the last query context as a concept draft page
wiki save-answer "RAG at Scale" --type concept

For AI Agents (Automated)

Core Operating Rule

  • Use the active CLI agent for reasoning and writing.
  • Use wiki for durable memory, validation, provenance, graph traversal, and health checks.
  • Do not treat this wiki as a second chatbot.

Ingestion Pipeline

# Step 1: Build an agent-first extraction plan
wiki agent-ingest /path/to/source.pdf --type article

# The pipeline:
# Source → Agent Plan → Agent Drafts → Validate → Promote → Link → Lint

# Forward wikilinks are warnings not errors — they're graph edges
# content_hash is auto-populated if missing

Recommended workflow:

  1. Register and profile the source with wiki agent-ingest
  2. Read the source and write atomic drafts into wiki/drafts/
  3. Run wiki validate
  4. Run wiki link
  5. Run wiki lint
  6. Promote only clean content

Query Pipeline

# Skip expansion (keyword-only, fast)
wiki query "What is agentic UX?" --depth 2 --no-expand

# Show expanded queries (debug)
wiki query "What is agentic UX?" --expand-only

# Raw context only
wiki query "What is agentic UX?" --depth 2 --context-only

# Options:
# --depth N       : how many hops from seed pages (default: 2)
# --top-k N      : number of seed pages (default: 5)
# --json         : structured JSON output (context + traversal metadata)
# --context-only  : raw context output (same as default output)

The query pipeline: seed pages → BFS traversal → context assembly → print context.

Use wiki pack --json when you need compact, agent-readable context without depending on provider credentials.

Validation

# Check wiki health
wiki health

# Lint rules (WARNING = acceptable, ERROR = must fix):
# BROKEN_LINK          : wikilink to nonexistent page (WARNING)
# MISSING_FRONTMATTER  : required field absent (ERROR)
# INVALID_TYPE         : type not in schema (ERROR)
# LOW_CONNECTIVITY     : fewer than 2 connections (WARNING)
# STALE_PAGE           : source changed since last hash (WARNING)

NotebookLM vs This Wiki

  • NotebookLM is a managed notebook for reading, asking questions, and summarizing inside the product.
  • This wiki is for durable project memory that lives in files, git, and CLI workflows.
  • If an agent can already talk to NotebookLM through MCP, that is fine for research.
  • Use this wiki when you want the output to remain in your repo, stay inspectable, and be reusable by future agents.

Repository Structure

llm-wiki/
├── SCHEMA.yaml           # Page constitution
├── AGENTS.md             # Full agent instructions
├── skill/
│   └── SKILL.md         # This file — portable skill for any AI agent
├── scripts/
│   ├── cli.py           # wiki CLI entry point
│   ├── validate.py       # Draft validation
│   ├── lint.py          # Structural checks
│   ├── link.py          # Graph builder
│   ├── query.py         # Graph-traversal query (context-first)
│   └── ingest_folder.sh # Example: batch register a folder of sources
├── sources/              # Read-only source documents
└── wiki/                # Extracted knowledge base
    ├── concepts/        # Concept pages
    ├── drafts/           # Staging area
    └── timelines/        # Auto-generated timelines

Page Types

TypeFrontmatterSections
concepttitle, type, confidence, created, source_refs, content_hashDefinition, Key Properties, How It Works, Relationships, Open Questions, Sources
entitytitle, type, entity_type, created, source_refs, content_hashOverview, Contributions, Relationships, Sources

Typed Relationships

Use [[Page]]:relation_type in content or related_concepts in frontmatter:

implements    (weight: 3)
extends       (weight: 2)
contradicts   (weight: 3)
cites         (weight: 4)
prerequisite_of (weight: 2)
trades_off    (weight: 1)
derived_from  (weight: 2)

Confidence Levels

HIGH   : Multiple independent sources agree (green)
MEDIUM : Single source, well-established (yellow)
LOW    : Inference or contested (red)

Schema

All rules live in SCHEMA.yaml at repo root. It's the constitution for all pages. Read it before modifying wiki structure.

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.