kb-ingest

kb-ingest is a skill for Claude Code from kelp/agent-plugins. It costs 78 tokens per session (2,349 once invoked), scanned A, original, MIT.

A workflow for downloading an external documentation website or local documentation folder into a personal knowledge base. It stores the downloaded material as a document pack with a manifest and source note.

In plain words
What is it for?
Use it to ingest provider, tooling, protocol, language, or library documentation from a URL or local directory, optionally limiting which pages and content sections are copied.
Why use it?
It avoids repeatedly browsing the same reference material and keeps imported documentation organized with its source and version information.

Skill for Claude Code

Written for Claude Code: user-invocable 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 knowledge-forge plugin — 3 skills shipped together

Good fit Use it to ingest provider, tooling, protocol, language, or library documentation from a URL or local directory, optionally limiting which pages and content sections are copied.

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 kelp/agent-plugins
Claude Code
/plugin install knowledge-forge

Made for: Claude Code.

Or install knowledge-forge, the plugin that ships this one along with the rest of its 3 skills.

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 kb-ingest

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kelp/agent-plugins/kb-ingest"><img src="https://agentmods.dev/badge/skills/kelp/agent-plugins/kb-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,349 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.00078 $0.02349
Opus 5.5 $0.00031 $0.00940
Sonnet 5.5 $0.00016 $0.00470
Haiku 4.5 $0.00008 $0.00235

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

Security

Grade A, and why

kb-ingest 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.

plugins/knowledge-forge/skills/kb-ingest/SKILL.md · 331 lines

How it starts

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

/kb-ingest

Download an external documentation site into the personal knowledge base as a doc pack and source note. Safe to run from any working directory.

Input

Scope: $ARGUMENTS

Two forms:

Web crawl: <url> [category] [tool] [version] [path_prefix] [selector]

Local copy: <local-path> [category] [tool] [version]

  • url or local-path — required. An https:// URL to crawl, or an absolute/relative path to a local directory of already-downloaded docs.
  • category — optional. Where in raw/external/ to file the pack (e.g. providers, tooling, protocols, languages, libraries).
  • tool — optional. Tool/service name slug (e.g. fastmail, jmap, uv).
  • version — optional. Defaults to latest.
  • path_prefix — optional (web only). Limits crawl to URLs with this prefix. Leave empty to crawl from root.
  • selector — optional (web only). CSS selector for content extraction. Defaults to main.

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: Parse arguments and classify

Extract the first token from $ARGUMENTS. Detect mode:

  • If it starts with /, ~/, or ./ → local mode (copy from a local directory; skip the web crawl)
  • Otherwise → web mode (crawl from the URL)

In local mode, resolve the source path:

src_path=$(realpath "$first_token" 2>/dev/null)
[ -d "$src_path" ] || { echo "Source path not found"; exit 1; }

If category and tool are not provided, derive them from the URL domain (web mode) or ask once (local mode):

Domain category tool
fastmail.com providers fastmail
jmap.io protocols jmap
anthropic.com providers anthropic
openai.com providers openai
docs.*.com or similar ask ask

Read the full file on GitHub · 331 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. 3mo ago First seen · 331 lines · 78 tokens per session scan A c982b1ad78df

Subscribe to this mod's changes

kb-ingest is a skill published in the GitHub repository kelp/agent-plugins (2 stars, last pushed 13d ago), licensed MIT. It adds 78 tokens to every session and 2,349 once invoked, about $0.0003 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

kb-ingest compared with skills from other repositories

kb-ingest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kb-ingestkelp/agent-pluginsSkill213d agoMITA78Claude Code
dummy-datasetphuryn/pm-skillsSkill28k22d agoMITA48Claude Code
retrophuryn/pm-skillsSkill28k22d agoMITA52Claude Code
release-notesphuryn/pm-skillsSkill28k22d agoMITA57Claude Code
shipping-artifactsphuryn/pm-skillsSkill28k22d agoMITA54Claude Code
porters-five-forcesphuryn/pm-skillsSkill28k22d agoMITA47Claude Code
user-segmentationphuryn/pm-skillsSkill28k22d agoMITA49Claude Code