Self Improving Agent
When to use
Use this skill for self improving agent when you need to maintain useful agent memory. The expected result is a memory entry or promotion decision with evidence.
Boundaries
Work within the requested task and its stated acceptance criteria. Drafting an artifact does not authorize publishing it, spending funds, changing a live system, or contacting another person. Identify any such action separately before taking it.
Inputs
Inspect the source observation, recurrence, relevance, and privacy constraints. Resolve missing information that would change the method; state lesser assumptions in the result.
Method
- Diagnose. Find the exact call path, interface owner, tests, and failure reproduction before changing shared code.
- Decide. Promote only durable, verified facts with a clear scope.
- Produce. Build a memory entry or promotion decision with evidence from the inspected material; keep assumptions distinguishable from observed facts.
Decision rules
- Keep the change at the narrowest boundary that fixes the cause. Document any contract change and migrate callers deliberately.
- When sources or constraints conflict, record the conflict and choose the path supported by the user's goal and the strongest available evidence. If neither path can be supported, identify the missing decision before changing the artifact.
Domain rules
- Inspect the code path and tests before changing a shared interface.
- Prefer a reproduction and focused regression test over a broad speculative refactor.
Verification
Check that memory helps a later task and can be corrected. Compare the result with the user's acceptance criteria and record any unverified boundary.
Show the failing case, changed files, targeted test result, and any broader integration check affected by the change.
Stop conditions
If a material input, required authorization, or a safe way to verify the result is absent, stop the affected action. Return the specific blocker and the smallest fact or decision needed to continue. Do not report an unrun check as passed.
Output
Provide a memory entry or promotion decision with evidence. Include the decisive evidence and actual verification result. Name any artifact location and unresolved issue that affects its use.