knowledge

A command for browsing, searching, viewing, editing, and removing cards in a FeedFwd knowledge base, a stored collection of notes or reference information.

In plain words
What is it for?
Listing knowledge cards, finding cards by a term, viewing their contents, helping edit them, and deleting them.
Why use it?
It gives the agent one command for managing saved project knowledge instead of searching through files manually.

Command

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.

agentmods
npx agentmods add commands/adityarbhat/feedfwd/knowledge
Clone the repo
git clone --depth 1 https://github.com/adityarbhat/feedfwd
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 788 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00788
Opus 5 $0.00000 $0.00394
Sonnet 5 $0.00000 $0.00158
Haiku 4.5 $0.00000 $0.00079

Measured yesterday against content hash ec0d73c79136, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

commands/knowledge.md · 116 lines

How it starts

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

/knowledge Command

================================================================

FeedFwd: Browse, search, and manage the knowledge base.

How it works in Claude Code:

When a user types "/knowledge [subcommand]", Claude Code reads

this file and follows the instructions. The heavy lifting is

done by card_cli.py — this command just runs it and formats

the output nicely for the user.

================================================================


name: knowledge description: "Browse, search, and manage your FeedFwd knowledge base" arguments: "[subcommand] [args]"

You are handling the FeedFwd /knowledge command. This provides a management interface to the user's knowledge base.

Step 1: Determine the Subcommand

Look at the arguments the user provided:

User types Subcommand Action
/knowledge list Show all cards grouped by category
/knowledge search <term> search Search across cards
/knowledge show <name> show Display a card's full content
/knowledge edit <name> edit Help user edit a card
/knowledge remove <name> remove Delete a card
/knowledge stats stats Show knowledge base statistics

Subcommand: list (default)

Run this command and show the output directly to the user:

python scripts/card_cli.py list

The output is already formatted — just pass it through.

Run this command with the user's search term:

python scripts/card_cli.py search "<term>"

Show the results. If matches are found, ask if the user wants to see the full content of any card (offer to run show).

Subcommand: show

Run this command with the card name:

python scripts/card_cli.py show "<name>"

Show the full output to the user. The output includes the card's insight, injection text, example, metadata, and file path.

Subcommand: edit

For editing a card, there are two approaches:

Read the full file on GitHub · 116 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. yesterday First seen · 116 lines · 0 tokens per session scan A ec0d73c79136

Subscribe to this mod's changes

knowledge is a command published in the GitHub repository adityarbhat/feedfwd (2 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 788 tokens. 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.