wiki-enrich
БесплатноБез исполняемых скриптовНе проверен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…
от wanshuiyin★ 20 260 звёзд на 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) orall(every paper, even ones already enriched — usually combined with--forceto 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--sourceto 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. Whentrue, overwrite every fillable section, but never touch the two protected sections:## Connections(auto-generated fromedges.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:Connectionsis auto-generated fromgraph/edges.jsonl,Abstract (original)is immutable source data from the arXiv API. This skill writes to the 10, never the 2.One-line thesis(marker:_TODO: fill in after reading._)Problem / Gap(marker:_TODO._)Method(marker:_TODO._)Key Results(marker:_TODO._)Assumptions(marker:_TODO._)Limitations / Failure Modes(marker:_TODO._)Reusable Ingredients(marker:_TODO._)Open Questions(marker:_TODO._)Claims(marker:_TODO._) — fill with_No claims tracked yet._if noclaim:edges point to this paper; otherwise list them.Connections— NEVER edit (auto-generated fromgraph/edges.jsonl).Relevance to This Project(marker:_TODO._) — useRESEARCH_BRIEF.md,AGENTS.md(or legacyCLAUDE.md), orgap_map.mdfor project context. If no project context exists, leave as TODO and report it.Abstract (original)— leave alone (already populated byingest_paperwhen--arxiv-idwas 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):
cd "$(git rev-parse --show-toplevel 2>/dev/null || pwd)" || exit 1
[ -d research-wiki/ ] || { echo "ERROR: research-wiki/ not found. Run /research-wiki init first." >&2; exit 1; }
ARIS_REPO="${ARIS_REPO:-$(awk -F'\t' '$1=="repo_root"{print $2; exit}' .aris/installed-skills-codex.txt 2>/dev/null)}"
WIKI_SCRIPT=""
[ -n "$ARIS_REPO" ] && [ -f "$ARIS_REPO/tools/research_wiki.py" ] && WIKI_SCRIPT="$ARIS_REPO/tools/research_wiki.py"
[ -z "$WIKI_SCRIPT" ] && [ -f tools/research_wiki.py ]
Установить wiki-enrich в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(*)ReadWriteEditGlobGrepWebFetchFAQ
Что делает скилл wiki-enrich?
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.
Как установить скилл wiki-enrich?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wiki-enrich запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub