/** * skill_view tool — the Level-1 step in the progressive-disclosure * skill schema (M2 item 3, from the Hermes audit). * * Background. The system prompt used to inject the FULL prompt body of * the best-matching ECC skill on every turn (up to 4KB). With 228 * skills bundled, even injecting only one match costs a lot of tokens * for every interaction. Hermes Agent solves this with three loading * levels: * * Level 0 — names + one-line descriptions ONLY in system prompt * (~30-60 chars per skill × top-3 = ~200 char overhead) * Level 1 — full prompt body, loaded on demand by skill_view(name) * Level 2 — referenced sub-files inside a skill (not implemented; * our skills are flat one-file SKILL.md units) * * The model sees Level 0 candidates and decides whether to escalate. * If a skill name looks irrelevant, it skips the lookup entirely. If * a skill clearly fits, one tool call gets the full text. Net effect * for most turns: lower system-prompt cost, occasional one-turn * expansion when a skill is actually needed. * * skill_view is read-only and non-destructive, so it bypasses every * permission gate. */ import type { Tool } from './types.js'; export declare const SkillViewTool: Tool;