knowledge-prefill

knowledge-prefill is a skill for Claude Code from cogni-work/insight-wave. It costs 116 tokens per session (2,208 once invoked), scanned A, original, Apache-2.0.

A tool that seeds a connected knowledge base with foundational business and strategy concept pages, such as SWOT, Lean Canvas, and Porter's Five Forces. These pages provide stable reference topics and links for later work.

In plain words
What is it for?
Use it to add curated foundation pages to a knowledge base without installing the separate cogni-wiki plugin.
Why use it?
It gives a new or existing knowledge base a set of commonly used concepts when those foundations were not added during setup.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the cogni-knowledge plugin — 23 skills, 16 agents shipped together

Good fit Use it to add curated foundation pages to a knowledge base without installing the separate cogni-wiki plugin.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add cogni-work/insight-wave
Claude Code
/plugin install cogni-knowledge

Made for: Claude Code.

Or install cogni-knowledge, the plugin that ships this one along with the rest of its 23 skills, 16 agents.

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-prefill

README.md
[![agentmods](https://agentmods.dev/badge/skills/cogni-work/insight-wave/knowledge-prefill/github.svg)](https://agentmods.dev/skills/cogni-work/insight-wave/knowledge-prefill)
Your own site
<a href="https://agentmods.dev/skills/cogni-work/insight-wave/knowledge-prefill"><img src="https://agentmods.dev/badge/skills/cogni-work/insight-wave/knowledge-prefill/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-prefill

Your own site · 80×15
<a href="https://agentmods.dev/skills/cogni-work/insight-wave/knowledge-prefill"><img src="https://agentmods.dev/badge/skills/cogni-work/insight-wave/knowledge-prefill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,208 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.
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.00116 $0.02208
Opus 5.5 $0.00046 $0.00883
Sonnet 5.5 $0.00023 $0.00442
Haiku 4.5 $0.00012 $0.00221

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

Security

Grade A, and why

knowledge-prefill 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 1mo ago.

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.

cogni-knowledge/skills/knowledge-prefill/SKILL.md · 143 lines

How it starts

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

Knowledge Prefill

Seed a bound knowledge base with curated foundation: true concept pages so canonical material like Porter's Five Forces, Jobs-to-be-Done, and MECE has a stable target slug from day one. This is the standalone analog of cogni-wiki:wiki-prefill, computed natively on the vendored prefill_foundations.py engine (resolved vendored-first via resolve_wiki_scripts()), so a Karpathy base is prefillable with no cogni-wiki plugin installed. It does not dispatch cogni-wiki:wiki-prefill.

Why this is a deliberate opt-in. knowledge-setup intentionally passes --skip-prefill-prompt to cogni-wiki:wiki-setup — a cogni-knowledge base has its own opinionated domain seeding (the first knowledge-plan → … → knowledge-finalize run seeds the base domain-specifically), and layering the generic canonical foundations on top would clutter it. knowledge-prefill is the native opt-in so a user who skipped foundations at setup time — or who wants the textbook concepts as stable link targets later — can add them without installing cogni-wiki.

Read ${CLAUDE_PLUGIN_ROOT}/references/delegation-contract.md once at the start of a session so you remember the wiki-engine boundary — cogni-knowledge runs the prefill on the vendored engine, it does not dispatch cogni-wiki:wiki-prefill.

When to run

  • User explicitly asks to prefill, seed, or pre-load foundations / canonical concepts / consulting frameworks into the bound base
  • A base set up with --skip-prefill-prompt (the cogni-knowledge default) and the user now wants the canonical foundations as stable link targets
  • An existing base has accumulated duplicate pages for canonical material and the user wants to establish the foundation slugs

Never run when

  • The target directory has no .cogni-knowledge/binding.json — offer knowledge-setup instead.
  • The user wants to add a single non-canonical concept — route that to knowledge-ingest-source (one source into the base), or, for a full topic, to the inverted pipeline (knowledge-plan); foundations are reserved for textbook material that needs no per-base synthesis.

Read the full file on GitHub · 143 lines

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. 1mo ago Changed · -13 lines 59b4c6e7ac04
  2. 1mo ago First seen · 156 lines · 116 tokens per session scan A 8b51e6695959

Subscribe to this mod's changes

knowledge-prefill is a skill published in the GitHub repository cogni-work/insight-wave (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 116 tokens to every session and 2,208 once invoked, about $0.0005 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

Other skills, from other repositories

self-improve-with-tinyfish

Enables Hermes to create new reusable skills for itself by researching live web sources with TinyFish Search and Fetch, analyzing source coverage, writing SKILL.md files, and installing them into Hermes memory. Use when the user asks Hermes to learn, teach itself, upgrade itself, or save a reusable capability.

tinyfish-io/tinyfish-cookbook · 68 tokens

flashcards

Spaced repetition flashcard system for learning. SM-2 algorithm, supports text and cloze deletion cards.

fuyuxiang/echo-agent · 25 tokens

flow-next-audit

Audit .flow/memory/ entries against current code and keep, update, consolidate, replace, delete, or harden each. Use when asked to audit memory or graduate a recurring lesson into a gate.

gmickel/flow-next · 46 tokens

mindos

MindOS: local knowledge assistant & shared KB. Keeps decisions, notes, SOPs, debugging lessons, research findings, preferences across sessions/agents. Core: save notes, search KB, organize files, run workflows, review, append CSV, hand off context, distill lessons. NOT for app source or paths outside KB. Triggers…

GeminiLight/MindOS · 136 tokens

learn-from-fix

Capture Elixir/Ecto/LiveView lessons and Hex API rules. Use after corrections or when asked to document learning, record a lesson, prevent a fixed mistake, or remember package guidance with --library.

oliver-kriska/claude-elixir-phoenix · 46 tokens

openclaw-knowledge-coach

OpenClaw-native knowledge retention skill. Imports local documents, generates retrieval practice, evaluates answers, and produces insight cards — all using the host agent's LLM with zero extra API key configuration. Use when users ask to ingest local knowledge, generate practice exercises, or master stored knowledge.

Sibo-Zhao/OpenPraxis · 65 tokens