import type { CliId } from '../../adapters/cli/types.js'; import type { SkillPackage } from './types.js'; export interface NativeCliSkillGroup { cliId: CliId; rootDir: string; skills: SkillPackage[]; /** Dashboard tab label. Absent → render `cliId` (a CLI's flat native skills * tab). Set for Claude plugin / marketplace groups so they're distinguishable * from — and from each other beside — the plain `claude` tab. */ label?: string; } /** * Discover skills that live inside Claude Code's plugin system — which the flat * `/skills` scan never reaches. Two sources, each surfaced as its * own labelled group so the dashboard can show + register them like any other * discovered skill: * 1. Enabled plugins in `plugins/installed_plugins.json` → each install's * `/skills//SKILL.md` (e.g. the `frontend-design` plugin). * 2. Marketplace skill collections at `plugins/marketplaces//skills/` * (e.g. `anthropic-agent-skills`, the anthropics/skills repo). * Plugins with no `skills/` dir (e.g. gopls-lsp) contribute nothing. */ export declare function discoverClaudePluginSkillGroups(claudeDataDir: string, cliId: CliId, seen?: Set): NativeCliSkillGroup[]; export declare function discoverNativeCliSkillGroups(cliIds: readonly CliId[]): NativeCliSkillGroup[]; export declare function discoverProjectSkills(workingDir: string): SkillPackage[]; //# sourceMappingURL=discovery.d.ts.map