Use when auditing a codebase for semantic duplication - functions that do the same thing but have different names or implementations. Especially useful for LLM-generated codebases where new functions are often created rather than reusing existing ones.
Install
npx skills add obra/superpowers-lab --skill finding-duplicate-functionsnpx skills add obra/superpowers-lab --skill finding-duplicate-functions -a claude-code -gnpx skills add obra/superpowers-lab --skill finding-duplicate-functions -a codex -ggemini skills install https://github.com/obra/superpowers-lab.git --path skills/finding-duplicate-functionsgh skill install obra/superpowers-lab finding-duplicate-functionsgit clone --depth 1 https://github.com/obra/superpowers-lab /tmp/obra__superpowers-lab
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/obra__superpowers-lab/skills/finding-duplicate-functions ~/.claude/skills/finding-duplicate-functions # Claude Code
cp -R /tmp/obra__superpowers-lab/skills/finding-duplicate-functions ~/.agents/skills/finding-duplicate-functions # Codex, Cursor, Gemini CLI, Copilot, OpenCode