litestar-reviewer

litestar-reviewer is an agent for Claude Code from litestar-org/litestar-skills. It costs 48 tokens per session (2,117 once invoked), scanned A, original, MIT.

An automated code reviewer for Litestar projects, checking code against the project’s chosen Litestar ecosystem patterns.

In plain words
What is it for?
Use it to review Litestar changes involving DTOs, authorization guards, dependency injection, data services, pagination, configuration, asynchronous code, plugins, and API output formats.
Why use it?
It catches framework-specific problems while accounting for different valid choices for databases, dependency injection, settings, serialization, and background work.

Agent for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Part of the litestar plugin — 31 skills, 1 agent, 1 hook shipped together

Good fit Use it to review Litestar changes involving DTOs, authorization guards, dependency injection, data services, pagination, configuration, asynchronous code, plugins, and API output formats.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/litestar-org/litestar-skills/litestar-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/litestar-org/litestar-skills

Made for: Claude Code.

Or install litestar, the plugin that ships this one along with the rest of its 31 skills, 1 agent, 1 hook.

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 litestar-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/litestar-org/litestar-skills/litestar-reviewer/github.svg)](https://agentmods.dev/agents/litestar-org/litestar-skills/litestar-reviewer)
Your own site
<a href="https://agentmods.dev/agents/litestar-org/litestar-skills/litestar-reviewer"><img src="https://agentmods.dev/badge/agents/litestar-org/litestar-skills/litestar-reviewer/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 litestar-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/litestar-org/litestar-skills/litestar-reviewer"><img src="https://agentmods.dev/badge/agents/litestar-org/litestar-skills/litestar-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,117 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.
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.00048 $0.02117
Opus 5 $0.00024 $0.01059
Sonnet 5 $0.00010 $0.00423
Haiku 4.5 $0.00005 $0.00212

Measured 12d ago against content hash 73d538df8ebc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

litestar-reviewer 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 12d 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.

.claude-plugin/agents/litestar-reviewer.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Litestar Code Reviewer

You are an automated code reviewer for Litestar projects. Your job is to verify code against the canonical patterns documented in the litestar-skills collection, adapting to the stack each project has chosen.

What you check

For every file in the review scope, evaluate against the 12 criteria below (from skills/litestar/SKILL.md guardrails). The Litestar ecosystem supports several valid paths for most concerns (data access, DI, settings, serialization, background work); criteria are therefore conditional on the project's stack.

Stack detection first

Before flagging any violation, detect the project's stack:

  1. grep -REn "^from (advanced_alchemy|sqlspec|sqlalchemy)\b" src/ app/ 2>/dev/null | head — determine data-access layer (advanced-alchemy / sqlspec / raw-SQLAlchemy).
  2. grep -REn "^from dishka\b|FromDishka\[" src/ app/ 2>/dev/null | head — determine DI (Dishka Inject[T] vs built-in Provide()).
  3. grep -REn "^from pydantic_settings\b|BaseSettings\b|^from dataclasses\b" src/ app/ 2>/dev/null | head — determine settings pattern (@dataclass + get_env() vs pydantic_settings.BaseSettings).
  4. grep -REn "^from msgspec\b|msgspec\.Struct|^from pydantic\b|BaseModel" src/ app/ 2>/dev/null | head — determine serialization (msgspec vs Pydantic).
  5. Read pyproject.toml dependencies to corroborate the imports.

Apply each criterion against THAT stack only. A sqlspec project that uses SQLSpecAsyncService should not be flagged for "not using SQLAlchemyAsyncRepositoryService" — that is the exact anti-pattern we reject. Flag cross-stack imports (e.g., an advanced_alchemy import inside an otherwise sqlspec-only repo) and mixed settings / serialization patterns (half-dataclass, half-BaseSettings).

Criteria

  1. DTOsmsgspec.Struct with the class option rename="camel" (canonical on msgspec stacks) OR pydantic.BaseModel with alias_generator=to_camel + ConfigDict(populate_by_name=True) (canonical on Pydantic stacks). Flag mixed stacks (both msgspec.Struct and BaseModel in the same request path). Do not flag Pydantic usage when Pydantic is already in-stack.

Read the full file on GitHub · 138 lines

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. 12d ago First seen · 138 lines · 48 tokens per session scan A 73d538df8ebc

Subscribe to this mod's changes

litestar-reviewer is an agent published in the GitHub repository litestar-org/litestar-skills (14 stars, last pushed 22d ago), licensed MIT. It adds 48 tokens to every session and 2,117 once invoked, about $0.0002 per session on Opus 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 agents, from other repositories

oban-specialist

Oban worker specialist - reviews idempotency, error handling, and production safety. Use proactively when implementing or reviewing background jobs.

oliver-kriska/claude-elixir-phoenix · 30 tokens

integrations-engineer

Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…

avelikiy/great_cto · 106 tokens

api-platform-reviewer

API platform / dev-API pre-implementation reviewer. Outputs threat model TM-{slug}.md.

avelikiy/great_cto · 25 tokens

enterprise-saas-reviewer

B2B / enterprise-SaaS pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off tenant-isolation decisions before senior-dev claims tasks.

avelikiy/great_cto · 40 tokens

migration-import-engineer

Data-migration and onboarding-import specialist for SMB Product-Builder archetypes. Owns the import contract — incumbent export (CSV/XLSX/JSON/API) → our schema with field mapping, type coercion, dedup, a validation report, dry-run + rollback, and idempotent re-import. Source playbooks for ServiceTitan, Toast…

avelikiy/great_cto · 109 tokens

genpage-customapi-builder

Owns ALL GenPage Dataverse Custom API (plug-in) work: it is the single owner of the custom-api feature-flag gate, discovers the Custom APIs a page can bind to (Global and entity-bound Actions/Functions) plus their declared request-parameter kinds, and produces the ## Custom API Bindings contract. Invoked by the…

microsoft/power-platform-skills · 102 tokens