knowledge-agent

knowledge-agent is a skill for Claude Code from MSApps-Mobile/claude-plugins. It costs 106 tokens per session (547 once invoked), scanned A, original, MIT.

A question-answering guide that uses stored project memory as a knowledge base.

In plain words
What is it for?
Use it to answer questions about project decisions, authentication, deployment, libraries, architecture, and other information recorded in memory.
Why use it?
It checks existing notes before answering, which can reveal why a past technical choice was made or how a project process works.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cowork-mem plugin — 7 skills, 1 hook shipped together

Good fit Use it to answer questions about project decisions, authentication, deployment, libraries, architecture, and other information recorded in memory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/msapps-mobile/claude-plugins/knowledge-agent
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 MSApps-Mobile/claude-plugins --skill knowledge-agent
Clone the repo
git clone --depth 1 https://github.com/MSApps-Mobile/claude-plugins

Made for: Claude Code.

Or install cowork-mem, the plugin that ships this one along with the rest of its 7 skills, 1 hook.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/msapps-mobile/claude-plugins/knowledge-agent"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/knowledge-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 547 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.00106 $0.00547
Opus 5.5 $0.00042 $0.00219
Sonnet 5.5 $0.00021 $0.00109
Haiku 4.5 $0.00011 $0.00055

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

Security

Grade A, and why

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

plugins/cowork-mem/skills/knowledge-agent/SKILL.md · 61 lines

What it actually says

knowledge-agent: Memory as Knowledge Base

Your memory DB contains decisions, insights, and notes from past sessions. Before answering questions from scratch, search it — you may have already figured this out.

Query Workflow

# 1. Semantic search for the concept
COWORK_MEM_DB=~/mnt/.claude/.cowork-mem/memory.db \
python3 {SKILL_DIR}/scripts/vector_search.py "<question>" --limit 8

# 2. Keyword search for specific terms
python3 {SKILL_DIR}/scripts/memory_store.py search "<key term>" --limit 5

# 3. Fetch full text for the most relevant results
python3 {SKILL_DIR}/scripts/memory_store.py get <id1> <id2>

Answering from Memory

After retrieving relevant observations:

  1. Synthesize, don't quote — distill what the observations say into a direct answer
  2. Cite the age — "We decided this 3 days ago" gives the user confidence in freshness
  3. Flag uncertainty — if observations are old or sparse, say so
  4. Update if stale — if the situation has clearly changed, save a new observation

When Memory Doesn't Know

If search returns nothing relevant:

  1. Answer from your general knowledge or by reading the codebase
  2. If you derive something new and useful, save it:
python3 {SKILL_DIR}/scripts/memory_store.py add insight \
  "<what you learned>" --tags "<relevant,tags>"

Decision Archaeology

When the user asks "why did we do X this way?":

# Search specifically for past decisions
python3 {SKILL_DIR}/scripts/memory_store.py search "<X>" --type decision --limit 10

If you find a past decision, explain it with context. If you don't, note that "this decision isn't in memory — here's what I'd infer from the codebase."

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 · 61 lines · 106 tokens per session scan A a89d60ae33f8

Subscribe to this mod's changes

knowledge-agent is a skill published in the GitHub repository MSApps-Mobile/claude-plugins (10 stars, last pushed today), licensed MIT. It adds 106 tokens to every session and 547 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

decision

Full decision lifecycle in Semantica — record, query, find precedents (hybrid/advanced), analyze influence, explain, insights dashboard, list, and record exceptions. Uses AgentContext, ContextGraph, DecisionQuery, CausalChainAnalyzer, DecisionRecorder.

semantica-agi/semantica · 55 tokens

session-handoff

Synthesizes the current session into a structured HANDOFF block for context transfer between sessions. Captures what was built, decisions made, and unresolved items.

SethGammon/Citadel · 35 tokens

optimizer

Framework-driven audit and optimizer for a Baalda vault. Applies 10 frameworks covering CLAUDE.md quality, wiki structure, compression, context rot, memory, progressive disclosure, hygiene, cross-file synthesis, architecture and discoverability, plus F10 Claude 5 rule rewriting. Every finding ships a concrete fix; the…

naveedharri/benai-skills · 215 tokens

agentic-os-obsidian

Set up an agentic OS inside an Obsidian vault — a configurable command-center dashboard with 5 auto-installed, bundled plugins (Dataview, CustomJS, Shell-commands, Terminal, Homepage), Home + per-profile + Vault Overview pages, KPI cards, sparklines, heatmap, task rollup, and a button bar wired to user-defined Claude…

naveedharri/benai-skills · 154 tokens

operator

Build and schedule a personalized Operator prompt that runs a Baalda vault as a second brain on a recurring cadence. Run it from inside the vault: it reads Context/ and CLAUDE.md first to infer org, team, brand voice and paths, then asks only the gaps (cadence, connectors, DM recipient, budgets, signature), writes the…

naveedharri/benai-skills · 156 tokens

skill-os-builder

Stand up a self-contained second-brain "OS" that lives entirely inside a Claude skill — a short SKILL.md router plus context files, no vault, cloud, or MCP server. Use when the user says "set up a skill OS", "build my second brain as a skill", "skill OS", or wants the simplest portable AI OS.

naveedharri/benai-skills · 75 tokens