Self improvement

From Sistema2D/FrameCode-VibeWork · View interactive version

Self improvement is an AI agent skill from the GitHub repository Sistema2D/FrameCode-VibeWork. Improve an existing skill or agent from evidence while preserving its scope. Use when a skill fails, drifts from a canonical rule or needs a trigger change. Do not use to create a new skill (agent-factory).

How to use this skill

Skill file

SKILL: Skill and Agent Self-Improvement

Purpose

Control updates to existing skills and agent profiles so the framework improves from evidence without accumulating noise, redundant rules, or broader prompts. This skill is a Markdown-only refactoring gate for AI operational assets.

Activation Triggers

Load this skill before changing any skills/*/SKILL.md, agent profile, skill catalog, trigger list, or agent-specific operating rule when:

Inputs

Concrete failure or drift evidence, owning canonical documents, current skill and catalog entry, overlapping skills, representative replay task, and active plan/change record.

Improvement Gate

Improvement is allowed only when at least one evidence metric and all safety metrics pass:

| Metric | Pass threshold |

|---|---|

| Failure evidence | 2 independent failures/ambiguities, or 1 P1/P2 incident. |

| Rule drift | A canonical document changed and the skill now contradicts or misses it. |

| Validation gap | Existing exit criteria did not detect a real defect. |

| Token ROI | Expected skill or base-document reduction of at least 15%, or removes repeated clarifying prompts. |

| Scope preservation | The edit narrows or clarifies scope; it does not expand responsibility without agent-factory. |

| Backward compatibility | Existing valid triggers and outputs remain valid or have a migration note. |

Block Conditions

Do not modify a skill or agent when:

Safe Improvement Sequence

  1. Identify the concrete failure, drift, or inefficiency.
  2. Check the owning canonical documents and related skills.
  3. Decide whether the fix belongs in the skill, a template, AGENTS.md, AI.md, or a wiki note.
  4. Patch the smallest section that changes behavior.
  5. Preserve trigger precision and explicit non-responsibilities.
  6. Validate with the task that exposed the gap or a representative replay.
  7. Update catalogs, indexes, changelog, plan, and session synthesis.

Output Required

Create or fill the report section of governance/TEMPLATE_SKILL_CHANGE.md and record this compact block in the active plan:

## Skill/Agent Self-Improvement Gate

- Skill loaded: `skills/self-improvement/SKILL.md`
- Asset changed:
- Evidence:
- Metric passed:
- Scope preserved:
- Token/risk ROI:
- Validation replay:
- Decision: `patch` / `defer` / `requires agent-factory`

Exit Criteria

The improvement is complete only when the updated asset is more precise, no broader than before, cataloged consistently, validated against evidence, and documented with residual risk.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.