Offline, version-pinned documentation for coding agents. Instead of guessing an API from memory, an agent searches and reads the exact docs for the version you use, with your own notes beside them.
- docshelf - search and read DevDocs documentation offline, from
the command line or as an MCP server. The plugin registers the server (
docshelf) in every harness that takes plugin MCP servers; it needspython3onPATH. Can optionally use Dash/Zeal docs you already have installed. - docshelf-build - build a trimmed docvol from a documentation site that is not on DevDocs:
Sphinx
objects.inv, Doxygen HTML or anllms.txtpage list. Reference pages are kept in full, guides become stubs with a live link.
Both are Python standard library only: no requirement beyond Python 3.
| Harness | Command |
|---|---|
| Claude Code | /plugin marketplace add rjstone/plugin-marketplace, then /plugin install docshelf@rjstone |
| Claude Code (2.1.275+) | /plugin install docshelf --marketplace rjstone/plugin-marketplace |
| Claude Code, direct | /plugin marketplace add rjstone/docshelf-plugin, then /plugin install docshelf@docshelf |
| OpenAI Codex | codex plugin marketplace add rjstone/plugin-marketplace |
| Pi | pi install git:github.com/rjstone/docshelf-plugin@vX.Y.Z |
| opencode (skills) | add https://raw.githubusercontent.com/rjstone/docshelf-plugin/main/skills/ to skills in opencode.json |
npx skills |
npx skills add rjstone/docshelf-plugin (doesn't add the MCP server to the harness config but does install the code for it) |
| GitHub Copilot CLI | copilot plugin install rjstone/docshelf-plugin |
| VS Code | add "rjstone/docshelf-plugin" to the chat.plugins.marketplaces setting |
| Google Antigravity | agy plugin install https://github.com/rjstone/docshelf-plugin |
| Gemini CLI | gemini extensions install https://github.com/rjstone/docshelf-plugin |
| Qwen Code | qwen extensions install rjstone/docshelf-plugin |
| Factory Droid | droid plugin marketplace add rjstone/docshelf-plugin, then droid plugin install docshelf@docshelf |
| Devin | devin plugins install rjstone/docshelf-plugin |
Other harnesses: see the install table in AGENTS.md.
The plugin was called docshelf-plugin. Installs under the old id docshelf-plugin@rjstone get no
more updates: uninstall it and install docshelf@rjstone. Its skills are now docshelf:<skill>.
The MCP tool names changed too: they are now mcp__plugin_docshelf_docshelf__* (before:
mcp__plugin_docshelf-plugin_docshelf__*), so permission rules or allow-lists that name the old
tools need updating.
MIT