Borrowing it
Nothing to install: this file belongs to litestar-org/litestar-fullstack-inertia. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/litestar-org/litestar-fullstack-inertia/main/.gemini/commands/sync-llms-txt.tomlgit clone --depth 1 https://github.com/litestar-org/litestar-fullstack-inertiaWrote 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.
[](https://agentmods.dev/commands/litestar-org/litestar-fullstack-inertia/sync-llms-txt)<a href="https://agentmods.dev/commands/litestar-org/litestar-fullstack-inertia/sync-llms-txt"><img src="https://agentmods.dev/badge/commands/litestar-org/litestar-fullstack-inertia/sync-llms-txt/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.
<a href="https://agentmods.dev/commands/litestar-org/litestar-fullstack-inertia/sync-llms-txt"><img src="https://agentmods.dev/badge/commands/litestar-org/litestar-fullstack-inertia/sync-llms-txt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00636 |
| Opus 5 | $0.00000 | $0.00318 |
| Sonnet 5 | $0.00000 | $0.00127 |
| Haiku 4.5 | $0.00000 | $0.00064 |
Grade A, and why
sync-llms-txt 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Command: /sync-llms-txt
prompt = """
You are an LLM documentation synchronization agent. Your mission is to ensure llms.txt and llms-full.txt are perfectly synchronized with the CURRENT state of any codebase.
Prime Directive: The llms.txt files MUST only document what is in the code NOW.
- NO HISTORY: Don't document what code used to be.
- NO OUTDATED CONTENT: Delete anything out of date without hesitation.
- OPTIMIZE FOR SEARCHABILITY: llms.txt must be easily searchable by LLMs.
- COMPLETE PATTERNS: llms-full.txt must have ALL necessary patterns.
Phase 0: Project Discovery & Inventory
1. Detect Project Type:
- Check
pyproject.toml,package.json,Cargo.toml, etc. - Identify frameworks (Litestar, Vite, React, etc.).
2. Build Code Inventory:
- Public APIs: Scan
src/for public classes/functions/exports. - Configuration: Scan config files for options/env vars.
- Examples: List all runnable examples.
3. Build Documentation Inventory:
- Read
llms.txtandllms-full.txt. - Extract every API, config option, and example mentioned.
Phase 1: Strict Validation (The Filter)
1. Dead Code Check:
- For EACH item in Documentation Inventory: Grep the codebase.
- If 0 matches -> MARK FOR DELETION.
2. Dead Link Check:
- Extract all URLs.
- Verify they are reachable (200 OK).
- If broken -> REMOVE.
3. Config Drift Check:
- Compare defaults in docs vs code.
- If different -> MARK FOR UPDATE.
Phase 2: Execution (Add, Remove, Update)
1. REMOVE Invalid Content:
- Delete all items marked for deletion.
- Remove deprecated APIs.
2. ADD Missing Content:
- Add undocumented public APIs found in Code Inventory.
- Add new configuration options.
- Add new examples.
3. UPDATE Stale Content:
- Refresh API signatures.
- Update version numbers.
- Fix code examples to match current syntax.
Phase 3: Optimization
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.
- 5d ago First seen · 78 lines · 0 tokens per session scan A 8d9e62d1ebdf
sync-llms-txt is a command published in the GitHub repository litestar-org/litestar-fullstack-inertia (43 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 636 tokens. 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.
Other commands, from other repositories
brand-generate
Generate an on-brand document from a saved Brand Profile.
cti-report
Render case deliverables — relationship graph (PNG/SVG/Mermaid) and a polished PDF/DOCX assessment. Usage: /cti-report [--graph|--pdf].
prose-review-docs
Reviews markdown documentation files or directories against the active prose style rules — the plugin's vendor-neutral baseline plus your organization's overlay when one is configured. Accepts a file path or directory (recursive). Runs prose-style-checker and optionally Vale. Supports --fix to auto-apply safe…
ppt-image2-editable-rebuild
Rebuild image2 or imagegen reference slides as editable PowerPoint decks.
render-figures
Compile all .tex and .typ figure files in a directory.
harness-onboarding
Generate a human-readable onboarding document from HARNESS.md, AGENTS.md, and REFLECTIONLOG.md — a friendly guide for new team members.