Agent skill · Audited from source
Mongodb Schema Design
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: MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues caused by schema problems. Triggers on "design schema",…
Cite
Cite this page
ModelsAtlas. “Mongodb Schema Design (fcakyon/claude-codex-settings)”. Retrieved 12 Oct 2026. https://modelsatlas.com/skills/fcakyon/mongodb-schema-design
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-schema-designThe 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: MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues caused by schema problems. Triggers on "design schema",…
--- name: mongodb-schema-design description: MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues caused by schema problems. Triggers on "design schema", "embed vs reference", "MongoDB data model", "schema review", "unbounded arrays", "one-to-many", "tree structure", "16MB limit", "schema validation", "JSON Schema", "time series", "schema migration", "polymorphic", "TTL", "data lifecycle", "archive", "index explosion", "unnecessary indexes", "approximation pattern", "document versioning". license: Apache-2.0 metadata: version: "1.0.0" --- # MongoDB Schema Design Data modeling patterns and anti-patterns for MongoDB, maintained by MongoDB. Bad schema is the root cause of most MongoDB performance and cost issues—queries and indexes cannot fix a fundamentally wrong model. ## When to Apply Reference these guidelines when: - Designing a new MongoDB schema from scratch - Migrating from SQL/relational databases to MongoDB - Reviewing existing data models for performance issues - Troubleshooting slow queries or growing document sizes - Deciding between embedding and referencing - Modeling relationships (one-to-one, one-to-many, many-to-many) - Implementing tree/hierarchical structures - Seeing Atlas Schema Suggestions or Performance Advisor warnings - Hitting the 16MB document limit - Adding schema validation to existing collections ## Quick Reference ### 1. Schema Anti-Patterns - 3 rules - [antipattern-unnecessary-collections](references/antipattern-unnecessary-collections.md) - Splitting homogeneous data into multiple collections is often an anti-pattern; consult this reference to validate whether this is the case. - [antipattern-excessive-lookups](references/antipattern-excessive-lookups.md) - When encountering overly normalized collections that reference each other or frequent and possibly slow $lookup operations, consult this reference to validate whether this is problematic and how to fix it. - [antipattern-unnecessary-indexes](references/antipattern-unnecessary-indexes.md) - Consult this reference when indexes overlap or are not used by queries, to identify and remove unnecessary indexes that add overhead without benefit. ### 2. Schema Fundamentals - 4 rules - [fundamental-embed-vs-reference](references/fundamental-embed-vs-reference.md) - Consult this reference for approaches to modeling different types of relationships (1:1, 1:few, 1:many, many:many, tree/hierarchical data) and how to decide between embedding and referencing based on access patterns. - [fundamental-document-model](references/fundamental-document-model.md) - Fundamentals of the document model. Consult this reference when migrating from SQL or other normalized data to a document database like MongoDB. - [fundamental-schema-validation](references/fundamental-schema-validation.md) - Consult this reference when creating new collections, or adding validation to existing collections, for example in response to finding inconsistent document structures or data quality issues. - [fundamental-document-size](references/fundamental-document-size.md) - Consult this reference when documents hit the hard 16MB limit, or when accesses are slower than expected as a result of large documents. ### 3. Design Patterns - 11 rules - [pattern-approximation](references/pattern-approximation.md) - Use approximate values for high-frequency counters - [pattern-archive](references/pattern-archive.md) - Move historical data to separate/cold storage for performance - [pattern-attribute](references/pattern-attribute.md) - Collapse many optional fields into key-value attributes - [pattern-bucket](references/pattern-bucket.md) - Group time-series or IoT data into buckets - [pattern-computed](references/pattern-computed.md) - Pre-calculate expensive aggregations - [pattern-document-versioning](references/pattern-document-versioning.md) - Track document changes to enable historical queries and audit trails - [pattern-extended-reference](references/pattern-extended-reference.md) - Cache frequently-accessed data from related entities - [pattern-outlier](references/pattern-outlier.md) - Handle collections in which a small subset of documents are much larger than the rest, to prevent outliers from dominating memory and index costs - [pattern-polymorphic](references/pattern-polymorphic.md) - Store different types of entities in the same collection, often when they are different types of the same base entity (e.g. different types of users or different types of products) - [pattern-schema-versioning](references/pattern-schema-versioning.md) - Schema evolution, preventing drift, and safe online migrations. Consult when encountering inconsistent document structures, or when planning a schema change that cannot be applied atomically. - [pattern-time-series-collections](references/pattern-time-series-collections.md) - Use native time series collections for high-frequency time series data ### Access Pattern Analysis Do not immediately recommend a pattern or schema change without understanding the broader context. Together with the user, analyze access patterns to identify pain points and opportunities for optimization. #### Workflow **Step 1: Assess the environment** Ask the user: - Is this a new design or is there a production database with existing access patterns to analyze? - If there is production data, is it on Atlas? If yes, what tier? (M0/M2/M5 vs M10+) **Step 2: Determine workload type** Is the workload read-heavy, write-heavy, or balanced? This will influence which diagnostic sources are most relevant. Ask the user: - What's the primary workload for these collections — read-heavy (analytics, reports, searches), write-heavy (logging, IoT ingestion, frequent updates), or balanced? Verify with `db.serverStatus().opcounters`. **Step 3: Work with the user to choose the best source(s)** Recommend the best source(s) for their situation,
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 which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
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-schema-design/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All design & front-end 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-schema-design/)
<a href="https://modelsatlas.com/skills/fcakyon/mongodb-schema-design/"><img src="https://modelsatlas.com/skills/fcakyon/mongodb-schema-design/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Mongodb Schema Design
What does the Mongodb Schema Design skill do?
Is Mongodb Schema Design safe to install?
What can Mongodb Schema Design access on my machine?
Which assistants does Mongodb Schema Design work with?
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 Schema Design skill do?
- Is Mongodb Schema Design safe to install?
- What can Mongodb Schema Design access on my machine?