integrations

Gemini Integration

Set up docmancer with Gemini CLI for local documentation retrieval.

Install

docmancer install gemini

This installs the skill to two locations:

PathPurpose
~/.gemini/skills/docmancer/SKILL.mdPrimary Gemini 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/.

Project-local installation

Install the skill in the current project instead of globally:

docmancer install gemini --project

This creates the skill at .gemini/skills/docmancer/SKILL.md in your project directory.

Verify

docmancer doctor

Look for the gemini entry under "Installed skills".

Restart note

Gemini CLI may not pick up a newly installed skill immediately. If docmancer commands are not being used, restart Gemini.

Add docs and query

Make sure you have documentation indexed:

docmancer add https://docs.pytest.org

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