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.
Add this skill
npx mdskills install obra/finding-duplicate-functionsWell-structured multi-phase workflow for semantic duplicate detection with clear tooling and models
Experimental skills for Claude Code Superpowers - new techniques and tools under active development.
This plugin contains experimental skills that extend Claude Code's capabilities with new techniques that are still being refined and tested. These skills are functional but may evolve based on real-world usage and feedback.
Detect semantic code duplication in LLM-generated codebases. Unlike traditional copy-paste detectors that find syntactic duplicates, this skill identifies functions with the same intent but different implementations.
Use cases:
How it works: Two-phase approach using classical function extraction followed by LLM-powered intent clustering. Haiku categorizes functions by domain, then Opus analyzes each category to find semantic duplicates.
See skills/finding-duplicate-functions/SKILL.md for full documentation.
Use MCP servers on-demand via the mcp CLI tool. Discover and invoke tools, resources, and prompts without polluting context with pre-loaded MCP integrations.
Use cases:
See skills/mcp-cli/SKILL.md for full documentation.
Enables Claude Code to control interactive CLI tools (vim, git rebase -i, menuconfig, REPLs, etc.) through tmux sessions.
Use cases:
How it works: Creates detached tmux sessions, sends keystrokes programmatically, and captures terminal output to enable automation of traditionally manual workflows.
See skills/using-tmux-for-interactive-commands/SKILL.md for full documentation.
# Install the plugin
claude-code plugin install https://github.com/obra/superpowers-lab
# Or add to your claude.json
{
"plugins": [
"https://github.com/obra/superpowers-lab"
]
}
Skills in this plugin are:
Found a bug or have an improvement? Please open an issue or PR!
MIT License - see LICENSE for details
Install via CLI
npx mdskills install obra/finding-duplicate-functionsFinding Duplicate Functions is a free, open-source AI agent skill. 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 Finding Duplicate Functions with a single command:
npx mdskills install obra/finding-duplicate-functionsThis downloads the skill files into your project and your AI agent picks them up automatically.
Finding Duplicate Functions works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.