icl
Installation
SKILL.md
Skill: In-Context Learning
Injecting 1–2 matched demos before a task measurably beats zero-shot on recurring patterns. The pool lives in .berserqir/skills-resources/icl/demos/ (hub, on-demand regime).
Demo resolutions
| Resolution | Content | Use for |
|---|---|---|
| task-level | full trajectory of a completed similar task (goal → steps → outcome) | complex multi-step tasks |
| step-level | snippet of one recurring step (e.g., "update memory-medium after task") | protocol steps agents get wrong |
Selection (before EXECUTE phase)
- Match by frontmatter tags (area, pattern family) + task similarity.
- Inject 1–2 demos maximum — more dilutes; budget lives in
core/protocols/context-budget.md. - No match ≥ threshold? Inject nothing. A wrong demo is worse than zero-shot.