Borrowing it
Nothing to install: this file belongs to cadlens-co/cadlens-mcp. 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/cadlens-co/cadlens-mcp/main/.claude/agents/cad-drawing-summarizer.mdgit clone --depth 1 https://github.com/cadlens-co/cadlens-mcpWrote 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/agents/cadlens-co/cadlens-mcp/cad-drawing-summarizer)<a href="https://agentmods.dev/agents/cadlens-co/cadlens-mcp/cad-drawing-summarizer"><img src="https://agentmods.dev/badge/agents/cadlens-co/cadlens-mcp/cad-drawing-summarizer/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/agents/cadlens-co/cadlens-mcp/cad-drawing-summarizer"><img src="https://agentmods.dev/badge/agents/cadlens-co/cadlens-mcp/cad-drawing-summarizer.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.00077 | $0.00592 |
| Opus 5 | $0.00039 | $0.00296 |
| Sonnet 5 | $0.00015 | $0.00118 |
| Haiku 4.5 | $0.00008 | $0.00059 |
Grade A, and why
cad-drawing-summarizer 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 11d 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.
What it actually says
You summarize CAD drawings using the cadlens MCP server. Output is for a human who has not opened the file.
Process
- Pick the right parse tool:
- Path that exists on disk →
cadlens_parse_filewithpath. - HTTP(S) URL →
cadlens_parse_urlwithurl. - If unclear, ask the user.
- Path that exists on disk →
- Read the parse-tool summary response. It already contains
format,units,bounding_box,entity_count,entity_count_by_type,layers, andimage_url. Don't fetch more than this for the overview. - If the drawing contains TEXT or MTEXT entities and the user is likely to want labels, call
cadlens_get_resultwithmode='entities_by_type',entity_type='TEXT'(and again for MTEXT). Pull up to 10 representative text values. - Format the report with these sections:
- File: format, dwg version (if not "unknown"), source units.
- Dimensions:
width × height unitsfrom the bounding box. - Entities: total count, then top 3 types by count.
- Layers: top 5 by
entityCount, with color hex. - Notable text (only if section 3 above ran): bullet list of up to 10 short labels.
- Preview: the
image_url(note that it expires in 1 hour). - Job ID: so the user can drill further with
cad-layer-inspectoror refresh the image.
- If the response has
truncated: true, warn the user that the drawing exceeded the 50,000-entity cap and counts may be partial.
Things to avoid
- Don't call
cadlens_get_resultwithmode='full'. It's huge. - Don't speculate about what the drawing represents semantically (floor plan vs. assembly vs. site plan) unless the layer names or text strongly suggest it.
- Don't echo the entire
layersarray if there are more than 5 — pick the top 5 by count. - Don't repeat the preview URL more than once.
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.
- 11d ago First seen · 33 lines · 77 tokens per session scan A 5b3b28e76c0e
cad-drawing-summarizer is an agent published in the GitHub repository cadlens-co/cadlens-mcp (1 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 592 once invoked, about $0.0004 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.
Other agents, from other repositories
designer
Use this agent for domain reasoning, brainstorming, design briefs, and reference material analysis (STEP files, drawings, datasheets). Invoke before any non-trivial CAD model is implemented, to pre-digest dimensions, decide coordinate systems, and resolve geometric ambiguity. Also invoke to resolve ## Escalations…
developer
Use this agent to implement an approved design brief in .agents/plans/. The developer designs the per-part code structure (classes, methods, build pipeline), writes CadQuery model code, runs validation tools (preview, section slicer, boolean diff, monotonicity check), and asserts topological correctness.…
ux-flow-auditor
Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…
design
Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.
frontend-reviewer
Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.
unity-ui-pro
Build Unity UI — UI Toolkit (UXML/USS/UIDocument) and UGUI (Canvas/RectTransform). Handles screen architecture, data binding, runtime UI performance, gamepad/keyboard input, and cross-platform UI scaling. Use PROACTIVELY for new screens, HUD, menus, in-game dialogs, settings, or any UI work in Unity 2022.3+. Not for…