Agent skill

Security Django

by IgorWarzocha in IgorWarzocha/Opencode-Workflows

Review Django security audit patterns for settings and middleware.

No licenceAuto-check: notesSecurity

Install Security Django

skills CLI
$ npx skills add IgorWarzocha/Opencode-Workflows --skill security-django -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install IgorWarzocha/Opencode-Workflows security-django --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/IgorWarzocha/Opencode-Workflows.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/security-reviewer/.opencode/skill/security-django .claude/skills/security-django && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
security-django
GitHub stars
122
Token cost
~1.6k tokens
SKILL.md length
147 words
Files
2 (incl. scripts)
Skills in repo
35
Repo updated
First seen
Licence
None found

At a glance

Review Django security audit patterns for settings and middleware.

  • Auditing SECRETKEY
  • SKILL.md covers Critical Settings (settings.py), Security Middleware, CSRF Protection and Common Vulnerabilities, plus 3 more sections
  • Runs Shell scripts from its folder; calls rg and python; needs SECRET_KEY and DJANGO_SECRET_KEY
  • Auth decorators

What it does

Security Django is an agent skill from IgorWarzocha/Opencode-Workflows. Review Django security audit patterns for settings and middleware. Use for auditing SECRETKEY, DEBUG, CSRF, and auth decorators. Use proactively when reviewing Django apps (settings.py or manage.py present). Examples: - user: "Audit my Django settings.py" → check SECRETKEY, DEBUG, and ALLOWEDHOSTS - user: "Check Django views for auth" → verify @loginrequired and permission classes - user: "Review Django CSRF config" → check middleware and @csrfexempt usage - user: "Scan for SQL injection in Django" → find raw SQL…

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/scan.sh`).

It sits in Security, covering Web application vulnerabilities and Backend development. It works with Django and SQL. The repository describes itself as: An ever evolving repository of Opencode workflow examples that might enhance your experience with it. I only left the stuff that actually works. YMMV.

When your agent uses it

  • Auditing SECRETKEY
  • Auth decorators

Example prompts

  • “Audit my Django settings.py”
  • “Check Django views for auth”
  • “Review Django CSRF config”
  • “/security-django”

Requirements

  • Python 3
  • A Bash shell
  • A credential in SECRET_KEY
  • A credential in DJANGO_SECRET_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 6444ec4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • rg
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SECRET_KEY
    • DJANGO_SECRET_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Security Django loads about 1.6k tokens when it runs. Until then it costs about 161 tokens; SKILL.md has 147 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~161
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:39
    **Check:** Is SECRET_KEY in .env and .env is in .gitignore?

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 147 words (~1,641 tokens).

“Security audit patterns for Django applications covering critical settings, security middleware, CSRF protection, and common vulnerabilities.”

— opening of SKILL.md by IgorWarzocha
name
security-django

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (scripts) in agents/security-reviewer/.opencode/skill/security-django of IgorWarzocha/Opencode-Workflows.

  • SKILL.md
  • scripts/scan.sh

Open the folder on GitHubat commit 6444ec4

Compare with similar skills

Security Django next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Security Django compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Security Django this skillIgorWarzocha/Opencode-Workflows122—~1.6kAutomated safety check: NotesNone
Django Securityaffaan-m/ECC276k3 repos~3.7kAutomated safety check: NotesMIT
Django Securityxu-xiang/everything-claude-code-zh2k—~3.5kAutomated safety check: NotesMIT
Django Securityxu-xiang/everything-claude-code-zh2k—~3.5kAutomated safety check: NotesMIT
Django Access Reviewgetsentry/skills1k3 repos~2.6kAutomated safety check: NotesApache-2.0
Django Securityaffaan-m/ECC276k5 repos~4kAutomated safety check: NotesMIT

Similar skills

  • Django Security

    affaan-m/ECC

    Django 安全最佳实践、认证、授权、CSRF 防护、SQL 注入预防、XSS 预防和安全部署配置. An agent skill from affaan-m/ECC.

    276k GitHub starsUsed in 3 repos~3.7k tokens
    Backend & APIsAuto-check: notes
  • Django Security

    xu-xiang/everything-claude-code-zh

    Django 安全最佳实践、身份验证(Authentication)、授权(Authorization)、CSRF 防护、SQL 注入防御、XSS 防御以及安全部署配置。

    2k GitHub stars~3.5k tokensUpdated 7 mo ago
    Backend & APIsAuto-check: notes
  • Django Security

    xu-xiang/everything-claude-code-zh

    Django 安全最佳实践,涵盖身份验证、授权、CSRF 防护、SQL 注入预防、XSS 预防以及安全部署配置. An agent skill from xu-xiang/everything-claude-code-zh.

    2k GitHub stars~3.5k tokensUpdated 7 mo ago
    Backend & APIsAuto-check: notes
  • Django Access Review

    getsentry/skills

    Official

    Django access control and IDOR security review. An agent skill from getsentry/skills.

    1k GitHub starsUsed in 3 repos~2.6k tokens
    Backend & APIsAuto-check: notes
  • Django Security

    affaan-m/ECC

    Django security best practices, authentication, authorization, CSRF protection, SQL injection prevention, XSS prevention, and secure deployment configurations.

    276k GitHub starsUsed in 5 repos~4k tokens
    Backend & APIsAuto-check: notes
  • Django Security

    affaan-m/ECC

    Django security best practices, authentication, authorization, CSRF protection, SQL injection prevention, XSS prevention, and secure deployment configurations.

    276k GitHub starsUsed in 1 repo~4.3k tokens
    Backend & APIsAuto-check: notes

More from IgorWarzocha/Opencode-Workflows

All 35 skills in this repo
  • Create Opencode Plugin

    IgorWarzocha/Opencode-Workflows

    Create OpenCode plugins using the @opencode-ai/plugin SDK. An agent skill from IgorWarzocha/Opencode-Workflows.

    122 GitHub stars~2.4k tokensUpdated 8 mo ago
    Auto-check passed
  • Plugin Installer

    IgorWarzocha/Opencode-Workflows

    Find, install, and configure OpenCode plugins from the catalog or community.

    122 GitHub stars~1.3k tokensUpdated 8 mo ago
    Auto-check passed
  • Skill Creator

    IgorWarzocha/Opencode-Workflows

    Guide for creating effective opencode skills. An agent skill from IgorWarzocha/Opencode-Workflows.

    122 GitHub stars~2.8k tokensUpdated 8 mo ago
    Auto-check passed
  • Security AI Keys

    IgorWarzocha/Opencode-Workflows

    Review AI API key leakage patterns and redaction strategies.

    122 GitHub stars~793 tokensUpdated 8 mo ago
    Auto-check: notes
  • Security Convex

    IgorWarzocha/Opencode-Workflows

    Review Convex security audit patterns for authentication and authorization.

    122 GitHub stars~3.1k tokensUpdated 8 mo ago
    Auto-check passed
  • Security Docker

    IgorWarzocha/Opencode-Workflows

    Review Docker and container security audit patterns. An agent skill from IgorWarzocha/Opencode-Workflows.

    122 GitHub stars~1.6k tokensUpdated 8 mo ago
    Auto-check: notes

Works with

Questions about Security Django

What does Security Django do?

Review Django security audit patterns for settings and middleware. Security Django is an agent skill from IgorWarzocha/Opencode-Workflows. Review Django security audit patterns for settings and middleware.

When should I use Security Django?

Security Django fits situations like: auditing SECRETKEY; auth decorators.

How do I install Security Django in Claude Code?

Run `npx skills add IgorWarzocha/Opencode-Workflows --skill security-django -a claude-code`. Or copy the skill folder (agents/security-reviewer/.opencode/skill/security-django in IgorWarzocha/Opencode-Workflows) into .claude/skills/security-django in your project. Claude Code loads it when a task matches its description.

How do I install Security Django in Codex?

Run `npx skills add IgorWarzocha/Opencode-Workflows --skill security-django -a codex`. Or copy the skill folder (agents/security-reviewer/.opencode/skill/security-django in IgorWarzocha/Opencode-Workflows) into .agents/skills/security-django in your project. Codex loads it when a task matches its description.

Can I use Security Django in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add IgorWarzocha/Opencode-Workflows --skill security-django -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/security-django, .gemini/skills/security-django, .github/skills/security-django and .opencode/skills/security-django in your project.

What does Security Django need to run?

Going by SKILL.md and its folder, Security Django needs a shell for the scripts in its folder, the command-line tools its instructions call (rg and python) and credentials named SECRET_KEY and DJANGO_SECRET_KEY. Our summary lists: Python 3; A Bash shell; A credential in SECRET_KEY; A credential in DJANGO_SECRET_KEY.

Does Security Django access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Security Django safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Security Django use?

No licence was found for Security Django or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Security Django use?

About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Security Django?

Skills that share tags, products or a category with Security Django: Django Security (affaan-m/ECC, 276k stars), Django Security (xu-xiang/everything-claude-code-zh, 2k stars), Django Security (xu-xiang/everything-claude-code-zh, 2k stars) and Django Access Review (getsentry/skills, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Security Django?

IgorWarzocha (a GitHub user) maintains it in IgorWarzocha/Opencode-Workflows, which has 122 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on February 4, 2026.

Source: IgorWarzocha/Opencode-Workflows on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.