bob-llmwiki-knowledge-manager AGENTS.md

bob-llmwiki-knowledge-manager AGENTS.md is an instructions file for Codex, OpenCode from davidleconte/bob-llmwiki-knowledge-manager. It costs 4,628 tokens per session, scanned A, original, MIT.

Repository-specific instructions for bob-llmwiki-knowledge-manager, a project that manages a searchable knowledge base for coding agents. They describe a knowledge-base-first workflow, token optimization, and an experimental delegation module.

In plain words
What is it for?
Guiding work on the project's knowledge base, shell knowledge manager, token-saving system, and delegation-related code.
Why use it?
They tell agents to consult prepared documentation before reading source code and explain how to switch between work modes. This can reduce unnecessary source reading in that repository.

Instructions file for CodexOpenCode

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 instructions/davidleconte/bob-llmwiki-knowledge-manager/agents-md
Clone the repo
git clone --depth 1 https://github.com/davidleconte/bob-llmwiki-knowledge-manager

Made for: Codex, OpenCode.

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 bob-llmwiki-knowledge-manager AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/davidleconte/bob-llmwiki-knowledge-manager/agents-md.svg)](https://agentmods.dev/instructions/davidleconte/bob-llmwiki-knowledge-manager/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/davidleconte/bob-llmwiki-knowledge-manager/agents-md"><img src="https://agentmods.dev/badge/instructions/davidleconte/bob-llmwiki-knowledge-manager/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,628 This file is loaded in full into every session.
When invoked 4,628 The same file — it is already loaded in full.
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.1 $0.04628 $0.04628
Opus 5 $0.02314 $0.02314
Sonnet 5 $0.00926 $0.00926
Haiku 4.5 $0.00463 $0.00463

Measured 5d ago against content hash 5c4b969f750a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

bob-llmwiki-knowledge-manager AGENTS.md 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 5d 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.

AGENTS.md · 496 lines

How it starts

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

AGENTS.md

This file provides guidance to agents when working with code in this repository.

KB-First Protocol (read this before touching any source file)

This project maintains a pre-digested knowledge base at docs/knowledge-base/. Before reading any raw source file, check the KB index first.

docs/knowledge-base/index.md    ← master index of all digested knowledge
docs/knowledge-base/concepts/   ← architecture, caching, optimization, graph
docs/knowledge-base/guides/     ← setup, workflows, savings measurement
docs/knowledge-base/references/ ← API docs, estimation methodology
docs/knowledge-base/research/   ← audit findings, validation results, benchmarks

Mode-switch protocol: When you switch modes mid-session (knowledge-manager → plan, plan → agent, etc.) your context resets. On the first task in the new mode, check docs/knowledge-base/index.md for a KB doc covering the topic before reading raw source. On N=10 curated well-formed pairs a KB hit replaced a full source read for ≈51% fewer tokens; treat that as an illustrative upper band on hand-picked pairs, not an all-pairs expectation (see §"Token Optimization System" below for the exact assertion that backs it).

After every KB write (any mode): rebuild the knowledge graph so the new document is immediately queryable:

uv run bob-optimize graph-build --kb-path docs/knowledge-base --with-semantic

Quick KB map by task type:

You need to… Read this KB doc first
Understand the architecture docs/knowledge-base/concepts/token-optimization.md + docs/architecture/architecture.md
Work on the cache docs/knowledge-base/concepts/multi-level-caching.md
Audit cache thread-safety docs/knowledge-base/concepts/cache-thread-safety-patterns.md
Work on the graph layer docs/knowledge-base/concepts/knowledge-graph-layer.md
Work on delegation/pipeline docs/knowledge-base/concepts/delegation-analysis-pipeline.md
Check test coverage / floors docs/knowledge-base/research/coverage-measurement-2026-07-13.md
Understand savings claims docs/knowledge-base/research/bobcoin-savings-analysis-2026-07-14.md
Understand KB document types docs/knowledge-base/concepts/kb-document-types.md
Rename or move files docs/knowledge-base/concepts/file-naming-conventions.md
Run a repo hygiene check docs/knowledge-base/concepts/repo-hygiene-rules.md
Audit concurrency code docs/knowledge-base/concepts/iterative-audit-methodology.md
Work on cost tracking docs/knowledge-base/concepts/thread-safe-cost-tracking.md
Set up or install docs/knowledge-base/guides/setup-token-optimization.md
Understand project status STATUS.md (single authoritative source)

Read the full file on GitHub · 496 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. 5d ago First seen · 496 lines · 4,628 tokens per session scan A 5c4b969f750a

Subscribe to this mod's changes

bob-llmwiki-knowledge-manager AGENTS.md is an instructions file published in the GitHub repository davidleconte/bob-llmwiki-knowledge-manager (5 stars, last pushed 24d ago), licensed MIT. It adds 4,628 tokens to every session, about $0.0231 per session on Opus 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.