dead-code-expert SKILL.md skillA
dead-code-expert from mathisk2095/jko-claude-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mathisk2095/jko-claude-plugins/dead-code-expert@git:20260316.59861c1Pins git:20260316.59861c1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mathisk2095/jko-claude-plugins
- Path
plugins/dead-code/skills/dead-code-expert/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260316.59861c1, committed Mar 16, 2026
- Size
- 6,835 bytes
- Repository stars
- 3
- License
- MIT
This skill should be used when the user wants to find, audit, or remove dead code, unused imports, unused functions, unused variables, duplicate implementations, or simplify a codebase. Works across all programming languages. Relevant when the user says "find dead code", "remove dead code", "remove unused imports", "find duplicate code", "simplify this codebase", "find unused functions", "find unused code", "remove commented out code", "what code is unused", "find orphaned files…
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
# Dead Code Expert Find and eliminate dead code, duplicate implementations, and unnecessary complexity across any programming language. Every finding explains WHY the code is dead and the concrete cost of keeping it (cognitive overhead, build time, misleading developers, masking bugs). ## How to Think About Dead Code Before flagging anything, identify which category it belongs to: - **Layer 1 -- Certainly Dead:** Unreachable code after return/break/throw, unused private functions, unused local variables, imports with zero references. Safe to remove immediately. - **Layer 2 -- Probably Dead:** Exported functions with no callers in the project, commented-out code blocks, `#[allow(dead_code)]` / `// eslint-disable unused` suppressions, permanently-off feature flags. Verify before removing. - **Layer 3 -- Suspiciously Alive:** Code that LOOKS dead but may be used via reflection, serialization, framework magic, dynamic dispatch, or public API surface. Investigate before touching. → *Consult [false-positives reference](references/false-positives.md) for the full 10-category checklist and scoring framework.* When dead code is found, reframe it as a design question: …
Read the whole file at its exact version.
How to install
mdr add mathisk2095/jko-claude-plugins/dead-code-expert@sha256:2782ba85abe4bb5eThe line at the top of this page pins the label git:20260316.59861c1, 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.
[](https://markdownregistry.com/a/art_46rkarkawv2w3pw7)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Mar 16, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6835 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
mathisk2095/jko-claude-plugins · 3 stars · license MIT · pushed 2026-10-13 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_46rkarkawv2w3pw7 GET https://markdownregistry.com/api/v1/resolve?ref=mathisk2095/jko-claude-plugins/dead-code-expert GET https://markdownregistry.com/api/v1/blob/2782ba85abe4bb5eaedc050f7641bda094122450d3619f6d0e2db4b04f9367a8
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.