wiki-ingest

wiki-ingest is a skill for Claude Code, Codex from sanyuan0704/sanyuan-skills. It costs 79 tokens per session (867 once invoked), scanned A, original, MIT.

A tool for turning articles, documents, or notes into a structured wiki knowledge base. A knowledge base is an organized collection of linked information that can be searched later.

In plain words
What is it for?
It is for creating topic pages, organizing concepts, products, patterns, and comparisons, and maintaining an index and operation log.
Why use it?
It prevents useful information from remaining scattered across separate documents and helps avoid duplicate entries.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

not rated 3.9krepo +9 4mo ago A scan Socket: passSnyk: passSkillSpector: pass 79 tokens original MIT

Good fit It is for creating topic pages, organizing concepts, products, patterns, and comparisons, and maintaining an index and operation log.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sanyuan0704/sanyuan-skills/wiki-ingest
About the project

sanyuan-skills is a collection of reusable instructions, called agent skills, that extend Claude Code and other AI coding terminals with defined workflows. Developers use it for code review, learning, skill quality checks, skill creation, and organizing knowledge into wikis or study materials. The catalogue entries are individual skills from this collection.

sanyuan0704/sanyuan-skills · 3,906 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sanyuan0704/sanyuan-skills --skill wiki-ingest
Clone the repo
git clone --depth 1 https://github.com/sanyuan0704/sanyuan-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wiki-ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/sanyuan0704/sanyuan-skills/wiki-ingest/github.svg)](https://agentmods.dev/skills/sanyuan0704/sanyuan-skills/wiki-ingest)
Your own site
<a href="https://agentmods.dev/skills/sanyuan0704/sanyuan-skills/wiki-ingest"><img src="https://agentmods.dev/badge/skills/sanyuan0704/sanyuan-skills/wiki-ingest/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wiki-ingest

Your own site · 80×15
<a href="https://agentmods.dev/skills/sanyuan0704/sanyuan-skills/wiki-ingest"><img src="https://agentmods.dev/badge/skills/sanyuan0704/sanyuan-skills/wiki-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 14 Apr 2026
  • Snyk pass 14 Apr 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.00867
Opus 5 $0.00039 $0.00434
Sonnet 5 $0.00016 $0.00173
Haiku 4.5 $0.00008 $0.00087

Measured 13d ago against content hash 09e41fda18db, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wiki-ingest scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/wiki-ingest/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Extract from content:

  • Concepts (concepts/): Abstract ideas, terminology, theories
  • Products (products/): Specific products, tools, services
  • Patterns (patterns/): Engineering patterns, design decisions, methodologies
  • Comparisons (comparisons/): Cross-product or cross-approach analysis

Extraction threshold: An entity deserves its own page only if it would be referenced by other pages.

4. Create or Update Pages

Each entity maps to one wiki page.

→ Load references/page-templates.md for page templates.

Rules:

  • If page already exists → update it, append new information, don't overwrite existing content
  • Keep the one-line definition stable unless the new content provides a clearly better one
  • Prioritize updating "Sources" and "Related Pages" sections

Read the full file on GitHub · 107 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 107 lines · 79 tokens per session scan A 09e41fda18db

Subscribe to this mod's changes

wiki-ingest is a skill published in the GitHub repository sanyuan0704/sanyuan-skills (3,906 stars, last pushed 4mo ago), licensed MIT. It adds 79 tokens to every session and 867 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.