Wiki IngestSAFE
Expert code review skill: SOLID, security, performance, error handling, boundary conditions
Overview
Expert code review skill: SOLID, security, performance, error handling, boundary conditions
79bfccb9f30cOBSERVED · 2026-10-24What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: wiki-ingest description: "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." --- # 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](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 ### 5. Update Cross-References Check all existing wiki pages. If new content involves concepts referenced in other pages: - Update their Related Pages list - Update their Sources list - Supplement new information in their detail sections ### 6. Update index.md Add new page entries to `wiki/index.md`, organized by category. ### 7. Append to log.md Append to `wiki/log.md`: ```markdown ## YYYY-MM-DD: Ingest <source title> **Source**: <file path or "user input"> **New pages**: list newly created pages **Updated pages**: list modified pages **New cross-references**: list newly established links ``` ### 8. Report Results Tell user: what pages were created, what pages were updated, what new cross-references were established. ## File Naming - All lowercase, hyphen-separated: `agent-loop.md`, `kv-cache.md` - Name by entity, not by number ## Cross-Reference Format - Use `[[category/page-name]]` double-link format (Obsidian-compatible), e.g. `[[concepts/agent-loop]]`, `[[products/claude-code]]` - Always include the category prefix to avoid ambiguity across directories - List all related pages at the bottom of each page ## Guidelines - Never create duplicate pages — always check wiki/ first - Don't extract trivial entities — if a concept appears once and won't be referenced elsewhere, skip it - For batch processing: extract all entities first, then create pages and update references in one pass to avoid inconsistent intermediate states - Always update index.md and log.md after every ingest
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
79bfccb9f30cfull audit observations/trust-audit/skill/sanyuan0704__wiki-ingest.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-24 | 79bfccb9f30c | SAFE | B | 89 | first audit |
Questions
What does the wiki-ingest — sanyuan0704/sanyuan-skills skill do?
Expert code review skill: SOLID, security, performance, error handling, boundary conditions
Is wiki-ingest — sanyuan0704/sanyuan-skills safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can wiki-ingest — sanyuan0704/sanyuan-skills access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (79bfccb9f30c), read on 2026-10-24. The repository is watched, and a new audit runs when it changes — this is the first audit.
Add this badge to your README
Shows this page's audit result and links back to it. It updates when the audit does.
[](https://modelsatlas.com/skills/sanyuan0704/wiki-ingest/)
Not your listing, or something out of date? Claim or update your listing.