hermes-agent/tests/agent
teknium1 f668e9fc75 feat: platform-conditional skill loading + Apple/macOS skills
Add a 'platforms' field to SKILL.md frontmatter that restricts skills
to specific operating systems. Skills with platforms: [macos] only
appear in the system prompt, skills_list(), and slash commands on macOS.
Skills without the field load everywhere (backward compatible).

Implementation:
- skill_matches_platform() in tools/skills_tool.py — core filter
- Wired into all 3 discovery paths: prompt_builder.py, skills_tool.py,
  skill_commands.py
- 28 new tests across 3 test files

New bundled Apple/macOS skills (all platforms: [macos]):
- imessage — Send/receive iMessages via imsg CLI
- apple-reminders — Manage Reminders via remindctl CLI
- apple-notes — Manage Notes via memo CLI
- findmy — Track devices/AirTags via AppleScript + screen capture

Docs updated: CONTRIBUTING.md, AGENTS.md, creating-skills.md,
skills.md (user guide)
2026-03-07 00:47:54 -08:00
..
__init__.py test: add unit tests for 8 modules (batch 2) 2026-02-26 13:54:20 +03:00
test_auxiliary_client.py refactor(auth): transition Codex OAuth tokens to Hermes auth store 2026-03-01 19:59:24 -08:00
test_context_compressor.py fix(agent): handle None content in context compressor (fixes #211) 2026-03-02 01:35:52 -08:00
test_model_metadata.py test: comprehensive tests for model metadata + firecrawl config 2026-03-05 18:22:39 -08:00
test_prompt_builder.py feat: platform-conditional skill loading + Apple/macOS skills 2026-03-07 00:47:54 -08:00
test_prompt_caching.py test: add unit tests for 8 modules (batch 2) 2026-02-26 13:54:20 +03:00
test_redact.py test(redact): add sensitive text redaction 2026-02-28 21:56:27 -08:00
test_skill_commands.py feat: platform-conditional skill loading + Apple/macOS skills 2026-03-07 00:47:54 -08:00
test_subagent_progress.py fix(display): fix subagent progress tree-view visual nits 2026-02-28 23:29:49 -08:00