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.
git clone --depth 1 https://github.com/sgaabdu4/building-flutter-appsnpx agentmods add skills/sgaabdu4/building-flutter-apps/he-learnWrote 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.
[](https://agentmods.dev/skills/sgaabdu4/building-flutter-apps/he-learn)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.checkfails 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.
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.
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.
- 20d ago Changed · +19 lines · +20 tokens per session 54a24386f8ad
- 1mo ago Changed · +2 lines · +12 tokens per session 96b0ba8b5df8
- 1mo ago Changed · +3 lines 119d2e209c47
- 1mo ago Changed 133b925675b4
- 1mo ago Changed e52548bed7c6
- 2mo ago First seen · 44 lines · 45 tokens per session scan A 86b3fcba5af1
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.
he-learn compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| he-learnsgaabdu4/building-flutter-apps | Skill | 25 | 11d ago | MIT | A | 77 | Claude Code |
| fl-error-handlingphanbaohuy96/flutter_base_structure | Skill | 10 | 3d ago | none | C | 33 | Claude Code, Codex |
| flutter-mcp-toolkit-debugArenukvern/mcp_flutter | Skill | 401 | 6d ago | MIT | A | 32 | Claude Code |
| gitnexus-guideArenukvern/mcp_flutter | Skill | 401 | 6d ago | MIT | A | 56 | Claude Code |
| flutter-mcp-toolkit-inspectArenukvern/mcp_flutter | Skill | 401 | 6d ago | MIT | A | 41 | Claude Code |
| firebase-crashlyticsevanca/flutter-ai-rules | Skill | 678 | 21d ago | MIT | A | 34 | Claude Code |
| flutter-mcp-toolkit-intentcall-migrationArenukvern/mcp_flutter | Skill | 401 | 6d ago | MIT | A | 58 | Claude Code |