Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/litestar-org/litestar-skillsnpx agentmods add skills/litestar-org/litestar-skills/litestar-docsWrote 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/skills/litestar-org/litestar-skills/litestar-docs)<a href="https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-docs"><img src="https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-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.
<a href="https://agentmods.dev/skills/litestar-org/litestar-skills/litestar-docs"><img src="https://agentmods.dev/badge/skills/litestar-org/litestar-skills/litestar-docs.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.00054 | $0.03223 |
| Opus 5.5 | $0.00022 | $0.01289 |
| Sonnet 5.5 | $0.00011 | $0.00645 |
| Haiku 4.5 | $0.00005 | $0.00322 |
Grade A, and why
litestar-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 today.
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 — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
litestar-docs
Dual-engine documentation architecture for litestar-org and ecosystem repositories, supporting both Sphinx (docs/conf.py + shibuya / litestar-sphinx-theme + autodoc / napoleon) and Zensical (zensical.toml + mkdocstrings-python / Griffe static AST). Match the repository's chosen documentation engine and apply shared quality invariants across both.
Documentation Engine Matrix
| Aspect | Sphinx (docs/conf.py) |
Zensical (zensical.toml) |
|---|---|---|
| Primary Config | docs/conf.py |
zensical.toml |
| Markup Formats | .rst (reStructuredText) + .md (myst-parser) |
.md (Python Markdown + pymdown-extensions) |
| Theme & Styling | shibuya or litestar-sphinx-theme (docs/_static/custom.css) |
variant = "modern" (docs/stylesheets/extra.css) |
| Python API Extraction | sphinx.ext.autodoc + sphinx.ext.napoleon |
mkdocstrings-python (Griffe static AST, optional griffe-fieldz) |
| Cross-Repo Linking | sphinx.ext.intersphinx (objects.inv) |
mkdocstrings (enable_inventory = true, objects.inv) |
| UI Components & Tabs | sphinx-design (.. grid::, .. tab-set::), auto-pytabs |
pymdownx.tabbed (content.tabs.link), pymdownx.details |
| Code Inclusion | .. literalinclude:: |
pymdownx.snippets (--8<--, check_paths = true) |
| CLI & Config Tables | sphinx-click (.. click::) |
tools/docs/generate_cli_docs.py + AST-only generate_config_tables.py |
| Diagrams | sphinxcontrib-mermaid (.. mermaid::) |
pymdownx.superfences (```mermaid) |
Code Style Rules
- Match the repository's existing documentation engine. Reason: Inspect
docs/conf.pyvszensical.tomlbefore making edits. - Enforce a
68–75ch(46rem) reading column with persistent left and right sidebars. Reason: Uncapped prose columns and hidden right-hand"On this page"outlines hurt scannability. - Cap guide pages at
<= 12viewports (~80–200lines) and Reference pages at<= 120 KBHTML (<= 14TOC items). Reason: Monolithic module dumps bury primary constructors. - Disable inherited members on leaf classes and show base classes (
show_bases = true/:show-inheritance:). Reason: Base driver or repository methods belong once on the base class Reference page. - Document every public
TypedDictandmsgspec.Structfield with a PEP 257 inline docstring immediately below the field. Reason: Sphinx renders zero fields without inline docstrings, and Griffe /griffe-fieldzrequire them for parameter tables. - Never write docstrings on
@overloadstubs or leak internal compiler notes (mypyc,PyCapsule) into public docstrings. Reason: Both engines render overload docstrings ahead of the implementation docstring. - Execute standalone
docs/examples/**/*.pymodules inpytest. Reason: Standalone modules checked byruff,pyright, andpytestprevent snippet drift. - Use
body:not([data-md-color-scheme="slate"])/[data-md-color-scheme]CSS selectors (not<picture><source media="(prefers-color-scheme: dark)">and not:root:not(...)) for light/dark hero banners on Zensical pages. Reason: Zensical setsdata-md-color-schemeon<body>when toggling its theme switcher;:rootand OS media queries do not track the toggle. - Keep headings unnumbered and free of inline
`code`pills, reserve bordered code pills for clickable links (a > code), keep tab labels short (white-space: nowrap), and never write\|inside backticked code in Markdown tables. Reason: Python-Markdown splits table cells on|before backticks are parsed, and code spans in headings wrap awkwardly in the right-hand TOC.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today Changed · -40 lines 8c719d71a182
- 13d ago Changed c775f5b93ccc
- 23d ago Changed 6856191d074e
- 1mo ago First seen · 201 lines · 54 tokens per session scan A a655884939ed
litestar-docs is a skill published in the GitHub repository litestar-org/litestar-skills (19 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 3,223 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-11-04.
litestar-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| litestar-docslitestar-org/litestar-skills | Skill | 19 | today | MIT | A | 54 | Claude Code |
| python-backend-expertmathisk2095/jko-claude-plugins | Skill | 3 | 1mo ago | MIT | A | 183 | Claude Code |
| python-programmerPyroxin/opinionated-claude-skills | Skill | 11 | 8d ago | EPL-2.0 | A | 61 | Claude Code |
| milp-modeling-gurobihajibabaie/combinatorial-optimization-skills | Skill | 23 | 5mo ago | MIT | A | 141 | Claude Code |
| numpy-vectorization-for-optimizationhajibabaie/combinatorial-optimization-skills | Skill | 23 | 5mo ago | MIT | B | 125 | Claude Code |
| yoinktheogbrand/yoink | Skill | 38 | 8mo ago | MIT | A | 10 | Claude Code |
| qector-architectureGuillaumeLessard/qector-claude-plugin | Skill | 1 | 7d ago | none | A | 80 | Claude Code |