eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
20 lines (19 loc) • 837 B
TypeScript
interface AvailableSkillDescription {
readonly description: string;
readonly name: string;
}
/**
* Formats the "Available skills" system prompt section.
*
* All skills are always listed regardless of activation state. Active skill
* instructions are never injected into the system prompt — the model already
* has them from the `load_skill` tool result. This keeps the system
* prompt identical across the entire session, preserving prompt caching.
*
* Authored skills call this at graph resolution time so the section is
* part of the turn agent's static instructions. Dynamic skills
* (`defineDynamic` in `agent/skills/`) reuse the same formatter for
* durable context announcements.
*/
export declare function formatAvailableSkillsSection(skills: readonly AvailableSkillDescription[]): string | null;
export {};