create_jinx
Write a new .jinx file from inputs (name, description, inputs spec as
Skill for working with local .knowledge.yaml files via KnowledgeStore.\
Claude Code
$ npx -y skills add NPC-Worldwide/npcpy --skill knowledge_store_skill --agent claude-code
Codex
$ npx skills add NPC-Worldwide/npcpy --skill knowledge_store_skill -a codex -y
Cursor
$ npx skills add NPC-Worldwide/npcpy --skill knowledge_store_skill -a cursor -y
Gemini CLI
$ npx skills add NPC-Worldwide/npcpy --skill knowledge_store_skill -a gemini-cli -y
GitHub Copilot
$ npx skills add NPC-Worldwide/npcpy --skill knowledge_store_skill -a github-copilot -y
OpenCode
$ npx skills add NPC-Worldwide/npcpy --skill knowledge_store_skill -a opencode -y
Windsurf
$ npx skills add NPC-Worldwide/npcpy --skill knowledge_store_skill -a windsurf -y
name: knowledge_store_skill description: "Skill for working with local .knowledge.yaml files via KnowledgeStore.\ \ Use this when you need to recall, search, or manage directory-local memories and\ \ knowledge links stored in plain YAML alongside the user's project files.\nKnowledgeStore\ \ is directory-scoped. Each directory that contains a `.knowledge.yaml` file maintains\ \ its own append-only memory graph. There is no global database \u2014 the YAML\ \ IS the source of truth.\nKey operations: - Load a directory's store: `npcpy.memory.knowledge_store.get_store_for_path(path)`\ \ - Append a memory: `store.append_memory(initial_memory=\"...\", status=\"pending_approval\"\ , ...)` - Update a memory (approve/reject/edit): `store.update_memory(mem_id, status,\ \ final_memory)` - Search memories (keyword substring): `store.search_memories(\"\ query\", limit=20)` - Get approved context for LLM prompts: `store.build_context(max_memories=10)`\ \ - Get links for a memory: `store.get_links_for_memory(mem_id)` - Create a link\ \ between memories: `store.append_link(from_mem, to_mem, relation=\"refines\", agent=\"\ your_name\")` - Aggregate across a tree: `KnowledgeStore.aggregate(root_directory,\ \ max_depth=3)`\nMemory statuses: - `pending_approval` \u2014 raw extraction, needs\ \ human review - `human-approved` \u2014 confirmed and available for context injection\ \ - `human-rejected` \u2014 discard, can be used as negative examples - `human-edited`\ \ \u2014 corrected version supersedes initial_memory\nWhen answering questions,\ \ prefer `build_context()` for recently approved local knowledge, and `search_memories()`\ \ for targeted recall. Always respect `human-rejected` memories \u2014 do not repeat\ \ them."
Skill for working with local .knowledge.yaml files via KnowledgeStore. Use this when you need to recall, search, or manage directory-local memories and knowledge links stored in plain YAML alongside the user's project files. KnowledgeStore is directory-scoped. Each directory that contains a `.knowledge.yaml` file maintains its own append-only memory graph. There is no global database — the YAML IS the source of truth. Key operations: - Load a directory's store: `npcpy.memory.knowledge_store.get_store_for_path(path)` - Append a memory: `store.append_memory(initial_memory="...", status="pending_approval", ...)` - Update a memory (approve/reject/edit): `store.update_memory(mem_id, status, final_memory)` - Search memories (keyword substring): `store.search_memories("query", limit=20)` - Get approved context for LLM prompts: `store.build_context(max_memories=10)` - Get links for a memory: `store.get_links_for_memory(mem_id)` - Create a link between memories: `store.append_link(from_mem, to_mem, relation="refines", agent="your_name")` - Aggregate across a tree: `KnowledgeStore.aggregate(root_directory, max_depth=3)` Memory statuses: - `pending_approval` — raw extraction, needs human review - `human-approved` — confirmed and available for context injection - `human-rejected` — discard, can be used as negative examples - `human-edited` — corrected version supersedes initial_memory When answering questions, prefer `build_context()` for recently approved local knowledge, and `search_memories()` for targeted recall. Always respect `human-rejected` memories — do not repeat them.
/run_jinx jinx_ref=knowledge_store_skill input_values={"name": "query_or_memory", "description": "Search query, memory text, or JSON params depending on action"}npcpy is a library that provides key primitives for research and development with multimodal language models, agentic AI, and knowledge graphs.
Write a new .jinx file from inputs (name, description, inputs spec as
Skill for searching and evolving the SQLite-backed Knowledge Graph.\
Skill for using the KnowledgeIndex registry to discover which directories\
Skill for population-based Knowledge Graph evolution via Sememolution.\
Render the provided prompt template with Jinja context and send it to
Execute a jinx by name (already loaded on the team) or by filesystem
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…