Borrowing it
Nothing to install: this file belongs to hakimjonas/lambe. 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/hakimjonas/lambe/main/AGENTS.mdgit clone --depth 1 https://github.com/hakimjonas/lambeWrote 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/hakimjonas/lambe/agents-md)<a href="https://agentmods.dev/instructions/hakimjonas/lambe/agents-md"><img src="https://agentmods.dev/badge/instructions/hakimjonas/lambe/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/hakimjonas/lambe/agents-md"><img src="https://agentmods.dev/badge/instructions/hakimjonas/lambe/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.02900 | $0.02900 |
| Opus 5.5 | $0.01160 | $0.01160 |
| Sonnet 5.5 | $0.00580 | $0.00580 |
| Haiku 4.5 | $0.00290 | $0.00290 |
Grade A, and why
lambe 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 2mo 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 — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — using Lambë
Lambë (lam) is a query language for structured data. It extracts,
filters, transforms, validates, and converts JSON, YAML, TOML, HCL,
CSV, TSV, Markdown, and HOCON — auto-detecting format from file extension.
This file teaches you (the agent) when to reach for lam and how to
write queries that work. The lam binary is on the user's PATH after
dart pub global activate lambe; you can invoke it from a shell tool.
When to use it
Reach for lam when the user wants to:
- Extract values from a structured file (one field, an array, a nested path).
- Filter records by a predicate.
- Transform records into a different shape.
- Aggregate numbers (sum, avg, min, max, count).
- Validate structure or values (
--assert,--schema,--explain). - Convert between formats (
--to yaml,--to csv, etc.). - Inspect unfamiliar data (
--print-shapereturns JSON Schema).
Lambë is a bounded tree transformer — every query terminates, no
recursion, no def/lambdas. Don't reach for it when the user wants:
- Binary data, images, databases, streaming.
- jq syntax specifically (use jq).
- SQL queries (use SQL).
- Programmatic processing with loops or accumulating state (write code instead).
- Recursive descent (
..),try/catch, regex,getpath/setpath, in-place mutation. See doc/non-goals.md for the full list and the lambë idiom that replaces each omission. If you hit "unknown pipe op" or a_jqIdiomHintmessage, that page is the canonical reference.
Natural language → lam query
| User says | Query |
|---|---|
| "Get the database host" | lam '.database.host' config.yaml |
| "List all user names" | lam '.users | map(.name)' data.json |
| "Filter active users over 30" | lam '.users | filter(.active && .age > 30)' data.json |
| "How many items?" | lam '.items | length' data.json |
| "Sort by price descending" | lam '.items | sort_by(.price) | reverse' data.json |
| "Group by department" | lam '.users | group_by(.dept)' data.json |
| "Total price" | lam '.items | map(.price) | sum' data.json |
| "Show the structure" | lam --print-shape data.json |
| "Check version isn't empty" | lam --assert '.version != ""' package.json |
| "Convert to YAML" | lam --to yaml '.' data.json |
| "Export as CSV" | lam --to csv '.users | map({name, age})' data.json |
| "Get all unique tags" | lam '.items | map(.tags) | flatten | unique' data.json |
| "Get the first 3 items" | lam '.items[:3]' data.json |
| "Build a summary object" | lam '{count: .items | length, total: .items | map(.price) | sum}' data.json |
| "Find containers without limits" | lam '.spec.template.spec.containers | filter(has("resources") == false) | map(.name)' deployment.yaml |
| "List Terraform resources" | lam '.resource | map(._labels)' main.tf |
| "Query CSV data" | lam '. | filter(.status != "closed") | map(.title)' issues.csv |
| "Sum a CSV numeric column" | lam '. | map(.price | to_number) | sum' orders.csv |
| "Inspect a value's type" | lam '.config | type' data.yaml |
| "List all headings in this markdown" | lam '.children | filter(.type == "heading") | map(text)' README.md |
| "What languages are in the code blocks?" | lam '.children | filter(.type == "code_block") | map(.language)' tutorial.md |
| "Run a query without input" | lam -n '[1, 2, 2, 3] | unique' |
| "Explore interactively" | lam -i data.json |
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.
- 2mo ago Changed · +1 lines · +17 tokens per session e594084f20f3
- 2mo ago First seen · 247 lines · 2,883 tokens per session scan A fdbf6345b8a1
lambe AGENTS.md is an instructions file published in the GitHub repository hakimjonas/lambe (1 stars, last pushed 2mo ago), licensed MIT. It adds 2,900 tokens to every session, about $0.0116 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-08-31.
lambe AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lambe AGENTS.mdhakimjonas/lambe | Instructions file | 1 | 2mo ago | MIT | A | 2,900 | 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 |