npc-worldwide/npcpy/knowledge-index-skill
Skill for using the KnowledgeIndex registry to discover which directories contain `.knowledge.yaml` files without walking the filesystem. KnowledgeIndex is a lightweight SQLite cache. It maps directory paths to file metadata (mtime, memory_count, link_count). The database path is caller-provided — npcpy does not hardcode a default. Key operations: - Upsert a directory after writing to its YAML: `upsert_directory(db_path, directory, memory_count, link_count)` - List known directories: `get_known_
Agent skill · version 2.1.27 · from NPC-Worldwide/npcpy
Install
npx yarkr-cli add skill:npc-worldwide/npcpy/knowledge-index-skillWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:npc-worldwide/npcpy/knowledge-index-skill
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:npc-worldwide/npcpy/knowledge-index-skillOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:npc-worldwide/npcpy/knowledge-index-skillWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.