.claude/skills/rw-optimise/SKILL.md
--- name: rw-optimise worker-type: custom sidecar-path: _evolution/ blocking: false requires: [rw-reflect] capabilities: [can-edit] --- # rw-optimise: MASE+ Feedback Loop Worker ## Cold Start No optimiser rules fire until 3+ cases produce reflections and quality scorecards. The first 3 cases run with default budget from `.agentops/budget.md`. This is expected — the feedback loop bootstraps from zero data points. Do not attempt to force adjustments before sufficient signal accumulates. This w
npx skillsauth add gh-xj/exp-job-hunter-research rw-optimiseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
No optimiser rules fire until 3+ cases produce reflections and quality scorecards.
The first 3 cases run with default budget from .agentops/budget.md. This is expected —
the feedback loop bootstraps from zero data points. Do not attempt to force adjustments
before sufficient signal accumulates.
This worker closes the missing loop: accumulated quality signals and lessons from reflections are consumed to adjust budget thresholds, worker prompts, and guardrails for future cases.
_reflections/*.md and {domain}/_reflections/*.md — accumulated reflection files{domain}/synthesis/quality-scorecard.md — quality scores per domain.claude/skills/*/cycle-logs/ — per-invocation quality signals (gitignored).agentops/budget.md — current budget allocation.agentops/memory/evolution/ — accumulated evolution memory (budget adjustments, routing lessons).agentops/memory/operational/ — operational patterns (domain context, routing patterns).agentops/worker-eval/ledger.md — per-case worker effectiveness scores.agentops/worker-eval/signals.md — signal definitions for scoring_evolution/optimiser-log.md — append-only log of all adjustments_evolution/prompt-history/{worker}-{version}.md — prompt version snapshots.agentops/budget.md (budget threshold adjustments).claude/skills/{worker}/SKILL.md (guardrail additions)_reflections/ files and domain quality-scorecard.md files. Extract: challenge catch rates, quality scores, error patterns, lessons categorised as recurring.references/optimiser-rules.md for the full rule set. Each rule has a trigger condition, action, evidence requirement, and oscillation guard._evolution/optimiser-log.md with: date, rule triggered, evidence (which reflection/scorecard), action taken, files modified._evolution/prompt-history/{worker}-v{N}.md for rollback capability.--preflight): When invoked at case-open (via on-case-open hook), read signals and recommend budget adjustments without writing any files. Output recommendations to stdout for dispatcher review.references/optimiser-rules.md)._evolution/optimiser-log.md with tag [HUMAN-REVIEW-REQUIRED]._evolution/prompt-history/ enables manual rollback if an adjustment degrades quality.When multiple rules trigger, prioritise signals in this order for the UK SaaS context:
high confidence triggers a budget increase for 05-gdpr-legal and 03-visa-sponsorship cases. Legal errors are the highest-risk failure mode.Before completing, verify:
_evolution/optimiser-log.md with evidence citation_evolution/prompt-history/[HUMAN-REVIEW-REQUIRED] tagMax 2 self-correction iterations. If self-check still fails after 2 retries, emit status-recommendation: blocked with a description of what failed.
references/optimiser-rules.md — v1 rule set with trigger conditions, actions, evidence requirements, and oscillation guardsreferences/skill-lifecycle.md — skill lifecycle rules, skill.yaml format, cycle-log format, quality drop triggerdevelopment
--- name: rw-synthesize worker-type: review sidecar-path: synthesis/findings/ blocking: true requires: [rw-analyze] capabilities: [no-web-access] eval-signals: [finding-produced, question-answered, no-finding-produced] --- # rw-synthesize: Synthesis Worker ## Input - Analysis notes from `analysis/notes/` - Analysis comparisons from `analysis/comparisons/` - Existing decisions from `synthesis/decisions/` (must not contradict) ## Output - `synthesis/findings/F-NNN-{slug}.md` — one finding per
development
--- name: rw-reflect worker-type: hook sidecar-path: _reflections/ blocking: true requires: [] capabilities: [no-web-access] eval-signals: [coverage-improved] trigger: on-case-close --- # rw-reflect: Post-Case Reflection Worker ## Input - Completed case: Q-NNN (answered or deferred) or D-NNN (proposed) - All artifacts produced during the case lifecycle (discovery logs, corpus files, notes, comparisons, findings, critiques) ## Output - `{domain}/_reflections/YYYY-MM-DD-{slug}.md` ## Respons
data-ai
--- name: rw-discover worker-type: triage sidecar-path: literature/discovery/ blocking: true requires: [] capabilities: [can-run-commands] eval-signals: [coverage-improved, stale-output] --- # rw-discover: Literature Discovery Worker ## Input - Q-NNN file: sub-questions list, evidence needed section - Budget allocation from `.agentops/budget.md` (3-5 queries/sub-question standard, 5-7 for critical) ## Output - `literature/discovery/{question-slug}-discovery.md` ## Responsibilities 1. **Ge
development
--- name: rw-challenge worker-type: challenge sidecar-path: analysis/critiques/ blocking: true requires: [rw-synthesize] capabilities: [no-web-access] eval-signals: [budget-overfit, evidence-gap] --- # rw-challenge: Adversarial Review Worker ## Input - Findings from `synthesis/findings/F-NNN-*.md` - Cited sources from `literature/corpus/` - Analysis comparisons from `analysis/comparisons/` ## Output - `analysis/critiques/F-NNN-critique.md` — one critique per finding ## Responsibilities 1.