integrations

Cursor Integration

Set up docmancer with Cursor using both skill file and AGENTS.md fallback.

Install

docmancer install cursor

This installs docmancer in two places:

PathPurpose
~/.cursor/skills/docmancer/SKILL.mdPrimary skill file
~/.cursor/AGENTS.mdFallback instructions (appended, not overwritten)

The AGENTS.md fallback exists because Cursor's skill discovery is still maturing. Both paths teach Cursor to call docmancer query when it needs documentation context.

Restart Cursor

After installation, restart Cursor for the changes to take effect. Unlike Claude Code, Cursor does not pick up new skills automatically during a running session.

Verify

Check that both files are in place:

docmancer doctor

Look for the cursor entry under "Installed skills".

Add docs and query

Index documentation before your first Cursor session:

docmancer add https://docs.pytest.org

Then open Cursor and ask about pytest. Cursor will use the installed skill to call docmancer query and retrieve relevant sections from your local index.

Project-local installation

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