django

django is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 37 tokens per session (1,214 once invoked), scanned A, original, MIT.

A full Python web framework with built-in tools for database models, user accounts, templates, and an administration site. Its model-view-template structure separates data, page display, and application logic.

In plain words
What is it for?
Use it for data-driven Python websites and applications that need authentication, an admin interface, database access, and server-rendered pages.
Why use it?
It supplies many common web-app pieces from the start, reducing the amount of infrastructure you must assemble yourself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for data-driven Python websites and applications that need authentication, an admin interface, database access, and server-rendered pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/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 G1Joshi/Agent-Skills --skill django
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

Made for: Claude Code, Codex.

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/g1joshi/agent-skills/django/github.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/django)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/django"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/django/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/django"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/django.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,214 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.00037 $0.01214
Opus 5.5 $0.00015 $0.00486
Sonnet 5.5 $0.00007 $0.00243
Haiku 4.5 $0.00004 $0.00121

Measured 20d ago against content hash e1a6dd50682e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 20d 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/frameworks/django/SKILL.md · 151 lines

How it starts

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

Django

Django is a high-level Python web framework encouraging rapid development, pragmatic clean design, built-in ORM security, robust migrations, and asynchronous view support.

When to Use

  • Full-Featured Python Web Applications: Batteries-included web development with built-in ORM, admin panel, auth, and migrations.
  • Content Management & Enterprise Backends: Developing robust database-backed backends with automatic admin dashboards.
  • High-Throughput REST APIs: Building secure APIs using Django REST Framework (DRF) or Django Ninja.
  • Async Python Web Services: Utilizing ASGI, async views, and background tasks on Django 5.x.

Quick Start

# models.py
from django.db import models

class Post(models.Model):
    title = models.CharField(max_length=200)
    # New in 5.0: Database generated field
    slug = models.GeneratedField(
        expression=models.functions.Concat(models.F("title"), models.Value("-slug")),
        output_field=models.CharField(max_length=205),
        db_persist=True,
    )

Core Concepts

Django ORM Models & Migrations

Relational schema definition with indexing and query optimizations:

from django.db import models
from django.utils import timezone

class Customer(models.Model):
    email = models.EmailField(unique=True, db_index=True)
    full_name = models.CharField(max_length=255)
    created_at = models.DateTimeField(default=timezone.now)

    class Meta:
        ordering = ['-created_at']

    def __str__(self):
        return f"{self.full_name} ({self.email})"

class Order(models.Model):
    customer = models.ForeignKey(Customer, on_delete=models.CASCADE, related_name='orders')
    total_amount = models.DecimalField(max_digits=10, decimal_places=2)
    is_fulfilled = models.BooleanField(default=False)
    placed_at = models.DateTimeField(auto_now_add=True)

    class Meta:
        indexes = [
            models.Index(fields=['customer', 'is_fulfilled']),
        ]

High-Performance Querying with select_related & prefetch_related

Read the full file on GitHub · 151 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. 20d ago Changed · +5 lines e1a6dd50682e
  2. 24d ago Changed · +85 lines · +15 tokens per session 01326e996602
  3. 1mo ago First seen · 61 lines · 22 tokens per session scan A c716824dedbc

Subscribe to this mod's changes

django is a skill published in the GitHub repository G1Joshi/Agent-Skills (15 stars, last pushed 21d ago), licensed MIT. It adds 37 tokens to every session and 1,214 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

python-programming-expert

Expert-level skill for Python programming (Python 3.13/3.14+). Covers type safety, generic syntax (PEP 695), async/await TaskGroups, FastAPI 0.115+, Pydantic v2, uv package manager, Ruff, and pytest in English and Indonesian.

roedyrustam/vibes-plug · 68 tokens

fastapi-async-microservices

Design and develop production-grade asynchronous microservices using FastAPI, Python 3.12+, Pydantic v2 Settings and Schemas, SQLAlchemy 2.0 async sessions, dependency injection, lifespan state management, structured JSON logging, and connection pooling. Trigger when building async Python APIs, microservices, or…

hamzabellouch/agent-skills · 77 tokens

azure-mgmt-apicenter-py

Azure API Center Management SDK for Python. Use for managing API inventory, metadata, and governance across your organization.

tmolavi/mcp-agent-skills-hub · 31 tokens

python-fastapi-development

Python FastAPI backend development with async patterns, SQLAlchemy, Pydantic, authentication, and production API patterns.

tmolavi/mcp-agent-skills-hub · 28 tokens

dbos-python

Guide for building reliable, fault-tolerant Python applications with DBOS durable workflows. Use when adding DBOS to existing Python code, creating workflows and steps, or using queues for concurrency control.

tmolavi/mcp-agent-skills-hub · 43 tokens

fastapi-router-py

Create FastAPI routers following established patterns with proper authentication, response models, and HTTP status codes.

tmolavi/mcp-agent-skills-hub · 25 tokens