Loading...
Loading...
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.
npx skill4agent add wanshuiyin/auto-claude-code-research-in-sleep wiki-enrichingest_paper/research-lit/arxiv/alphaxiv/deepxiv/semantic-scholar/exa-search_TODO._## Connections## Abstract (original)--arxiv-id"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-enrichingest_paperresearch-wiki/missing<slug>all--forceauto--source--max Nfalsetrue## Connectionsedges.jsonl## Abstract (original)ingest_paperresearch_wiki.py:436-473## Abstract (original)--arxiv-idresearch_wiki.py:469-473_TODO.__TODO: fill in after reading._## Connections## Abstract (original)Connectionsgraph/edges.jsonlAbstract (original)One-line thesis_TODO: fill in after reading._Problem / Gap_TODO._Method_TODO._Key Results_TODO._Assumptions_TODO._Limitations / Failure Modes_TODO._Reusable Ingredients_TODO._Open Questions_TODO._Claims_TODO.__No claims tracked yet._claim:Connectionsgraph/edges.jsonlRelevance to This Project_TODO._RESEARCH_BRIEF.mdCLAUDE.mdgap_map.mdAbstract (original)ingest_paper--arxiv-id💡 Examples:
— enrich every paper with ≥1 TODO section (most common usage)/wiki-enrich — enrich a single paper by slug/wiki-enrich vllm — rewrite every paper from scratch (use when you've adopted a new style)/wiki-enrich all --force — only use alphaxiv, only do 5 papers/wiki-enrich --source alphaxiv --max 5 — bigger batch (watch token budget)/wiki-enrich missing --max 50
$WIKI_ROOT$WIKI_SCRIPTshared-references/wiki-helper-resolution.mdcd "$(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.txt 2>/dev/null)}"
if [ -z "${ARIS_REPO:-}" ] && [ -f "$HOME/.aris/repo" ]; then
ARIS_REPO=$(cat "$HOME/.aris/repo" 2>/dev/null) || true
fi
WIKI_SCRIPT=".aris/tools/research_wiki.py"
[ -f "$WIKI_SCRIPT" ] || WIKI_SCRIPT="tools/research_wiki.py"
[ -f "$WIKI_SCRIPT" ] || { [ -n "${ARIS_REPO:-}" ] && WIKI_SCRIPT="$ARIS_REPO/tools/research_wiki.py"; }
[ -f "$WIKI_SCRIPT" ] || { echo "ERROR: research_wiki.py not found." >&2; exit 1; }$ARGUMENTS--source--force--maxcase "$TARGET" in
all)
PAPERS=( research-wiki/papers/*.md )
;;
missing|"")
# only papers with at least one TODO marker line
PAPERS=( $(grep -lE "^_TODO(\._?|: fill in after reading\._?)$" research-wiki/papers/*.md 2>/dev/null) )
;;
*)
P="research-wiki/papers/${TARGET}.md"
[ -f "$P" ] || { echo "ERROR: paper not found: $P" >&2; exit 1; }
PAPERS=( "$P" )
;;
esac
echo "Candidate papers: ${#PAPERS[@]} (cap ${MAX_PAPERS})"
PAPERS=( "${PAPERS[@]:0:${MAX_PAPERS}}" )"✓ Nothing to enrich."$PAPER$PAPERSReadnode_idpaper:vllmpaper:arxivexternal_ids.arxivtitle## Abstract (original)ClaimsRelevance to This Projectresearch-wiki/graph/edges.jsonlclaim:node_idRESEARCH_BRIEF.mdCLAUDE.mdresearch-wiki/gap_map.mdRelevance to This Project_TODO.__TODO: fill in after reading._--force## Connections## Abstract (original)"skip: <slug> (already enriched)"| Order | Source | How |
|---|---|---|
| 1 | alphaxiv overview ( | |
| 2 | alphaxiv abs (fallback within alphaxiv) | |
| 3 | deepxiv brief ( | |
| 4 | arXiv API abstract — fresh fetch ( | |
| 5 | Page abstract — fallback (last resort) | Reuse the existing |
| — | No arxiv id + no page abstract | Skip this paper, log |
$DEEPXIV_FETCHERshared-references/integration-contract.mddeepxiv$SOURCE_TEXT$SOURCE_TEXT$TITLE| Section | Length | Style | What to extract |
|---|---|---|---|
| One-line thesis | 1 sentence, ≤25 words | Declarative | The paper's core contribution in one sentence — what they built / proved / improved |
| Problem / Gap | 1-2 sentences | Declarative | What problem the field had, why prior work fell short |
| Method | 2-4 sentences | Technical, name the technique | Core mechanism — algorithm name + key idea + how it differs from baselines |
| Key Results | 1-3 bullets OR 2-3 sentences | Quantitative | Headline numbers from the abstract / overview (X% improvement, Yx speedup, etc.). Keep units verbatim. |
| Assumptions | 1-3 bullets | Declarative | What the paper takes for granted (workload type, hardware, model class, distribution shape) |
| Limitations / Failure Modes | 1-3 bullets | Honest | What the paper explicitly admits OR what's structurally absent (e.g. "no multi-node evaluation", "assumes uniform request length") |
| Reusable Ingredients | 1-3 bullets | Concrete | Techniques / datasets / insights from this paper that could be ported elsewhere. Highest value for |
| Open Questions | 1-2 bullets | Question form | What the paper does NOT answer but raises |
| Claims | 1 line | Static | If no |
| Relevance to This Project | 1-2 sentences | Project-contextual | Use |
_Not stated in source._CLAUDE.mdlanguage: zhlanguage: bilingualshared-references/output-language.mdEdit## Problem / Gap
_TODO._## Problem / Gap
<generated body>## Connections## Abstract (original)python3 "$WIKI_SCRIPT" log research-wiki/ "wiki-enrich: enriched paper:<slug> from <source> (filled N/M sections)"alphaxiv-overviewalphaxiv-absdeepxiv-briefarxiv-api-abstractpage-abstract-fallback✓ wiki-enrich complete
Processed: N
Enriched: X (sections filled: total)
Skipped: Y (reasons: already enriched / no arxiv id / fetch failed)
Failed: Z (with paper + reason)
Source breakdown:
alphaxiv-overview: A
alphaxiv-abs: B
deepxiv-brief: C
arxiv-api-abstract: D
page-abstract-fallback: E
Re-ideation suggestion: <if ≥5 papers were enriched, recommend `/idea-creator "topic"` so the freshly-filled `Reusable Ingredients` and `Limitations` feed brainstorming. `query_pack.md` is already rebuilt below — the user does NOT need to call `/research-wiki query` manually.>query_pack.mdpython3 "$WIKI_SCRIPT" rebuild_query_pack research-wiki//idea-creatorFollow the shared protocols:
- No
entry. This skill edits existing scaffolded pages in place rather than generating new artifacts. The audit trail lives inMANIFEST.md(Step 2.6), with provenance per paper. Adding aresearch-wiki/log.mdstage towiki-enrichis out of scope for this PR.shared-references/output-manifest.md- Output Language Protocol — respect the project's language setting.
--force## Connections## Abstract (original)research-wiki//research-wiki init/idea-creatorWebFetch_Not stated in source._/research-lit "topic" ← ingests papers as scaffolds (Step 6)
/wiki-enrich ← THIS — fills paper bodies (you are here)
/research-wiki lint ← health-check (orphans, contradictions, dead ideas)
/idea-creator "direction" ← reads query_pack, ideates on top of enriched wiki
/research-wiki query "topic" ← rebuild query_pack after big wiki changes/research-pipeline/wiki-enrich # fill the paper TODOs ingest_paper left behind
/idea-creator "..." # now ideate with a wiki that actually has content