skillopt-rollout-evidence
Capture scored rollout evidence for a SkillOpt-style skill optimization run. Use when building train, selection, or test trajectories for plugin skills, collecting task outputs, verifier results, tool-use summaries, failure modes, and before/after evidence for candidate skills.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- skillopt-rollout-evidence
- version
- 0.1.0
- mutating
- true
- triggers
- [ "collect skillopt rollouts", "score skill trajectories", "build skill evidence", "run skill optimization tasks", "capture rollout evidence" ]
- writes_to
- [ ".plugin-manager/skillopt/" ]
- description
- Capture scored rollout evidence for a SkillOpt-style skill optimization run. Use when building train, selection, or test trajectories for plugin skills, collecting task outputs, verifier results, tool-use summaries, failure modes, and before/after evidence for candidate skills.
- writes_pages
- false
- allowed-tools
- [ "Read", "Write", "Edit", "Bash", "Grep", "Glob" ]
- disable-model-invocation
- false
02 资源文件 1
- 脚本scripts/collect_flywheel_evidence.py11.4 KB
03 SKILL.md 正文
SkillOpt Rollout Evidence
Contract
Create scored, repeatable trajectory evidence for one skill version on a fixed task split. Evidence must be usable by reflection without requiring another agent to reread huge transcripts, private content, or full terminal logs.
Workflow
-
Load run protocol
- Read
../../references/skillopt-protocol.md. - Verify the run directory, target skill version, task split, scoring method, and output path.
- Read
-
Freeze conditions
- Record skill version, git SHA, target model or harness, tool availability, environment variables that affect behavior, and evaluator command or rubric.
- Do not compare scores across different harnesses unless the run is explicitly a transfer check.
-
Prepare tasks
- Use existing
routing-eval.jsonl, plugin-health failures, tests, review reports, user examples, or curated prompts. - Keep task records stable with
id,prompt,expected,score_type,verifier, and notes. - Separate train, selection, and test evidence.
- For the standing release-cycle flywheel, run
scripts/collect_flywheel_evidence.py --skip-pytestafter CI has producedcoverage.xml, or omit--skip-pytestto collect strict audit, routing eval, and pytest coverage in one local pass.
- Use existing
-
Run trajectories
- Execute the skill or simulate the skill workflow consistently for each task.
- Capture short summaries of messages, tool calls, files touched, verifier outputs, and failure modes.
- Store large raw logs by path when needed; summarize instead of pasting them into reflection prompts.
-
Score
- Prefer deterministic commands, exact checks, schema validation, or plugin-health checks.
- If manual or rubric scoring is required, use the same rubric for every candidate and label it clearly.
- Record success, failure, partial credit, and verifier errors separately.
-
Write artifacts
- Save
trajectories.jsonlandrollout-summary.mdunder the step directory. - Include score totals, recurring failure modes, task IDs, and any tasks that could not be evaluated.
- Save
Output Format
SKILLOPT ROLLOUT EVIDENCE
Run: .plugin-manager/skillopt/<run-id>/
Skill version: <baseline|step-n|candidate-n>
Split: train|selection|test|transfer
Tasks: <count>
Score: <score>/<max> (<percent or rubric total>)
Artifacts:
- .plugin-manager/skillopt/<run-id>/rollouts/<step>/trajectories.jsonl
- .plugin-manager/skillopt/<run-id>/rollouts/<step>/rollout-summary.md
- .plugin-manager/skillopt/<run-id>/standing-evidence/standing-evidence.json
- .plugin-manager/skillopt/<run-id>/standing-evidence/standing-evidence.md
Failures:
- <failure mode and task ids>
Anti-Patterns
- Gathering anecdotes without scores.
- Mixing train and selection tasks in the same optimization prompt.
- Changing task wording between baseline and candidate runs.
- Treating verifier setup failures as model failures without labeling them.
- Storing secrets, raw private content, or giant logs in rollout artifacts.
04 同仓库更多 Skills
metric-reconciliation
Use when two reports disagree, a KPI needs reconciliation across sources, or actuals need to be compared with a plan, forecast vintage, or prior methodology. Align population, coverage, calendar, attribution, and observation windows before computing gaps. Identify missing slices and preserve unresolved residuals.
analysis-handoff
Use to make a recurring SQL analysis reproducible, hand it to another analyst, or check whether an analysis bundle changed. Capture the exact query, metric definitions, inputs, source vintages, checks, and rerun steps in a portable folder without requiring a copy of row-level results.
conversation-ingestion
File a conversation transcript or notes from an interview, research discussion, or support exchange. Preserve the raw material, capture decisions and actions, and update participant and company timelines. Trigger on 'process this conversation', 'ingest this conversation', 'file this transcript', or 'conversation notes to KB'. For standalone media use media-ingest. For source routing use ingest.
minimal-skill
Minimal shared skill fixture for marketplace renderer and validator examples.
roadmap
Use this skill when the user wants a product roadmap, initiative sequencing, Now/Next/Later plan, quarterly roadmap, release theme map, product strategy-to-roadmap translation, or executive roadmap narrative. Trigger on phrases like "build a roadmap", "roadmap these initiatives", "what should be now next later", "sequence this backlog", "quarterly product roadmap", "theme-based roadmap", or "plan the next two quarters". Do NOT trigger for drafting or reviewing a single PRD (use prd-writer or prd-review), converting a PRD into an agentic PLAN.md (use prd-to-plan), or scoring/ranking a set of options without a time horizon (use prioritization).
prioritization
Use this skill when the user wants to rank, score, triage, or compare product opportunities, features, PRD requirements, backlog items, roadmap candidates, or initiatives using RICE, impact-effort, confidence, reach, value, effort, risk, or tradeoff analysis. Trigger on phrases like "prioritize these features", "rank this backlog", "RICE score", "impact effort matrix", "what should we build first", "compare these initiatives", or "stack rank product bets". Do NOT trigger for a time-based roadmap (use roadmap), writing or reviewing one PRD (use prd-writer or prd-review), turning a PRD into an agentic plan (use prd-to-plan), or analyzing experiment results (use ab-testing or experimentation skills).