django-guide

django-guide is a skill for Claude Code, Codex from khalilbenaz/claude-skills-collection. It costs 68 tokens per session (2,144 once invoked), scanned A, original, MIT.

Guidance for building Python web applications with Django, including database models, page views, templates, administration screens, and REST APIs. Django is a Python framework for websites and back-office tools.

In plain words
What is it for?
Use it to start Django projects, design models, build server-rendered pages or APIs, customize the admin area, and configure development and production settings.
Why use it?
It helps choose a suitable Django structure and keeps settings, business domains, APIs, and tests organized.

Skill for Claude CodeCodex

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

Good fit Use it to start Django projects, design models, build server-rendered pages or APIs, customize the admin area, and configure development and production settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khalilbenaz/claude-skills-collection/django-guide
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 khalilbenaz/claude-skills-collection --skill django-guide
Clone the repo
git clone --depth 1 https://github.com/khalilbenaz/claude-skills-collection

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-guide

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/django-guide"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/django-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,144 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 43
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.00068 $0.02144
Opus 5.5 $0.00027 $0.00858
Sonnet 5.5 $0.00014 $0.00429
Haiku 4.5 $0.00007 $0.00214

Measured 2mo ago against content hash 1b6e5327df2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

django-guide 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 2mo 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.

dev-skills/django-guide/SKILL.md · 281 lines

How it starts

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

Guide Django

1. Choisir l'architecture

Besoin Architecture recommandée
API consommée par SPA/mobile Django + DRF uniquement (rest_framework)
Back-office interne Django + admin personnalisé
Application web rendue côté serveur Django + templates + HTMX
Hybride API + pages publiques Django + DRF + templates pour les pages non-auth

2. Initialiser le projet

pip install django djangorestframework django-environ
django-admin startproject config .   # config = dossier settings
python manage.py startapp orders     # une app par domaine métier

Structure recommandée :

project/
  config/
    settings/
      base.py      # commun
      dev.py       # DEBUG=True, SQLite
      prod.py      # ALLOWED_HOSTS, DATABASES Postgres, STATIC_ROOT
    urls.py
    wsgi.py
  orders/
    models.py
    views.py
    serializers.py
    urls.py
    admin.py
    tests/
  manage.py
  .env

config/settings/base.py :

from environ import Env
env = Env()
Env.read_env()

SECRET_KEY = env("SECRET_KEY")
DATABASES = {"default": env.db()}  # DATABASE_URL=postgres://...

3. Concevoir les models

from django.db import models
from django.utils.translation import gettext_lazy as _

class Order(models.Model):
    class Status(models.TextChoices):
        PENDING  = "pending",  _("En attente")
        SHIPPED  = "shipped",  _("Expédié")

    reference   = models.CharField(max_length=32, unique=True)
    customer    = models.ForeignKey("users.User", on_delete=models.PROTECT,
                                    related_name="orders")
    status      = models.CharField(max_length=16, choices=Status.choices,
                                    default=Status.PENDING)
    created_at  = models.DateTimeField(auto_now_add=True)

    class Meta:
        ordering = ["-created_at"]
        indexes  = [models.Index(fields=["status", "created_at"])]

    def __str__(self):
        return f"Order {self.reference}"

    def clean(self):
        # Validation métier centralisée ici, pas dans la vue
        if self.status == self.Status.SHIPPED and not self.reference:
            raise ValidationError("Reference requise avant expédition.")

Read the full file on GitHub · 281 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. 2mo ago First seen · 281 lines · 68 tokens per session scan A 1b6e5327df2e

Subscribe to this mod's changes

django-guide is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (27 stars, last pushed 3mo ago), licensed MIT. It adds 68 tokens to every session and 2,144 once invoked, about $0.0003 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

django-guide compared with skills from other repositories

django-guide next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
django-guidekhalilbenaz/claude-skills-collectionSkill273mo agoMITA68Claude Code, Codex
plugin-systemellmos-ai/skillsSkill10todayMITA99Claude Code, Codex
frappe-impl-controllersImpertio-Studio/Frappe_Claude_Skill_PackageSkill2122mo agononeA114Claude Code, Codex
frappe-syntax-controllersImpertio-Studio/Frappe_Claude_Skill_PackageSkill2122mo agononeA103Claude Code, Codex
frappe-syntax-serverscriptsImpertio-Studio/Frappe_Claude_Skill_PackageSkill2122mo agononeA116Claude Code, Codex
fastapisordi-ai/skill-everythingSkill216mo agoMITA35Claude Code, Codex
telethon-developmentLu1sDV/skillsmdSkill2yesterdaynoneA47Claude Code, Codex