agent-learning-layer-triage
Skill16 starsChanged 5 months agoMITView on GitHub
Route reusable agent learning after an error, success pattern, review finding, or repeated workflow. Use when deciding whether an improvement belongs in the model prompt, memory/context note, durable docs, SKILL.md, checklist, script/tool, eval, golden fixture, or should be rejected as overfit.
In this repository94 other files it gives its agents.
- agent-friction-ledgerSkill
- agent-operations-contractSkill
- agents-best-practicesSkill
- agent-tool-contract-reviewSkill
- anti-slop-reviewSkill
- architecture-deepening-reviewSkill
- assumption-excavationSkill
- authorized-security-routerSkill
- book-to-skillSkill
- bounded-evaluationSkill
- bounded-growth-loopSkill
- bounded-orchestration-contractSkill
- brief-first-executionSkill
- browser-verificationSkill
- bug-evidence-protocolSkill
- codex-review-loopSkill
- compaction-survivalSkill
- complexity-optimizerSkill
- confidence-fragility-reviewSkill
- context-degradation-reviewSkill
- corporate-surfaceSkill
- delivery-baseline-auditSkill
- delivery-preflight-gateSkill
- design-critique-polishSkill
- designmd-brand-kitSkill
- design-register-bootstrapSkill
- diagnoseSkill
- doc-grounded-grillingSkill
- doc-to-lora-evaluatorSkill
- durable-context-maintenanceSkill
- dynamic-workflow-packetsSkill
- editorial-surfaceSkill
- evidence-ledger-researchSkill
- filesystem-context-disciplineSkill
- fluid-interaction-reviewSkill
- frontend-product-builderSkill
- frontend-taste-layerSkill
- git-native-context-contractSkill
- goal-loop-designerSkill
- graph-guided-code-readingSkill
- handoffSkill
- happy-handoffSkill
- html-brief-artifactSkill
- html-diagram-artifactSkill
- hypothesis-diversificationSkill
- idea-to-ship-gatesSkill
- knowledge-base-enrichmentSkill
- lean-context-layoutSkill
- local-inference-tuningSkill
- loop-hardening-contractSkill
- loopops-protocolSkill
- loop-readiness-reviewSkill
- lottie-motion-builderSkill
- minimal-diff-builderSkill
- motion-review-gateSkill
- overengineering-reviewSkill
- personal-workspace-routerSkill
- phase-spec-executionSkill
- pipeline-readiness-gateSkill
- plan-to-issuesSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 15 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill when a task produces a lesson and the next question is: where should this learning live?
- Distinctive: line 29
Prefer the lowest layer that makes the next run materially better.
- Distinctive: line 43
If uncertainty remains, park as a note with evidence instead of promoting it.
- Distinctive: line 47
Use memory/context note for preferences, compact conventions, and stable facts that do not need a workflow.
- Distinctive: line 48
Use durable docs for repo-local facts that should survive sessions and be discoverable from the repo.
- Distinctive: line 49
Use checklists when sequence is the main value and the steps remain partly human-supervised.
- Very specific: line 50
Use SKILL.md when the behavior should load on demand across tasks and needs trigger discipline.
- Distinctive: line 51
Use script/tool when prose keeps producing inconsistent execution for a deterministic operation.
- Distinctive: line 52
Use eval/golden fixture when the lesson came from a failure that should not regress.
- Distinctive: line 53
Use rejected buffer when the idea is attractive but not yet proven.
- Distinctive: line 72
Do not turn every useful sentence into a skill.
- Distinctive: line 73
Do not put repo-local facts into global skills unless the behavior generalizes.
- Distinctive: line 74
Do not create scripts for workflows that still require judgment at every step.
- Distinctive: line 75
Do not create evals without a stable fixture or observable pass/fail condition.
- Distinctive: line 76
Do not store secrets, private user data, credential hints, or sensitive client context in publishable artifacts.
- Distinctive: line 77
Do not weaken existing authorization, safety, or verification gates to make learning feel smoother.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Learning Layer Triage
Use this skill when a task produces a lesson and the next question is: where should this learning live?
ABVX does not assume the model itself learns. Most useful operational learning belongs in an auditable layer around the model: context, skills, scripts, gates, and evals.
Learning Layers
Classify the candidate into the cheapest durable layer that solves the repeated problem:
- Leave as prompt/session behavior: one-off correction, low recurrence, no durable value.
- Memory or context note: stable preference, repo fact, operator convention, or short reminder that should be easy to read and revise.
- Durable repo doc: stable repo architecture, setup, verification, deployment, or workflow fact that future agents must discover reliably.
- Checklist: repeated human or agent sequence where order matters but no portable behavior layer is needed yet.
- SKILL.md: reusable behavior with a clear trigger, action rules, anti-patterns, and verification discipline.
- Script or tool: deterministic repeated step where code is more reliable than prose.
- Eval or golden fixture: behavior must be regression-tested, especially after a bug, review failure, or model drift.
- Reject / park: plausible but overfit, too broad, not validated, duplicative, or unsafe.
Prefer the lowest layer that makes the next run materially better.
Triage Questions
Ask in order:
- Did this happen more than once, or is recurrence likely?
- Is the lesson stable across repos, or only local to one repo/session?
- Is the value factual recall, procedural behavior, deterministic execution, or regression detection?
- Can the lesson be verified by a command, fixture, review rubric, or before/after trace?
- Would adding this to always-loaded context increase startup cost more than it reduces future mistakes?
- Does it duplicate a stronger existing skill, script, doc, or higher-priority instruction?
- Could it weaken a safety, trust, authorization, privacy, or destructive-action boundary?
If uncertainty remains, park as a note with evidence instead of promoting it.
Routing Rules
- Use memory/context note for preferences, compact conventions, and stable facts that do not need a workflow.
- Use durable docs for repo-local facts that should survive sessions and be discoverable from the repo.
- Use checklists when sequence is the main value and the steps remain partly human-supervised.
- Use SKILL.md when the behavior should load on demand across tasks and needs trigger discipline.
- Use script/tool when prose keeps producing inconsistent execution for a deterministic operation.
- Use eval/golden fixture when the lesson came from a failure that should not regress.
- Use rejected buffer when the idea is attractive but not yet proven.
Output Shape
Return a compact decision record:
Learning candidate: <one sentence>
Evidence: <trace, PR, review, failure, success pattern>
Chosen layer: prompt | memory | durable-doc | checklist | skill | script | eval | reject
Why this layer: <short rationale>
Artifact to update: <path or destination>
Verification: <how we know the learning helps>
Rejected higher layers: <why not skill/script/eval/etc.>
Next action: <one concrete edit or no-op>Promotion Guardrails
- Do not turn every useful sentence into a skill.
- Do not put repo-local facts into global skills unless the behavior generalizes.
- Do not create scripts for workflows that still require judgment at every step.
- Do not create evals without a stable fixture or observable pass/fail condition.
- Do not store secrets, private user data, credential hints, or sensitive client context in publishable artifacts.
- Do not weaken existing authorization, safety, or verification gates to make learning feel smoother.
Pair With
skillopt-evolve-skillswhen the chosen layer isSKILL.mdor agent instructions.durable-context-maintenancewhen the chosen layer is repo-local durable docs.goal-loop-designerwhen the lesson should become a bounded loop contract, judge rubric, or stop rule.delivery-preflight-gatewhen repeated failure suggests a missing preflight, push gate, or regression fixture.
Final Report
State the chosen layer, the artifact changed or intentionally not changed, and the verification or evidence threshold for promotion.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

