
obra/superpowers-lab
4 skills1.6k installs1.6k starsGitHub
Install
npx skills add https://github.com/obra/superpowers-labSkills in this repo
1Finding Duplicate Functionsfinding-duplicate-functions is an obra superpowers-lab skill for auditing codebases where LLM agents created parallel implementations of the same intent under different names. Classical copy-paste detectors like jscpd catch syntactic duplicates but miss same-purpose, different-implementation functions common in agent-generated repos. The skill uses a two-phase pipeline: classical function extraction followed by LLM-powered intent clustering to surface consolidation candidates. Developers reach for finding-duplicate-functions after heavy AI-assisted coding sessions, before refactors, or when test suites balloon with overlapping helpers. Outputs guide deduplication PRs that shrink maintenance surface without breaking behaviorally distinct code paths.540installs2Using Tmux For Interactive Commandsusing-tmux-for-interactive-commands is a superpowers-lab skill for situations where standard bash cannot control programs that require a real TTY—vim, nano, interactive git rebase, Python REPLs, and similar tools. It uses detached tmux sessions controlled programmatically via send-keys to inject input and capture-pane to read screen output. Developers and coding agents reach for this skill when automating editor sessions, stepping through interactive git flows, or driving REPL-based debugging where piping stdin fails. The approach keeps sessions alive across agent turns and avoids pseudo-TTY hacks in one-off shell invocations.433installs3Mcp Climcp-cli is a superpowers-lab skill that documents the `mcp` CLI (mcptools) for dynamic Model Context Protocol server usage without pre-loading integrations into agent context. Developers install the binary to `~/.local/bin/mcp` by building mcptools from github.com/f/mcptools, then run discovery commands—`mcp tools`, `mcp resources`, and `mcp prompts`—before invoking capabilities with `mcp call`. The skill covers JSON and pretty output formats, server aliases stored in `~/.mcpt/aliases.json`, HTTP/SSE transports, Bearer auth, and a `mcp guard` allow/deny filter for safer exploration. Use mcp-cli to explore unfamiliar MCP servers, debug integrations, or execute one-off filesystem, memory, GitHub, or search server calls without polluting the context window.411installs4Windows VmWindows VM skill helps solo builders spin up Windows test environments for agent-driven cross-platform QA without leaving their primary dev machine workflow.211installs