cadlens-mcp: Agent for Claude Code

.claude/agents/cad-drawing-summarizer.md

cad-drawing-summarizer is an agent for Claude Code from cadlens-co/cadlens-mcp. It costs 77 tokens per session (592 once invoked), scanned A, original, MIT.

An agent that turns a local CAD drawing file or web URL into a human-readable summary. CAD means computer-aided design, and the summary includes file format, units, dimensions, layers, labels, and entity counts.

In plain words
What is it for?
Summarizing drawing properties, listing important layers and text labels, reporting entity types and counts, and providing a preview for further inspection.
Why use it?
It lets someone understand the contents of a drawing without opening it in CAD software.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is cadlens-co/cadlens-mcp's own configuration. It tells Claude Code how to work on cadlens-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cadlens-mcp configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/cadlens-co/cadlens-mcp/main/.claude/agents/cad-drawing-summarizer.md
Clone the repo
git clone --depth 1 https://github.com/cadlens-co/cadlens-mcp

Made for: Claude Code.

Wrote 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.

agentmods badge for cad-drawing-summarizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/cadlens-co/cadlens-mcp/cad-drawing-summarizer/github.svg)](https://agentmods.dev/agents/cadlens-co/cadlens-mcp/cad-drawing-summarizer)
Your own site
<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.

agentmods 80×15 button for cad-drawing-summarizer

Your own site · 80×15
<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>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 592 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 11d ago against content hash 5b3b28e76c0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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.

.claude/agents/cad-drawing-summarizer.md · 33 lines

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

  1. Pick the right parse tool:
    • Path that exists on disk → cadlens_parse_file with path.
    • HTTP(S) URL → cadlens_parse_url with url.
    • If unclear, ask the user.
  2. Read the parse-tool summary response. It already contains format, units, bounding_box, entity_count, entity_count_by_type, layers, and image_url. Don't fetch more than this for the overview.
  3. If the drawing contains TEXT or MTEXT entities and the user is likely to want labels, call cadlens_get_result with mode='entities_by_type', entity_type='TEXT' (and again for MTEXT). Pull up to 10 representative text values.
  4. Format the report with these sections:
    • File: format, dwg version (if not "unknown"), source units.
    • Dimensions: width × height units from 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-inspector or refresh the image.
  5. 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_result with mode='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 layers array if there are more than 5 — pick the top 5 by count.
  • Don't repeat the preview URL more than once.
Changes

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.

  1. 11d ago First seen · 33 lines · 77 tokens per session scan A 5b3b28e76c0e

Subscribe to this mod's changes

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.

Related

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…

fa-mc/vibe-cading · 79 tokens

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.…

fa-mc/vibe-cading · 106 tokens

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…

CharlesWiltgen/Axiom · 190 tokens

design

Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.

Rune-kit/rune · 35 tokens

frontend-reviewer

Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.

everywan-dev/claude-code-engineering · 28 tokens

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…

AcKeskin/contexture · 102 tokens