knowledge

knowledge is a skill for Claude Code from drn/dots. It costs 26 tokens per session (861 once invoked), scanned A, original, MIT.

A project knowledge base stored in `context/knowledge/`, where durable facts, entities, and recurring patterns can be recorded for later sessions.

In plain words
What is it for?
Use it to initialize the knowledge base, check its status, or add and update topic files with information future agents should retain.
Why use it?
It prevents useful project knowledge from being lost between coding sessions. An index shows which topics and context files have been captured.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to initialize the knowledge base, check its status, or add and update topic files with information future agents should retain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/drn/dots/knowledge
View source ↗ drn/dots
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 drn/dots --skill knowledge
Clone the repo
git clone --depth 1 https://github.com/drn/dots

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/drn/dots/knowledge"><img src="https://agentmods.dev/badge/skills/drn/dots/knowledge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 861 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.00026 $0.00861
Opus 5.5 $0.00010 $0.00344
Sonnet 5.5 $0.00005 $0.00172
Haiku 4.5 $0.00003 $0.00086

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

Security

Grade A, and why

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

agents/skills/knowledge/SKILL.md · 117 lines

How it starts

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

Knowledge Base

Manage a structured knowledge base at context/knowledge/ for capturing durable facts, entities, and patterns across sessions.

Arguments

  • $ARGUMENTS - Subcommand: init, add <topic>, update <topic>, or omit for status

Context

  • Knowledge index: !cat context/knowledge/index.md 2>/dev/null | head -50
  • Knowledge files: !find context/knowledge -maxdepth 1 -name "*.md" 2>/dev/null | head -20
  • Project root: !git rev-parse --show-toplevel 2>/dev/null | head -1
  • CLAUDE.md exists: !find . -maxdepth 1 \( -name CLAUDE.md -o -name AGENTS.md \) 2>/dev/null | head -2

Instructions

Subcommand: init

Create the knowledge base directory and seed it with an index file.

  1. Create context/knowledge/ directory
  2. Write context/knowledge/index.md with this template:
# Knowledge Index

Structured knowledge for future knowledge graph ingestion. Each file covers a topic/domain.

| File | Topic | Key Entities | Last Updated |
|------|-------|-------------|-------------|

## Coverage Map

Which context files are captured in knowledge:

| Context File | Knowledge File(s) | Coverage |
|-------------|-------------------|----------|
  1. If the project has a .gitignore, verify context/knowledge/ is not ignored
  2. Report the path created and suggest initial topics based on what is visible in the repo (CLAUDE.md, AGENTS.md, README, directory structure)

Subcommand: add

Create a new topic file and register it in the index.

  1. Read the existing index to avoid duplicates
  2. Ask what entities and facts to capture if not obvious from conversation context
  3. Create context/knowledge/<topic>.md with a heading and structured content
  4. Update context/knowledge/index.md — add a row to the index table with the file name, topic description, key entities, and today's date
  5. Report what was added

Subcommand: update

Update an existing topic file with new knowledge.

  1. Read context/knowledge/index.md to find the topic file
  2. Read the topic file
  3. Propose additions or corrections as diffs
  4. Apply after user approval
  5. Update the Last Updated date in context/knowledge/index.md

Read the full file on GitHub · 117 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 · 117 lines · 26 tokens per session scan A e8e66b762122

Subscribe to this mod's changes

knowledge is a skill published in the GitHub repository drn/dots (23 stars, last pushed 11d ago), licensed MIT. It adds 26 tokens to every session and 861 once invoked, about $0.0001 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

mem0-oss-to-platform

Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…

mem0ai/mem0 · 217 tokens

forget

Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…

asgeirtj/system_prompts_leaks · 74 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

shellm

Reference for the shellm system — recursive LLM shell, identity management, memory, skills, trajectory, and all CLI tools. Use when working on shellm itself, debugging agent behavior, or understanding how the pieces fit together.

laude-institute/headlong · 49 tokens