/** * Skills Management Internal MCP * * Provides tools for managing Anthropic Agent Skills: * - find: Search and discover installed skills with progressive disclosure (depth 1-3) * - add: Install skill from marketplace * - list: List installed skills * - remove: Remove installed skill * - read_resource: Read additional files from skill (resources/, scripts/, etc.) */ import { InternalMCP, InternalTool, InternalToolResult } from './types.js'; export declare class SkillsManagementMCP implements InternalMCP { name: string; description: string; private marketplaceClient; private skillsManager; private ragEngine; private skillEmbeddings; tools: InternalTool[]; /** * Initialize marketplace client */ private ensureClient; /** * Initialize skills manager */ private ensureSkillsManager; /** * Initialize RAG engine for vector search on skills */ private ensureRAGEngine; executeTool(toolName: string, params: any): Promise; /** * Handle skills:find - Progressive skill discovery with vector search * Level 1: Metadata only (name + description) * Level 2: + Full SKILL.md content (AI learns the skill) * Level 3: + File tree listing * * Uses semantic search via RAG engine when query is provided */ private handleFind; /** * Get file tree for a skill directory */ private getSkillFileTree; /** * Recursively list directory contents */ private listDirectoryRecursive; /** * Handle skills:read_resource - Read additional files from skill */ private handleReadResource; private handleAdd; private handleRemove; } //# sourceMappingURL=skills.d.ts.map