autocad-dotnet

autocad-dotnet is a skill for Claude Code from joseguiaCES/autocad-dotnet-claude-skill. It costs 115 tokens per session (1,540 once invoked), scanned A, original, MIT.

A reference guide for building AutoCAD plugins with the .NET API. AutoCAD is computer-aided design software, and its .NET API lets code create and modify drawings.

In plain words
What is it for?
It helps create commands, manage transactions and documents, create or modify drawing entities, work with blocks and layers, and handle selections and object data.
Why use it?
It provides exact API patterns and known pitfalls when working with AutoCAD's managed programming interface.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the autocad-dotnet plugin — 1 skill shipped together

Good fit It helps create commands, manage transactions and documents, create or modify drawing entities, work with blocks and layers, and handle selections and object data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joseguiaces/autocad-dotnet-claude-skill/autocad-dotnet
Install

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.

Any agent
npx skills add joseguiaCES/autocad-dotnet-claude-skill --skill autocad-dotnet
Clone the repo
git clone --depth 1 https://github.com/joseguiaCES/autocad-dotnet-claude-skill

Made for: Claude Code.

Or install autocad-dotnet, the plugin that ships this one along with the rest of its 1 skill.

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 autocad-dotnet

README.md
[![agentmods](https://agentmods.dev/badge/skills/joseguiaces/autocad-dotnet-claude-skill/autocad-dotnet/github.svg)](https://agentmods.dev/skills/joseguiaces/autocad-dotnet-claude-skill/autocad-dotnet)
Your own site
<a href="https://agentmods.dev/skills/joseguiaces/autocad-dotnet-claude-skill/autocad-dotnet"><img src="https://agentmods.dev/badge/skills/joseguiaces/autocad-dotnet-claude-skill/autocad-dotnet/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 autocad-dotnet

Your own site · 80×15
<a href="https://agentmods.dev/skills/joseguiaces/autocad-dotnet-claude-skill/autocad-dotnet"><img src="https://agentmods.dev/badge/skills/joseguiaces/autocad-dotnet-claude-skill/autocad-dotnet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,540 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.00115 $0.01540
Opus 5 $0.00057 $0.00770
Sonnet 5 $0.00023 $0.00308
Haiku 4.5 $0.00012 $0.00154

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

Security

Grade A, and why

autocad-dotnet 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.

skills/autocad-dotnet/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AutoCAD .NET Development Skill

You have access to a comprehensive AutoCAD .NET API knowledge base with two tiers:

Tier 1: Patterns (How To)

Human-curated guides with production-tested code examples. Check these FIRST when the developer asks "how do I...":

Pattern File Covers
patterns/transactions.md Transaction lifecycle, StartTransaction vs StartOpenCloseTransaction, nesting, disposal
patterns/document-database-editor.md Document/Database/Editor trio, document locking, active vs background docs
patterns/entity-creation.md Adding entities to ModelSpace/PaperSpace, ObjectId lifecycle, bulk creation
patterns/entity-modification.md Opening for write, modifying properties, batch modifications, Overrule
patterns/block-references.md BlockTable/BlockTableRecord/BlockReference, attributes, nested blocks, cloning
patterns/selection-sets.md Selection filters, TypedValue arrays, DXF codes, implied selection
patterns/layers-and-properties.md LayerTable, creating layers, linetypes, ByLayer vs ByBlock
patterns/xdata.md ResultBuffer, RegApp, DXF group codes, read/write roundtrip, size limits
patterns/commands.md [CommandMethod], CommandFlags, [LispFunction], async commands
patterns/events.md Database/Document/Editor events, Idle processing, undo/redo gotcha
patterns/geometry.md Point3d, Vector3d, Matrix3d, transforms, coordinate systems, Tolerance
patterns/palettes.md PaletteSet, WPF hosting, WinForms hosting, docking, state persistence
patterns/cui-customization.md Ribbon API, tabs, panels, buttons, toolbars, command groups
patterns/plotting.md PlotEngine workflow, PlotSettings, batch plotting, PDF output
patterns/external-references.md Xref attach/detach/reload/bind, XrefGraph, nested xrefs
patterns/file-io.md ReadDwgFile, SaveAs, WblockClone, side database pattern
patterns/jig-and-drawjig.md EntityJig, DrawJig, Sampler/Update/WorldDraw, placement preview
patterns/tables.md Symbol tables (TextStyle, DimStyle, Linetype, RegApp, Block, Layer, etc.)
patterns/error-handling.md What throws vs silent fails, ErrorStatus, eLocked recovery
patterns/performance.md Large drawing strategies, regen control, progress meters, bulk operations
patterns/migration-2025-to-2026.md TFM changes, NuGet versions, breaking API changes between versions

Read the full file on GitHub · 100 lines

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 · 100 lines · 115 tokens per session scan A 1ebff2ebb749

Subscribe to this mod's changes

autocad-dotnet is a skill published in the GitHub repository joseguiaCES/autocad-dotnet-claude-skill (7 stars, last pushed 5mo ago), licensed MIT. It adds 115 tokens to every session and 1,540 once invoked, about $0.0006 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 skills, from other repositories

opengis-skills

Use when AI coding assistant needs GIS/CAD/C#/AI/IoT/3D domain expertise for 75 open-source projects. One-stop skill index with tag-based search and on-demand loading for GDAL, GeoServer, QGIS, PostGIS, JTS, CesiumJS, FreeCAD, OpenSCAD, OCCT, NPOI, SqlSugar, Furion, Dify, SuperSplat, Go and more.

znlgis/opengis-skills · 96 tokens

ifoxcad

Use when developing AutoCAD plugins with .NET/C# — entity creation, layer management, block references, transaction handling. iFoxCAD: AutoCAD .NET secondary development framework with simplified API wrappers.

znlgis/opengis-skills · 44 tokens

grasshopper-component

Complete guide for developing custom Grasshopper components in C# — GHComponent class, RegisterInputParams/OutputParams, SolveInstance, DataTree patterns, parameter types, error handling, and component packaging as .gha. Use this skill whenever creating or debugging a Grasshopper component: "grasshopper component c#"…

bcshih/rhino-dev-skills · 128 tokens

rhinocommon-geometry

Deep reference for Rhino.Geometry namespace — all geometry types, operations, and patterns in RhinoCommon. Use this skill whenever working with Rhino geometry in C# or Python: Point3d, Vector3d, Curve, Surface, Brep, Mesh, NURBS, intersections, boolean operations, transforms, planes, bounding boxes. Triggers on…

bcshih/rhino-dev-skills · 151 tokens

rhinocommon-setup

Complete guide for setting up, structuring, debugging, and packaging Rhino/Grasshopper plugins using RhinoCommon (.NET). Use this skill whenever the user asks about creating a new Rhino plugin project, setting up Visual Studio for Rhino development, configuring .csproj for RhinoCommon, building .rhp/.gha files…

bcshih/rhino-dev-skills · 141 tokens

generate-code-cs

Generate the code from typespec for C#. Parameter: C# SDK repository root location .

Azure/azure-sdk-for-net · 26 tokens