/** * On-demand documentation served through the MCP `skills` tool. * * The long-form how-to for calling integrations used to live in the `execute` * tool description, which every session loads into its prompt up front. That * is pure context bloat: a model that never calls `execute` still pays for the * whole calling-convention essay. Moving it behind a tool lets the `execute` * description carry only the live connection inventory plus a pointer here, and * the model fetches the full guide the moment it actually needs it. * * A skill is a static, named markdown document. The registry is intentionally * tiny and hand-curated, not a plugin surface: add an entry only when a tool * genuinely needs its own how-to behind the same `skills` door. */ export interface Skill { /** Stable identifier the model passes to the `skills` tool. */ readonly name: string; /** One-line summary, shown when the `skills` tool lists what is available. */ readonly summary: string; /** The full markdown body returned when the skill is fetched by name. */ readonly body: string; } export declare const EXECUTE_SKILL: Skill; export declare const CREATE_ARTIFACT_SKILL: Skill; export declare const ARTIFACT_STYLE_SKILL: Skill; /** The full skill catalog. Hand-curated; keep it small. */ export declare const SKILLS: readonly Skill[]; /** * The catalog a single session sees. Artifacts off (the default) drops the * artifact skills so the index never advertises a doc for tools this connection * does not have; a session that opted in gets the full {@link SKILLS} list. */ export declare const skillCatalogFor: (options: { readonly artifacts: boolean; readonly discovery?: "execute" | "search-invoke"; }) => readonly Skill[]; /** Look up a skill by its exact name within a session's catalog. */ export declare const findSkill: (name: string, catalog?: readonly Skill[]) => Skill | undefined; /** The index the `skills` tool returns when called without a name (or with an * unknown one): every skill's name and one-line summary, plus how to fetch * the body. * * It leads with what the catalog IS. A host without a skill tool of its own * (pi, for one) reads `skills` as the general skill reader it is missing and * asks it for the user's or the harness's skills; the index is where that * model lands, so it has to say plainly that this list is the whole of it and * covers only Executor's own tools. */ export declare const renderSkillsIndex: (catalog?: readonly Skill[]) => string; //# sourceMappingURL=skills.d.ts.map