integrations

OpenCode Integration

Connect Docmancer to OpenCode so it starts from the same local memory as every other coding agent on your machine.

Install

docmancer agent 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 status

Look for the opencode entry under agent delivery.

Verify with one prompt

Ask OpenCode: Before changing deployment code, recall what we decided about production hosting.

The expected behaviour is a project-scoped memory query before edits and a grounded answer. When a durable decision changes, OpenCode should record the replacement after completing the task.

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 docs add https://docs.pytest.org

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