How learn-by-exploration/ai-powerhouse works
Purpose and Runtime
AI Powerhouse is a Claude Code distribution layer: it curates upstream Claude-related repositories as git submodules and exposes selected agents, skills, commands, hooks, and rules through a collision-safe ~/.claude installation. It is a Bash-driven CLI repository, not an application service. Core entry points are master/install.sh and master/uninstall.sh.
Source-Collection Boundary
The repository root contains upstream content as independently versioned submodules, plus a local master/ integration layer. Installable sources include everything-claude-code/, superpowers/, get-shit-done/, wshobson-agents/, anthropics-skills/, and others. Some submodules are deliberately browse-only references, such as autoresearch/, awesome-claude-code/, and pm-workspace/; they do not contribute installed tools.
Pinned source provenance is maintained in submodule-hashes.lock. scripts/verify-submodules.sh validates local submodule revisions, while scripts/update-hashes.sh refreshes the lock after upstream updates.
Installer as Integration Engine
master/install.sh is the primary control plane. It discovers supported upstream layouts, creates Claude Code target directories, and symlinks source Markdown assets into the target with source-specific prefixes. Prefixing establishes the central compatibility boundary: upstream names are translated into a shared namespace, avoiding collisions across providers.
The installer supports default, full, Ruflo-enabled, backup, local-target, and dry-run modes. It targets ~/.claude by default, or master/.claude for local installation. It preserves pre-existing real files and replaces only its own symlinks. Absolute symlinks mean the clone location becomes runtime-critical.
Installed Claude Code Surface
The resulting runtime surface is Claude Code’s conventional filesystem contract: agents, skills, commands, rules, hooks, and session instructions under ~/.claude. The local bootstrap and routing assets are:
• master/CLAUDE.md
• master/skills/agent-routing/SKILL.md
• master/skills/se-lifecycle/SKILL.md
• master/agents/se-systems-engineer.md
master/CLAUDE.md causes routing behavior to be available at session start; most installed assets remain on-demand rather than always loaded.
Routing and Workflow Layers
The routing skill in master/skills/agent-routing/SKILL.md is the top-level dispatch stage: it maps a user task to specialist tools from upstream providers. The lifecycle skill and systems-engineer agent add an ISO/IEC/IEEE 15288-oriented engineering workflow, with reference material in docs/se-15288.md.
Typical flow is: Claude Code session starts → local instruction/routing context loads → task is classified → a prefixed agent, skill, or command is invoked → that source asset operates in the user’s repository. This project does not execute those workflows itself; it installs and names their definitions.
Optional External-Service Boundaries
Most tools are static Markdown integrations with no required service. Optional functionality crosses external boundaries:
• claude-mem/ provides cross-session memory through an MCP server, using Bun and configured in Claude Code settings.
• claude-task-master/ supplies task-lifecycle MCP integration.
• ruflo/ is opt-in because its hooks depend on the claude-flow MCP server and add runtime overhead.
• plantuml-skill/ can render via the Kroki API; drawio-skill/ may use draw.io desktop CLI.
Removal and Operational Safety
master/uninstall.sh reverses the integration by removing Powerhouse-owned prefixed symlinks and manifest-related artifacts while leaving unrelated ~/.claude content intact. Installation and removal both support dry-run behavior. Repository-level quality gates focus on reproducible submodule state and installation verification, reflected in .github/workflows/test-install.yml, scripts/verify-submodules.sh, and submodule-hashes.lock.
Main entry points: install.sh Installer · agent-routing/SKILL.md Agent routing · se-lifecycle/SKILL.md SE lifecycle · se-systems-engineer.md Systems engineer
Components 19
Curated sources
Pinned upstream submodules.
- Upstream submodules · Installable and browse-only Claude-related repositories.
- Pinned revisions · Records approved submodule provenance.
submodule-hashes.lock - Revision verifier · Validates local submodule revisions against the lock.
scripts/verify-submodules.sh - Lock refresher · Refreshes pinned revisions after upstream updates.
scripts/update-hashes.sh
Integration layer
Bash installation and removal control plane.
- Installer · Discovers layouts and creates collision-safe prefixed symlinks.
master/install.sh - Uninstaller · Removes only Powerhouse-owned links and artifacts.
master/uninstall.sh - Install modes · Default, full, Ruflo, backup, local-target, and dry-run modes.
master/install.sh - Installation quality gate · Verifies reproducible submodule state and installation behavior.
.github/workflows/test-install.yml
Claude Code runtime
Installed filesystem contract and routing.
- Session instructions · Bootstraps routing behavior at session start.
master/CLAUDE.md - Claude filesystem · ~/.claude by default; master/.claude for local installation.
- Prefixed tool definitions · Symlinked Markdown assets retain provider-specific namespaces.
- Agent routing · Classifies tasks and dispatches specialist tools.
master/skills/agent-routing/SKILL.md - SE lifecycle · Adds an ISO/IEC/IEEE 15288-oriented workflow.
master/skills/se-lifecycle/SKILL.md - Systems engineer
master/agents/se-systems-engineer.md - 15288 reference
docs/se-15288.md - User repository · Invoked definitions operate here, not in this repository.
Optional integrations
Opt-in external-service-backed tools.
- Memory and task MCP · claude-mem and claude-task-master provide optional runtime integrations.
- Ruflo hooks · Requires claude-flow MCP and adds runtime overhead.
- Diagram rendering · PlantUML may use Kroki; draw.io may use its desktop CLI.
Connections 22
- Upstream submodules → Pinned revisions: pinned by
- Revision verifier → Pinned revisions: checks
- Lock refresher → Pinned revisions: refreshes
- Installation quality gate → Revision verifier: runs
- Upstream submodules → Installer: asset source
- Installer → Install modes: supports
- Installer → Claude filesystem: creates links in
- Installer → Prefixed tool definitions: prefixes and symlinks
- Session instructions → Claude filesystem: installed into
- Agent routing → Claude filesystem: installed into
- SE lifecycle → Claude filesystem: installed into
- Systems engineer → Claude filesystem: installed into
- Session instructions → Agent routing: loads at session start
- Agent routing → Prefixed tool definitions: dispatches
- Agent routing → SE lifecycle: can select
- SE lifecycle → Systems engineer: uses
- Systems engineer → 15288 reference: references
- Prefixed tool definitions → User repository: operate in
- Uninstaller → Claude filesystem: removes owned links from
- Ruflo hooks → Claude filesystem: optional installation
- Memory and task MCP → Claude filesystem: configured for
- Diagram rendering → Prefixed tool definitions: used by optional skills