By zeapo
Vendor library documentation locally for AI-assisted development. Converts Rust crates (via rustdoc JSON) and Python packages (via runtime introspection) into structured Markdown API references.
Vendor library documentation locally for AI-assisted development. Converts Rust crates (via rustdoc JSON) and Python packages (via runtime introspection) into structured Markdown API references. Zero external dependencies.
LLMs hallucinate API signatures. Vendored docs don't. By keeping accurate, machine-generated API references in your repo, your AI assistant reads real signatures and real docstrings instead of guessing.
Each guide has two tiers:
Add the marketplace and install the plugin from within Claude Code:
/plugin marketplace add zeapo/docvault
/plugin install vendored-docs@docvault
This gives Claude the skill to generate, find, and use vendored docs automatically. You can install at user scope (default, works across all your projects) or project scope (--scope project, shared with collaborators).
After installing, run /reload-plugins if you're in an active session.
The plugin triggers automatically on phrases like "vendor docs for", "how do I use", or "what's the API for". But you can also be direct:
vendor docs for tokio
document the jax package
look up crate serde
Once docs exist in your repo, Claude checks them before reaching for the internet. You don't need to tell it to — the skill handles that. If you want to add curated patterns on top of a generated reference, just ask:
add common patterns to the tokio docs
add gotchas to the jax guide
If you prefer to run the scripts directly without the plugin, they live in plugin/skills/vendored-docs/scripts/:
python3 path/to/rustdoc-json-to-md.py datafusion
python3 path/to/rustdoc-json-to-md.py iceberg-datafusion 0.9.0
Requires rustup toolchain install nightly (stable stays your default).
python3 path/to/pydoc-to-md.py jax
python3 path/to/pydoc-to-md.py optax --depth 1
python3 path/to/pydoc-to-md.py jax --include numpy --include random
Must run with a Python environment where the package is installed.
Guides are written to docs/vendored/{lang}/{name}-{version}.md — Rust crates go to docs/vendored/rust/ and Python packages to docs/vendored/python/. This avoids name collisions between packages in different languages. Re-running the script updates the API reference while preserving any curated content you've added above the # Full API Reference separator.
docs/vendored/
rust/
datafusion-52.4.0.md # 6,000+ lines — full Rust API + curated patterns
iceberg-datafusion-0.9.0.md
python/
jax-0.9.2.md # 48,000+ lines — full Python API
optax-0.2.7.md
rustdoc-json-to-md.pyrustdoc-json-to-md.py CRATE [VERSION] Full pipeline
rustdoc-json-to-md.py CRATE --skip-build Reuse existing JSON
rustdoc-json-to-md.py --json FILE Convert existing JSON
rustdoc-json-to-md.py CRATE --only-index Compact index
rustdoc-json-to-md.py CRATE --stdout Write to stdout
rustdoc-json-to-md.py CRATE -o PATH Custom output path
pydoc-to-md.pypydoc-to-md.py PKG [VERSION] Full pipeline
pydoc-to-md.py PKG --depth N Sub-module depth (default: 2)
pydoc-to-md.py PKG --include MOD Only specific sub-modules
pydoc-to-md.py PKG --only-index Compact index
pydoc-to-md.py PKG --stdout Write to stdout
pydoc-to-md.py PKG -o PATH Custom output path
cargo +nightly rustdoc to generate rustdoc JSON — a structured representation of every public type, method, trait, and doc comment/// doc comments)inspect.getmembers()inspect.signature() (falls back to docstring parsing for C extensions)Both scripts use only Python stdlib — zero external dependencies.
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 zeapo/docvault --plugin vendored-docsFetch up-to-date library documentation via Context7 for accurate coding
Fetch up-to-date library documentation via Context7 REST API
Up-to-date and secure docs search for AI agents. Search 10,000+ libraries and lock your agent to your stack with Cabinets.
Create comprehensive documentation for code, APIs, and projects.
Use this agent when you need to fetch and utilize documentation from Context7 for specific libraries or frameworks. Examples: <example>Context: User is building a React application and needs documentation about hooks. user: 'I need to implement useState and useEffect in my React component' assistant: 'I'll use the context7-docs-fetcher agent to get the latest React documentation about hooks' <commentary>Since the user needs specific React documentation, use the context7-docs-fetcher agent to fetch relevant docs and provide accurate guidance.</commentary></example> <example>Context: User is working with Express.js and MongoDB and needs setup guidance. user: 'How do I create a REST API with Express and connect to MongoDB?' assistant: 'Let me use the context7-docs-fetcher agent to get the current documentation for both Express.js and MongoDB' <commentary>The user needs documentation for multiple libraries, so use the context7-docs-fetcher agent to fetch comprehensive docs.</commentary></example>
Documentation generation - API docs, README, knowledge graphs, LaTeX PDF conversion