summaryrefslogtreecommitdiffhomepage
path: root/packages/skills/src
AgeCommit message (Collapse)Author
9 daysfeat(skills): recursive skill discovery — scan subdirectoriesAdam Malczewski
scanSkillsDir now recurses into subdirectories (e.g. ~/.skills/general/, ~/.skills/tech/), not just the top level. The load_skill execute path also searches recursively for the named .md file. Duplicate names are deduped (first found wins; top-level before nested). 42 tests pass.
2026-06-10feat(skills): skill system + load_skill tool via per-turn tools filterAdam Malczewski
Skills are markdown in .skills/ dirs (~/.skills + <cwd>/.skills, cwd shadows home; name = filename). Format: line1 summary, line2 ---, body line3+; load strips the first two lines; malformed = no summary but still loadable. Mechanism (first use of the context-assembly filter chain, §3.2): - kernel: expose HostAPI.applyFilters (delegates to bus.applyFilters) - session-orchestrator: define/export toolsFilter + ToolAssembly; apply once per turn before runTurn (cache-stable across steps), threading cwd + conversationId - skills (new ext): pure parse/merge/render + load_skill tool (live read, path-contained) + a toolsFilter filter rewriting load_skill's description + name enum per cwd - host-bin: register skills in CORE_EXTENSIONS - transport-http: fix HostAPI test stub for the new applyFilters method (fan-out) 734 vitest + 109 bun = 843 tests; tsc -b EXIT 0; biome clean; clean live boot.