django-fastapi-expert

django-fastapi-expert is an agent for Claude Code from travisjneuman/.claude. It costs 86 tokens per session (5,484 once invoked), scanned A, original, MIT.

A Python web-development specialist for Django and FastAPI. Django is a full web framework, while FastAPI is a framework for building Python APIs; the add-on also covers their data and validation tools.

In plain words
What is it for?
Use it to build Django applications and REST APIs, create FastAPI services, define database models, write queries, validate request data, and configure API permissions or throttling.
Why use it?
It helps solve framework-specific problems in models, database queries, API endpoints, validation, permissions, and asynchronous code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to build Django applications and REST APIs, create FastAPI services, define database models, write queries, validate request data, and configure API permissions or throttling.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/travisjneuman/.claude/django-fastapi-expert
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/travisjneuman/.claude

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 django-fastapi-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/travisjneuman/.claude/django-fastapi-expert/github.svg)](https://agentmods.dev/agents/travisjneuman/.claude/django-fastapi-expert)
Your own site
<a href="https://agentmods.dev/agents/travisjneuman/.claude/django-fastapi-expert"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/django-fastapi-expert/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 django-fastapi-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/travisjneuman/.claude/django-fastapi-expert"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/django-fastapi-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,484 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.00086 $0.05484
Opus 5 $0.00043 $0.02742
Sonnet 5 $0.00017 $0.01097
Haiku 4.5 $0.00009 $0.00548

Measured 10d ago against content hash 8c94b107f16d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

django-fastapi-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 10d 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.

agents/django-fastapi-expert.md · 741 lines

How it starts

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

Django & FastAPI Expert Agent

Expert Python web engineer specializing in Django ORM, Django REST Framework, FastAPI async patterns, Pydantic v2 validation, SQLAlchemy integration, and production-grade Python API design for both synchronous and asynchronous workloads.

Capabilities

Django Models & ORM

  • Model definition with field types, constraints, and indexes
  • Meta class configuration (ordering, indexes, constraints, unique_together)
  • Custom model managers and querysets
  • QuerySet API (filter, exclude, annotate, aggregate, select_related, prefetch_related)
  • F expressions and Q objects for complex queries
  • Database functions and expressions
  • Model signals (pre_save, post_save, pre_delete, post_delete)
  • Abstract base models and model inheritance
  • Custom model fields
  • Multi-database routing
  • Raw SQL when ORM is insufficient
  • Database transactions and atomic operations

Django REST Framework

  • ViewSets (ModelViewSet, ReadOnlyModelViewSet, custom viewsets)
  • Serializers (ModelSerializer, nested serializers, custom validation)
  • Permissions (IsAuthenticated, IsAdminUser, custom permissions)
  • Throttling (rate limiting per user, per anonymous, per scope)
  • Filtering (django-filter, SearchFilter, OrderingFilter)
  • Pagination (PageNumberPagination, CursorPagination, LimitOffsetPagination)
  • Router configuration and URL patterns
  • Custom actions (@action decorator)
  • Content negotiation and renderers
  • Versioning strategies
  • Authentication backends (Token, JWT, Session, OAuth2)
  • Exception handling and custom exceptions
  • Schema generation (OpenAPI, drf-spectacular)

Django Admin

  • ModelAdmin registration and configuration
  • list_display, list_filter, search_fields, ordering
  • Custom admin actions
  • Inline models (TabularInline, StackedInline)
  • Custom admin views and templates
  • Admin site customization (title, header, URL)
  • Read-only fields and fieldsets
  • Custom form widgets
  • Admin permissions and groups
  • Data export from admin

Read the full file on GitHub · 741 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. 10d ago First seen · 741 lines · 86 tokens per session scan A 8c94b107f16d

Subscribe to this mod's changes

django-fastapi-expert is an agent published in the GitHub repository travisjneuman/.claude (97 stars, last pushed 5d ago), licensed MIT. It adds 86 tokens to every session and 5,484 once invoked, about $0.0004 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

temporal-python-pro

Master Temporal workflow orchestration with Python SDK. Implements durable workflows, saga patterns, and distributed transactions. Covers async/await, testing strategies, and production deployment. Use PROACTIVELY for workflow design, microservice orchestration, or long-running processes.

wshobson/agents · 56 tokens

api-scaffolding-django-pro

Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.

wshobson/agents · 57 tokens

api-scaffolding-fastapi-pro

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

wshobson/agents · 61 tokens

fakoli-guido

Fakoli Crew polyglot architect for TypeScript, Python, Rust interfaces, type design, and API shape.

fakoli/fakoli-plugins · 30 tokens

flask-architect

Flask architecture specialist. Validates blueprint/service/repository layering, app factory pattern, Marshmallow/Pydantic schema discipline, and request-context handling. Dispatch when touching routes, services, or data models.

onlygian/G-Forge · 46 tokens

fastapi-architect

FastAPI architecture specialist. Validates router/service/repository layering, Pydantic schema discipline, dependency injection patterns, and async correctness. Dispatch when touching endpoints, services, or data models.

onlygian/G-Forge · 43 tokens