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.
npx skills add alivirgo/Major-AI-Skills --skill djangogit clone --depth 1 https://github.com/alivirgo/Major-AI-SkillsWrote 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.
[](https://agentmods.dev/skills/alivirgo/major-ai-skills/django)<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/django"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-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.
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/django"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/django.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.00742 |
| Opus 5 | $0.00012 | $0.00371 |
| Sonnet 5 | $0.00005 | $0.00148 |
| Haiku 4.5 | $0.00002 | $0.00074 |
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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Django Web Framework AI Skill Guide
Overview & Engine Architecture
Django is a batteries-included Python web framework with an ORM, migrations, URL routing, forms/admin, and a middleware stack. Requests flow through middleware to URL resolvers and views; the ORM maps models to SQL. Agents write migrations carefully, prevent N+1 queries, keep DEBUG=False in production, and never commit SECRET_KEY.
HTTP -> WSGI/ASGI -> middleware -> URLconf -> view
|
ORM / templates / DRF
When to use this skill
- Building server-rendered or API-backed Django apps
- Designing models and migrations
- Fixing ORM performance (N+1, missing indexes)
- Hardening settings for deployment
Operational directives
- Make migrations for every model change; review generated SQL for locks.
- Use
select_related/prefetch_relatedto avoid N+1. - Validate with forms/serializers; never trust raw
request.POSTfor critical fields. - Store secrets in environment; rotate
SECRET_KEYif exposed. - Prefer explicit
related_nameon relationships used in reverse.
Model + migration sketch
from django.db import models
class Order(models.Model):
customer = models.ForeignKey("customers.Customer", on_delete=models.PROTECT, related_name="orders")
status = models.CharField(max_length=32, db_index=True)
total_cents = models.PositiveIntegerField()
created_at = models.DateTimeField(auto_now_add=True)
class Meta:
indexes = [
models.Index(fields=["customer", "-created_at"]),
]
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
python manage.py test
Query hygiene
# Bad: N+1
for o in Order.objects.all():
print(o.customer.email)
# Good:
for o in Order.objects.select_related("customer"):
print(o.customer.email)
Production settings checklist
| Setting | Expectation |
|---|---|
DEBUG |
False |
ALLOWED_HOSTS |
explicit hosts |
CSRF_TRUSTED_ORIGINS |
https origins when needed |
SECURE_SSL_REDIRECT |
True behind TLS |
| Database | pooled connections; not sqlite in prod |
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.
- today Changed · -2 tokens per session 0e822d4fa9cf
- 6d ago First seen · 104 lines · 26 tokens per session scan A 22d67ccb1c60
django is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 742 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-05.
Other skills, from other repositories
django
Use when building, reviewing, securing, testing or shipping a Django app — models, migrations, QuerySets/managers, FBV/CBV views, forms, the admin, settings split, and Django REST Framework (serializers, ModelViewSet, permissions). NOT async FastAPI/Pydantic services (that is fastapi), NOT Postgres schema/index work…
Django Patterns
Use this skill when working on Django apps/APIs and you want safe model design, query performance awareness, and clean view/service structure.
hunt-django
Hunt Django-specific vulnerabilities: DRF permission gaps, ORM injection, and admin exploitation.
supabase-node
Express/Hono with Supabase and Drizzle ORM.
nodejs-backend
Node.js backend patterns with Express/Fastify, repositories.
prisma-orm
Use when modeling data or writing type-safe queries with Prisma ORM in TypeScript — schema.prisma, prisma.config.ts, the generated Prisma Client, and Prisma Migrate, including the v6 to v7 upgrade. NOT schema-as-TS with a SQL builder (that is drizzle-orm), NOT ORM-agnostic zero-downtime migration (that is…