auto-setup
Auto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Train a skill's SKILL.md by running a SkillOpt-flavored offline loop over accumulated learn-rule corrections
> /plugin marketplace add rohitg00/pro-workflow > /plugin install pro-workflow@pro-workflow
How it fires
How this command gets triggered: by you, by Claude, or both.
/skill-optimizeContext preview
What this command does when you run it.
Train a skill's SKILL.md by running a SkillOpt-flavored offline loop over accumulated learn-rule corrections
description: Train a skill's SKILL.md by running a SkillOpt-flavored offline loop over accumulated learn-rule corrections
Run an offline, budget-capped optimization loop over a skill's accumulated `learn-rule` trajectories. Proposes bounded patches via an optimizer LLM, validates each candidate against a held-out portion of the same trajectories, and overwrites SKILL.md only when the candidate strictly improves the weighted score.
/skill-optimize <slug> [--epochs 3] [--budget-usd 0.50]
1. Pulls recent `learnings` rows scoped to the skill slug (or global) 2. Splits them into train + validation (~25% holdout, freezes validation set) 3. Runs `epochs` x `minibatches` rounds of: reflect → aggregate → clip → apply → evaluate → gate 4. Stops on: budget exhausted, kill switch (`~/.pro-workflow/STOP`), no improvement, or epochs done 5. If any candidate beat the baseline, overwrites SKILL.md and stamps the new hash
/skill-optimize pro-workflow /skill-optimize wiki-research-loop --budget-usd 1.0 --epochs 5 /skill-optimize wrap-up --optimizer-model claude-opus-4-7 --evaluator-model gpt-4o-mini
The third example mixes providers. The CLI infers the provider from the model id (`claude-*` → anthropic, `gpt-*` / `o*` → openai), so you do not need `--evaluator-provider openai` for `gpt-4o-mini`. Pass an explicit `--optimizer-provider` / `--evaluator-provider` to override inference.
See [skills/skill-optimizer/SKILL.md](../skills/skill-optimizer/SKILL.md) for full mechanics, defaults, and the SkillOpt provenance.
Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
Repo: rohitg00/pro-workflow
Auto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Smart context compaction with state preservation — saves critical state before compact and restores after
Track session costs, understand token spend, and get optimization tips