Commit Graph

5 Commits

Author SHA1 Message Date
William Valentin 06ff94e197 test(lint): remove non-null assertions in skills loader tests 2026-02-15 22:33:37 -08:00
William Valentin 1f004e7d1b feat(skills): add static scanner and block unsafe skills 2026-02-15 11:02:11 -08:00
William Valentin 9900f41057 feat(skills): validate manifest permissions 2026-02-15 10:16:46 -08:00
William Valentin 81d04357a1 feat(skills): validate manifest installer specs 2026-02-12 17:52:53 -08:00
William Valentin 7c41ffad71 feat: add skills system for extensible capability packages
Implement a three-tier skill system (bundled/managed/workspace) that
extends Flynn's abilities via SKILL.md instructions injected into the
system prompt.

- SkillManifest/Skill types with requirements gating (OS, binaries, env)
- Loader: discovers skills from directories, validates manifests,
  checks system requirements, infers manifest from SKILL.md if missing
- SkillRegistry: holds skills, generates system prompt additions,
  supports override by name (workspace > managed > bundled)
- SkillInstaller: copies/removes skills in managed directory with
  upgrade support
- Config: add skills.workspace_dir, managed_dir, bundled_dir options
- Daemon: loads all skills at startup, injects available skill
  instructions into the system prompt
- Tests: 45 new tests (loader 22, registry 11, installer 12)
2026-02-05 20:20:03 -08:00