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.
/plugin marketplace add kelp/agent-plugins/plugin install knowledge-forgeWrote 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.
[](https://agentmods.dev/skills/kelp/agent-plugins/kb-capture)<a href="https://agentmods.dev/skills/kelp/agent-plugins/kb-capture"><img src="https://agentmods.dev/badge/skills/kelp/agent-plugins/kb-capture/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.
<a href="https://agentmods.dev/skills/kelp/agent-plugins/kb-capture"><img src="https://agentmods.dev/badge/skills/kelp/agent-plugins/kb-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00103 | $0.02213 |
| Opus 5.5 | $0.00041 | $0.00885 |
| Sonnet 5.5 | $0.00021 | $0.00443 |
| Haiku 4.5 | $0.00010 | $0.00221 |
Grade A, and why
kb-capture 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.
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.
How it starts
The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/kb-capture
Capture content into the personal knowledge base as a well-formed wiki note. The command is safe to run from any working directory.
Input
Scope: $ARGUMENTS
- Empty → capture the current conversation as a report.
- Named file or URL → capture that source.
- Topic or title → use it as the note title; synthesize the body from the conversation.
Step 1: Resolve the KB path
Run ${CLAUDE_PLUGIN_ROOT}/scripts/resolve-kb-path.sh and
capture its stdout as kb_path. Every subsequent command
uses "$kb_path" (double-quoted).
kb_path=$(bash "${CLAUDE_PLUGIN_ROOT}/scripts/resolve-kb-path.sh")
If the script exits non-zero, relay its stderr message to the user verbatim and stop — do not guess a fallback path.
Step 2: Classify the note
Pick the note type. When ambiguous, use AskUserQuestion once to clarify — do not guess.
| Type | When to use | Destination |
|---|---|---|
source |
Summary of one external artifact (article, doc, paper) | wiki/sources/external/<category>/<slug>.md |
concept |
Synthesized topic page citing multiple sources | wiki/concepts/<slug>.md |
report |
Deliverable, deep dive, or research output | wiki/reports/<slug>.md |
question |
Unresolved inquiry | wiki/questions/<slug>.md |
Default when $ARGUMENTS is empty: report.
Captured conversations are deliverables.
Source notes require raw_path (a file that already
exists under <kb>/raw/) and url. Do not classify
as source if you are not capturing a specific artifact
with a known raw file.
To capture an external URL as a proper source note (with
a raw_path that exists on disk), run /kb-ingest first;
capturing a URL directly here without an ingested raw file
produces a report, not a source.
The projects/, playbooks/, and dependencies/ wiki
buckets are out of scope for /kb-capture — file notes in
those buckets manually. This does not affect playbook-type
concept notes: those are still captured as concept (see
Step 9's index/playbooks.md entry), since "playbook" is a
tag on a concept note, not a separate capture target.
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.
- 3mo ago First seen · 298 lines · 103 tokens per session scan A 7e882b68ee3e
kb-capture is a skill published in the GitHub repository kelp/agent-plugins (2 stars, last pushed 13d ago), licensed MIT. It adds 103 tokens to every session and 2,213 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.
kb-capture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kb-capturekelp/agent-plugins | Skill | 2 | 13d ago | MIT | A | 103 | Claude Code |
| memoryboshu2/agentops | Skill | 465 | 2d ago | Apache-2.0 | A | 31 | Claude Code |
| cdb-scanAvijit07x/claude-db | Skill | 237 | 2d ago | Apache-2.0 | A | 72 | Claude Code, Codex |
| handoffAvijit07x/claude-db | Skill | 237 | 2d ago | Apache-2.0 | A | 87 | Claude Code, Codex |
| ctx-upgrademksglu/context-mode | Skill | 35k | yesterday | none | A | 12 | Claude Code |
| catchupAvijit07x/claude-db | Skill | 237 | 2d ago | Apache-2.0 | B | 71 | Claude Code, Codex |
| meta-synthesisstefanoskarakasis/Product-Marketing-Skills | Skill | 22 | today | MIT | A | 83 | Claude Code |