export interface SkillBuilderDetection { installed: boolean; path: string | null; version: string | null; } /** * Check if the skill-builder skill is installed in any known location. * * Detection order (first match wins): * 1. In-source workspace path: {projectRoot}/plugins/skills/skills/skill-builder/SKILL.md * (where vskill ships skill-builder when developing in this monorepo) * 2. Global canonical: ~/.agents/skills/skill-builder * 3. Project-local canonical: {projectRoot}/.agents/skills/skill-builder * 4. Project-local agent-native: {projectRoot}/{agent.localSkillsDir}/skill-builder * for every agent in AGENTS_REGISTRY (covers .claude/skills, .cursor/skills, etc.) * 5. Any registered agent's global skills directory * 6. Any agent's plugin cache (e.g. ~/.claude/plugins/cache/) * * 0786 (AC-US2-03/05): marketplace catalog at * `~/.claude/plugins/marketplaces//plugins/` is NOT treated as * installed — it is the *available* plugin index. Only the plugin cache is * evidence of installation. Pre-0786 the marketplace branch caused * Studio's Engine Selector to label uninstalled engines as installed. */ export declare function isSkillBuilderInstalled(projectRoot?: string): SkillBuilderDetection; /** * 0786 AC-US2-03: thin wrapper exposing only the matched path. Mirrors * findSkillCreatorPath in shape so route handlers and the Engine Selector * can answer "where is skill-builder installed?" without inspecting the * full SkillBuilderDetection record. */ export declare function findSkillBuilderPath(projectRoot?: string): string | null;