Self learning

From griddynamics/rosetta · View interactive version

Self learning is an AI agent skill from the GitHub repository griddynamics/rosetta. MUST activate on: execution failure/error, mistake, wrong/unexpected result, expected≠actual mismatch, 2 consecutive mismatches, unhappy/upset user, user asks why something failed/didn't work.

How to use this skill

Skill file

<self_learning>

<process>

On failure or mismatch — also: user asks why something didn't work · 3+ errors in quick succession · retrying same approach without progress · drift from agreed plan/scope · large change without full understanding:

  1. STOP all changes immediately. NO "one more try".
  2. Identify root cause — not symptoms. Understand BEFORE replanning.
  3. Ask 1-3 clarifying questions if ambiguous.
  4. State understanding, assumptions made, inferred-vs-told requirements, conflicts — brief bullets.
  5. Wait for explicit user confirmation; let the user redirect.

Memory:

  1. Consult AGENT MEMORY.md during planning.
  2. Init if missing; prefer agent memory over task memory.
  3. Convert root causes into GENERALIZED, REUSABLE preventive rules — not incident-specific notes.
  4. Store in AGENT MEMORY.md concisely and organized.
  5. Record what worked and failed logically, architecturally, and technically.
  6. Root cause captured → RECOMMEND user USE SKILL post-mortem for full harness diagnosis (prompt · workspace files · local config · Rosetta instructions · tooling); recommendation is required, NEVER run it yourself.

</process>

<pitfalls>

</pitfalls>

</self_learning>

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.