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.
git clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbookWrote 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/rules/d-padmanabhan/agent-engineering-handbook/120-utilities)<a href="https://agentmods.dev/rules/d-padmanabhan/agent-engineering-handbook/120-utilities"><img src="https://agentmods.dev/badge/rules/d-padmanabhan/agent-engineering-handbook/120-utilities/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/rules/d-padmanabhan/agent-engineering-handbook/120-utilities"><img src="https://agentmods.dev/badge/rules/d-padmanabhan/agent-engineering-handbook/120-utilities.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.03138 | $0.03138 |
| Opus 5.5 | $0.01255 | $0.01255 |
| Sonnet 5.5 | $0.00628 | $0.00628 |
| Haiku 4.5 | $0.00314 | $0.00314 |
Grade A, and why
120-utilities scanned grade A 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
description: Practical tool selection for agents reading docs, blogs, logs, and diagrams (curl, lynx, jq, httpie, ripgrep, Playwright, OCR, VLM) How it starts
The opening of the file, as written. The whole thing — 429 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Command-Line Utilities & Documentation Ingestion Tools
Guiding principle
Choose the lightest tool that reliably produces the content you need in a machine-consumable form.
- If the page is static HTML: prefer
curlplus parsing (jqfor JSON, HTML to text conversion, or a lightweight extractor). - If the page is JavaScript-rendered or requires interaction: use a headless browser (Playwright).
- If Playwright is blocked or too heavy: try a doc-extraction proxy/cache (for example
https://context7.com/) when it supports the target site. - If you need diagrams understood (not OCR): use a screenshot (Playwright) and a vision-capable model (VLM).
- If you need text inside images: use OCR (Tesseract) as a supplement.
- If you are reading official documentation at scale: prefer a documentation-aware retrieval system (RAG) over raw scraping.
What "done" looks like for an agent
The output you hand to the LLM should be:
- Clean text (minimal navigation noise)
- Source-attributed (URL, section headings)
- Chunked (so the LLM does not get one huge blob)
- Rate-limited and cacheable
- Deterministic when possible (same input URL gives similar chunks)
Tool selection matrix
1) Static pages, APIs, feeds
Use these when content is already present in HTML or JSON without JS:
curlfor fetchingjqfor JSON shapingripgrepfor local searchinglynx -dumpfor fast text extraction
Examples:
# Fetch HTML
curl -fsSL "https://acme.com/page" -o page.html
# Fetch JSON and shape it
curl -fsSL "https://api.acme.com/v1/items" | jq '.items[] | {id, name, updated_at}'
# Extract readable text quickly
lynx -dump -nolist "https://acme.com/page" > page.txt
When to stop here:
- If the text is good enough for the agent to answer questions
- If you do not need diagrams interpreted
- If the page is not JS-rendered
2) JS-heavy sites, auth flows, dynamic docs, robust extraction
Use Playwright when curl or lynx fails to capture the real content.
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 First seen · 429 lines · 3,138 tokens per session scan A f5cc2d734ccf
120-utilities is a cursor rule published in the GitHub repository d-padmanabhan/agent-engineering-handbook (21 stars, last pushed 5d ago), licensed MIT. It adds 3,138 tokens to every session, about $0.0126 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
120-utilities compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| 120-utilitiesd-padmanabhan/agent-engineering-handbook | Cursor rule | 21 | 5d ago | MIT | A | 3,138 | Cursor |
| webrtcAcKeskin/contexture | Cursor rule | 2 | 2d ago | MIT | A | 1,211 | Cursor |
| chrome-extension-manifest-rulesWebDevPeterGriffin/The-VibeCode-Bible | Cursor rule | 42 | 28d ago | none | A | 0 | Cursor |
| vasu-playwright-utilsvasu31dev/playwright-ts-lib | Cursor rule | 25 | 8mo ago | MIT | A | 14 | Cursor |
| vla-registrypdufour/browser-use-wasm | Cursor rule | 15 | 5mo ago | none | A | 468 | Cursor |
| safarischmitzjimmy1-star/macos-automator-vision-mcp | Cursor rule | 0 | 29d ago | MIT | A | 0 | Cursor |
| scrapySolihatun1/AI-Cursor-Scraping-Assistant | Cursor rule | 7 | 9mo ago | MIT | A | 955 | Cursor |