mongodb-atlas-cli

mongodb-atlas-cli is a skill for Claude Code from georgekhananaev/claude-skills-vault. It costs 135 tokens per session (3,645 once invoked), scanned A, original, MIT.

A safety-focused tool for checking MongoDB Atlas, MongoDB's hosted database service, and its command-line shell. It audits performance, indexes, queries, backups, alerts, and search features.

In plain words
What is it for?
It helps inspect clusters and metrics, review Performance Advisor suggestions, list indexes, explain queries, compare audits, and create additive indexes such as TTL, geospatial, search, or vector indexes.
Why use it?
It helps find slow queries and missing or unsuitable indexes before making code changes, while keeping direct data changes outside its scope.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Good fit It helps inspect clusters and metrics, review Performance Advisor suggestions, list indexes, explain queries, compare audits, and create additive indexes such as TTL, geospatial, search, or vector indexes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/georgekhananaev/claude-skills-vault/mongodb-atlas-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add georgekhananaev/claude-skills-vault --skill mongodb-atlas-cli
Clone the repo
git clone --depth 1 https://github.com/georgekhananaev/claude-skills-vault

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mongodb-atlas-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/mongodb-atlas-cli/github.svg)](https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/mongodb-atlas-cli)
Your own site
<a href="https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/mongodb-atlas-cli"><img src="https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/mongodb-atlas-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mongodb-atlas-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/georgekhananaev/claude-skills-vault/mongodb-atlas-cli"><img src="https://agentmods.dev/badge/skills/georgekhananaev/claude-skills-vault/mongodb-atlas-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,645 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 63
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium MCP Rug Pull · line 64
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • low Tool Misuse · line 64
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00135 $0.03645
Opus 5 $0.00068 $0.01822
Sonnet 5 $0.00027 $0.00729
Haiku 4.5 $0.00014 $0.00364

Measured 8d ago against content hash e6ac42f0034c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

mongodb-atlas-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 21 executable files (scripts/_common.py, scripts/_mongo.py, scripts/alerts.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/mongodb-atlas-cli/SKILL.md · 358 lines

How it starts

The opening of the file, as written. The whole thing — 358 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MongoDB Atlas CLI Skill

Comprehensive coverage of MongoDB Atlas operations w/ strict safety guarantees. Optimized for the loop: read Performance Advisor → review suggestions → create the right indexes safely. Never destructive.

When to Use

Invoke when the user wants to:

  • Connect to Atlas, list clusters/processes/projects
  • Pull Performance Advisor output (slow queries, suggested indexes, schema advice, drop hints)
  • Read cluster/process/database metrics, alerts, backup status
  • List existing indexes w/ live access counts (mongosh-based)
  • Explain a query (find or aggregate)
  • Create indexes — single, compound, TTL, sparse, partial, unique, geospatial, hashed, Atlas Search, Vector Search
  • Diff two audits week-over-week
  • Audit overall cluster performance
  • Diagnose slow queries before code changes

Do NOT use for any destructive op. Direct CRUD against data is also out of scope (use mongosh directly or the official MongoDB MCP server — see Integration).

Hard Safety Boundaries

Category Op Action
Read clusters/processes/metrics/logs/projects Allowed, no confirm
Read performanceAdvisor (all subcmds) Allowed, no confirm
Read api performanceAdvisor list* Allowed, no confirm
Read alerts/events/backups list, dbusers list Allowed, no confirm
Read clusters search indexes list Allowed, no confirm
Read mongosh: getIndexes, $indexStats, .explain(), getProfilingStatus Allowed, no confirm
Write (additive) clusters indexes create Requires --confirm + dry-run + duplicate pre-flight
Write (additive) clusters search indexes create Requires --confirm + dry-run
Destructive delete, drop, terminate, pause, restore, kill, force REFUSE — never run, even w/ user request
Destructive dbusers create/update/delete REFUSE — auth changes can lock prod
Destructive networking * writes, accessLists delete REFUSE — can sever connectivity
Destructive backups restore / snapshot delete REFUSE — overwrites data
Destructive clusters indexes delete REFUSE — even if advisor suggests dropping; only INFORM the user

Read the full file on GitHub · 358 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 358 lines · 135 tokens per session scan A e6ac42f0034c

Subscribe to this mod's changes

mongodb-atlas-cli is a skill published in the GitHub repository georgekhananaev/claude-skills-vault (28 stars, last pushed 1mo ago), licensed MIT. It adds 135 tokens to every session and 3,645 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

316-frameworks-spring-mongodb-migrations-mongock

Use when you need to add or review Mongock MongoDB data migrations in a Spring Boot application — including Maven coordinates, Spring Data MongoDB drivers, migration scan packages, @ChangeUnit classes, lock/transaction settings, and optional policy-approved MongoDB integration verification. This should trigger for…

jabrena/plinth · 125 tokens

416-frameworks-quarkus-mongodb-migrations-mongock

Use when you need to add or review Mongock MongoDB data migrations in a Quarkus application — including the Quarkiverse Mongock extension, Quarkus MongoDB client configuration, migrate-at-start, @ChangeUnit classes, lock/transaction settings, and Quarkus test verification. This should trigger for requests such as Add…

jabrena/plinth · 135 tokens

516-frameworks-micronaut-mongodb-migrations-mongock

Use when you need to add or review Mongock MongoDB data migrations in a Micronaut application — including Mongock runner/driver selection, Micronaut bean wiring, migration scan packages, @ChangeUnit classes, lock/transaction settings, and Testcontainers verification. This should trigger for requests such as Add…

jabrena/plinth · 135 tokens

705-technologies-nosql-mongodb

Use when you need framework-agnostic MongoDB and non-relational database query guidance — document schema design, collection modeling, JSON Schema validation, indexes, aggregation pipelines, query performance, consistency trade-offs, transactions, and operational safety — without choosing Spring Boot, Quarkus, or…

jabrena/plinth · 116 tokens

315-frameworks-spring-mongodb

Use when you need to design or implement MongoDB data access in Spring Boot — including document modeling, Spring Data Mongo repositories/templates, indexing, optimistic concurrency, and error handling. This should trigger for requests such as Add MongoDB in Spring Boot; Review Spring Data Mongo design; Improve error…

jabrena/plinth · 94 tokens

415-frameworks-quarkus-mongodb

Use when you need MongoDB persistence in Quarkus — including Panache Mongo entities/repositories, document design, indexes, transactions where applicable, and error handling. This should trigger for requests such as Add MongoDB in Quarkus; Review Quarkus Mongo Panache design; Improve Mongo error handling in Quarkus…

jabrena/plinth · 103 tokens