code-level SKILL.md skillA

code-level from codezeroexe/levels is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add codezeroexe/levels/code-level@git:20261014.d6932d4

Pins git:20261014.d6932d4 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
codezeroexe/levels
Path
skills/code-level/SKILL.md
Versions recorded
4
Latest version
git:20261014.d6932d4, committed Oct 14, 2026
First version recorded
Oct 13, 2026
Size
19,705 bytes
Repository stars
3
License
MIT

Audit a codebase's maintainability against a 5-level scale (structure, duplication, dependencies, consistency, how hard a typical change is), then propose options and split the chosen refactoring into sub-plans delegated to Haiku or Sonnet while Opus plans and reviews. Changes structure only, never behaviour. Use when the user runs /code-level or asks to audit code quality, clean up, refactor or reduce technical debt.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Code level

Arguments: `$ARGUMENTS`

Parse the arguments:

- **LEVEL**: a number 1 to 5. Default 3.
- **MODE**: `audit` (score and propose only) or `build` (audit, then execution plan, then delegated refactoring). Default `audit`.
- **SCOPE**: any path in the arguments limits the audit to that area. Default: the whole codebase.

State the parsed settings in one line before starting. If AskUserQuestion is unavailable, ask in plain text and wait for the answer.

You are the code lead on this project. Work to the LEVEL. The levels describe how easy the code is to understand and change, not which patterns it uses. Keep the project's language, framework and existing conventions unless the user asks to change them.

This skill changes structure and never behaviour. Code is worth improving in proportion to how often it is changed: leave working code that nobody touches alone. It favours less code over rearranged code: removal first, reuse second, new structure last. See the Simplification ladder.

## Levels
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add codezeroexe/levels/code-level@sha256:402faeed967bf205

The line at the top of this page pins the label git:20261014.d6932d4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_s4eyfqktab6veuf7.svg)](https://markdownregistry.com/a/art_s4eyfqktab6veuf7)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Oct 13, 2026 and Oct 14, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261014.d6932d4 latest2026-10-14 d6932d4 19,705 BA view · diff
git:20261013.5508bcd2026-10-13 5508bcd 19,448 BA view · diff
git:20261013.86942b52026-10-13 86942b5 19,183 BA view · diff
git:20261013.09a52ba2026-10-13 09a52ba 18,720 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (19705 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

codezeroexe/levels · 3 stars · license MIT · pushed 2026-10-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_s4eyfqktab6veuf7
GET https://markdownregistry.com/api/v1/resolve?ref=codezeroexe/levels/code-level
GET https://markdownregistry.com/api/v1/blob/402faeed967bf205ec809761ce374c883bed56546a6eee81932a5b7d0a34e1a4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from codezeroexe/levels

backend-level SKILL.md skill
codezeroexe/levels · skills/backend-level/SKILL.md · Audit a project's backend against a 5-level engineering maturity scale, with a hosting profile and a full edge case…
git:20261014.d6932d4 · audit A · 3 stars
data-level SKILL.md skill
codezeroexe/levels · skills/data-level/SKILL.md · Audit how a project defines, protects and evolves its stored data against a 5-level scale (shape, integrity…
git:20261014.d6932d4 · audit A · 3 stars
design-level SKILL.md skill
codezeroexe/levels · skills/design-level/SKILL.md · Audit a project's interface against a 5-level design sophistication scale, propose options, then split the chosen work…
git:20261014.d6932d4 · audit A · 3 stars
docs-level SKILL.md skill
codezeroexe/levels · skills/docs-level/SKILL.md · Audit a project's documentation against a 5-level scale, checking that it is accurate against the code and usable by…
git:20261014.d6932d4 · audit A · 3 stars
idea-level SKILL.md skill
codezeroexe/levels · skills/idea-level/SKILL.md · Brainstorm project ideas to a chosen depth on a 5-level scale, from a raw list to a build-ready blueprint. Asks for…
git:20261014.d6932d4 · audit A · 3 stars
levels-help SKILL.md skill
codezeroexe/levels · skills/levels-help/SKILL.md · Explain the level skill set to a new user: what it is, which skill to start with, how a run goes, what the arguments…
git:20261014.d6932d4 · audit A · 3 stars
levels-next SKILL.md skill
codezeroexe/levels · skills/levels-next/SKILL.md · Pick the single most valuable next step across all level skills for this project, explain why, and offer to start it…
git:20261013.1d8a1b2 · audit A · 3 stars
levels-status SKILL.md skill
codezeroexe/levels · skills/levels-status/SKILL.md · Show one dashboard of every layer's current and target level, open gaps and pending actions, read from the project's…
git:20261013.5508bcd · audit A · 3 stars
levels SKILL.md skill
codezeroexe/levels · skills/levels/SKILL.md · Conduct the connected level skills as one workflow. Asks the user what they want to do with a multi-select prompt, sets…
git:20261014.d6932d4 · audit A · 3 stars
perf-level SKILL.md skill
codezeroexe/levels · skills/perf-level/SKILL.md · Audit a project's speed and resource use against a 5-level scale, by measuring key tasks on the weakest target device…
git:20261014.d6932d4 · audit A · 3 stars
pitch-level SKILL.md skill
codezeroexe/levels · skills/pitch-level/SKILL.md · Audit and build how a finished project is presented (demo, talk, deck, one-page summary, answers to hard questions)…
git:20261014.d6932d4 · audit A · 3 stars
restyle-level SKILL.md skill
codezeroexe/levels · skills/restyle-level/SKILL.md · Pitch and build alternative visual directions for an existing or planned interface, on a 5-level depth scale from…
git:20261014.d6932d4 · audit A · 3 stars

Every file in codezeroexe/levels

Browse by kind, by grade A, or by owner.