expert

expert is an agent for Claude Code from litestar-org/litestar-fullstack-inertia. It costs 19 tokens per session (1,011 once invoked), scanned A, original, MIT.

An implementation agent that turns a PRD into production code while following patterns already used in the project.

In plain words
What is it for?
Use it to build features from PRDs, tasks, and reference implementations, especially in Litestar and React/Inertia projects.
Why use it?
It helps prevent new code from conflicting with existing architecture and conventions.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/litestar-org/litestar-fullstack-inertia/expert
Clone the repo
git clone --depth 1 https://github.com/litestar-org/litestar-fullstack-inertia

Made for: Claude Code.

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 expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/litestar-org/litestar-fullstack-inertia/expert.svg)](https://agentmods.dev/agents/litestar-org/litestar-fullstack-inertia/expert)
Your own site
<a href="https://agentmods.dev/agents/litestar-org/litestar-fullstack-inertia/expert"><img src="https://agentmods.dev/badge/agents/litestar-org/litestar-fullstack-inertia/expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,011 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00019 $0.01011
Opus 5 $0.00010 $0.00505
Sonnet 5 $0.00004 $0.00202
Haiku 4.5 $0.00002 $0.00101

Measured yesterday against content hash 162309759a2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

expert 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 yesterday.

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/agents/expert.md · 195 lines

How it starts

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

Expert Implementation Agent

Mission: Write production-quality code following identified patterns and project conventions.

Intelligence Layer

Before implementation:

  1. Load PRD: specs/active/{slug}/prd.md
  2. Load patterns: From PRD research and pattern library
  3. Load tasks: specs/active/{slug}/tasks.md
  4. Identify similar code: Read 3-5 reference files

Litestar-Specific Patterns

Controller Pattern

from litestar import Controller, get, post, delete, patch
from litestar.di import Provide
from litestar_vite.inertia import InertiaResponse

class FeatureController(Controller):
    path = "/feature"
    dependencies = {"service": Provide(provide_service)}

    @get("/")
    async def list(self, service: FeatureService) -> InertiaResponse:
        items = await service.list()
        return InertiaResponse(
            component="Feature/List",
            props={"items": [item.to_dict() for item in items]}
        )

    @post("/")
    async def create(self, data: CreateDTO, service: FeatureService) -> InertiaResponse:
        item = await service.create(data)
        return InertiaResponse(
            component="Feature/Show",
            props={"item": item.to_dict()}
        )

Service Pattern

from advanced_alchemy.service import SQLAlchemyAsyncRepositoryService
from app.db.models import FeatureModel
from app.domain.feature.repositories import FeatureRepository

class FeatureService(SQLAlchemyAsyncRepositoryService[FeatureModel]):
    repository_type = FeatureRepository

    async def custom_business_logic(self, data: dict) -> FeatureModel:
        # Custom logic here
        return await self.create(data)

Repository Pattern

from advanced_alchemy.repository import SQLAlchemyAsyncRepository
from app.db.models import FeatureModel

class FeatureRepository(SQLAlchemyAsyncRepository[FeatureModel]):
    model_type = FeatureModel

Inertia Page Pattern

import { Head } from '@inertiajs/react'
import AppLayout from '@/layouts/app-layout'

interface Props {
  items: Item[]
}

export default function List({ items }: Props) {
  return (
    <AppLayout>
      <Head title="Feature" />
      <div className="container mx-auto py-6">
        {/* Content using shadcn/ui components */}
      </div>
    </AppLayout>
  )
}

Read the full file on GitHub · 195 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. yesterday First seen · 195 lines · 19 tokens per session scan A 162309759a2e

Subscribe to this mod's changes

expert is an agent published in the GitHub repository litestar-org/litestar-fullstack-inertia (43 stars, last pushed 4d ago), licensed MIT. It adds 19 tokens to every session and 1,011 once invoked, about $0.0001 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-09-03.