[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DHQ6F44PQADNEPRG7QAMPA":3,"skill-same:01M6DHQ6F44PQADNEPRG7QAMPA":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6DHQ6F44PQADNEPRG7QAMPA","opsward-generate",null,"Generate missing AI setup artifacts for this project. Use when the user asks to scaffold, create, or bootstrap CLAUDE.md, docs, skills, or agent configuration.","thorwhalen\u002Fopsward","thorwhalen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1906276?v=4","01M6DHNW6H23WSXQ1D6MJCFC91","Thor Whalen","01M6DHNWD2G3GJ64J30A1FW0XP",0,"MIT","https:\u002F\u002Fgithub.com\u002Fthorwhalen\u002Fopsward\u002Fblob\u002Fmain\u002Fopsward\u002Fdata\u002Ftemplates\u002Fshared\u002Fopsward-generate\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"opsward","generate","opsward generate","configuration","when","for","missing","ai setup","agent configuration","project","docs","use","user","artifacts","create","bootstrap","setup","scaffold","2026-11-10 10:12:30",false,"---\nname: \"run\"\ndescription: \"One-shot lifecycle command that chains init → baseline → spawn → eval → merge in a single invocation. Use when the user runs \u002Fhub:run or asks to execute a full AgentHub competition end-to-end.\"\ncommand: \u002Fhub:run\n---\n\n# \u002Fhub:run — One-Shot Lifecycle\n\nRun the full AgentHub lifecycle in one command: initialize, capture baseline, spawn agents, evaluate results, and merge the winner.\n\n## Usage\n\n```\n\u002Fhub:run --task \"Reduce p50 latency\" --agents 3 \\\n  --eval \"pytest bench.py --json\" --metric p50_ms --direction lower \\\n  --template optimizer\n\n\u002Fhub:run --task \"Refactor auth module\" --agents 2 --template refactorer\n\n\u002Fhub:run --task \"Cover untested utils\" --agents 3 \\\n  --eval \"pytest --cov=utils --cov-report=json\" --metric coverage_pct --direction higher \\\n  --template test-writer\n\n\u002Fhub:run --task \"Write 3 email subject lines for spring sale campaign\" --agents 3 --judge\n```\n\n## Parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `--task` | Yes | Task description for agents |\n| `--agents` | No | Number of parallel agents (default: 3) |\n| `--eval` | No | Eval command to measure results (skip for LLM judge mode) |\n| `--metric` | No | Metric name to extract from eval output (required if `--eval` given) |\n| `--direction` | No | `lower` or `higher` — which direction is better (required if `--metric` given) |\n| `--template` | No | Agent template: `optimizer`, `refactorer`, `test-writer`, `bug-fixer` |\n\n## What It Does\n\nExecute these steps sequentially:\n\n### Step 1: Initialize\n\nRun `\u002Fhub:hub-init` with the provided arguments:\n\n```bash\npython {skill_path}\u002Fscripts\u002Fhub_init.py \\\n  --task \"{task}\" --agents {N} \\\n  [--eval \"{eval_cmd}\"] [--metric {metric}] [--direction {direction}]\n```\n\nDisplay the session ID to the user.\n\n### Step 2: Capture Baseline\n\nIf `--eval` was provided:\n\n1. Run the eval command in the current working directory\n2. Extract the metric value from stdout\n3. Display: `Baseline captured: {metric} = {value}`\n4. Append `baseline: {value}` to `.agenthub\u002Fsessions\u002F{session-id}\u002Fconfig.yaml`\n\nIf no `--eval` was provided, skip this step.\n\n### Step 3: Spawn Agents\n\nRun `\u002Fhub:spawn` with the session ID.\n\nIf `--template` was provided, use the template dispatch prompt from `..\u002Fagenthub\u002Freferences\u002Fagent-templates.md` instead of the default dispatch prompt. Pass the eval command, metric, and baseline to the template variables.\n\nLaunch all agents in a single message with multiple Agent tool calls (true parallelism).\n\n### Step 4: Wait and Monitor\n\nAfter spawning, inform the user that agents are running. When all agents complete (Agent tool returns results):\n\n1. Display a brief summary of each agent's work\n2. Proceed to evaluation\n\n### Step 5: Evaluate\n\nRun `\u002Fhub:eval` with the session ID:\n\n- If `--eval` was provided: metric-based ranking with `result_ranker.py`\n- If no `--eval`: LLM judge mode (coordinator reads diffs and ranks)\n\nIf baseline was captured, pass `--baseline {value}` to `result_ranker.py` so deltas are shown.\n\nDisplay the ranked results table.\n\n### Step 6: Confirm and Merge\n\nPresent the results to the user and ask for confirmation:\n\n```\nAgent-2 is the winner (128ms, -52ms from baseline).\nMerge agent-2's branch? [Y\u002Fn]\n```\n\nIf confirmed, run `\u002Fhub:merge`. If declined, inform the user they can:\n- `\u002Fhub:merge --agent agent-{N}` to pick a different winner\n- `\u002Fhub:eval --judge` to re-evaluate with LLM judge\n- Inspect branches manually\n\n## Critical Rules\n\n- **Sequential execution** — each step depends on the previous\n- **Stop on failure** — if any step fails, report the error and stop\n- **User confirms merge** — never auto-merge without asking\n- **Template is optional** — without `--template`, agents use the default dispatch prompt from `\u002Fhub:spawn`\n","# \u002Fhub:run — One-Shot Lifecycle\n\nRun the full AgentHub lifecycle in one command: initialize, capture baseline, spawn agents, evaluate results, and merge the winner.\n\n## Usage\n\n```\n\u002Fhub:run --task \"Reduce p50 latency\" --agents 3 \\\n  --eval \"pytest bench.py --json\" --metric p50_ms --direction lower \\\n  --template optimizer\n\n\u002Fhub:run --task \"Refactor auth module\" --agents 2 --template refactorer\n\n\u002Fhub:run --task \"Cover untested utils\" --agents 3 \\\n  --eval \"pytest --cov=utils --cov-report=json\" --metric coverage_pct --direction higher \\\n  --template test-writer\n\n\u002Fhub:run --task \"Write 3 email subject lines for spring sale campaign\" --agents 3 --judge\n```\n\n## Parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `--task` | Yes | Task description for agents |\n| `--agents` | No | Number of parallel agents (default: 3) |\n| `--eval` | No | Eval command to measure results (skip for LLM judge mode) |\n| `--metric` | No | Metric name to extract from eval output (required if `--eval` given) |\n| `--direction` | No | `lower` or `higher` — which direction is better (required if `--metric` given) |\n| `--template` | No | Agent template: `optimizer`, `refactorer`, `test-writer`, `bug-fixer` |\n\n## What It Does\n\nExecute these steps sequentially:\n\n### Step 1: Initialize\n\nRun `\u002Fhub:hub-init` with the provided arguments:\n\n```bash\npython {skill_path}\u002Fscripts\u002Fhub_init.py \\\n  --task \"{task}\" --agents {N} \\\n  [--eval \"{eval_cmd}\"] [--metric {metric}] [--direction {direction}]\n```\n\nDisplay the session ID to the user.\n\n### Step 2: Capture Baseline\n\nIf `--eval` was provided:\n\n1. Run the eval command in the current working directory\n2. Extract the metric value from stdout\n3. Display: `Baseline captured: {metric} = {value}`\n4. Append `baseline: {value}` to `.agenthub\u002Fsessions\u002F{session-id}\u002Fconfig.yaml`\n\nIf no `--eval` was provided, skip this step.\n\n### Step 3: Spawn Agents\n\nRun `\u002Fhub:spawn` with the session ID.\n\nIf `--template` was provided, use the template dispatch prompt from `..\u002Fagenthub\u002Freferences\u002Fagent-templates.md` instead of the default dispatch prompt. Pass the eval command, metric, and baseline to the template variables.\n\nLaunch all agents in a single message with multiple Agent tool calls (true parallelism).\n\n### Step 4: Wait and Monitor\n\nAfter spawning, inform the user that agents are running. When all agents complete (Agent tool returns results):\n\n1. Display a brief summary of each agent's work\n2. Proceed to evaluation\n\n### Step 5: Evaluate\n\nRun `\u002Fhub:eval` with the session ID:\n\n- If `--eval` was provided: metric-based ranking with `result_ranker.py`\n- If no `--eval`: LLM judge mode (coordinator reads diffs and ranks)\n\nIf baseline was captured, pass `--baseline {value}` to `result_ranker.py` so deltas are shown.\n\nDisplay the ranked results table.\n\n### Step 6: Confirm and Merge\n\nPresent the results to the user and ask for confirmation:\n\n```\nAgent-2 is the winner (128ms, -52ms from baseline).\nMerge agent-2's branch? [Y\u002Fn]\n```\n\nIf confirmed, run `\u002Fhub:merge`. If declined, inform the user they can:\n- `\u002Fhub:merge --agent agent-{N}` to pick a different winner\n- `\u002Fhub:eval --judge` to re-evaluate with LLM judge\n- Inspect branches manually\n\n## Critical Rules\n\n- **Sequential execution** — each step depends on the previous\n- **Stop on failure** — if any step fails, report the error and stop\n- **User confirms merge** — never auto-merge without asking\n- **Template is optional** — without `--template`, agents use the default dispatch prompt from `\u002Fhub:spawn`\n",{"name":42,"command":43,"description":44},"run","\u002Fhub:run","One-shot lifecycle command that chains init → baseline → spawn → eval → merge in a single invocation. Use when the user runs \u002Fhub:run or asks to execute a full AgentHub competition end-to-end.","main","510dd2917e051cc953dc55f56fd6ef442aa01b38","opsward\u002Fdata\u002Ftemplates\u002Fshared\u002Fopsward-generate","https:\u002F\u002Fgithub.com\u002Fthorwhalen\u002Fopsward","https:\u002F\u002Fthorwhalen.github.io\u002Fopsward\u002F","https:\u002F\u002Fgithub.com\u002Fthorwhalen","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fthorwhalen\u002F","Machine Learning and AI Systems","2026-11-09 01:24:54",{"source":8,"skillName":42,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add thorwhalen\u002Fopsward --skill run",{"tool":60,"command":61},"bunx","bunx skills add thorwhalen\u002Fopsward --skill run",{"tool":63,"command":64},"pnpm","pnpm dlx skills add thorwhalen\u002Fopsward --skill run","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthorwhalen\u002Fopsward\u002Fblob\u002Fmain\u002Fopsward\u002Fdata\u002Ftemplates\u002Fshared\u002Fopsward-generate\u002FSKILL.md",true,[],[69,77,93,119,132,142],{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":37},"01M6DHQKJPZBWKFCJE4AER997W","my-skill","https:\u002F\u002Fgithub.com\u002Fthorwhalen\u002Fopsward\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fpython_project\u002F.claude\u002Fskills\u002Fmy-skill\u002FSKILL.md",[],[75,76],"my","my skill",{"skillNo":78,"name":19,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":37},"01M6DHQGEMHHGRMZ4R46SA59Z7","Run opsward to assess and improve this project's AI agent setup. Use when the user says 'opsward', 'check my setup', 'improve my AI config', or wants a full audit and remediation.","https:\u002F\u002Fgithub.com\u002Fthorwhalen\u002Fopsward\u002Fblob\u002Fmain\u002Fopsward\u002Fdata\u002Ftemplates\u002Fshared\u002Fopsward\u002FSKILL.md",[],[19,30,23,83,75,84,85,28,86,31,87,88,89,90,42,35,91,92],"agent setup","assess","full","ai config","check","improve","remediation","audit","config","ai agent",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":37},"01M6DHQCY2SHZ1ZEH5FQFT39WX","opsward-subagents","Decide which of a repo's skills should also run as subagents (in their own context), declare it in each skill's frontmatter, and generate or refresh the twin agent files with opsward. Use when a skill does bulky or read-heavy work whose output should stay out of the main context, when a skill needs a tool restriction or a cheaper model, when a hand-written agent duplicates a skill, when `opsward maintain` reports a `subagent_twin` finding, or when asked \"should this skill be a subagent\", \"make this skill usable as a subagent\", \"generate agents from skills\", or to sweep a repo for skill\u002Fagent pairs. Also usable as a subagent itself.","https:\u002F\u002Fgithub.com\u002Fthorwhalen\u002Fopsward\u002Fblob\u002Fmain\u002Fopsward\u002Fdata\u002Ftemplates\u002Fshared\u002Fopsward-subagents\u002FSKILL.md",[],[19,100,101,102,24,103,104,105,106,107,45,108,23,109,30,110,111,112,113,114,115,116,117,118,20],"opsward subagents","subagents","reports","which","true","opsward maintain","as","maintain","files","duplicates","refresh","repo","decide","work","sweep","model","tool","subagent","Bash",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":37},"01M6DHQ9EGVVKAP608FD4B4FYA","opsward-maintain","Check documentation and AI setup for staleness, drift, or inconsistency. Use when the user asks to maintain, refresh, or update project docs and AI configuration.","https:\u002F\u002Fgithub.com\u002Fthorwhalen\u002Fopsward\u002Fblob\u002Fmain\u002Fopsward\u002Fdata\u002Ftemplates\u002Fshared\u002Fopsward-maintain\u002FSKILL.md",[],[105,19,107,29,35,126,23,24,26,28,127,22,128,30,31,110,87,129,130,131],"project docs","drift","update project docs","check documentation","update","documentation",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":37},"01M6DHQ3YJMTQ155ZGHR76PP90","opsward-diagnose","Diagnose the health of this project's AI agent setup. Use when the user asks to check, audit, or score the project's CLAUDE.md, skills, docs, or agent configuration.","https:\u002F\u002Fgithub.com\u002Fthorwhalen\u002Fopsward\u002Fblob\u002Fmain\u002Fopsward\u002Fdata\u002Ftemplates\u002Fshared\u002Fopsward-diagnose\u002FSKILL.md",[],[19,139,140,87,23,83,27,28,22,30,31,141,90,35,92,29],"opsward diagnose","diagnose","health",{"skillNo":143,"name":19,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":37},"01M6DHQ1084K7TFC376MWMW3CQ","https:\u002F\u002Fgithub.com\u002Fthorwhalen\u002Fopsward\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopsward\u002FSKILL.md",[],[19,90,89,88,91,35,42,30,86,28,23,83,75,84,31,87,92,85]]