Claude Code
mandex integration for Claude Code
How it works
mandex installs a skill file to ~/.claude/skills/mandex/SKILL.md that teaches Claude Code to use mx search before writing code that involves external libraries.
Setup
Automatically detected and installed during mx init:
mx init
Or install manually by creating ~/.claude/skills/mandex/SKILL.md with instructions to run mx search <package> "<query>" when looking up library usage.
What it does
When Claude Code encounters a task involving an installed package, the skill instructs it to:
- Run
mx search <package> "<query>"to find relevant documentation - Use the returned snippets as context for generating code
- Reference specific API details instead of relying on training data
This gives Claude Code access to version-pinned, accurate documentation without network requests during the conversation.