knowledge-wiki

knowledge-wiki is a skill for Claude Code, Codex from zhayujie/CowAgent. It costs 46 tokens per session (831 once invoked), scanned A, original, MIT.

A personal knowledge-wiki workflow for storing articles, documents, and useful conversation insights as organized pages in a knowledge directory.

In plain words
What is it for?
Use it to save new sources, turn discussions into structured notes, update the wiki index, or answer questions from the accumulated knowledge base.
Why use it?
It prevents useful information from being lost in past conversations or scattered files. It also provides a consistent way to find and connect related notes.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [Related Page](../category/related-page.md).

Good fit Use it to save new sources, turn discussions into structured notes, update the wiki index, or answer questions from the accumulated knowledge base.

Compare 6 skills from other repositories ↓
About the project

CowAgent is an open-source AI assistant and agent framework that plans tasks, uses tools, manages skills, and maintains long-term memory and a personal knowledge base. People run it on a computer or server and connect it to language models, external services, and messaging channels. Its catalogue skills extend the assistant's abilities.

zhayujie/CowAgent · 47,507 stars · on GitHub · cowagent.ai

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/zhayujie/CowAgent
agentmods
npx agentmods add skills/zhayujie/cowagent/knowledge-wiki

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhayujie/cowagent/knowledge-wiki"><img src="https://agentmods.dev/badge/skills/zhayujie/cowagent/knowledge-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 831 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. ✓ AI security review Sonnet 5 · 6 Sept 2026 📄 Read the review Third-party audits
  • Snyk warn 7 Sept 2026
  • 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.00046 $0.00831
Opus 5.5 $0.00018 $0.00332
Sonnet 5.5 $0.00009 $0.00166
Haiku 4.5 $0.00005 $0.00083

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

Security

Grade A, and why

knowledge-wiki 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/knowledge-wiki/SKILL.md · 97 lines

How it starts

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

Knowledge Wiki

Maintain a persistent, structured knowledge base in the knowledge/ directory.

Core Operations

1. Ingest — User shares an article, document, or resource

  1. Read and understand the source material
  2. Extract key facts, insights, and structured knowledge
  3. Determine the appropriate subdirectory:
    • Read knowledge/index.md to see existing categories
    • If a matching category exists, follow that structure
    • If not, create a new subdirectory with a clear name
  4. Create the knowledge page: knowledge/<category>/<slug>.md
  5. Update knowledge/index.md and append to knowledge/log.md

2. Synthesize — Conversation produces valuable structured knowledge

  1. Create a knowledge page under the appropriate category
  2. Update related pages with cross-references
  3. Update knowledge/index.md and knowledge/log.md

3. Query — User asks about accumulated knowledge

  1. Check knowledge/index.md (already in your context) for relevant pages
  2. Read specific pages with the read tool
  3. Supplement with memory_search if needed

Page Format

# Page Title

> Source: <URL or description of the original material>

Content here. Cross-reference related pages with markdown links:
[Related Page](../category/related-page.md)

## Key Points

- ...

## Related

- [Page A](../category/page-a.md) — how it relates
- [Page B](../category/page-b.md) — how it relates

The > Source: line records where the knowledge came from (URL, document name, conversation, etc.). Always include it when the material originates from a specific source.

Cross-references build a knowledge graph. When creating or updating a page, link to related pages and update those pages to link back. Only link to pages that already exist — if a concept deserves its own page, create it first, then add the link.

Index Format (knowledge/index.md)

Flat list, one line per page: [Title](path) — one-line summary. Group by category (matching subdirectories). No tables, no emoji.

Read the full file on GitHub · 97 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 First seen · 97 lines · 46 tokens per session scan A d9c15c6b0f04

Subscribe to this mod's changes

knowledge-wiki is a skill published in the GitHub repository zhayujie/CowAgent (47,507 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 831 once invoked, about $0.0002 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

ax-agent-memory-skills

This skill helps an LLM generate correct AxAgent memory retrieval, context-map, and dynamic skill-loading code using @ax-llm/ax. Use when the user asks about contextMap, AxAgentContextMap, onMemoriesSearch, memoriesCatalog, recall(...), inputs.memories, onLoadedMemories, onUsedMemories, onSkillsSearch, skillsCatalog…

ax-llm/ax · 128 tokens

ax-cpp-agent-memory-skills

Use when writing C++ code with axllm for agent memory, recall callbacks, dynamic skill discovery, loaded-skill state, and used-skill tracking.

ax-llm/ax · 42 tokens

ax-go-agent-memory-skills

Use when writing Go code with github.com/ax-llm/ax/packages/go for agent memory, recall callbacks, dynamic skill discovery, loaded-skill state, and used-skill tracking.

ax-llm/ax · 48 tokens

ax-python-agent-memory-skills

Use when writing Python code with axllm for agent memory, recall callbacks, dynamic skill discovery, loaded-skill state, and used-skill tracking.

ax-llm/ax · 40 tokens

ax-cpp-agent-context

Use when writing C++ code with axllm for deciding between context maps, trajectory context policy, offline optimization (ACE/GEPA), and memory recall for long-context agents.

ax-llm/ax · 44 tokens

ax-agent-context

This skill helps an LLM pick the right AxAgent context tool for a job - contextMap for recurring corpora, contextPolicy presets for within-run trajectory compaction, agent.optimize for offline GEPA instruction/demo tuning, agent.playbook for an evolving context playbook (offline evolve + online update), and…

ax-llm/ax · 147 tokens