SkillTrust

← All skills

dead-code

100 / 100 · Low risk

Fine to try.

By diegopacheco/ai-playground (GitHub) · coding · 21 stars · scanned at commit d9a66a7

Find dead Java code by static reachability from entry points. Parses the sources, builds the method call graph, walks it from real entry points (main, Spring web/lifecycle/scheduler handlers, JUnit tests, framework callbacks), and renders a light-theme website with summary cards, a reachable-vs-dead chart, and a grouped list of every unreachable method and dead class. Use when the user runs /dead-code or asks to find dead, unused, or unreachable code, or which methods and classes are safe to de…

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'dead-code' ] || [ -L ~/.agents/skills/'dead-code' ]; then echo 'A skill folder named dead-code already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/diegopacheco/ai-playground' "$d" && git -C "$d" checkout --quiet 'd9a66a7614b743615074ea74689ae2039fadcb2d' -- 'pocs/agent-skill-dead-code-finder/skill' && mkdir -p ~/.agents/skills && cp -R "$d"/'pocs/agent-skill-dead-code-finder/skill' ~/.agents/skills/'dead-code' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'dead-code' ~/.claude/skills/'dead-code' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for diegopacheco/ai-playground shows the score of its lowest-scoring skill.

SkillTrust badge for diegopacheco/ai-playground

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/diegopacheco/ai-playground.svg)](https://zalavijaysinh.github.io/skilltrust/repos/diegopacheco/ai-playground/)

Score history

DateVersionScore
2026-11-08d9a66a7100