he-learn

he-learn is a skill for Claude Code from sgaabdu4/building-flutter-apps. It costs 77 tokens per session (1,750 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); mentions AGENTS.md.

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 — 15 skills, 6 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 15 skills, 6 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 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,750 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.00077 $0.01750
Opus 5.5 $0.00031 $0.00700
Sonnet 5.5 $0.00015 $0.00350
Haiku 4.5 $0.00008 $0.00175

Measured 20d ago against content hash 54a24386f8ad, 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 20d 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 · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 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 -->|Escaped bug| P
  T -->|Lasting decision or steering| A[Decision capture]
  T -->|Task end| RT[Retro: sort each item; plan Retro line]
  T -->|No durable gap| N[Continue without new files]
  RT -->|Prevention needed| P
  RT -->|None or outside cause| D
  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.
  • Escaped bug = a defect found on the base branch (user report, revert or failing base check), so it passed every gate on its PR. Learn starts at its first sighting; no repeat is needed. Name the gate that should have caught it (test, type, lint, E2E or ship check). Before the fix, add a case at that gate that fails on the revision with the bug. Fix already merged → run the case on the revision before the fix; state a gap only if that revision cannot run. No gate can catch it → state why in the plan, then apply Skill below.
  • Repeat signal = the Stop hook counts each failed check in .hard-eng/failures.json (failing lines, numbers masked) and names a second sighting as a repeat; treat it as recurrence evidence, not proof of one cause.
  • Same cause = before a fix, search for earlier fixes of this cause and every other place it can occur; fix them together and record them on the plan's Same cause: line. check fails a Ready plan or a changed Complete plan without it.
  • 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.
  • Attribution = give each tried fix one verdict against the original failure: helped, hurt, no effect or confounded. Confounded = several changes in one run, or one run alone behind the difference. Keep a lesson only from helped fixes; narrow a confounded one to what the evidence shows, or record nothing. Write the trigger as the shape of the situation, not one task's facts.
  • 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 · 68 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. 20d ago Changed · +19 lines · +20 tokens per session 54a24386f8ad
  2. 1mo ago Changed · +2 lines · +12 tokens per session 96b0ba8b5df8
  3. 1mo ago Changed · +3 lines 119d2e209c47
  4. 1mo ago Changed 133b925675b4
  5. 1mo ago Changed e52548bed7c6
  6. 2mo 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 11d ago), licensed MIT. It adds 77 tokens to every session and 1,750 once invoked, about $0.0003 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.

Related

he-learn compared with skills from other repositories

he-learn next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
he-learnsgaabdu4/building-flutter-appsSkill2511d agoMITA77Claude Code
fl-error-handlingphanbaohuy96/flutter_base_structureSkill103d agononeC33Claude Code, Codex
flutter-mcp-toolkit-debugArenukvern/mcp_flutterSkill4016d agoMITA32Claude Code
gitnexus-guideArenukvern/mcp_flutterSkill4016d agoMITA56Claude Code
flutter-mcp-toolkit-inspectArenukvern/mcp_flutterSkill4016d agoMITA41Claude Code
firebase-crashlyticsevanca/flutter-ai-rulesSkill67821d agoMITA34Claude Code
flutter-mcp-toolkit-intentcall-migrationArenukvern/mcp_flutterSkill4016d agoMITA58Claude Code