By qqhard
Automate ML research and training workflows with structured validation (L0/L1 pyramid), iterative experiment loops, autonomous subagent-driven iteration, and runtime monitoring. Includes static analysis for PyTorch code quality, experiment planning, and checkpoint-based recovery.
Use when you have an ML experiment design or requirements for a multi-step ML task, before touching code
Use before any ML work - designing experiments, building models, preparing datasets, or optimizing training. Explores experiment design, collects context, and confirms validation scope before implementation.
Use when the user wants to start an Auto Research workflow - explicit entry point that activates autoresearch mode and routes into brainstorming for protocol definition
Use after VP passes when the experiment needs automated iteration — verifies base code, generates research protocol, and produces startup prompt for autonomous exploration
Use when the user wants to execute an Auto Research loop - explicit entry point that locates the protocol and starts the autonomous iteration
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
SPML is an addon plugin for Superpowers that extends it with ML experiment workflows: Validation Pyramid, experiment-driven development, Watchdog-based single-run supervision, ml-iteration (N-round human-on-the-loop iteration against compound criteria), and Auto Research (protocol-driven metric search).
Superpowers provides the foundation — TDD, code review, subagent architecture, verification. SPML adds the ML domain knowledge on top: what to validate, how to monitor training, how to draw evidence-based conclusions, and how to run a research loop autonomously while a human stays on the loop.
In traditional software, code runs = result correct. In ML, code runs without errors does NOT mean the result is correct.
"Not working" is reasonable in ML, but the process must be correct. If an implementation error causes poor results, you may misjudge your experimental strategy as ineffective, wasting an entire research direction.
SPML addresses this with:
Install Superpowers first. SPML depends on Superpowers for general development skills (TDD, code review, debugging, etc.).
In Claude Code:
/plugin marketplace add qqhard/superpowers-ML
/plugin install spml
SPML also works with Codex through native skill discovery.
Install superpowers first, then install SPML:
git clone https://github.com/obra/superpowers.git ~/.codex/superpowers
git clone https://github.com/qqhard/superpowers-ML.git ~/.codex/spml
mkdir -p ~/.agents/skills
ln -s ~/.codex/superpowers/skills ~/.agents/skills/superpowers
ln -s ~/.codex/spml/skills ~/.agents/skills/spml
See docs/README.codex.md for the full Codex guide.
Start a new session and check that both skill sets are available.
Claude Code:
Ask Claude to use superpowers:brainstorming for general software work,
spml:ml-brainstorming for an ML experiment, or spml:autoresearch-create
to start an Auto Research project.
Codex:
Ask Codex to use superpowers:brainstorming for general software work,
spml:ml-brainstorming for ML experiment work, or spml:autoresearch-create
to start an Auto Research project.
General software development:
/superpowers:brainstorm → superpowers:writing-plans → superpowers:subagent-driven-development
All skills from Superpowers, SPML not involved.
ML experiments:
spml:ml-brainstorming → spml:experiment-planning → spml:ml-subagent-dev
ML workflow from SPML, general discipline (TDD, code review) from Superpowers.
Auto Research (autonomous iteration after a validated baseline):
spml:autoresearch-create → spml:ml-brainstorming (autoresearch mode) →
spml:experiment-planning → spml:ml-subagent-dev →
spml:autoresearch-handoff → spml:autoresearch-run
SPML skills reference Superpowers skills where needed (e.g., superpowers:finishing-a-development-branch, superpowers:using-git-worktrees). Cross-plugin skill invocation works transparently.
ml-brainstorming
Refine hypothesis, collect context, define review_criteria (compound)
|
experiment-planning
Break into atomic subtasks with validation criteria
|
ml-subagent-dev
Execute each subtask: unit test → implement → Validation Pyramid
|
training-handoff
Route between:
├── watchdog (single-run supervision; env restart + async eval)
└── ml-iteration (N-round Supervisor-driven iteration against review_criteria)
|
verification
Evidence-based conclusion: effective / ineffective / inconclusive
Auto Research (parallel entry for metric search):
autoresearch-create → ml-brainstorming(autoresearch) → experiment-planning
→ ml-subagent-dev → autoresearch-handoff → autoresearch
npx claudepluginhub qqhard/superpowers-mlML engineering plugin: Give your AI coding agent ML engineering superpowers.
ML research skills: topic, plan, judge, run, sweep, verify, fortify, retro
Set up ML experiment tracking
ML model training pipelines, hyperparameter tuning, model deployment automation, experiment tracking, and MLOps workflows
Skills to support Machine Learning experimentation using the Python ecosystem.
evsys-sdk usage skills for the autoresearch loop: read a project's goal and experiment history, decide the next experiment, scaffold and launch it, and read/write experiments, datasets, benchmarks, and metrics via the SDK.