integrations

OpenCode Integration

Set up docmancer with OpenCode for local documentation retrieval.

Install

docmancer install opencode

This installs the skill to two locations:

PathPurpose
~/.config/opencode/skills/docmancer/SKILL.mdPrimary OpenCode skill path
~/.agents/skills/docmancer/SKILL.mdShared compatibility path (if not already present)

The shared path provides compatibility with other agents that read from ~/.agents/skills/.

Verify

docmancer doctor

Look for the opencode entry under "Installed skills".

Project-local installation

OpenCode does not currently support project-level skill installation through docmancer. Use the global installation path described above.

Add docs and query

Make sure you have documentation indexed:

docmancer add https://docs.pytest.org

Then start OpenCode and ask about the docs. The installed skill teaches OpenCode to call docmancer query and receive a token-budgeted context pack from your local index.