Borrowing it
Nothing to install: this file belongs to raultov/knot. 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/raultov/knot/master/AGENTS.mdgit clone --depth 1 https://github.com/raultov/knotWrote 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/raultov/knot/agents-md)<a href="https://agentmods.dev/instructions/raultov/knot/agents-md"><img src="https://agentmods.dev/badge/instructions/raultov/knot/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/raultov/knot/agents-md"><img src="https://agentmods.dev/badge/instructions/raultov/knot/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.06343 | $0.06343 |
| Opus 5.5 | $0.02537 | $0.02537 |
| Sonnet 5.5 | $0.01269 | $0.01269 |
| Haiku 4.5 | $0.00634 | $0.00634 |
Grade C, and why
knot AGENTS.md scanned grade C with 1 finding 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Delete `.knot/` and rebuild: `rm -rf .knot/ && ./target/release/knot-indexer` How it starts
The opening of the file, as written. The whole thing — 513 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — Knot Development Guidance
knot is a dual-database codebase indexer (Rust 2024 edition) that powers semantic code search via MCP. This file captures repo-specific guidance that would trip up an unfamiliar agent.
Quick Commands
Build everything:
cargo build --release
Run unit tests only:
cargo test
Run all E2E tests (requires Docker + databases):
./tests/run_all_e2e_fast.sh
Run a single E2E language suite:
./tests/run_typescript_e2e.sh # TypeScript
./tests/run_java_e2e.sh # Java
./tests/run_javascript_e2e.sh # JavaScript
./tests/run_web_e2e.sh # HTML + JSX + CSS + SCSS + hybrid
./tests/run_kotlin_e2e.sh # Kotlin
./tests/run_rust_e2e.sh # Rust
./tests/run_python_e2e.sh # Python
./tests/run_build_systems_e2e.sh # Maven/Gradle/Jenkins/Cargo.toml
./tests/run_groovy_e2e.sh # Groovy
./tests/run_cpp_e2e.sh # C/C++
./tests/run_csharp_e2e.sh # C#
./tests/run_cross_lang_ref_e2e.sh # Cross-language validation
./tests/run_config_e2e.sh # YAML/JSON/.properties config
./tests/run_k8s_helm_e2e.sh # Kubernetes + Helm
./tests/run_cross_repo_dep_e2e.sh # Cross-repo dependency linking
./tests/run_repo_scope_e2e.sh # Repository scope selection (all / multi-repo)
./tests/run_http_clients_e2e.sh # HTTP client calls → endpoints (HTTP_CALLS)
./tests/run_incremental_e2e.sh # Incremental re-index: modified files replaced, edges re-pointed
Quick Commands:
make check # Run all quality gates (fmt-check, clippy, test, dupes)
make e2e # Run all E2E tests (requires Docker)
make check-all # Run quality gates + E2E integration tests
cargo clippy --all-targets -- -D warnings # Must pass
cargo fmt -- --check # Must pass before commit
cargo fmt # Auto-fix formatting
cargo dupes check # Duplication check (must pass)
cargo dupes report # Detailed duplication report
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.
- 5d ago Changed · +7 lines · +323 tokens per session 79b86df86246
- 11d ago Changed · +4 lines · +82 tokens per session 7197e50fcb61
- 1mo ago Changed · +8 lines · +110 tokens per session f5cb0ee92f39
- 1mo ago Changed · +12 lines · +165 tokens per session 9612b5d472ad
- 1mo ago Changed · +49 tokens per session 505b01dca788
- 1mo ago Changed · +26 lines · +353 tokens per session 594670f12fd2
- 2mo ago Changed · +44 tokens per session ce8640221b20
- 2mo ago Changed · +1 lines · +21 tokens per session 8826e8b134db
- 2mo ago First seen · 455 lines · 5,196 tokens per session scan C 10d24833adc5
knot AGENTS.md is an instructions file published in the GitHub repository raultov/knot (8 stars, last pushed 5d ago), licensed MIT. It adds 6,343 tokens to every session, about $0.0254 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
knot AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| knot AGENTS.mdraultov/knot | Instructions file | 8 | 5d ago | MIT | C | 6,343 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |