Expand description
Skills system — scan SKILL.md files, match against user requests, inject matched skill instructions into the system prompt. Supports template variables and inline shell execution.
Modules§
- curator
- Skill curator — background task that periodically reviews skills and suggests improvements based on usage patterns.
Structs§
Functions§
- discover_
skills - Scan known skill directories for SKILL.md files
- discover_
skills_ for_ workspace - expand_
inline_ shell - Execute inline shell snippets (
!\command`) in skill content. Replaces each snippet with its stdout (trimmed). Failures produce a short[inline-shell error: …]` marker. - load_
skill_ content - Load skill content raw (no preprocessing).
- managed_
skills_ dir - match_
skill - preprocess_
skill_ content - Preprocess skill content: substitute template vars and expand inline shell.
- save_
managed_ skill - substitute_
template_ vars - Substitute
${HERMES_SKILL_DIR}and${HERMES_SESSION_ID}in skill content. Unresolved tokens are left as-is so the author can debug them.