knowledge_sememolution_skill

knowledge_sememolution_skill is a skill for Claude Code, Codex from NPC-Worldwide/npcpy. It costs 366 tokens per session (987 once invoked), scanned A, original, MIT.

A system for growing several different knowledge graphs, which are networks of connected facts and concepts, from text. It searches and refines these graphs in different ways, then compares their answers.

In plain words
What is it for?
Use it for cross-domain idea generation, speculative reasoning, text-based knowledge building, and questions where combining distant concepts may help.
Why use it?
It helps when one search through stored knowledge may miss useful connections or perspectives. Different graph versions can explore a question with varied depth and breadth.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for cross-domain idea generation, speculative reasoning, text-based knowledge building, and questions where combining distant concepts may help.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/npc-worldwide/npcpy/knowledge_sememolution_skill
About the project

npcpy is a Python library for building applications with multimodal language models, agent-based AI, and knowledge graphs. Researchers and developers use it with local or cloud model providers to create agents, multi-agent teams, and AI workflows.

NPC-Worldwide/npcpy · 1,533 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NPC-Worldwide/npcpy --skill knowledge_sememolution_skill
Clone the repo
git clone --depth 1 https://github.com/NPC-Worldwide/npcpy

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for knowledge_sememolution_skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/npc-worldwide/npcpy/knowledge_sememolution_skill/github.svg)](https://agentmods.dev/skills/npc-worldwide/npcpy/knowledge_sememolution_skill)
Your own site
<a href="https://agentmods.dev/skills/npc-worldwide/npcpy/knowledge_sememolution_skill"><img src="https://agentmods.dev/badge/skills/npc-worldwide/npcpy/knowledge_sememolution_skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for knowledge_sememolution_skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/npc-worldwide/npcpy/knowledge_sememolution_skill"><img src="https://agentmods.dev/badge/skills/npc-worldwide/npcpy/knowledge_sememolution_skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 366 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 987 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00366 $0.00987
Opus 5.5 $0.00146 $0.00395
Sonnet 5.5 $0.00073 $0.00197
Haiku 4.5 $0.00037 $0.00099

Measured 3mo ago against content hash 2901cd5c853d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

knowledge_sememolution_skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (instruct.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/knowledge_sememolution_skill/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

knowledge_sememolution_skill

Skill for population-based Knowledge Graph evolution via Sememolution. Use this when the user wants creative cross-domain synthesis, speculative reasoning, or when a single KG search might be too narrow. Sememolution maintains a population of KG "individuals". Each individual has its own graph (different facts, concepts, links) and its own genome controlling how it searches and evolves. Core genome parameters: - lambda_depth — Poisson rate for search traversal depth - lambda_breadth — Poisson rate for search breadth per step - sleep_ops — which refinement ops to apply during sleep - dream_probability — chance of speculative synthesis per cycle Workflow: 1. Create a population: SememolutionPopulation(model, provider, population_size=100, sample_size=10) 2. Initialize: pop.initialize() 3. Assimilate text: pop.assimilate_text(chunk) — each individual absorbs it differently 4. Sleep cycle: pop.sleep_cycle() — each individual prunes/deepens independently 5. Query and rank: pop.query_and_rank(question) — sample individuals, each searches its own graph with Poisson-sampled depth/breadth, generates a response, and responses are ranked. Winners get fitness bumps. 6. Evolve: pop.evolve_generation() — tournament selection, crossover, mutation. When to use this: - The user asks open-ended "what if" or "how might X relate to Y" questions - You need diverse perspectives on the same knowledge corpus - You want to discover non-obvious connections across domains - Standard KG search returns shallow or overly literal results Important: this is computationally expensive. Only invoke after checking whether standard keyword/embedding/hybrid search is sufficient.

Inputs

  • name (default: 'task')
  • description (default: 'initialize | assimilate | query_rank | evolve | sleep')
  • name (default: 'population_size')
  • description (default: 'Number of individuals (default 100)')
  • name (default: 'query_text')
  • description (default: 'Question to ask the population (for query_rank)')

Read the full file on GitHub · 57 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 57 lines · 366 tokens per session scan A 2901cd5c853d

Subscribe to this mod's changes

knowledge_sememolution_skill is a skill published in the GitHub repository NPC-Worldwide/npcpy (1,533 stars, last pushed 2d ago), licensed MIT. It adds 366 tokens to every session and 987 once invoked, about $0.0015 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

knowledge_sememolution_skill compared with skills from other repositories

knowledge_sememolution_skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
knowledge_sememolution_skillNPC-Worldwide/npcpySkill1.5k2d agoMITA366Claude Code, Codex
playwrightopenai/openai-agents-pythonSkill31ktodayMITA19Claude Code, Codex
ai-agent-tool-routingsickn33/agentic-awesome-skillsSkill51kyesterdayMITA36Claude Code
prior-auth-packet-builderopenai/openai-agents-pythonSkill31ktodayMITA21Claude Code, Codex
credit-note-fixeropenai/openai-agents-pythonSkill31ktodayMITA21Claude Code, Codex
csv-workbenchopenai/openai-agents-pythonSkill31ktodayMITA17Claude Code, Codex
detect-frameworkomnigent-ai/omnigentSkill12ktodayApache-2.0A31Claude Code, Codex