By rainshed
A persistent research thinking partner for academic/scientific projects. Maintains layered memory across sessions and collaboratively explores research directions.
A persistent research thinking partner for academic/scientific projects, available as a Claude Code plugin and a Codex skill.
Looking for the English-only version? See research-companion-en.
Step 1: Add the marketplace:
/plugin marketplace add rainshed/research-companion
Step 2: Install the plugin:
/plugin install research-companion@rainshed-research-companion
Codex uses native skill discovery from $CODEX_HOME/skills/ (default: ~/.codex/skills/).
Ask Codex:
Install the `research-companion` skill from https://github.com/rainshed/research-companion/tree/main/codex-skills/research-companion using the built-in GitHub skill installer, then remind me to restart Codex.
Manual instructions: .codex/INSTALL.md or install directly from codex-skills/research-companion
The context window monitor hook uses cozempic to track context usage and warn you before running out of space. Install it with:
npm install -g cozempic
The plugin works without cozempic — the context monitor will simply be inactive.
/plugin update research-companion@rainshed-research-companion
If installed via symlink (Option B in INSTALL.md), pull the latest changes:
cd /path/to/research-companion && git pull
For a copied install (Option A), ask Codex to reinstall:
Reinstall the `research-companion` skill from https://github.com/rainshed/research-companion/tree/main/codex-skills/research-companion using the built-in GitHub skill installer, then remind me to restart Codex.
Then restart Codex.
Say 科研伙伴, research companion, or 研究搭档 in Claude Code or Codex to activate.
On first use, the companion will ask you to give it a name. After that, you can also activate it by saying that name.
Research Companion uses a three-tier hierarchical memory system inspired by how humans organize memory — from always-available core knowledge, through recent session recall, to long-term archives. Memories are dynamically promoted, recalled, and archived based on relevance, mimicking consolidation and forgetting.
For a detailed explanation, see:
research-companion/
├── .codex/
│ └── INSTALL.md # Codex installation runbook
├── .claude-plugin/
│ ├── plugin.json # Plugin manifest
│ └── marketplace.json # Marketplace catalog
├── skills/
│ └── research-companion/
│ ├── SKILL.md # Claude Code skill (writes CLAUDE.md)
│ └── memory-templates.md
├── codex-skills/
│ └── research-companion/
│ ├── SKILL.md # Codex skill (writes AGENTS.md)
│ └── memory-templates.md
├── hooks/
│ └── hooks.json # Context monitor hook config
├── scripts/
│ └── context-monitor.sh # Context window usage monitor
├── docs/
│ ├── memory-system-explained.md # Memory system deep-dive (中文)
│ └── memory-system-explained-en.md # Memory system deep-dive (English)
└── README.md
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub rainshed/research-companionExtract theoretical physics benchmark test cases from Claude Code/Codex conversation history
Persistent memory system for Claude Code - seamlessly preserve context across sessions
Searchable conversation memory - auto-syncs sessions to SQLite with full-text search
The bridge between Claude's working memory and Basic Memory's durable knowledge graph — session briefings, pre-compaction checkpoints, and capture reflexes
Claude Mind - Give Claude photographic memory in ONE portable file. Share, version, and transfer your Claude's brain.
Persistent local memory for Claude Code. Cross-session recall with vector search, automatic archiving, zero cloud dependencies.
Long-term semantic memory for Claude Code, powered by OpenViking. Auto-recall relevant memories at session start and capture important information during conversations.