mongo-java-driver: Skill for Claude Code

.agents/skills/sync-agents-docs/SKILL.md

sync-agents-docs is a skill for Claude Code, Codex from mongodb/mongo-java-driver. It costs 43 tokens per session (378 once invoked), scanned A, original, Apache-2.0.

A checklist for updating project instructions and reference documents after build-system or development-convention changes. It covers files such as AGENTS.md, skills, and supporting guides.

In plain words
What is it for?
Use it after changing build plugins, formatting or testing rules, task names, CI/CD settings, or publishing workflows to identify which documentation needs review.
Why use it?
It prevents documentation from becoming inconsistent with the commands, formatting rules, testing practices, and plugins used by the project.

Skill for Claude CodeCodex ✓ vendor

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is mongodb/mongo-java-driver's own configuration. It tells Claude Code and Codex how to work on mongo-java-driver itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mongo-java-driver configures →

About the project

MongoDB Java Driver is a set of libraries that lets Java, Kotlin, and Scala applications connect to and work with MongoDB databases. JVM developers use the drivers to build database-backed applications in those languages. The catalogue instructions and skills support development involving these drivers.

mongodb/mongo-java-driver · 2,661 stars · on GitHub · mongodb.com

Reuse

Borrowing it

Nothing to install: this file belongs to mongodb/mongo-java-driver. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mongodb/mongo-java-driver/main/.agents/skills/sync-agents-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mongodb/mongo-java-driver

Made for: Claude Code, Codex.

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 sync-agents-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/mongodb/mongo-java-driver/sync-agents-docs/github.svg)](https://agentmods.dev/skills/mongodb/mongo-java-driver/sync-agents-docs)
Your own site
<a href="https://agentmods.dev/skills/mongodb/mongo-java-driver/sync-agents-docs"><img src="https://agentmods.dev/badge/skills/mongodb/mongo-java-driver/sync-agents-docs/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 sync-agents-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/mongodb/mongo-java-driver/sync-agents-docs"><img src="https://agentmods.dev/badge/skills/mongodb/mongo-java-driver/sync-agents-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 378 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 pass 7 Sept 2026
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.00043 $0.00378
Opus 5.5 $0.00017 $0.00151
Sonnet 5.5 $0.00009 $0.00076
Haiku 4.5 $0.00004 $0.00038

Measured 2mo ago against content hash 383a547cdfd0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sync-agents-docs 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 2mo ago.

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.

.agents/skills/sync-agents-docs/SKILL.md · 31 lines

What it actually says

Sync Documentation After Build Changes

This is a manual checklist — disable-model-invocation: true means agents cannot execute it autonomously. Human developers should walk through this after buildSrc changes.

After modifying buildSrc or build conventions, check whether AGENTS.md files, skills, and references need updating. Review your changes against the checklist below and update only the affected files.

Checklist

What changed What to update
Formatting conventions (spotless.gradle.kts) Root AGENTS.md Style section, style-reference reference, affected module AGENTS.md files
Convention plugins added or removed buildSrc/AGENTS.md plugin table, root AGENTS.md if build commands or workflow changed
Testing conventions (testing-*.gradle.kts) Root AGENTS.md Testing section, testing-guide reference, affected module AGENTS.md files
Project plugins added or removed buildSrc/AGENTS.md project plugin table
Build commands or task names changed Root AGENTS.md Build and Before Submitting sections, evergreen skill, module AGENTS.md files
CI/CD or publishing changes evergreen skill

How to use

  1. Review the diff of your buildSrc changes
  2. Walk through the checklist above — only rows matching your changes need action
  3. Update the affected files, keeping changes minimal and accurate
  4. Verify no stale references remain (e.g., renamed tasks, removed plugins)
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. 2mo ago First seen · 31 lines · 43 tokens per session scan A 383a547cdfd0

Subscribe to this mod's changes

sync-agents-docs is a skill published in the GitHub repository mongodb/mongo-java-driver (2,661 stars, last pushed today), licensed Apache-2.0. It adds 43 tokens to every session and 378 once invoked, about $0.0002 per session on Opus 5.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-08-30.

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