Tooluck logoTooluck
SKILL.md

wiki-ingest

Agent skill fromsanyuan0704/sanyuan-skills

Compile articles, documents, or notes into a structured wiki knowledge base. Use when user says 'ingest to wiki', 'compile to knowledge base', 'update wiki', 'wiki ingest', 'add this to wiki', or invokes /wiki-ingest. Supports single or batch ingest. Triggers: wiki, ingest, knowledge base, compile, digest, index, catalog.

How to install wiki-ingest

install wiki-ingest
# install the sanyuan-skills pack with the skills CLI
npx skills add sanyuan0704/sanyuan-skills

# or add only this skill to Claude Code: copy the folder

skills/wiki-ingest/

# into

~/.claude/skills/wiki-ingest/ (all projects)

.claude/skills/wiki-ingest/ (one project)

skills/wiki-ingest/SKILL.md

MITFull file
1# Wiki Ingest — Knowledge Base Compiler
2
3Compile any text content (articles, documents, notes) into structured wiki pages with cross-references, building a searchable, interconnected knowledge network.
4
5IRON LAW: One wiki page = one knowledge entity. Never cram multiple concepts into one page.
6
7## Wiki Directory Structure
8
9Wiki defaults to `wiki/` under the current project root. User may specify a different path.
10
11```
12wiki/
13├── index.md # Full table of contents
14├── log.md # Append-only operation log
15├── concepts/ # Core concept pages
16├── products/ # Product/tool entity pages
17├── patterns/ # Engineering patterns & design decisions
18└── comparisons/ # Cross-topic comparison pages
19```
20
21## Workflow
22
23### 1. Confirm Input
24
25Accept user-specified content source:
26- Pasted text directly
27- File path(s) (md, txt, pdf, etc.)
28- Directory path (batch processing)
29
30If user doesn't specify a wiki path, use `wiki/`. Create the directory if it doesn't exist.
31
32### 2. Check Existing Wiki
33
34Read `wiki/index.md` (if exists) to understand existing pages and avoid duplicates.
35
36### 3. Extract Knowledge Entities
37
38Extract from content:
39- **Concepts** (`concepts/`): Abstract ideas, terminology, theories
40- **Products** (`products/`): Specific products, tools, services
41- **Patterns** (`patterns/`): Engineering patterns, design decisions, methodologies
42- **Comparisons** (`comparisons/`): Cross-product or cross-approach analysis
43…

Excerpt shown under the repository's MIT license.

More skills in sanyuan-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates