Skip to content
Skillpedia
Research18k ยท #10622

wiki-enrich

What it does

This skill completes the blank sections of paper pages that earlier steps left as scaffolds in a research wiki. It is for researchers who build a knowledge base from many papers.

When to use it

  • โœ“When a batch of papers was added to the wiki and their pages are still TODO.
  • โœ“When you want short prose summaries written for each paper page.
  • โœ“When you want the wiki to be useful for later queries without rereading every paper.

Skill link

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/wiki-enrich/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/wiki-enrich/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute โ†’

Example of what to ask your AI

โ€œI added a batch of papers to my research wiki, and I want their empty sections filled in with short summaries.โ€

5 new skills a week. 1 minute to read.

How it works

The agent finds each paper page with TODO sections, fetches the paper content through a fallback chain of sources, and rewrites the placeholder sections as short prose. It leaves the protected sections untouched.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Wiki Enrich: Fill Paper TODO Sections (Karpathy LLM-Wiki)

Target: $ARGUMENTS

Why this skill exists

ingest_paper (called by /research-lit, /arxiv, /alphaxiv, /deepxiv, /semantic-scholar, /exa-search, /firecrawl-search) only renders the per-paper scaffold โ€” frontmatter + abstract + 10 fillable _TODO._ placeholder sections (plus two protected sections: ## Connections is graph-summary and ## Abstract (original) is auto-populated when --arxiv-id is given). No downstream skill in ARIS fills those 10 sections; the wiki sits as TODO until someone reads each paper.

This contradicts the Karpathy LLM-wiki design (https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f):

"You never (or rarely) write the wiki yourself โ€” the LLM writes and maintains all of it. โ€ฆ The tedious part of maintaining a knowledge base is not the reading or the thinking โ€” it's the bookkeeping. โ€ฆ LLMs don't get bored, don't forget to update a cross-reference, and can touch 15 files in one pass."

/wiki-enrich is the missing back half of ingest_paper: it reads each scaffolded paper page, fetches paper content from external sources via a graceful fallback chain (see Phase 2.3 for the full 5-source chain), and rewrites the 10 fillable TODO sections into 1-3 sentence prose summaries.

Constants

  • WIKI_ROOT = research-wiki/ โ€” Resolved relative to git root. Skill hard-fails if not a directory.
  • TARGET_DEFAULT = missing โ€” When no target is given, enrich only papers with โ‰ฅ1 TODO section. Other targets: <slug> (one paper) or all (every paper, even ones already enriched โ€” usually combined with --force to overwrite).
  • SOURCE_DEFAULT = auto โ€” Fetch order: alphaxiv overview โ†’ alphaxiv abs โ†’ deepxiv brief โ†’ arXiv API abstract โ†’ page abstract fallback. First non-empty wins (full chain documented in Phase 2.3 table). Override with --source to pin one source.
  • MAX_PAPERS = 20 โ€” Hard cap per invocation; LLMs touch many files but token budgets are real. Override with --max N.
  • FORCE = false โ€” When false (default), skip sections that already have non-TODO content. When true, overwrite every fillable section, but never touch the two protected sections: ## Connections (auto-generated from edges.jsonl) and ## Abstract (original) (immutable arXiv-fetched source data).
  • SECTIONS_TO_FILL โ€” 10 fillable sections + 2 protected. ingest_paper (research_wiki.py:436-473) scaffolds 11 section headers unconditionally and a 12th โ€” ## Abstract (original) โ€” only when arXiv returns an abstract for the given --arxiv-id (research_wiki.py:469-473). Of these, 10 carry a _TODO._ (or _TODO: fill in after reading._) marker and need filling. The other 2 โ€” ## Connections (position 10 in the enumeration below) and ## Abstract (original) (position 12, conditional) โ€” are protected by construction: Connections is auto-generated from graph/edges.jsonl, Abstract (original) is immutable source data from the arXiv API. This skill writes to the 10, never the 2.
    1. One-line thesis (marker: _TODO: fill in after reading._)
    2. Problem / Gap (marker: _TODO._)
    3. Method (marker: _TODO._)
    4. Key Results (marker: _TODO._)
    5. Assumptions (marker: _TODO._)
    6. Limitations / Failure Modes (marker: _TODO._)
    7. Reusable Ingredients (marker: _TODO._)
    8. Open Questions (marker: _TODO._)
    9. Claims (marker: _TODO._) โ€” fill with _No claims tracked yet._ if no claim: edges point to this paper; otherwise list them.
    10. Connections โ€” NEVER edit (auto-generated from graph/edges.jsonl).
    11. Relevance to This Project (marker: _TODO._) โ€” use RESEARCH_BRIEF.md, AGENTS.md (or legacy CLAUDE.md), or gap_map.md for project context. If no project context exists, leave as TODO and report it.
    12. Abstract (original) โ€” leave alone (already populated by ingest_paper when --arxiv-id was used).

๐Ÿ’ก Examples:

  • /wiki-enrich โ€” enrich every paper with โ‰ฅ1 TODO section (most common usage)
  • /wiki-enrich vllm โ€” enrich a single paper by slug
  • /wiki-enrich all --force โ€” rewrite every paper from scratch (use when you've adopted a new style)
  • /wiki-enrich --source alphaxiv --max 5 โ€” only use alphaxiv, only do 5 papers
  • /wiki-enrich missing --max 50 โ€” bigger batch (watch token budget)

Pre-flight

Resolve $WIKI_ROOT and $WIKI_SCRIPT (canonical chain โ€” see `shared-references/wiki-helper-resolution.md

FAQ

Which sections does it fill?

The fillable TODO placeholders in each paper page, not the graph summary or the original abstract sections.

How many sources does it try?

It uses a fallback chain of five sources, so it can keep working when one source is unavailable.

Does it maintain the wiki by itself?

Yes. The skill is built on the idea that the agent keeps the wiki's bookkeeping current, so you do not have to.

Details

Original description by the author

Fill in the per-paper TODO sections of research-wiki/papers/<slug>.md pages that literature-ingest skills leave as bare scaffolds. Use when user says 'enrich wiki', 'fill paper TODOs', 'wiki body ่ฃœๅฎŒ', 'ๆŠŠ paper ๆ‘˜่ฆๅฏซ้€ฒ wiki', 'research-wiki ่‡ชๅ‹•ๅกซ', or after a batch ingest that left papers/ as TODO scaffolds.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

Popularity

GitHub stars
18k
Ranking position
#10622
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • โ€ฆ

More skills from this repository

Similar skills