Agent Skills in HSM-II
HSM-II’s personal agent treats on-disk skills as Agent Skills-compatible where possible. The normative format is defined in the Agent Skills specification (directory layout, required YAML front matter, optional scripts/, references/, assets/, progressive disclosure).
What HSM-II does
- Scans
<HSMII_HOME>/skillsandHSM_SKILL_EXTERNAL_DIRSfor**/SKILL.md. - Catalog stores metadata for progressive disclosure; full
SKILL.mdbody is loaded viaskill_md_reador/skill <slug>. - Extra files under the skill folder are loaded with
skill_resource_read(relative paths only; no..). skills_listreturnsskill_id(YAMLname),skill_dir, and optionallicense,compatibility,metadata,allowed_toolswhen present.- Validation: mismatched
namevs folder name, invalidnamesyntax, or missingdescriptionwhen using Agent Skills front matter → warning by default; setHSM_AGENT_SKILLS_STRICT=1to exclude those entries from the catalog.
Upstream tooling
To validate packs against the reference rules, use the skills-ref CLI from the agentskills/skills-ref tree when you have it installed (skills-ref validate ./my-skill).
Seeds in this repo
See templates/hsmii/skills/ for a compliant example (name matches the folder name, lowercase kebab-case).
Why descriptions matter (tool + skill selection)
Models map user intent to tool names/descriptions/schemas and to skill catalog blurbs the same way they would pick a function: unclear text leads to skipped skills, wrong tools, or overuse of generic primitives. For a concise, model-centric explanation (Claude-style tool_use, Hermes-style function calling, progressive disclosure, pitfalls), load the on-disk skill llm-tool-skill-reasoning via skill_md_read or open skills/llm-tool-skill-reasoning/SKILL.md.