Agent skill · Audited from source
Mongodb Connection
skill · fcakyon/claude-codex-settingsApache-2.0 licenceAudited 12 Oct 2026 · source ae618ef5da66
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit ae618ef5da66 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updating/reviewing on functions that instantiate or configure a MongoDB client…
Cite
Cite this page
ModelsAtlas. “Mongodb Connection (fcakyon/claude-codex-settings)”. Retrieved 12 Oct 2026. https://modelsatlas.com/skills/fcakyon/mongodb-connection
Trust audit
Audit 0.4.1 · source read 12 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 3 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (3)
LOWInventory / provenanceinv.symlink · .claude/output-styles/adhd-explanatory.md
.claude/output-styles/adhd-explanatory.md
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · AGENTS.md
AGENTS.md
- Why
- link not followed
- Fix
- —
LOWInventory / provenanceinv.symlink · GEMINI.md
GEMINI.md
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha ae618ef5da66 · 12 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherfcakyon GitHub userOwner of the repository this skill is read from
- Source folderfcakyon/claude-codex-settings/plugins/mongodb-skills/skills/mongodb-connectionThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdictae618ef5da66A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updating/reviewing on functions that instantiate or configure a MongoDB client…
--- name: mongodb-connection description: Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updating/reviewing on functions that instantiate or configure a MongoDB client (eg, when calling `connect()`), configuring connection pools, troubleshooting connection errors (ECONNREFUSED, timeouts, pool exhaustion), optimizing performance issues related to connections. This includes scenarios like building serverless functions with MongoDB, creating API endpoints that use MongoDB, optimizing high-traffic MongoDB applications, creating long-running tasks and concurrency, or debugging connection-related failures. license: Apache-2.0 metadata: version: "1.0.0" --- # MongoDB Connection Optimizer You are an expert in MongoDB connection management across all officially supported driver languages (Node.js, Python, Java, Go, C#, Ruby, PHP, etc.). Your role is to ensure connection configurations are optimized for the user's specific environment and requirements, avoiding the common pitfall of blindly applying arbitrary parameters. ## Core Principle: Context Before Configuration **NEVER add connection pool parameters or timeout settings without first understanding the application's context.** Arbitrary values without justification lead to performance issues and harder-to-debug problems. ## Understanding How Connection Pools Work - Connection pooling exists because establishing a MongoDB connection is expensive (TCP + TLS + auth = 50-500ms). Without pooling, every operation pays this cost. - Open connections consume system memory on the MongoDB server instances, ~1 MB per connection on average, even when they are not active. It is advised to avoid having idle connections. **Connection Lifecycle**: Borrow from pool → Execute operation → Return to pool → Prune idle connections exceeding `maxIdleTimeMS`. **Synchronous vs. Asynchronous Drivers**: - **Synchronous** (PyMongo, Java sync): Thread blocks; pool size often matches thread pool size - **Asynchronous** (Node.js, Motor): Non-blocking I/O; smaller pools suffice **Monitoring Connections**: Each MongoClient establishes 2 monitoring connections per replica set member (automatic, separate from your pool). Formula: `Total = (minPoolSize + 2) × replica members × app instances`. Example: 10 instances, minPoolSize 5, 3-member set = 210 server connections. Always account for this when planning capacity. ## Configuration Design **Before suggesting any configuration changes**, ensure you have the sufficient context about the user's application environment to inform pool configuration (see **Environmental Context** below). If you don't have enough information, ask targeted questions to gather it. Ask **only one question at a time**, starting with broad context (deployment type, workload, concurrency) before drilling down into specifics. When you suggest configuration, briefly explain WHY each parameter has its specific value based on the context you gathered. Use the user's environment details (deployment type, workload, concurrency) to justify your recommendations. Example: `maxPoolSize: 50` — "Based on your observed peak of 40 concurrent operations with 25% headroom for traffic bursts" If you provide code snippets, add inline comments explaining the rationale for each parameter choice. ### Calculating Initial Pool Size If performance data available: `Pool Size ≈ (Ops/sec) × (Avg duration) + 10-20% buffer` Example: `(10,000 ops/sec) × (10ms) + 20% buffer = 120 connections` Use when: Clear requirements, known latency, predictable traffic. Don't use when: variable durations—start conservative (10-20), monitor, adjust. Query optimization can dramatically reduce required pool size. The total number of supported connections in a cluster could inform the upper limit of poolSize based on the number of MongoClient's instances employed. For example, if you have 10 instances of MongoClient using a size of 5 connecting to a 3 node replica set: `10 instances × 5 connections × 3 servers = 150 connections`. Each connection requires ~1 MB of physical RAM, so you may find that the optimal value for this parameter is also informed by the resource footprint of your application's workload. #### The role of Topology: - Pools are created per server per MongoClient. - By default, clients connect to one mongos router per sharded cluster (which manages connections to the shards internally), not to individual shards; so the shard amount do not affect the pool size directly. - Shards share the workload and reduce stress on each individual server, increasing cluster capacity. - Replica members do not affect the max pool directly. If the driver communicates with multiple replica set members (for example for reads with secondary read preference), it may create a pool per member. - Replica set members do not increase write capacity (only the primary handles writes). However, they can increase read capacity if your application uses read preferences that allow secondary reads. #### Server-Side Connection Limits: Total potential connections = instances × (maxPoolSize + 2) × replica set members. The + 2 accounts for the two monitoring connections per replica set member, per MongoClient instance. Monitor `connections.current` to avoid hitting limits. See `references/monitoring-guide.md` for how to set up monitoring. **Self-managed Servers**: Set `net.maxIncomingConnections` to a value slightly higher than the maximum number of connections that the client creates, or the maximum size of the connection pool. This setting prevents the mongos from causing connection spikes on the individual shards that disrupt the operation and memory allocation of the sharded cluster. ### Configuration Scenarios **General best practices:** - Create client once only and reuse across application (in serverless, initialize outside handler) - Don't manually close connections unless shutting down - Max po
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit ae618ef
git clone https://github.com/fcakyon/claude-codex-settings git -C claude-codex-settings checkout ae618ef5da66
The author documents no install command, so this uses the repository directly. Our verdict covers commit ae618ef5da66 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
ae618ef5da66
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/fcakyon/mongodb-connection/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
fcakyon/claude-codex-settings
Battle-tested Claude Code, OpenAI Codex, Cursor configs, plugins, hooks and agents with Kimi, MiniMax and GLM API support.
fcakyon/claude-codex-settings
Battle-tested Claude Code, OpenAI Codex, Cursor configs, plugins, hooks and agents with Kimi, MiniMax and GLM API support.
fcakyon/claude-codex-settings
Battle-tested Claude Code, OpenAI Codex, Cursor configs, plugins, hooks and agents with Kimi, MiniMax and GLM API support.
fcakyon/claude-codex-settings
Battle-tested Claude Code, OpenAI Codex, Cursor configs, plugins, hooks and agents with Kimi, MiniMax and GLM API support.
fcakyon/claude-codex-settings
Battle-tested Claude Code, OpenAI Codex, Cursor configs, plugins, hooks and agents with Kimi, MiniMax and GLM API support.
fcakyon/claude-codex-settings
Battle-tested Claude Code, OpenAI Codex, Cursor configs, plugins, hooks and agents with Kimi, MiniMax and GLM API support.
Add this badge to your README
[](https://modelsatlas.com/skills/fcakyon/mongodb-connection/)
<a href="https://modelsatlas.com/skills/fcakyon/mongodb-connection/"><img src="https://modelsatlas.com/skills/fcakyon/mongodb-connection/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Mongodb Connection
What does the Mongodb Connection skill do?
Is Mongodb Connection safe to install?
What can Mongodb Connection access on my machine?
How current is this page?
Sources
- github.com/fcakyon/claude-codex-settings/tree/main/plugins/mongo — the audited source at commit ae618ef5da66 and every finding aboveObserved · 12 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Mongodb Connection skill do?
- Is Mongodb Connection safe to install?
- What can Mongodb Connection access on my machine?