django

django is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 22 tokens per session (441 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 441 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.00022 $0.00441
Opus 5 $0.00011 $0.00220
Sonnet 5 $0.00004 $0.00088
Haiku 4.5 $0.00002 $0.00044

Measured 4d ago against content hash c716824dedbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 4d 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 · 61 lines

What it actually says

Django

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Django 5.0 (2025) introduces database-computed default values and expanded async support.

When to Use

  • Perfectionists with deadlines: The "batteries-included" philosophy means Auth, Admin, and ORM are ready day one.
  • Data-Driven Apps: The Django Admin is still the best auto-generated admin interface in the industry.
  • Enterprise: Security features (CSRF, SQL Injection protection) are best-in-class.

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

MTV Architecture

Model (Data), Template (Presentation), View (Business Logic).

The ORM

Powerful abstraction over SQL. Post.objects.filter(pub_date__year=2025).

Async Django

Django 5 supports async views, ORM calls (aget_object_or_404), and Auth methods (alogin).

Best Practices (2025)

Do:

  • Use GeneratedField: Let the database handle computed columns instead of Python properties for better performance.
  • Use Async Views: For I/O bound tasks (calling external APIs), use async def view(request):.
  • Use django-ninja: For building APIs, it's faster and cleaner than DRF (Django Rest Framework) and uses Pydantic.

Don't:

  • Don't put logic in templates: Keep templates dumb. Put logic in Models or Services.

References

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. 4d 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 (12 stars, last pushed 6mo ago), licensed MIT. It adds 22 tokens to every session and 441 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.

Related

Other skills, from other repositories

async-python-patterns

Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.

sickn33/agentic-awesome-skills · 34 tokens

telnyx-numbers-python

Search, order, and manage phone numbers by location, features, and coverage.

team-telnyx/ai · 23 tokens

telnyx-ai-outbound-voice-python

End-to-end setup for making a Telnyx AI assistant call a phone number. Covers provisioning a phone number, creating a TeXML application, assigning the number, configuring telephony settings, whitelisting destination countries, and triggering outbound calls via scheduled events. Use this skill (not…

team-telnyx/ai · 97 tokens

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.

rmyndharis/antigravity-skills · 52 tokens

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.

rmyndharis/antigravity-skills · 57 tokens

fastapi-templates

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

rmyndharis/antigravity-skills · 37 tokens