research-wiki
Skill54 starsChanged 5 months agoMITView on GitHub
Persistent research knowledge base that accumulates papers, ideas, experiments, claims, and their relationships across a project. Inspired by Karpathy's LLM Wiki pattern. Use when user says \"知识库\", \"research wiki\", \"add paper\", \"wiki query\", \"查知识库\", or wants to build/query a persistent field map.
8 other projects use a version of this, 6 of them edited.
Adopted by
Most recently taken up by
- sjtuytc/ResearchMathAgentedited, first seen Oct 20, 2026
- yvesory/academic-research-suiteedited, first seen Oct 9, 2026
- udecode/better-convextheir own version, first seen Oct 8, 2026
- talhaMah56/claude_skillsedited, first seen Sep 12, 2026
- wanshuiyin/Auto-claude-code-research-in-sleepedited, first seen Jul 15, 2026
- catalsqlb-cmd/Prism-Hedited, first seen May 29, 2026
Used with
Projects with it also use research-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Yusong-EnceladusSkillresearch-review
Get a deep critical review of research from GPT via Codex MCP. Use when user says "review my research", "help me review", "get external review", or wants critical feedback on research ideas, papers, or experimental results.
Also in 3 projects that use this
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 6
- wanshuiyin/Auto-claude-code-research-in-sleep★ 19k12% same
- sjtuytc/ResearchMathAgent★ 3512% same
- catalsqlb-cmd/Prism-H★ 1619% same
- yvesory/academic-research-suite★ 912% same
- raja21068/AutoResearch★ 216% same
- talhaMah56/claude_skills★ 012% same
Wrote their own version · 2
- udecode/better-convex★ 452same name
- YuchengZhang256/claude-code-workflow★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- alphaxivSkill
- arxivSkill
- doc-coauthoringSkill
- docxSkill
- drawio-diagramSkill
- figure-descriptionSkill
- formula-derivationSkill
- grant-proposalSkill
- mmx-cliSkill
- mock-reviewSkill
- novelty-checkSkill
- paper-readingSkill
- pdfSkill
- phd-benchmark-paper-templateSkill
- phd-figure-designerSkill
- phd-idea-evaluatorSkill
- phd-intro-drafterSkill
- phd-pre-submission-reviewerSkill
- phd-tech-paper-templateSkill
- phd-vibe-research-workflowSkill
- pptxSkill
- proof-writerSkill
- research-litSkill
- research-survey-loopSkill
- theme-factorySkill
- update-source-mapSkill
- xlsxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 6 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 70
create the research-wiki/ directory structure
- Very specific: line 71
create empty index.md, log.md, gap_map.md, query_pack.md
- Distinctive: line 77
Add a paper to the wiki with the bundled helper:
- Very specific: line 118
Use this when papers were discussed earlier but not yet ingested.
- Very specific: line 165
If the paper was ingested with --arxiv-id and the API returned an abstract, the helper appends ## Abstract (original) at the end.
- Distinctive: line 187
Update a specific entity and then rebuild the compact artifacts:
- Very specific: line 195
After every update, rebuild query_pack.md and append to log.md.
- Very specific: line 208
Write the result to LINT_REPORT.md.
- Distinctive: line 225
Treat the wiki as a local source of truth for project memory.
- Distinctive: line 226
Keep entity pages readable by humans first, structured enough for scripted rebuilds second.
- Distinctive: line 228
Use canonical node IDs consistently.
- Very specific: line 230
Keep query_pack.md deterministic and compact rather than open-ended.
- Distinctive: line 234
If you want a rough coverage check for arXiv IDs mentioned in local project artifacts, run:
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Research Wiki: Persistent Research Knowledge Base
Subcommand: $ARGUMENTS
Overview
The research wiki is a persistent, per-project knowledge base that accumulates structured knowledge across papers, ideas, experiments, claims, and their relationships.
Unlike one-off literature notes that are forgotten after a session, the wiki compounds: every paper page, experiment page, failed idea, and explicit relationship becomes reusable context for later work.
Inspired by Karpathy's LLM Wiki pattern: compile knowledge once, keep it current, do not re-derive the same field map every time.
Core Concepts
Four Entity Types
| Entity | Directory | Node ID format | What it represents |
| Paper | papers/ | paper:<slug> | A published or preprint research paper |
| Idea | ideas/ | idea:<id> | A research idea, whether active, failed, or partial |
| Experiment | experiments/ | exp:<id> | A concrete experiment run with evidence |
| Claim | claims/ | claim:<id> | A testable scientific claim with evidence status |
Typed Relationships (graph/edges.jsonl)
| Edge type | From -> To | Meaning |
extends | paper -> paper | Builds on prior work |
contradicts | paper -> paper | Disagrees with results or claims |
addresses_gap | paper|idea -> gap | Targets a known field gap |
inspired_by | idea -> paper | Idea came from this paper |
tested_by | idea|claim -> exp | Tested in this experiment |
supports | exp -> claim|idea | Experiment supports a claim or idea |
invalidates | exp -> claim|idea | Experiment disproves a claim or idea |
supersedes | paper -> paper | Newer work replaces older work |
Edges live in graph/edges.jsonl. The ## Connections section on each page is a human-readable projection of that graph and should not be hand-maintained as a second source of truth.
Wiki Directory Structure
research-wiki/
index.md
log.md
gap_map.md
query_pack.md
papers/
<slug>.md
ideas/
<idea_id>.md
experiments/
<exp_id>.md
claims/
<claim_id>.md
graph/
edges.jsonlSubcommands
/research-wiki init
Initialize the wiki for the current project:
- create the
research-wiki/directory structure - create empty
index.md,log.md,gap_map.md,query_pack.md - create empty
graph/edges.jsonl - append an initialization entry to
log.md
/research-wiki ingest "<paper title>" - arxiv: <id>
Add a paper to the wiki with the bundled helper:
# arXiv-based ingest
python scripts/research_wiki.py ingest_paper research-wiki/ \
--arxiv-id 2501.12345 --thesis "One-line claim from abstract."
# manual metadata ingest
python scripts/research_wiki.py ingest_paper research-wiki/ \
--title "Attention Is All You Need" \
--authors "Ashish Vaswani, Noam Shazeer" \
--year 2017 --venue "NeurIPS"
# add an explicit relationship after ingest
python scripts/research_wiki.py add_edge research-wiki/ \
--from "paper:vaswani2017_attention_all_you" \
--to "paper:chen2025_factorized_gap" \
--type "extends" --evidence "Section 3.2 adapts the encoder block."The helper performs:
- metadata fetch when
--arxiv-idis provided - slug generation
- de-duplication
- page creation or update
index.mdrebuildquery_pack.mdrebuildlog.mdappend
/research-wiki sync - arxiv-ids <id1>,<id2>,...
Batch backfill one or more arXiv IDs:
python scripts/research_wiki.py sync research-wiki/ \
--arxiv-ids 2310.06770,1706.03762
python scripts/research_wiki.py sync research-wiki/ --from-file ids.txtUse this when papers were discussed earlier but not yet ingested. sync does not depend on hidden hooks or session traces; it only ingests the IDs you explicitly provide.
Paper Page Schema
The bundled helper emits this schema for paper pages:
---
type: paper
node_id: paper:<slug>
title: "<full title>"
authors: ["First A. Author", "Second B. Author"]
year: 2025
venue: "arXiv"
external_ids:
arxiv: "2501.12345"
doi: null
s2: null
tags: ["tag1", "tag2"]
added: 2026-04-07T10:12:00Z
---
# <full title>
## One-line thesis
## Problem / Gap
## Method
## Key Results
## Assumptions
## Limitations / Failure Modes
## Reusable Ingredients
## Open Questions
## Claims
## Connections
## Relevance to This ProjectIf the paper was ingested with --arxiv-id and the API returned an abstract, the helper appends ## Abstract (original) at the end.
/research-wiki query "<topic>"
Generate query_pack.md, a compressed context file for later ideation, planning, or quick re-entry into the project.
Fixed budget (max 8000 chars / about 2000 tokens):
| Section | Budget | Content |
| Project direction | 300 chars | From RESEARCH_BRIEF.md if present |
| Top gaps | 1200 chars | From gap_map.md |
| Paper clusters | 1600 chars | Compact cluster summary |
| Failed ideas | 1400 chars | High-value anti-repetition memory |
| Top papers | 1800 chars | Most central / relevant paper pages |
| Active chains | 900 chars | Important relationship chains |
| Open unknowns | 500 chars | Unresolved questions |
Prune low-ranked paper detail first. Do not prune failed ideas first.
/research-wiki update <node_id> - <field>: <value>
Update a specific entity and then rebuild the compact artifacts:
/research-wiki update paper:chen2025 - relevance: core
/research-wiki update idea:001 - outcome: negative
/research-wiki update claim:C1 - status: invalidatedAfter every update, rebuild query_pack.md and append to log.md.
/research-wiki lint
Health check the wiki:
- orphan pages
- stale claims
- contradictory evidence
- papers that probably need explicit links
- dead ideas
- sparse pages
Write the result to LINT_REPORT.md.
/research-wiki stats
Produce a quick project overview:
Research Wiki Stats
Papers: 28
Ideas: 7
Experiments: 12
Claims: 15
Edges: 64Operating Style
- Treat the wiki as a local source of truth for project memory.
- Keep entity pages readable by humans first, structured enough for scripted rebuilds second.
- Record failed ideas explicitly; they are valuable memory.
- Use canonical node IDs consistently.
- Append to
log.mdfor every mutation. - Keep
query_pack.mddeterministic and compact rather than open-ended.
Optional Diagnostic
If you want a rough coverage check for arXiv IDs mentioned in local project artifacts, run:
bash scripts/verify_wiki_coverage.sh research-wiki/This is diagnostic only. It should report gaps, not block the wiki.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

