Research Mode
Anti-hallucination research mode for Claude Code. Toggle on/off to enforce citation requirements and source grounding.
Install
/plugin marketplace add assafkip/research-modeInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Research Mode for Claude Code
Anti-hallucination toggle for Claude Code. Activates citation constraints from Anthropic's documentation that force Claude to cite sources, say "I don't know" when unsure, and ground responses in direct quotes.
Using Kipi Founder OS? Research mode is already built into kipi-core. Just run
/q-research <topic>. No extra install needed.
Install
Works in Claude Code CLI, the macOS desktop app, and the VS Code extension. Open Claude Code and run these two commands:
Step 1 -- Add the marketplace:
/plugin marketplace add assafkip/research-mode
Step 2 -- Install the plugin:
/plugin install research-mode@assafkip-research-mode
That's it. To confirm it installed, run /plugin and check that research-mode appears in your list.
Alternative -- install as a standalone skill:
If you prefer not to use the plugin system, clone this repo and copy the SKILL.md file into your project's .claude/skills/research-mode/ directory.
Use
/research-mode:research
Or with a topic:
/research-mode:research what caused the Change Healthcare breach
Say "exit research mode" to turn it off.
What it does
Three constraints activate simultaneously:
- Say "I don't know" -- no guessing, no inferring. If there's no credible source, Claude says so.
- Cite everything -- every claim must reference a file, URL, paper, or named source. Unsourced claims get retracted.
- Quote first, then analyze -- responses are grounded in word-for-word quotes from source material, not paraphrased summaries.
Source cascade (keeps token costs low)
Sources are checked in order. Claude stops at the first level that answers the question:
- Local files (Grep + Read) -- zero cost, most reliable
- WebSearch snippets -- cite the snippet directly, skip downloading full pages
- WebFetch -- only when the snippet is ambiguous or user needs full quotes
- Scholar Gateway -- for academic papers, if available
Token budget: 5 WebSearch, 3 WebFetch max per question. If the limit is hit, Claude summarizes what it found and asks before going deeper.
What it doesn't do
- Not always-on. It's a toggle. Turn it on for research, off for creative work.
- Not slow. Claude still uses tools in parallel and works efficiently.
- Not restrictive on new ideas. You can synthesize across sources, but inputs must be grounded.
Why
LLMs hallucinate. When you're doing research that matters, you need guardrails that force citation discipline. This plugin packages Anthropic's own recommendations into a one-command toggle.
Troubleshooting
"Plugin not found" after Step 1: Make sure you typed the marketplace command exactly as shown. The marketplace name is assafkip/research-mode (GitHub username/repo).
Command doesn't appear after install: Run /reload-plugins to refresh, or restart Claude Code.
Want to scope it to one project only: Add --scope project to the install command in Step 2.
Built by
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro,…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…