docvault: Generate Local API Docs to Reduce AI Hallucinations

What docvault does
docvault addresses the problem of LLMs like Claude confidently providing incorrect function signatures by generating local, up-to-date API documentation directly from source code. The tool creates markdown files that stay in your repository, providing a reliable reference point for AI coding assistants.
Technical implementation
The tool works for Rust crates and Python packages using runtime introspection. It generates a two-tier markdown file structure:
- Curated patterns and gotchas at the top
- Full machine-generated API reference at the bottom
Re-running the script updates the API reference while preserving your curated notes. The scripts are pure Python stdlib with zero dependencies, available for standalone use.
Claude Code integration
Install the plugin with these commands:
/plugin marketplace add zeapo/docvault
/plugin install vendored-docs@docvault
Once installed, you can use natural language commands like:
vendor the doc for kube
After documentation is vendored, Claude checks these local docs before searching the internet, reducing hallucinations. You can also ask Claude to compare your implementation against the vendored documentation:
compare our usage of kube with the vendored doc
This type of tool is useful for developers working with complex libraries where AI assistants frequently hallucinate API details, particularly in Rust and Python ecosystems where API signatures are critical for correct implementation.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code Skill Delegates Coding to Mistral/DeepSeek: 57M Tokens Saved, 90-100% Cost Reduction
A Claude Code skill called vibe-skill delegates low-level coding to cheap models like Mistral or DeepSeek while keeping Claude's planning. After 254 runs over 10 days, it saved 57M tokens and achieved 90-100% cost savings with 98% success rate.

dead-letter: Local .eml to .md Converter with CLI, Web UI, and MCP Server
dead-letter normalizes email exports into Markdown with YAML front matter, customisable. It offers four access modes: CLI, Python library, Web UI, and an MCP server for direct integration with Claude Desktop, Claude Code, and Codex.

Claude Code Plugin Analyzes Token Waste and Anomalies Locally
A developer built a Claude Code plugin that diagnoses token waste by detecting six anomaly types from local session data. The tool analyzed 8,392 sessions and found 1,015 anomalies, with ExcessiveToolUse being the most common.

OpenClaw memory loss fix using Mem0 plugin
OpenClaw agents experience memory loss due to context compaction rewriting files like MEMORY.md. The Mem0 plugin solves this by moving memory outside the context window with auto-recall and auto-capture features.