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 OutlineDriven/outline-driven-development --skill django-perf-reviewgit clone --depth 1 https://github.com/OutlineDriven/outline-driven-developmentWrote 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/outlinedriven/outline-driven-development/django-perf-review)<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/django-perf-review"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/django-perf-review/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/outlinedriven/outline-driven-development/django-perf-review"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/django-perf-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00040 | $0.01238 |
| Opus 5.5 | $0.00016 | $0.00495 |
| Sonnet 5.5 | $0.00008 | $0.00248 |
| Haiku 4.5 | $0.00004 | $0.00124 |
Grade A, and why
django-perf-review 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.
How it starts
The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Django performance review
Contract
| Field | Bound contract |
|---|---|
| Trigger | User asks to review Django performance, find N+1 queries, optimize Django, or check queryset performance. |
| Authority | Read-only. No file, VCS, credential, paid, published, deployed, or remote mutation. Fixes are reported, never applied. |
| Side effect | Chat output only: reports validated Django performance issues. |
| Done | Report with validated N+1/ORM/queryset issues; severity matches impact; zero false positives. |
Inputs
Required: read access to the Django codebase under review (models, managers, querysets, views, DRF viewsets/serializers, signals, template tags). Optional: the specific app or module paths to bound scope; a running app or test suite for query-count confirmation; Django settings/INSTALLED_APPS for app discovery.
Procedure
- Bound scope to the app or module paths the user named. If none named, ask once for the scope before scanning. Do not edit files. Done when: scope is named and bounded.
- Enumerate ORM call sites: scan models, managers, views, DRF viewsets, serializers, signals, and template tags for queryset construction and relation access (
.filter,.get,.exclude,.select_related,.prefetch_related,.values,.values_list,.annotate,.aggregate,.iterator,.exists,.count,.only,.defer,__lookups, reverse managers,.related_modelaccess). Done when: ORM call sites are enumerated. - Trace relation access per row: for each queryset, follow foreign-key, one-to-one, many-to-many, and reverse relations accessed inside loops, templates, serializer nested fields, or per-instance property access. Flag a relation access that runs one query per row when the relation is not loaded on that code path via
select_relatedorprefetch_related. Done when: per-row relation access is traced. - Detect queryset misuse: querysets evaluated more than once on the same path,
len(qs)/list(qs)before iteration, slicing after evaluation,.only()/.defer()that still triggers deferred-field loads. For.count()where.exists()would suffice, and for missing.iterator()on large result sets, require evidence of the result size before flagging: a query-plan row estimate, a.count()call result, a logged result count, or a user-confirmed cardinality. A.count()or missing.iterator()finding without result-size evidence is a candidate, not a validated finding. Done when: queryset misuse candidates are identified, with result-size evidence attached to every.count()and.iterator()flag. - Detect unbounded reads: list/index views without pagination, admin actions without queryset scoping. For unindexed filter or order fields, require query-plan or data-cardinality evidence before flagging: an
EXPLAINoutput showing a sequential scan, a measured row count on the filtered column, or a user-confirmed table size. An unindexed-field finding without plan or cardinality evidence is a candidate, not a validated finding. Done when: unbounded reads are identified, with plan or cardinality evidence attached to every unindexed-field flag. - Validate every finding against the actual code path: cite file, line, the queryset expression, the relation access, and the per-row query it triggers. Confirm the relation is not already prefetched or selected on that exact path. A finding without a confirmed access path is not reported as validated. Done when: every reported finding has a confirmed access path.
- Classify severity by impact and query-count growth: N+1 in a list/index/hot path is high (O(n) queries per request); per-request single-row access is medium; rare/admin-only path is low. State the growth as queries per request or per row. Done when: severity states query growth and path impact.
- For each validated finding, give the concrete fix with the exact queryset rewrite:
select_relatedfor FK/one-to-one,prefetch_relatedorPrefetchfor many-to-many/reverse, pagination,.iterator(),.only(), or a migration adding the index. Show the before and after queryset. Done when: each finding has an exact queryset rewrite. - Return the report. Do not apply fixes, run migrations, or modify the codebase. Done when: the report is returned without applying fixes.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed · -14 tokens per session 0881bbfc73d2
- 2mo ago First seen · 42 lines · 54 tokens per session scan A fa6dcba781b7
django-perf-review is a skill published in the GitHub repository OutlineDriven/outline-driven-development (54 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 1,238 once invoked, about $0.0002 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.
django-perf-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| django-perf-reviewOutlineDriven/outline-driven-development | Skill | 54 | 2mo ago | Apache-2.0 | A | 40 | Codex |
| django-migrationsPostHog/posthog | Skill | 41k | today | none | A | 99 | Claude Code, Codex |
| notion-toolxuiltul/animaworks | Skill | 267 | yesterday | Apache-2.0 | A | 52 | Claude Code, Codex |
| find-postgres-bugdigoal/blog | Skill | 8.6k | yesterday | GPL-2.0 | A | 195 | Codex |
| superloopy-backendbeefiker/superloopy | Skill | 114 | 11d ago | MIT | A | 116 | Claude Code, Codex |
| jeecg-onlformjeecgboot/skills | Skill | 255 | 1mo ago | Apache-2.0 | A | 418 | Claude Code, Codex |
| optimizeflavien-ia/hypervibe-harness | Skill | 47 | 1mo ago | Apache-2.0 | A | 141 | Claude Code |