dmr-upgrade

dmr-upgrade is a skill for Claude Code, Codex from wemake-services/django-modern-rest. It costs 67 tokens per session (853 once invoked), scanned A, original, MIT.

A project add-on for upgrading django-modern-rest through the official instructions for each breaking release between the current and target versions.

In plain words
What is it for?
Use it when bumping django-modern-rest, fixing imports after a dependency update, or migrating to a requested release. It works through intermediate breaking releases in order.
Why use it?
It prevents skipped migration steps and avoids guessing how the library's programming interface changed. It can update the dependency and apply the required changes across the project.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Part of the dmr-upgrade plugin — 1 skill shipped together

Good fit Use it when bumping django-modern-rest, fixing imports after a dependency update, or migrating to a requested release. It works through intermediate breaking releases in order.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wemake-services/django-modern-rest/dmr-upgrade
About the project

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.

wemake-services/django-modern-rest · 1,519 stars · on GitHub · django-modern-rest.rtfd.io

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 wemake-services/django-modern-rest --skill dmr-upgrade
Clone the repo
git clone --depth 1 https://github.com/wemake-services/django-modern-rest

Made for: Claude Code, Codex.

Or install dmr-upgrade, the plugin that ships this one along with the rest of its 1 skill.

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 dmr-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/wemake-services/django-modern-rest/dmr-upgrade/github.svg)](https://agentmods.dev/skills/wemake-services/django-modern-rest/dmr-upgrade)
Your own site
<a href="https://agentmods.dev/skills/wemake-services/django-modern-rest/dmr-upgrade"><img src="https://agentmods.dev/badge/skills/wemake-services/django-modern-rest/dmr-upgrade/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 dmr-upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/wemake-services/django-modern-rest/dmr-upgrade"><img src="https://agentmods.dev/badge/skills/wemake-services/django-modern-rest/dmr-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 853 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.00067 $0.00853
Opus 5.5 $0.00027 $0.00341
Sonnet 5.5 $0.00013 $0.00171
Haiku 4.5 $0.00007 $0.00085

Measured yesterday against content hash 0f84e1465001, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dmr-upgrade 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 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.

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.

dmr/.agents/skills/dmr-upgrade/SKILL.md · 87 lines

How it starts

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

DMR upgrade

Overview

Every breaking django-modern-rest release ships an official migration prompt. The prompts of the three latest breaking releases live in this skill, one file per release in references/. The CHANGELOG.md of the package lists the breaking changes themselves.

Do not guess how an API changed. Read the prompt for every release between the installed version and the target version and apply all of it.

Workflow

Find the current and the target versions

  • Current: uv pip show django-modern-rest, pip show django-modern-rest, or the pinned version in uv.lock, poetry.lock, or requirements.txt.
  • Target: the version the user asked for, otherwise the latest release on https://pypi.org/project/django-modern-rest/.
  • Tell the user which releases lie in between and that each one is applied in order. Never skip a release.

Bump the dependency

Update pyproject.toml (or the requirements file) to the target version and install it, so the type checker sees the new API.

Apply each migration prompt

Read the prompt files for the selected releases, oldest first, and apply every numbered item to the whole project (source, tests, fixtures, settings, management commands):

Upgrade across Prompt
0.13 to 0.14 references/0.13-to-0.14.md
0.14 to 0.15 references/0.14-to-0.15.md
0.15 to 0.16 references/0.15-to-0.16.md

Releases in between that are not listed had no breaking changes. When the project is on a version older than 0.13, the prompts of the older releases are not in this skill: since 0.13.0 they are the descriptions of the releases on https://github.com/wemake-services/django-modern-rest/releases, before that they are in CHANGELOG.md. Apply them first, the same way.

Apply one release at a time and keep its edits together, so the user can review them release by release.

When the installed docs matter, load the version-specific index: https://django-modern-rest.readthedocs.io/en/<version>/llms.txt (every page is also served as Markdown, replace .html with .md).

Read the full file on GitHub · 87 lines

Files

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.

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. yesterday First seen · 87 lines · 67 tokens per session scan A 0f84e1465001

Subscribe to this mod's changes

dmr-upgrade is a skill published in the GitHub repository wemake-services/django-modern-rest (1,519 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 853 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-10-26.