usage

Agent Integration

Connect Docmancer to your coding agent for API MCP packs and docs fallback.

How it works

Docmancer connects agents in two ways. For API MCP packs, setup registers the local docmancer mcp serve runtime where the agent supports MCP configuration. For docs retrieval, Docmancer installs a plain markdown skill file (or instructions file, for Copilot) that teaches the agent to call docmancer query when it needs documentation context.

All agents on the same machine share the same installed pack manifest and local SQLite docs index.

Install for a specific agent

docmancer install claude-code

Supported agents and where each skill lands:

AgentSkill / instructions location
Claude Code~/.claude/skills/docmancer/SKILL.md
Cursor~/.cursor/skills/docmancer/SKILL.md + an AGENTS.md block when needed
Cline~/.cline/skills/docmancer/SKILL.md
Codex~/.codex/skills/docmancer/SKILL.md (also mirrored to ~/.agents/skills/docmancer/SKILL.md for compatibility)
Codex App~/.codex/skills/docmancer/SKILL.md (Codex app variant)
Codex Desktop~/.codex/skills/docmancer/SKILL.md (Codex desktop variant)
Gemini~/.gemini/skills/docmancer/SKILL.md
GitHub Copilot~/.copilot/copilot-instructions.md (user) or .github/copilot-instructions.md (with --project)
OpenCode~/.config/opencode/skills/docmancer/SKILL.md
Claude Desktop~/.docmancer/exports/claude-desktop/docmancer.zip: upload via Customize > Skills

Project-local installation

Install the skill or instructions file in the current project instead of globally. Supported for Claude Code, Gemini, Cline, and GitHub Copilot:

docmancer install claude-code --project
docmancer install gemini --project
docmancer install cline --project
docmancer install github-copilot --project

This writes the file under .claude/skills/ (or .gemini/skills/, .cline/skills/, or .github/copilot-instructions.md) in your project directory. Useful when different projects need different Docmancer configurations, or when you want the file committed to version control.

Install all agents at once

Use the setup command to detect and install for every agent present on the machine:

docmancer setup --all

Verify installation

Check which agent skills are installed and healthy:

docmancer doctor

Check local API MCP packs and required credentials:

docmancer mcp doctor