Borrowing it
Nothing to install: this file belongs to treylom/knowledge-manager. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/treylom/knowledge-manager/master/AGENTS.mdgit clone --depth 1 https://github.com/treylom/knowledge-managerWrote 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/instructions/treylom/knowledge-manager/agents-md)<a href="https://agentmods.dev/instructions/treylom/knowledge-manager/agents-md"><img src="https://agentmods.dev/badge/instructions/treylom/knowledge-manager/agents-md/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/instructions/treylom/knowledge-manager/agents-md"><img src="https://agentmods.dev/badge/instructions/treylom/knowledge-manager/agents-md.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.02058 | $0.02058 |
| Opus 5.5 | $0.00823 | $0.00823 |
| Sonnet 5.5 | $0.00412 | $0.00412 |
| Haiku 4.5 | $0.00206 | $0.00206 |
Grade A, and why
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 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 — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — Generic AI agent contract
This file is the vendor-neutral version of
CLAUDE.md. If you are an AI coding assistant other than Claude Code (e.g. Codex, Cursor, Gemini, Antigravity, OpenCode, an autonomous agent framework, or a future model), read this file before you modify anything in this repository.
Repository Identity
- Name: knowledge-manager
- Type: Claude Code / Antigravity skill + agent + command distribution repo
- Primary purpose: Ingest content (web, PDF, YouTube, social, chat logs) and file it as structured notes in the user's Obsidian vault (or Notion, or local markdown).
- Deployment model: Users
git clonethis repo, run a setup wizard, and the wizard rewrites placeholder tokens in every skill file with the user's personal paths. - Key invariant: The committed source tree is portable. It contains
{{PLACEHOLDER}}tokens, never one user's hardcoded paths.
Read First
Read these files in this order before making any edit:
CLAUDE.md— the same contract written for Claude Code, with a worked example of source-vs-substituted file forms.README.md— end-user documentation; see the## Installation & Configurationsection for how the placeholder system is presented to users.docs/vault-path-configuration.md— full technical reference: config schema, substitution algorithm, skip-worktree mechanism, troubleshooting.
If you are unable to read those files for any reason, stop and ask the user to paste their contents rather than guessing.
Placeholder Contract (CRITICAL)
The following 5 tokens appear verbatim in committed source files and must be preserved whenever you edit a skill, agent, or command file:
| Token | Semantic meaning |
|---|---|
{{VAULT_PATH}} |
Absolute path to the user's Obsidian vault directory |
{{VAULT_NAME}} |
Basename of {{VAULT_PATH}} (the vault folder name, used by Obsidian CLI --vault argument) |
{{OBSIDIAN_CLI}} |
Absolute path to the Obsidian CLI executable (may be empty string if not installed) |
{{ZETTELKASTEN_ROOT}} |
Vault-relative path to the Zettelkasten root folder (default: Zettelkasten) |
{{RESEARCH_ROOT}} |
Vault-relative path to the research/MOC root folder (default: Research) |
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 Changed · -22 lines · -81 tokens per session 8a962afc41f1
- 3mo ago First seen · 170 lines · 2,139 tokens per session scan A 956e8c3ec8d0
knowledge-manager AGENTS.md is an instructions file published in the GitHub repository treylom/knowledge-manager (267 stars, last pushed yesterday), licensed MIT. It adds 2,058 tokens to every session, about $0.0082 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-09-01.
knowledge-manager AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| knowledge-manager AGENTS.mdtreylom/knowledge-manager | Instructions file | 267 | yesterday | MIT | A | 2,058 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,951 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | today | MIT | A | 3,077 | GitHub Copilot |