django

django is a skill for Claude Code from arbazkhan971/godmode. It costs 35 tokens per session (2,597 once invoked), scanned A, original, MIT.

A guide to building Python web applications with Django, FastAPI, or both. It covers Django’s admin area and database tools, Django REST Framework for APIs, Pydantic data models, and asynchronous Python web serving.

In plain words
What is it for?
Use it to create or review Django projects, REST APIs, views, serializers, viewsets, admin customizations, async services, and deployments using servers such as Gunicorn, Uvicorn, or Daphne.
Why use it?
It helps structure Python web projects and make decisions about APIs, databases, authentication, asynchronous work, and deployment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the godmode plugin — 132 skills, 1 command, 7 agents, 3 MCP servers shipped together

Good fit Use it to create or review Django projects, REST APIs, views, serializers…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arbazkhan971/godmode/django
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.

Any agent
npx skills add arbazkhan971/godmode --skill django
Clone the repo
git clone --depth 1 https://github.com/arbazkhan971/godmode

Made for: Claude Code.

Or install godmode, the plugin that ships this one along with the rest of its 132 skills, 1 command, 7 agents, 3 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/arbazkhan971/godmode/django.svg)](https://agentmods.dev/skills/arbazkhan971/godmode/django)
Your own site
<a href="https://agentmods.dev/skills/arbazkhan971/godmode/django"><img src="https://agentmods.dev/badge/skills/arbazkhan971/godmode/django.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,597 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.00035 $0.02597
Opus 5 $0.00017 $0.01299
Sonnet 5 $0.00007 $0.00519
Haiku 4.5 $0.00003 $0.00260

Measured 7d ago against content hash 1888afd829ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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

skills/django/SKILL.md · 300 lines

How it starts

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

Django — Django & FastAPI Development

Activate When

  • User invokes /godmode:django
  • User says "Django", "Django project", "Django app"
  • User mentions "FastAPI", "Pydantic", "dependency injection"
  • User asks about "DRF", "Django REST Framework", "serializers", "viewsets"
  • User mentions "Django admin", "admin customization"
  • User asks about "ASGI", "async Django", "Uvicorn", "Daphne"
  • User says "django view", "views.py", "Django view for"
  • When /godmode:plan identifies a Python web project
  • When /godmode:review flags Django or FastAPI architecture issues

Workflow

Step 1: Project Assessment

Understand the Python web application context:

PYTHON WEB PROJECT ASSESSMENT:
Project: <name and purpose>
Framework: <Django | FastAPI | both (Django + FastAPI hybrid)>
Type: <monolith | microservice | API-only | full-stack with templates>
Scale: <expected RPS, team size, data volume>
Database: <PostgreSQL, MySQL, SQLite, MongoDB>
Auth: <Django auth, OAuth2, JWT, API keys>
Async needs: <WebSocket, background tasks, streaming, long-polling>
Deployment: <Gunicorn+Nginx, Docker, serverless, PaaS>
Existing code: <greenfield | existing Django project | migration>

If the user hasn't specified, ask: "Are you building with Django, FastAPI, or both? Is this an API-only service or full-stack with templates?"

Step 2: Django Project Structure

Design the Django project layout following best practices:

DJANGO PROJECT STRUCTURE:

project/
├── manage.py
├── pyproject.toml              # Dependencies, tools config (ruff, mypy)
├── config/                     # Project-level configuration
│   ├── __init__.py
│   ├── settings/
│   │   ├── __init__.py
│   │   ├── base.py             # Shared settings
│   │   ├── development.py      # Dev overrides (DEBUG=True, etc.)
│   │   ├── production.py       # Production settings (security, caching)
│   │   └── test.py             # Test settings (fast password hasher, in-memory)
│   ├── urls.py                 # Root URL configuration
│   ├── wsgi.py                 # WSGI entry point

Read the full file on GitHub · 300 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. 7d ago First seen · 300 lines · 35 tokens per session scan A 1888afd829ef

Subscribe to this mod's changes

django is a skill published in the GitHub repository arbazkhan971/godmode (26 stars, last pushed 9d ago), licensed MIT. It adds 35 tokens to every session and 2,597 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 skills, from other repositories