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.
npx agentmods add commands/zach-blumenfeld/knowledge-index/getgit clone --depth 1 https://github.com/zach-blumenfeld/knowledge-indexWrote 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/commands/zach-blumenfeld/knowledge-index/get)<a href="https://agentmods.dev/commands/zach-blumenfeld/knowledge-index/get"><img src="https://agentmods.dev/badge/commands/zach-blumenfeld/knowledge-index/get.svg" alt="Measured on agentmods" 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 | $0.00000 | $0.01471 |
| Opus 5 | $0.00000 | $0.00736 |
| Sonnet 5 | $0.00000 | $0.00294 |
| Haiku 4.5 | $0.00000 | $0.00147 |
Grade A, and why
get 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 3d 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 — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
How ki get works
ki get <uri> [<uri> …] fetches a node's metadata and content by uri. It's the
retrieval end of the loop: ki search and ki outline hand you uris (and optionally some content in the case of ki search); ki get
turns a uri into the actual text. For the profile/vault model it shares with the
other read commands, see docs/scoping.md; for search, docs/commands/search.md.
1. What it takes, what it returns
- Input: one or more Document or Section uris (batch as many as you like).
- Output: a metadata shell per uri, plus
contentcontrolled by--type.
Only :Document and :Section uris are valid — those are the nodes that carry
text. A :Folder or :Vault uri is a clear error with a redirect:
error: ki get is for text retrieval but you passed a Folder (my-notes/ideas).
Use 'ki outline my-notes/ideas' to enumerate contents recursively under folder.
Use ki outline to enumerate a folder/vault; ki vault list to see vaults.
2. The three --type levels
--type controls how much content rides along on the metadata shell:
--type |
Content returned | Use when |
|---|---|---|
path |
none (shell only — uri, name, path, …) |
you just want the on-disk path / metadata, then read the file yourself |
content (default-ish) |
the node's own content — its preamble + uri: pointers to direct children |
you want a shallow view and may drill further |
full |
the reconstructed reading-order body of the whole subtree | you want everything under the node in one shot |
The content level reflects ki's Content Construction Rules (see
docs/data-model/schema.md): a node stores only the body text directly under its own
heading, followed by uri: pointer lines to its direct children. So --type content is shallow by design — child body text isn't included; you see pointers
and can ki get those next.
The full level does that reconstruction for you, server-side, in one query
(no client-side recursion):
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.
- 3d ago First seen · 132 lines · 0 tokens per session scan A 99f97ad196f5
get is a command published in the GitHub repository zach-blumenfeld/knowledge-index (6 stars, last pushed 9d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,471 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.
Other commands, from other repositories
performance-review
You goal is to measure and improve performance.
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.