he-learn

he-learn is a skill for Claude Code from sgaabdu4/building-flutter-apps. It costs 45 tokens per session (875 once invoked), scanned A, original, MIT.

A workflow for learning from repeated failures or lasting decisions and recording only the prevention or decision that will remain useful. An ADR is a short document that records an important technical decision and its reasoning.

In plain words
What is it for?
Use it to investigate recurring failures, strengthen deterministic prevention, capture accepted technical decisions, or explicitly record why no new action is needed.
Why use it?
It avoids treating a one-off problem as a lasting pattern and avoids duplicating lessons already preserved in tests or documentation. It keeps the cause, prevention, evidence, and remaining work connected.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is click R "../research/references/troubleshooting.md".

Part of the building-flutter-apps plugin — 14 skills, 5 hooks shipped together

Good fit Use it to investigate recurring failures, strengthen deterministic prevention, capture accepted technical decisions, or explicitly record why no new action is needed.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/sgaabdu4/building-flutter-apps
agentmods
npx agentmods add skills/sgaabdu4/building-flutter-apps/he-learn

Made for: Claude Code.

Or install building-flutter-apps, the plugin that ships this one along with the rest of its 14 skills, 5 hooks.

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 he-learn

README.md
[![agentmods](https://agentmods.dev/badge/skills/sgaabdu4/building-flutter-apps/he-learn/github.svg)](https://agentmods.dev/skills/sgaabdu4/building-flutter-apps/he-learn)
Your own site
<a href="https://agentmods.dev/skills/sgaabdu4/building-flutter-apps/he-learn"><img src="https://agentmods.dev/badge/skills/sgaabdu4/building-flutter-apps/he-learn/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 he-learn

Your own site · 80×15
<a href="https://agentmods.dev/skills/sgaabdu4/building-flutter-apps/he-learn"><img src="https://agentmods.dev/badge/skills/sgaabdu4/building-flutter-apps/he-learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 875 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.
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.00045 $0.00875
Opus 5.5 $0.00018 $0.00350
Sonnet 5.5 $0.00009 $0.00175
Haiku 4.5 $0.00005 $0.00088

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

Security

Grade A, and why

he-learn 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 4d 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.

.agents/skills/he-learn/SKILL.md · 44 lines

How it starts

The opening of the file, as written. The whole thing — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hard Eng Learn

  • Input = current task + observed attempts/results or explicit decision/steering. Reuse its authorization + participation mode. Hook checkpoints request this judgment; they do not establish recurrence, a cause, or permission to change other projects/global memory.
  • Outcome = verified prevention at its narrowest owner, an applicable decision record, or an explicit no-op/blocker. Keep proof + pending work in the same plan; no learning ledger or new task status. Existing tests/docs that already preserve the lesson need no duplicate record.
flowchart TD
  E[Current evidence] --> T{What changed?}
  T -->|Repeated failure| R[Research: confirm common cause]
  T -->|Lasting decision or steering| A[Decision capture]
  T -->|No durable gap| N[Continue without new files]
  R --> P[Repair cause and existing deterministic prevention]
  P --> L{Adequate executable prevention?}
  L -->|Yes| V[Original failure + nearby valid case]
  L -->|No; limitation demonstrated| S[Writing Great Skills: smallest procedural repair]
  S --> V
  A --> U[Check authority, applicability and future retrieval]
  V --> U
  U --> D[Record actual result; resume current stage]
  click R "../research/references/troubleshooting.md"
  click A "references/decisions.md"
  click S "../writing-great-skills/SKILL.md"
  click V "../he/references/testing.md"

Repeated failure → prevention

  • Recurrence = as defined in troubleshooting, including its distinguishing evidence before another similar retry. A first confirmed false-pass/protected-boundary defect still warrants immediate repair through its current owner.
  • Preference = remove the cause → repair existing invariant/type/test/checker/lint/hook/CI → add the smallest missing deterministic check. Reuse project-native tools. A new script needs repeated fragile logic or a required boundary existing commands cannot check; no checker per incident.
  • Proof = the real violating case must fail before repair and pass after it; a nearby valid case must remain valid. Put the check where recurrence would be caught, retain required gates, and name coverage limits. Do not weaken a check or turn a passing command into proof without inspecting its result.
  • Skill = last resort for the part executable prevention cannot adequately cover. State that limitation from evidence; reuse/repair an existing skill before adding one. Follow Writing Great Skills, including its repair route. Canonical location = .agents/skills/<name>/SKILL.md; only needed references/scripts belong beside it.
  • Behavioral proof = exercise the original request + nearby valid/non-trigger case. Material trigger, authority, action-order or completion changes need actual agent execution; a wording/metadata check alone is insufficient. Verify the future consumer reaches the rule when relevant. Failed/unknown proof stays unfinished; never promise universal non-recurrence.

Read the full file on GitHub · 44 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed 133b925675b4
  2. 13d ago Changed e52548bed7c6
  3. 20d ago First seen · 44 lines · 45 tokens per session scan A 86b3fcba5af1

Subscribe to this mod's changes

he-learn is a skill published in the GitHub repository sgaabdu4/building-flutter-apps (25 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 875 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-09-29.