objectarx-cpp-development

objectarx-cpp-development is a skill for Claude Code from dantte-lp/oarx-docs-mcp. It costs 66 tokens per session (928 once invoked), scanned A, original, MIT.

A development guide for writing and reviewing C++ code for ObjectARX, Autodesk AutoCAD’s programming interface.

In plain words
What is it for?
Use it when working with ObjectARX classes and functions. It requires looking up API items and covers patterns such as opening and closing database objects safely.
Why use it?
It reduces the risk of guessing API names, signatures, return values, or database-object handling rules.

Skill for Claude Code

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

Part of the oarx-docs plugin — 4 skills, 2 commands, 1 hook shipped together

Good fit Use it when working with ObjectARX classes and functions. It requires looking up API items and covers patterns such as opening and closing database objects safely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dantte-lp/oarx-docs-mcp/objectarx-cpp-development
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 dantte-lp/oarx-docs-mcp --skill objectarx-cpp-development
Clone the repo
git clone --depth 1 https://github.com/dantte-lp/oarx-docs-mcp

Made for: Claude Code.

Or install oarx-docs, the plugin that ships this one along with the rest of its 4 skills, 2 commands, 1 hook.

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 objectarx-cpp-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/dantte-lp/oarx-docs-mcp/objectarx-cpp-development/github.svg)](https://agentmods.dev/skills/dantte-lp/oarx-docs-mcp/objectarx-cpp-development)
Your own site
<a href="https://agentmods.dev/skills/dantte-lp/oarx-docs-mcp/objectarx-cpp-development"><img src="https://agentmods.dev/badge/skills/dantte-lp/oarx-docs-mcp/objectarx-cpp-development/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 objectarx-cpp-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/dantte-lp/oarx-docs-mcp/objectarx-cpp-development"><img src="https://agentmods.dev/badge/skills/dantte-lp/oarx-docs-mcp/objectarx-cpp-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 928 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.00066 $0.00928
Opus 5.5 $0.00026 $0.00371
Sonnet 5.5 $0.00013 $0.00186
Haiku 4.5 $0.00007 $0.00093

Measured 3mo ago against content hash 5738ccee41ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

objectarx-cpp-development 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 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.

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.

plugin/skills/objectarx-cpp-development/SKILL.md · 110 lines

How it starts

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

ObjectARX C++ Development

Guide for writing correct C++ ObjectARX code using the oarx-docs MCP server.

Critical Rule

ALWAYS call lookup_class before using any ObjectARX C++ class or function. Never guess method signatures, parameter types, or return values. The ObjectARX API has 40,000+ documented items — look them up.

Before Writing Code

  1. Look up every ObjectARX class you plan to use:
    lookup_class("AcDbLine", guide="arxref")
    
  2. Check the developer guide for the pattern you need:
    search_docs("creating custom entities", guide="arxdev")
    
  3. If unsure about class hierarchy, look up the base class first:
    lookup_class("AcDbEntity", guide="arxref")
    lookup_class("AcDbObject", guide="arxref")
    

Required Patterns

Open/Close Protocol

Every database object must be opened before access and closed after:

// PREFERRED: Smart pointer (RAII) — AcDbObjectPointer or AcDbSmartObjectPointer
AcDbObjectPointer<AcDbLine> pLine(lineId, AcDb::kForRead);
if (pLine.openStatus() != Acad::eOk) { /* handle error */ }
// pLine auto-closes on scope exit
// AcDbSmartObjectPointer<T> is similar but uses reference counting

// ALTERNATIVE: Manual open/close
AcDbLine* pLine = nullptr;
Acad::ErrorStatus es = acdbOpenObject(pLine, lineId, AcDb::kForRead);
if (es != Acad::eOk) { /* handle error */ }
// ... use pLine ...
pLine->close();

Error Status Checking

Always check Acad::ErrorStatus:

Acad::ErrorStatus es = pEntity->transformBy(xform);
if (es != Acad::eOk) {
    acutPrintf(_T("\nError: %s"), acadErrorStatusText(es));
    return es;
}

Object ID — Never Raw Pointers Across Boundaries

// WRONG: storing raw pointer
AcDbLine* pLine = ...; // pointer invalid after close!

// RIGHT: store ObjectId, reopen when needed
AcDbObjectId lineId = pLine->objectId();
pLine->close();
// later...
AcDbObjectPointer<AcDbLine> pLine2(lineId, AcDb::kForWrite);

Adding Entities to Model Space

Read the full file on GitHub · 110 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. 3mo ago First seen · 110 lines · 66 tokens per session scan A 5738ccee41ff

Subscribe to this mod's changes

objectarx-cpp-development is a skill published in the GitHub repository dantte-lp/oarx-docs-mcp (0 stars, last pushed 9mo ago), licensed MIT. It adds 66 tokens to every session and 928 once invoked, about $0.0003 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.

Related

objectarx-cpp-development compared with skills from other repositories

objectarx-cpp-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
objectarx-cpp-developmentdantte-lp/oarx-docs-mcpSkill09mo agoMITA66Claude Code
zoom-meeting-sdk-unrealanthropics/knowledge-work-pluginsSkill37ktodayApache-2.0A41Claude Code
cudnn-installNVIDIA/skillsSkill4.3ktodayApache-2.0A49Claude Code, Codex
ccclNVIDIA/skillsSkill4.3ktodayApache-2.0A206Claude Code, Codex
doca-argpNVIDIA/skillsSkill4.3ktodayApache-2.0A277Claude Code
cpu-kernelshuggingface/kernelsSkill798todayApache-2.0A89Claude Code
cpp-prormyndharis/antigravity-skillsSkill2.2k24d agoMITA49Claude Code, Codex