Skip to content

Compile articles and notes into an interconnected wiki with cross-references, index, and operation log.

CCM score
65 of 100
skills.sh installs
2.9K
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers concept, product, pattern, and comparison pages, each mapped to one entity under wiki/ by default
  • Includes update-in-place handling for existing pages, plus cross-reference updates across related pages
  • Enforces one entity per page, a threshold for extraction, and [[category/page-name]] link format
  • Designed for single or batch ingest of pasted text, files, or directories into a structured knowledge base

Install

$ npx -y skills add sanyuan0704/sanyuan-skills --skill wiki-ingest -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Wiki Ingest — Knowledge Base Compiler

Compile any text content (articles, documents, notes) into structured wiki pages with cross-references, building a searchable, interconnected knowledge network.

IRON LAW: One wiki page = one knowledge entity. Never cram multiple concepts into one page.

Wiki Directory Structure

Wiki defaults to wiki/ under the current project root. User may specify a different path.

wiki/
├── index.md              # Full table of contents
├── log.md                # Append-only operation log
├── concepts/             # Core concept pages
├── products/             # Product/tool entity pages
├── patterns/             # Engineering patterns & design decisions
└── comparisons/          # Cross-topic comparison pages

Workflow

1. Confirm Input

Accept user-specified content source:

  • Pasted text directly
  • File path(s) (md, txt, pdf, etc.)
  • Directory path (batch processing)

If user doesn't specify a wiki path, use wiki/. Create the directory if it doesn't exist.

2. Check Existing Wiki

Read wiki/index.md (if exists) to understand existing pages and avoid duplicates.

3. Extract Knowledge Entities

Details

Repository
github.com/sanyuan0704/sanyuan-skills
Categories
Productivity & Notes, Memory & Context
First seen
Jun 3, 2026

More from sanyuan0704/sanyuan-skills

All 6

Similar to Wiki Ingest

More Productivity & Notes