--- id: 991e1162-d73c-4b6c-a27f-77aa0f9b9a68 type: general title: "NoteDiscovery Skill Creation - MCP to Skill Migration" tags: [pai, claude-code, skills, notediscovery, architecture, migration] importance: 0.7 confidence: 0.8 created: "2025-12-06T16:25:58.700151+00:00" updated: "2025-12-06T16:25:58.700190+00:00" relations: - target: d0d1a325-a308-474a-baf7-6939a76a136b type: RELATED_TO direction: outgoing strength: 0.5 context: "Both part of PAI infrastructure improvements - NoteDiscovery skill migration and MemoryGraph setup happened in same session as part of context management strategy" --- Converted NoteDiscovery from MCP to Skill for more dynamic CRUD operations. MCP required restart for changes and had static tool definitions. Skill approach provides: natural language routing, on-demand context loading, composable operations, immediate extensibility via SKILL.md edits. Created ~/.claude/skills/notediscovery/ with SKILL.md (triggers, workflows, folder conventions) and client.py (HTTP client with session auth, auto-loads .env). Client supports search, read, save, delete, tags, graph operations plus convenience methods (append_to_note, search_or_create, note_exists). Credentials stored in .env with 600 permissions. Removed MCP from .mcp.json and mcp-manager skill registry.