root-llms-update
Skill by mongodb
Checks the MongoDB root llms.txt for drift against published docs and updates it. Built for MongoDB maintainers who add, re-split or remove docsets.
Install root-llms-update
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mongodb/docs /tmp/docs && mkdir -p ~/.claude/skills && cp -r /tmp/docs/.opencode/skills/root-llms-update ~/.claude/skills/root-llms-updateRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mongodb/docs /tmp/docs && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/docs/.opencode/skills/root-llms-update ~/.gemini/antigravity-cli/skills/root-llms-updateAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill checks whether the root llms.txt file is behind what MongoDB publishes, then updates it. The root file is the first file AI agents read to find every other llms.txt MongoDB publishes. It is served at mongodb.com/docs/llms.txt and is hand-maintained, so it does not republish itself like the per-project files.
The skill runs a read-only check that generates every project, asks the docs site which files it serves, and compares that with the links in the root file. It then guides the edit: adding new links, relabelling re-split parts, removing dead links, and verifying that no unrelated changes were made. It ends by opening a pull request. The skill is for MongoDB maintainers working in the docs tooling repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Find driftRuns pnpm check-root-llms to report unlinked, dead, mislabelled and removed landing page links.
- Add new linksAdds links for newly published projects or parts in the matching Browse by area subsection.
- Relabel re-split partsRewrites Part N of M labels for a project and checks each part's actual sections.
- Remove dead linksDeletes links to projects whose files are gone and now return 404.
- Verify the editRe-runs the check and uses git diff to confirm only the expected files changed.
- Open a PRSummarises the additions, removals and relabels in a pull request description.
What you need
- pnpm to run the generate-llms commands
- Access to the MongoDB platform repository
- MONGODB_URI, only for refreshing the prefix-map snapshot
Try asking
- Check whether the root llms.txt needs updating after the new docset shipped
- Re-run the root llms.txt drift check and fix any reported links
- Relabel the Part N of M entries for the re-split project in the root llms.txt
Good to know
- Internal skill for MongoDB maintainers
- Does not change per-project llms.txt files, which are generated
- Does not add entries to the editorial Start here by task section
- The root file publishes only after the PR is merged
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .opencode/skills/root-llms-update/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to root-llms-update
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
root-llms-update: common questions
Does the drift check change any files?
No. The check is read-only and needs no credentials. It generates every project and then compares the results with the root file.
When does the updated root llms.txt go live?
It publishes on merge, when the landing site's next prd or preprd deploy uploads it to docs/llms.txt. An unmerged branch publishes nothing.
Why are some unlinked landing pages ignored?
The landing section of the root file is a curated subset, so an unlinked landing page is usually deliberate. The skill does not add these unless the writer asks.
How do I install root-llms-update?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is root-llms-update free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is root-llms-update safe to use?
It scores 70 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to root-llms-update?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
