From mtk
Reduces complexity, removes dead code, and improves clarity after a feature or fix is verified. Includes an optional audit mode for detecting near-duplicate capabilities.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mtk:code-simplificationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Simplify only after behavior is proven. The goal is to reduce complexity, remove dead weight, and improve clarity without broadening scope or changing behavior.
Simplify only after behavior is proven. The goal is to reduce complexity, remove dead weight, and improve clarity without broadening scope or changing behavior.
--audit-duplicatesOptional audit that scans the repo for near-duplicate capabilities so they can be consolidated before they multiply. Use the "check before you write" reflex during spec writing; this mode is the periodic sweep that catches duplicates that slipped past it.
CODE_INDEX.md at the repo root (template:
.claude/references/code-index-template.md). If absent, skip
index-guided scanning and note CODE_INDEX.md missing in the report
(it is generated during setup-bootstrap).Async /
_v2 / Impl.Trigger this mode when:
CODE_INDEX.md is older than 30 days and the repo had >50 commits since.See .claude/skills/context-engineering/SKILL.md for the shared table. Simplification-specific traps: "now that I'm here, I should refactor the whole module" (cleanup is not permission for a hidden rewrite — stay scoped), and "the dead code is probably still needed somewhere" (probably is a reason to verify or ask, not to leave clutter in place).
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub moberghr/mtk-agent-toolkit --plugin mtk