flywheel-refine-skill

Refines agent skill definitions using session evidence and feedback analysis.

3|1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/burningportra/agent-flywheel-plugin --skill flywheel-refine-skill-burningportra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flywheel-refine-skill
Source: https://github.com/burningportra/agent-flywheel-plugin/tree/main/skills/flywheel-refine-skill
Command: npx skills add https://github.com/burningportra/agent-flywheel-plugin --skill flywheel-refine-skill-burningportra

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Agent skills degrade over time as instructions become outdated or fail to address real failure modes observed in sessions. This Skill closes the loop by analyzing actual usage evidence and feedback to propose concrete improvements to a skill's SKILL.md file. ## Core Features & Use Cases - Evidence-gated analysis: Searches agent-mail for feedback and usage messages, checks bead references, and skips refinement entirely when no evidence exists, avoiding wasted agent runs. - Background analysis agent: Spawns a general-purpose agent that reviews the current SKILL.md against collected evidence and writes proposed changes to a cached proposal file. - Proposal caching and diff review: Reuses proposals modified within the last 7 days and presents a before/after diff for user approval before writing updates. - Use Case: After noticing a skill repeatedly misused in sessions, run the refinement workflow to gather feedback, generate targeted DO/DON'T additions, and apply vetted changes to the skill definition. ## Quick Start Ask the agent to refine a specific skill by name, for example by requesting to refine the skill named code-review using recent session feedback.

Frequently Asked Questions about flywheel-refine-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve an agent skill based on usage feedback?

Run the refinement workflow with the skill name as an argument. It searches agent-mail for feedback and usage messages, spawns an analysis agent to propose changes, and shows you a before/after diff for approval.

What happens when no feedback exists for a skill?

The triage gate stops the workflow before spawning any analysis agent. If agent-mail searches and bead references return nothing and no evidence was provided, it reports that there is nothing to improve and exits.

Does the refinement workflow cache previous proposals?

Yes, it checks for a proposal file modified within the last 7 days. If found, it displays the cached analysis and asks whether to apply those changes or re-analyze with fresh evidence.

Can proposed skill changes be applied automatically?

No, changes require explicit user approval. The workflow presents a before/after diff of the proposed SKILL.md text and only writes the update after the user confirms.

Why does the analysis agent limit proposals when evidence is thin?

With fewer than three data points, the agent is instructed to propose only high-confidence changes and avoid inventing problems. This prevents speculative edits that lack grounding in real session behavior.