django-modern-rest is a typed REST framework for Django, the Python web framework, for building APIs that exchange data with clients over HTTP. It is for Django developers who need asynchronous support, schema validation, multiple data formats, and generated OpenAPI descriptions. The catalogue add-ons provide plugins and skills for developing with the framework.
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 wemake-services/django-modern-rest --skill dmr-openapi-skeletongit clone --depth 1 https://github.com/wemake-services/django-modern-restWrote 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/wemake-services/django-modern-rest/dmr-openapi-skeleton)<a href="https://agentmods.dev/skills/wemake-services/django-modern-rest/dmr-openapi-skeleton"><img src="https://agentmods.dev/badge/skills/wemake-services/django-modern-rest/dmr-openapi-skeleton/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/wemake-services/django-modern-rest/dmr-openapi-skeleton"><img src="https://agentmods.dev/badge/skills/wemake-services/django-modern-rest/dmr-openapi-skeleton.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.00097 | $0.03027 |
| Opus 5.5 | $0.00039 | $0.01211 |
| Sonnet 5.5 | $0.00019 | $0.00605 |
| Haiku 4.5 | $0.00010 | $0.00303 |
Grade A, and why
dmr-openapi-skeleton scanned grade A with 1 finding 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 yesterday.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`minimal-working` mode: generate minimal passthrough parser and renderer placeholders so endpoints stay callable with curl while still marked as TODO. How it starts
The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DMR OpenAPI Skeleton
Overview
Generate runnable transport-layer skeletons for django-modern-rest from OpenAPI 3.1+ specifications. Keep the output intentionally thin: produce typed DTOs, base controllers, routers, docs wiring, and minimal tests, with zero business logic by default.
Use the repository examples under django_test_app/server/apps/* and tests/* as the local source of truth. Read references/framework-patterns.md when choosing dmr constructs, references/project-map.md when deciding where generated files should live, and references/spec-fidelity.md whenever a source OpenAPI document is authoritative and the generated project should preserve the public contract closely enough for a useful boilerplate.
Primary framework documentation:
Workflow
Read the specification first
- Read the provided OpenAPI document before editing code.
- Confirm that
openapiis3.1.xor newer. If the document is older, ambiguous, or incomplete, say so before generating files. - Extract tags, path groups, operation IDs, parameters, request bodies, response codes, reusable schemas, and security declarations.
- Detect difficult constructs early:
oneOf,anyOf,allOf, discriminators, multiple media types, callbacks, and webhook sections.
Enter spec-fidelity mode when the source spec is authoritative
- If the user provides an existing OpenAPI document and expects the generated project to reproduce it, treat spec fidelity as a first-class requirement.
- Compare the source spec against the built schema after generation whenever both artifacts are available.
- Do not silently normalize paths, drop tags, collapse media types to JSON, or replace source metadata with framework defaults.
- When dmr adds framework-native documentation that is not present in the source spec, either disable it or tell the user explicitly.
- Default objective in this mode is close public-contract parity for a runnable skeleton, not literal identity of every generated component schema.
What ships with it
5 files 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.
- yesterday First seen · 169 lines · 97 tokens per session scan A 7ed184e628b9
dmr-openapi-skeleton is a skill published in the GitHub repository wemake-services/django-modern-rest (1,519 stars, last pushed yesterday), licensed MIT. It adds 97 tokens to every session and 3,027 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.
Other skills, from other repositories
api-testing-patterns
Comprehensive API testing patterns including contract testing, REST/GraphQL testing, and integration testing. Use when testing APIs or designing API test strategies.
add-console-command
Add or change a Symfony console command using this repository's command, dependency-injection, input/output, and testing conventions.
add-event-listener
Create or update Symfony event listeners or Doctrine lifecycle listeners, including service registration, event ordering, and tests following this repository's conventions.
add-event-subscriber
Create or update Symfony event subscribers, including event maps, priorities, service autoconfiguration, and behavior tests following this repository's conventions.
api-testing
REST/GraphQL API testing with automated validation — test endpoints, validate responses, check status codes, and ensure API contracts.
api-tester
An API testing tool focused on finding IPC handlers, generating tests, checking service health, and running regression tests. IPC, or inter-process communication, lets separate parts of an application exchange messages.