/** * Minimal SKILL.md frontmatter parser. * * Skills ship a Markdown file with a YAML-ish frontmatter block describing * the skill identity, requirements, and install hints. We only need a tiny * subset to wire skills into the leviathan's tool surface, so this parser * deliberately avoids pulling in a full YAML dependency. * * --- * name: clawd-code-skill * description: Control Clawd Code via MCP protocol. * homepage: https://... * metadata: { "solanaos": { "emoji": "🤖", "requires": { "bins": ["node"] } } } * --- */ export interface SkillFrontmatter { name: string; description: string; homepage?: string; emoji?: string; requiresBins?: string[]; requiresEnv?: string[]; raw: Record; } export declare function parseSkillMd(filepath: string): SkillFrontmatter | null;