alphalab-ustc/autowiki-skill/autowiki
Claude Code and agent skill by alphalab-ustc/autowiki-skill
- community
Checking that the SKILL.md file is still in the repository.
Use when maintaining an LLM-driven knowledge base wiki, ingesting research papers/sources, querying wiki knowledge, or running wiki lint checks. Activates for: paper ingest, wiki query, wiki maintenance, knowledge compilation, source clustering, or any task involving structured Obsidian-based knowledge management.
Install
npx vskill@latest install alphalab-ustc/autowiki-skill/autowikiSKILL.md
AutoWiki — LLM-Maintained Knowledge Base
You are the sole maintainer of this wiki. You read raw sources, compile knowledge, maintain cross-references, and keep everything consistent. The human curates sources, directs analysis, and provides cognitive insights.
IDE
The human reads and edits the wiki in Obsidian. All wiki pages must be valid Obsidian-compatible markdown.
Wikilink Rules
| Location | Format | |
|---|---|---|
| Body text, table cells, bullet items | [[slug]] | |
YAML milestone field | "[[slug]]" (quoted) | |
| Other YAML values | bare slug | |
| Fenced code blocks | exempt |
Use [[slug]] wherever a human might want to click through. Obsidian's backlinks panel automatically surfaces reverse links.
Properties Conventions
tagsmust include: ayear/YYYY-MMtag (publication date from arXiv/conference/journal) and avenue/<name>tag (short canonical:venue/NeurIPS,venue/ICML,venue/arXiv-preprint, etc.)milestonein YAML must be quoted wikilink:"[[slug]]"(Obsidian Properties UI renders as clickable link)- All other YAML conventions are documented in the
paper.mdtemplate itself
Architecture
Source files are organized under sources/<topic-path>/ subdirectories, where <topic-path> mirrors the topic file's directory path relative to topics/ (may be nested, e.g., agent-self-evolution/memory-evolution/self-evolving-memory-architectures/). When creating a new source, place it in the directory matching the topic file that the source's milestone: YAML references (create the directory if needed). Extracted figures live in raw/compiled/<topic-path>/<source-slug>_figures/ alongside the source PDF. Obsidian resolves [[wikilinks]] by filename alone, so directory depth does not affect links.
Three-Tree Mirroring Invariant
Three directory trees MUST maintain identical structure at all times:
| Tree | Root | Purpose | |
|---|---|---|---|
topics/ | kb/topics/ | Milestone definition files | |
sources/ | kb/sources/ | Source (paper) pages | |
raw/compiled/ | raw/compiled/ | PDFs + extracted figures |
Rule: For any topic at path topics/<path>/<slug>.md, the corresponding source directory is sources/<path>/<slug>/ and the raw directory is raw/compiled/<path>/<slug>/. The <path> includes all ancestor directories (e.g., agent-self-evolution/memory-evolution/).
Corollary: Moving a topic file to a new directory requires moving both the corresponding source directory and raw/compiled directory, AND updating raw_path in all affected source files.
Example:
| Topic file | Source dir | Raw dir | |
|---|---|---|---|
topics/foo.md | sources/foo/ | raw/compiled/foo/ | |
topics/foo/bar/baz.md | sources/foo/bar/baz/ | raw/compiled/foo/bar/baz/ |
Truth Hierarchy (reference upward, never restate)
- Sources are atomic fact pages — each declares a
milestone:parent in YAML pointing to an existing topic file. - Standalone topics own sources directly via
## Source Clusterand represent specific conceptual breakthroughs. - Merged parent topics (
subtopics: [...]in YAML) contain inline H3 subtopic sections when total papers < 5. Sources point theirmilestone:to the parent file. The parent owns## Source Clusterdirectly. - Split parent topics (
children: [...]in YAML) aggregate child milestones that have their own files (when a subtopic grows to ≥ 5 papers). Sources point to the child leaf file. - Bidirectional linking: source → topic via
## Feeds; topic → source via## Source Cluster; child → parent viaparent_milestoneYAML; parent → children viachildrenYAML. Obsidian backlinks show all reverse links automatically. - Higher layers reference lower layer page IDs. Never copy content between layers.
Milestone Hierarchy
Milestones form a tree with three topic modes:
| Mode | YAML | Owns sources? | Subtopics | |
|---|---|---|---|---|
| Standalone | subtopics: [], children: [] | Yes, via ## Source Cluster | None | |
| Merged parent | subtopics: [a, b, ...] | Yes, unified ## Source Cluster | Inline H3 sections | |
| Split parent | children: [a, b, ...] | No, children own sources | Separate files |
Invariants:
- A source's
milestone:field must reference an existing topic file (standalone, merged parent, or split-out leaf). - Bidirectional: parent
children/subtopics↔ childparent_milestone. - Maximum depth: 3 levels.
- Topic files: flat in
topics/by default. When a parent has split-out children, child files go totopics/<parent-slug>/; parent stays attopics/<parent-slug>.md. - Source directories:
sources/<topic-path>/where<topic-path>mirrors the topic file's directory path relative totopics/. - Three-tree mirroring:
topics/,sources/,raw/compiled/directory trees must be structurally identical (see Architecture > Three-Tree Mirroring Invariant). - Source page
raw_pathmust use the full nested path:raw/compiled/<topic-path>/<source-slug>.pdf.
Consolidation Rule (< 5 papers):
When a parent milestone has fewer than 5 total source papers across all subtopics, the subtopics are inline H3 sections within the parent file (no separate leaf topic files). The parent uses subtopics: [...] in YAML.
Each inline subtopic section format:
Promotion Rule (≥ 5 papers):
When a subtopic accumulates ≥ 5 papers, it splits out to its own file at topics/<parent-slug>/<subtopic-slug>.md. Move the subtopic from subtopics to children in parent YAML. The child file uses standalone/leaf mode. This is a Confirm-tier operation.
Granularity Heuristic (topic source count):
| Count | Action | |
|---|---|---|
| > 8 | Must split — topic is too coarse; identify sub-clusters | |
| 3–8 | Judgment call — split only if distinct conceptual sub-clusters exist | |
| < 3 | Don't split — granularity is appropriate |
Tag-to-Parent Promotion: When 3+ standalone topics share a tag, consider creating a merged parent matching that tag name. If total papers < 5, use merged parent mode (inline subtopics). This is a Confirm-tier operation.
Classification Fitness Check: Before assigning a source, verify the source's core research question genuinely falls within the topic's milestone definition. Shared keywords (e.g., "safety") do NOT imply shared research questions. If the connection is indirect — create a new standalone topic rather than force-fitting.
Page Formats
All pages use structured markdown: YAML frontmatter + fixed section headings. See references/ for exact templates:
references/source-template/paper.md— Paper source page (includes formatting conventions as comments)references/topic-template.md— Milestone topic templatereferences/journal-template.md— Journal entry template
Operations
Ingest (new source added to raw/new)
When the human adds a new source, think through this checklist:
Phase 1 — Analyze (read from `raw/new/`, decide milestone):
- What do we already know? — Scan index.md → read related wiki pages → understand our existing knowledge in this area
- Temporal positioning — Identify this paper's position in the field's timeline:
a. Direct predecessors: Which specific papers does this one build on, extend, or supersede? Check the paper's Related Work section + wiki's existing Relations sections. b. Evolutionary chain: Which named chain(s) does this paper belong to? Check topic page's Chronological Evolution if it exists. Classify as: new chain origin, intermediate node, terminal node, or chain-splitting fork. c. Cross-domain origins: Was the core method adapted from another field? Note source domain, original paper, and time gap. d. Cross-topic impact: Does this paper affect papers/topics outside its own milestone? (e.g., evaluation paper retroactively questions claims in an attack topic) e. Temporal tensions: Does this paper contradict earlier findings? Note the specific contradiction and affected papers.
- What does the field already have? — Read the paper's related work / baselines → understand the scope's prior art
- What is specifically new? — From the two comparisons above, derive the core contribution (not stated independently — DERIVED from comparison)
- For each related wiki page — What's the delta between this paper and existing wiki knowledge? These deltas feed directly into Critical Analysis: Novel Insight uses them as
prior:references, Fundamental Limitations cross-references shared problems viaalso_affects:, Research Frontier references closest existing attempts viaclosest_attempt:. - Assign milestone — First, apply the Classification Fitness Check (see Milestone Hierarchy section): does this source's core research question genuinely match an existing topic's milestone definition? A paper about general LLM jailbreaking does NOT fit an "agent safety" topic just because both involve "safety." If no existing topic is a genuine conceptual match → create a new standalone topic first (Confirm tier, but misclassification is worse than a small new topic). Only after confirming fit (or creating a new topic) set
milestone:in source YAML. - Granularity check — After assignment, count the topic's total sources. If a merged parent's subtopic reaches ≥ 5 papers, flag for split-out (Confirm tier). If a standalone topic reaches > 8, flag for sub-clustering.
- Post-assignment checks: New topic needed? Human cognitive insights to record? Cross-source synthesis triggered? (If yes to any, dual-write per Proactive Write-back rules.)
Phase 2 — Report to human before compiling:
- Three-sentence lead: scope, method, insight
- Positioning: state which domain/category this paper belongs to, and where it sits relative to the field's prior art (baselines, related work from the paper itself). Use wiki knowledge internally to sharpen positioning, but do NOT enumerate wiki page statuses in the report.
- Contribution: derived from the delta between what the field already has and what this paper adds — never stated independently
- Critical analysis: novel insights (contrastive with wiki knowledge), fundamental limitations (of the approach/direction, not the paper), research frontier opened
Wiki page management (which pages to create, update, link) is your responsibility — do NOT report proposed page changes to the human.
Phase 3 — Finalize raw/ (milestone is now known):
Discover, extract figures, move PDF, and verify — all targeting raw/compiled/<topic-path>/ (where <topic-path> mirrors the assigned topic's directory path, e.g., agent-self-evolution/memory-evolution/self-evolving-memory-architectures/):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/autowiki/SKILL.md
Popularity
- Repository stars
- 62
- Repository forks
- 2
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alphalab-ustc/autowiki-skill/autowiki)