Superpowers Lab — New Primitives
New Skills (5)
using-tmux-for-interactive-commands
Creates detached tmux sessions, sends keystrokes programmatically, captures terminal output. Enables automation of normally-manual interactive workflows: vim, git rebase -i, menuconfig, htop, REPLs, any tool requiring keyboard navigation.
mcp-cli
Uses the mcp CLI tool for on-demand MCP server querying without permanent configuration. Pattern: discover available tools → invoke one-off → no context pollution from pre-loaded integrations. Addresses the "MCP server in settings = always-on context cost" problem.
finding-duplicate-functions
Two-phase semantic deduplication pipeline:
- Extract function catalog via
scripts/extract-functions.sh → catalog.json
- Categorize by domain using Claude Haiku subagent →
categorized.json
- Split into categories via
scripts/prepare-category-analysis.sh → categories/*.json
- Find semantic duplicates using Claude Opus subagent →
duplicates/*.json
- Generate report via
scripts/generate-report.sh → report.md
Multi-model usage: Haiku for categorization (cheap), Opus for semantic analysis (accurate). This is the only skill in the batch that explicitly routes different tasks to different Claude model tiers.
slack-messaging
Send and read Slack messages via slackcli. Multiple workspace support with browser token authentication. Includes helper script for token extraction.
windows-vm
Creates/manages/connects to headless Windows 11 VM via Docker + KVM (uses dockur/windows). Full lifecycle: create, start, stop, restart, ssh, status. Automated setup of OpenSSH Server, Node.js, Claude Code inside the VM.
New Script Artifacts
| Script |
Used By |
skills/finding-duplicate-functions/scripts/extract-functions.sh |
Phase 1 extraction |
skills/finding-duplicate-functions/scripts/categorize-prompt.md |
Haiku categorization prompt |
skills/finding-duplicate-functions/scripts/prepare-category-analysis.sh |
Category splitting |
skills/finding-duplicate-functions/scripts/find-duplicates-prompt.md |
Opus dedup prompt |
skills/finding-duplicate-functions/scripts/generate-report.sh |
Report generation |
Dependency Requirements (new vs. seed)
The seed has no runtime dependencies. Lab adds:
tmux — for interactive command control
mcp CLI tool — for MCP-CLI skill
- Docker + KVM — for windows-vm skill
slackcli + browser token — for slack-messaging