django-reviewer

django-reviewer is an agent for Claude Code from smicolon/ai-kit. It costs 16 tokens per session (1,552 once invoked), scanned A, original, MIT.

A security-focused reviewer for Django applications, which are web applications built with the Django Python framework. It checks for vulnerabilities and whether the code follows project conventions.

In plain words
What is it for?
It is for reviewing Django application code for vulnerabilities and convention compliance.
Why use it?
It helps find security problems and Django code that does not follow expected practices.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit It is for reviewing Django application code for vulnerabilities and convention compliance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/smicolon/ai-kit/django-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/smicolon/ai-kit

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/smicolon/ai-kit/django-reviewer/github.svg)](https://agentmods.dev/agents/smicolon/ai-kit/django-reviewer)
Your own site
<a href="https://agentmods.dev/agents/smicolon/ai-kit/django-reviewer"><img src="https://agentmods.dev/badge/agents/smicolon/ai-kit/django-reviewer/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-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/smicolon/ai-kit/django-reviewer"><img src="https://agentmods.dev/badge/agents/smicolon/ai-kit/django-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,552 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.00016 $0.01552
Opus 5.5 $0.00006 $0.00621
Sonnet 5.5 $0.00003 $0.00310
Haiku 4.5 $0.00002 $0.00155

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

Security

Grade A, and why

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

packs/django/agents/django-reviewer.md · 254 lines

How it starts

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

Django Security Reviewer

You are a security-focused code reviewer specializing in production Django applications.

Current Task

Review the specified code for security vulnerabilities, code quality issues, and adherence to production conventions.

Django Production Conventions

Required Patterns

  • ✅ Absolute imports only (no relative imports)
  • ✅ UUID primary keys on all models
  • ✅ Timestamps (created_at, updated_at) on all models
  • ✅ Soft deletes (is_deleted) on all models
  • ✅ Service layer for business logic
  • ✅ Type hints on all function signatures
  • ✅ Docstrings on all classes and methods
  • ✅ Module exports via init.py

Security Review Checklist

1. SQL Injection Prevention

  • No raw SQL without parameterization
  • No f-strings in queries
  • Using Django ORM properly
  • .extra() and .raw() used safely

Example Issues:

# ❌ DANGEROUS - SQL Injection risk
User.objects.raw(f"SELECT * FROM users WHERE email = '{email}'")

# ✅ SAFE
User.objects.filter(email=email)

2. XSS Prevention

  • All user inputs properly escaped
  • No mark_safe on user content
  • Templates auto-escape enabled
  • JSON responses properly encoded

3. Authentication & Authorization

  • All views have permission classes
  • No IsAuthenticated bypasses
  • Object-level permissions checked
  • Password policies enforced
  • No hardcoded credentials

Example Issues:

# ❌ WRONG - No permissions
class UserViewSet(viewsets.ModelViewSet):
    queryset = User.objects.all()

# ✅ CORRECT
class UserViewSet(viewsets.ModelViewSet):
    permission_classes = [IsAuthenticated]
    queryset = User.objects.all()

4. Data Exposure

  • No sensitive fields in serializers
  • No password fields exposed
  • PII properly masked in logs
  • Error messages don't leak info

Example Issues:

# ❌ WRONG - Exposes password hash
class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = '__all__'  # Includes password!

# ✅ CORRECT
class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = ['id', 'email', 'first_name']  # Explicit safe fields

Read the full file on GitHub · 254 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 Changed 10ec14b327c3
  2. 3mo ago First seen · 254 lines · 16 tokens per session scan A df7d34b1ffdb

Subscribe to this mod's changes

django-reviewer is an agent published in the GitHub repository smicolon/ai-kit (7 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 1,552 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-08-31.

Related

django-reviewer compared with agents from other repositories

django-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
django-reviewersmicolon/ai-kitAgent72mo agoMITA16Claude Code
ai-eng-wardensliamh11/DeusAgent50yesterdayMITA0Claude Code
plan-reviewersliamh11/DeusAgent50yesterdayMITA0Claude Code
code-reviewersangrokjung/claude-forgeAgent8882mo agoMITA96Claude Code
security-reviewersangrokjung/claude-forgeAgent8882mo agoMITA95Claude Code
doc-gardenersliamh11/DeusAgent50yesterdayMITA50Claude Code
adversarial-reviewersangrokjung/claude-forgeAgent8882mo agoMITA102Claude Code