Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/DevOps & CI/CD
rohitg00 avatar

Skill Optimizer

rohitg00/pro-workflow

If your skill has accumulated a dozen or more learn-rule corrections and is starting to feel bloated with overlapping guidance, this runs an offline training loop that treats those corrections like labeled data. It mirrors Microsoft SkillOpt's six-stage pipeline: rollout from SQLite, reflect via an optimizer LLM, aggregate patches, select within a learning-rate budget, update a candidate skill, and gate acceptance against a held-out validation set. Only candidates that beat the current score ship. Default budget is fifty cents, three epochs, and it writes the improved skill back to disk with full provenance in the database. It's the closest thing to gradient descent you can do on a markdown file without retraining the model itself.

installs
121
GitHub stars
2.9K
last updated
Jun 8, 2026
View on GitHubSave

Install

$ npx -y skills add rohitg00/pro-workflow --skill skill-optimizer --agent claude-code

Installs into .claude/skills of the current project.

Files

Skill Optimizer

Train an existing SKILL.md the way a deep-learning optimizer trains weights: via rollouts, gradient-like reflections, validation-gated acceptance. No model retraining; only the skill markdown changes.

When to use

Use this skill when:

  • A pro-workflow skill has accumulated 8+ learn-rule rows for it
  • The user reports the skill is "getting bloated" or "rules keep being repeated"
  • The user wants offline, budget-capped improvement over multiple sessions

Do not use when:

  • Skill has fewer than 8 trajectories (nothing to learn from)
  • The user wants real-time edits (this is offline, single-shot)
  • No key has been explicitly configured for the selected provider

Architecture (mirrors SkillOpt's six-stage loop)

rollout      pull recent learnings from SQLite (existing learn-rule rows)
reflect      optimizer LLM analyzes a minibatch, proposes add/delete/replace patches
aggregate    vote-merge patches across minibatches
select       clip by LR budget (default: 3 adds, 2 deletes, 3 replaces per step)
update       apply selected patches to a candidate skill content
evaluate     evaluator LLM scores candidate against held-out validation items
gate         accept candidate only if weighted score >= current + acceptThreshold
slow update  at epoch boundary, consolidate accepted edits into a coherent rewrite

Failed candidates are stored in a rejection buffer and fed back to the next reflect step so the optimizer doesn't propose the same patch twice.

Run it

In a plugin session, use the providers MCP server's run_provider_task tool with task: "optimizer" and args: ["--slug", "<slug>", "--budget-usd", "0.50"]. Keys come from the plugin configuration dialog. Standalone CLI installations use explicit PRO_WORKFLOW_*_API_KEY variables. See provider configuration; never request keys in chat or retrieve existing machine credentials.

/skill-optimize <slug> [options]

Options (all optional; sensible defaults shown):

FlagDefaultNotes
--epochs N3Outer loop count
--batch-size N8Trajectories per minibatch
--minibatches N2Minibatches per epoch
--holdout N6Validation items reserved (max ~25% of trajectories)
--budget-usd X0.50Hard cap; loop aborts when spent
--optimizer-model Mclaude-sonnet-5Reflect + slow-update model
--evaluator-model Mclaude-haiku-4-5Gate model (cheaper)
--max-adds N3LR budget per step
--max-deletes N2
--max-replaces N3
--accept-threshold X0.0Minimum score delta to accept candidate
--max-skill-tokens N2000Hard cap on candidate length
--slow-every N2Epochs between consolidation passes
--jsonoffMachine-readable output

Kill switch: touch ~/.pro-workflow/STOP aborts the loop between steps.

Output

  • Candidate accepted → SKILL.md overwritten, hash stamp appended in HTML comment
  • Run details persist in optimization_runs, optimization_candidates, optimization_patches, optimization_rejections
  • Validation set persists in optimization_validation (reusable across runs)

Inspect after:

sqlite3 ~/.pro-workflow/data.db "SELECT id, skill_slug, initial_score, best_score, accepted_steps, rejected_steps, spent_usd FROM optimization_runs ORDER BY id DESC LIMIT 5"

Rules

  • Validation set is frozen at run start. Never re-derive from new corrections mid-run.
  • One candidate per step. No parallel branches.
  • Slow-update output is itself a candidate; it must pass the gate to replace the best.
  • The optimizer LLM and evaluator LLM may be different models. Mixing a strong optimizer with a cheap evaluator is the SkillOpt-recommended config.
  • If spent_usd >= budget_usd at any step boundary, the loop ends with stopped_reason="budget exhausted".
  • Patches whose anchor is no longer present in the skill (because a prior patch in the same step removed it) are recorded as rejected with reason anchor_missing.

Provenance

Inspired by Microsoft SkillOpt (arXiv:2605.23904). The six-stage rollout/reflect/aggregate/select/update/evaluate pipeline, LR budget, rejection buffer, and slow / meta update mechanics are adapted to pro-workflow's existing SQLite + learn-rule data plane. No SkillOpt code is reused. "ReflACT" is not a SkillOpt term and is not used here; the loop is referred to by stage names only.

SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/rohitg00/pro-workflow
Categories
DevOps & CI/CD, Documentation, AI & Agent Building, Automation & Workflows, Sales & Marketing, Databases
First seen
Jun 11, 2026

More from rohitg00/pro-workflow

All 35
  • Module Map
  • Token Efficiency211
  • Pro Workflow192
  • Wrap Up187
  • Deslop182
  • Learn Rule174
  • Context Optimizer172
  • Session Handoff172
  • Smart Commit170
  • Insights167
  • Compact Guard166
  • Replay Learnings164
  • Parallel Worktrees161
  • Llm Council155
  • Context Engineering152
  • Cost Tracker151
  • Orchestrate148
  • Mcp Audit147
  • Auto Setup146
  • File Watcher146
  • Thoroughness Scoring145
  • Plan Interrogate144
  • Safe Mode144
  • Batch Orchestration143

Recommended

More DevOps & CI/CD
1raphaelsalaja avatarmorphing-iconsraphaelsalaja/userinterface-wikiBuild icon components where any icon morphs into any other through SVG line transformation. Use when asked to "create morphing icons", "build icon transitions",120installs
2NVIDIA avatarportfolio-optimizationNVIDIA/skillsUse when a user asks to build, optimize, backtest, rebalance, or analyze a stock portfolio with Mean-CVaR, Mean-Variance/SOCP variance caps, efficient frontiers109installs
3activeloopai avatarhivemind-graphactiveloopai/hivemindQuery the local code graph (functions, classes, calls, imports) through the Deeplake mount at memory/graph/. Use when the user asks structural questions about t0installs
4agentworkforce avatarfrontend-designagentworkforce/relayCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat0installs
5aj-geddes avatarAnomaly Detectionaj-geddes/useful-ai-promptsIdentify unusual patterns, outliers, and anomalies in data using statistical methods, isolation forests, and autoencoders for fraud detection and quality monito0installs
6aj-geddes avatarClassification Modelingaj-geddes/useful-ai-promptsBuild binary and multiclass classification models using logistic regression, decision trees, and ensemble methods for categorical prediction and classification0installs