# /research-wiki: Give your research agent a memory that lasts between sessions

Source: https://trendhub.net/skills/wanshuiyin-auto-claude-code-research-in-sleep/research-wiki
Skill folder: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/tree/main/skills/research-wiki
Pack: ARIS: Auto Research in Sleep (https://trendhub.net/skills/wanshuiyin-auto-claude-code-research-in-sleep)
Works with: Claude Code (project install), Codex reviewer (needed for review skills), Claude Code (plugin), Codex CLI

research-wiki keeps a structured knowledge base inside each project, an idea the README credits as inspired by Andrej Karpathy's LLM Wiki pattern. Papers, ideas, experiments and claims each get a page, typed relationships live in a graph file, and a compact query pack feeds idea generation, so the agent builds on what it has read and avoids repeating ideas that already failed.

## When to use it

- A project runs for weeks and you are tired of re-explaining papers and past decisions.
- You want failed ideas remembered so the agent does not propose them again.
- You want to see which claims are supported or contradicted by which experiments.

## How it works

1. **Initialise**: The agent runs the bundled helper to create folders for papers, ideas, experiments, claims and the relationship graph.
2. **Ingest papers**: It adds papers by arXiv ID or manual metadata, deduplicates them and links them with typed edges such as extends or contradicts.
3. **Feed other skills**: Literature, idea and claim skills write to the wiki automatically once it exists, and idea generation reads the query pack first.
4. **Query and lint**: It produces a summary capped at 8000 characters and flags orphan pages, stale claims, contradictions and untested ideas.

## What it steers the agent away from

- Re-reading and re-summarising the same papers in every session.
- Storing temporary tool errors as lasting facts that mislead later sessions.

## What it can touch

Runs the bundled Python helper to create and update Markdown pages and a JSONL graph under research-wiki in your project, and fetches paper metadata from the arXiv API.

## Pairs well with

- `/idea-discovery`
- `/research-lit`
- `/result-to-claim`

## Questions

### Do I have to call it manually after setup?

Mostly no. After a one-time init, the literature, idea and claim skills update it as a side effect.

### What happens if the helper script is missing?

The wiki command itself fails with repair steps, while skills that only update the wiki warn and carry on.
