immortalqx/my_codex_skills/research-wiki
Claude Code and agent skill by immortalqx/my_codex_skills
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install immortalqx/my_codex_skills/research-wikiSKILL.md
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
Subcommands
/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:
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:
Use 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:
If 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:
After 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:
Operating 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:
This is diagnostic only. It should report gaps, not block the wiki.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingresearch-wiki/SKILL.md
Popularity
- Repository stars
- 56
- 7-day trend score
- 0
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/immortalqx/my_codex_skills/research-wiki)