obra/superpowers-lab
Experimental skills for Claude Code Superpowers - new techniques and tools
Deep Analysis
为Claude Code提供三个实验性superpowers技能:语义代码重复检测、MCP CLI工具和tmux交互命令支持
Core Features
finding-duplicate-functions
LLM驱动的语义代码重复检测,识别相同意图但不同实现的函数
mcp-cli
按需使用MCP服务器,无需预加载MCP集成
using-tmux-for-interactive-commands
通过tmux会话控制vim、git rebase -i等交互式CLI工具
Technical Implementation
使用Haiku进行经典函数提取,Opus分析语义重复
通过mcp CLI查询可用工具和资源
创建分离tmux会话,编程式发送键盘输入
- 语义重复检测超越传统语法检测
- 支持交互式CLI工具自动化
- MCP服务器动态发现和一次性调用
- 活跃开发维护中
- 代码库审计识别重复功能
- vim等交互式编辑器自动化
- Git交互式操作自动化
- REPL环境自动化
- tmux是必需的系统依赖
- 所有技能处于实验性状态
Superpowers Lab
Experimental skills for Claude Code Superpowers - new techniques and tools under active development.
What is this?
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.
Current Skills
finding-duplicate-functions
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:
- Audit codebases that have grown organically with multiple contributors
- Identify utility functions that have been reimplemented multiple times
- Find consolidation opportunities before major refactoring
- Complement jscpd after syntactic duplicates are handled
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.
mcp-cli
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:
- Query MCP servers without permanent configuration
- Explore available tools before deciding to integrate
- One-off MCP tool invocations
See skills/mcp-cli/SKILL.md for full documentation.
using-tmux-for-interactive-commands
Enables Claude Code to control interactive CLI tools (vim, git rebase -i, menuconfig, REPLs, etc.) through tmux sessions.
Use cases:
- Interactive text editors (vim, nano)
- Terminal UI tools (menuconfig, htop)
- Interactive REPLs (Python, Node, etc.)
- Interactive git operations (rebase -i, add -p)
- Any tool requiring keyboard navigation and real-time interaction
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.
Installation
# 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"
]
}
Requirements
- tmux must be installed on your system
- Skills are tested on Linux/macOS (tmux required)
Experimental Status
Skills in this plugin are:
- ✅ Functional and tested
- 🧪 Under active refinement
- 📝 May evolve based on usage
- 🔬 Open to feedback and improvements
Contributing
Found a bug or have an improvement? Please open an issue or PR!
Related Projects
- superpowers - Core skills library for Claude Code
- superpowers-chrome - Browser automation skills
License
MIT License - see LICENSE for details
Related Skills
obra/superpowers
obraAn agentic skills framework & software development methodology that works.
Best-practice AI programming workflow with structured processes ensuring high-quality delivery; sub-agent driven for extended autonomous work.
obra/superpowers-skills
obraCommunity-editable skills for Claude Code's superpowers plugin
obra/superpowers-marketplace
obraCurated Claude Code plugin marketplace
obra/the-elements-of-style
obraWilliam Strunk Jr.'s Elements of Style (1918) in markdown format for AI agents
obra/superpowers-chrome
obraClaude Code plugin for direct Chrome browser control via DevTools Protocol - zero dependencies
obra/double-shot-latte
obraClaude Code plugin that automatically evaluates whether Claude should continue working instead of stopping prematurely

