MongoDB Agent Skills
MongoDB's official skills for writing queries, designing schemas and tuning performance in your coding agent.
Install
/plugin install mongodb-atlas
npx skills add mongodb/agent-skills -a claude-code
npx skills add mongodb/agent-skills -a claude-code -g
Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).
npx skills add mongodb/agent-skills -a codex
npx skills add mongodb/agent-skills -a codex -g
Or copy the skill folder into .agents/skills/ (project) or ~/.agents/skills/ (all projects).
npx skills add mongodb/agent-skills -a cursor
npx skills add mongodb/agent-skills -a cursor -g
Or copy the skill folder into .agents/skills/ (project) or ~/.cursor/skills/ (all projects).
npx skills add mongodb/agent-skills -a gemini-cli
npx skills add mongodb/agent-skills -a gemini-cli -g
Or copy the skill folder into .agents/skills/ (project) or ~/.gemini/skills/ (all projects).
npx skills add mongodb/agent-skills -a github-copilot
npx skills add mongodb/agent-skills -a github-copilot -g
Or copy the skill folder into .agents/skills/ (project) or ~/.copilot/skills/ (all projects).
npx skills add mongodb/agent-skills -a github-copilot
npx skills add mongodb/agent-skills -a github-copilot -g
Or copy the skill folder into .agents/skills/ (project) or ~/.copilot/skills/ (all projects).
When to use
Use it when an agent works on MongoDB, to get schema and index advice and working aggregation pipelines, on Atlas or a self-managed deployment.
MongoDB's official agent skills teach an agent to write and optimize queries, design schemas, and use Atlas Search and Vector Search. This README covers the mongodb-atlas plugin, which connects your agent to the MongoDB-hosted Atlas MCP server over HTTP using OAuth and bundles the skills. It's available on Claude, Cursor, Codex, GitHub Copilot in the CLI and VS Code, and Grok.
If you run MongoDB Community or Enterprise Advanced yourself, use the separate mongodb plugin instead. It runs the MongoDB MCP server locally and connects to your own deployment. A separate README covers that setup.
Related skills
-
rea
Lets your agent reverse engineer an app from the outside, down to native binaries, and then build its own version.
-
superpowers
A set of development habits for your agent: test first, debug systematically, and plan before you code.
-
skills
The skills Matt Pocock uses in his own day-to-day engineering work.
-
ECC
A ready-made setup for coding agents that adds skills, persistent memory and security checks.