Finding Duplicate Functions
Hunts functions that solve the same problem twice under different names.
Install
Ships scriptsclaude-code plugin install https://github.com/obra/superpowers-lab
Used before a large refactor or on a codebase that grew fast, once syntactic copy-paste duplicates are already handled.
- Author
- Jesse Vincent (obra)
- License
- MIT
Copy-paste detectors match text, so they miss the kind of duplication that piles up in agent-written code: two functions with unrelated names and unrelated implementations that mean the same thing. The run starts with a script that extracts a catalogue of every function, sorts them into domains with a cheap model, then sends each domain to a stronger model that only has to compare a handful of candidates. The output is a report a human still has to sign off on before anything is consolidated.
Similar skills
Dispatching Parallel Agents
SkillSplits genuinely independent problems across agents that run at the same time.
Claude Security
SkillDeep vulnerability scan of your own code, with every finding challenged before it is reported.
AWS Serverless
SkillSeven skills for Lambda, API Gateway and Step Functions, including durable execution shapes.

Comments(0)
Sign in to comment