self-learning

self-learning is a skill for Claude Code from griddynamics/rosetta. It costs 46 tokens per session (425 once invoked), scanned A, original, Apache-2.0.

A development safety guide that tells the coding agent how to respond when work fails, results do not match expectations, or requirements become unclear.

In plain words
What is it for?
Use it to pause after errors, compare expected and actual results, state assumptions, consult shared agent notes, and capture general rules from what went wrong.
Why use it?
It prevents repeated guesses and unplanned changes after a problem. It helps find the underlying cause, record reusable lessons, and ask the user for direction when needed.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to pause after errors, compare expected and actual results, state assumptions, consult shared agent notes, and capture general rules from what went wrong.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/griddynamics/rosetta/self-learning
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add griddynamics/rosetta --skill self-learning
Clone the repo
git clone --depth 1 https://github.com/griddynamics/rosetta

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for self-learning

README.md
[![agentmods](https://agentmods.dev/badge/skills/griddynamics/rosetta/self-learning/github.svg)](https://agentmods.dev/skills/griddynamics/rosetta/self-learning)
Your own site
<a href="https://agentmods.dev/skills/griddynamics/rosetta/self-learning"><img src="https://agentmods.dev/badge/skills/griddynamics/rosetta/self-learning/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for self-learning

Your own site · 80×15
<a href="https://agentmods.dev/skills/griddynamics/rosetta/self-learning"><img src="https://agentmods.dev/badge/skills/griddynamics/rosetta/self-learning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 425 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00425
Opus 5.5 $0.00018 $0.00170
Sonnet 5.5 $0.00009 $0.00085
Haiku 4.5 $0.00005 $0.00042

Measured 1mo ago against content hash 4e6215abc2fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

self-learning scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

instructions/r2/core/skills/self-learning/SKILL.md · 45 lines

What it actually says

<self_learning>

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.
  • Fixing the artifact instead of the harness that produced it.
  • Storing incident notes instead of generalizable rules.
  • "Let me try one more thing" — the opposite of stopping.
  • Proposing a new plan immediately — understand first.
  • Apologizing excessively instead of regrouping efficiently.
  • Auto-invoking post-mortem instead of recommending it to the user.

</self_learning>

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 45 lines · 46 tokens per session scan A 4e6215abc2fc

Subscribe to this mod's changes

self-learning is a skill published in the GitHub repository griddynamics/rosetta (362 stars, last pushed yesterday), licensed Apache-2.0. It adds 46 tokens to every session and 425 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

memorix-troubleshooting

Use when Memorix MCP, setup, project binding, HTTP control plane, hooks, skills, or agent integration is missing, stale, or failing.

AVIDS2/memorix · 36 tokens

systemic-issue-triage

Trigger: new issue, bug report, triage, backlog, issue flood, community report, root cause, dead-end, blocked user. Attack issues by root class, never one-by-one; fixes must shrink the system, not grow it.

Gentleman-Programming/gentle-ai · 57 tokens

issue-root-resolution

Trigger: root audit, atacar la raíz, issue roots, backlog roots, mechanism map, deletion-driven fix, resolver issues de raíz, close outdated issues. Audit and resolve issue clusters by verified root cause.

Gentleman-Programming/gentle-ai · 45 tokens

debug-remote

Attach to a running Windows process through a WinDbg debug server and inspect it live. Use when the user wants to debug a process on another machine, or one already under a .server session, rather than a crash dump.

svnscha/mcp-windbg · 49 tokens

windbg-doctor

Check that this machine can actually debug - MCP connection reachable, debugger present, symbols configured - and explain how to fix whatever is missing. Use when mcp-windbg tools fail, when a session will not open, or before a first debugging session.

svnscha/mcp-windbg · 56 tokens

debug-live

Guides root-cause investigations with debugging capabilities by setting breakpoints, starting a debug session, stepping through execution, inspecting variables, and tracing symptoms back to their origin. Prefer it for runtime bugs, failing tests, exceptions, crashes, hangs, wrong/null values, and unexpected output…

microsoft/DebugMCP · 84 tokens