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.
npx agentmods add skills/dantte-lp/oarx-docs-mcp/objectarx-cpp-developmentnpx skills add dantte-lp/oarx-docs-mcp --skill objectarx-cpp-developmentgit clone --depth 1 https://github.com/dantte-lp/oarx-docs-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/skills/dantte-lp/oarx-docs-mcp/objectarx-cpp-development)<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="Measured on agentmods" 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 | $0.00066 | $0.00928 |
| Opus 5 | $0.00033 | $0.00464 |
| Sonnet 5 | $0.00013 | $0.00186 |
| Haiku 4.5 | $0.00007 | $0.00093 |
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 3d 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.
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
- Look up every ObjectARX class you plan to use:
lookup_class("AcDbLine", guide="arxref") - Check the developer guide for the pattern you need:
search_docs("creating custom entities", guide="arxdev") - 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
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.
- 3d ago First seen · 110 lines · 66 tokens per session scan A 5738ccee41ff
objectarx-cpp-development is a skill published in the GitHub repository dantte-lp/oarx-docs-mcp (0 stars, last pushed 6mo ago), licensed MIT. It adds 66 tokens to every session and 928 once invoked, about $0.0003 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 skills, from other repositories
cpp-pro
Writes, optimizes, and debugs C++ applications using modern C++20/23 features, template metaprogramming, and high-performance systems techniques. Use when building or refactoring C++ code requiring concepts, ranges, coroutines, SIMD optimization, or careful memory management — or when addressing performance…
dart-use-ffigen
Guide agents to use package:ffigen to automatically generate FFI bindings instead of writing them manually. Use this skill when a task involves writing new FFI bindings, extending C/Objective-C/Swift integrations, or replacing hand-crafted dart:ffi setups.
add-uint-support
Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros. Use when adding support for uint16, uint32, uint64 types to operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.
at-dispatch-v2
Convert PyTorch ATDISPATCH macros to ATDISPATCHV2 format in ATen C++ code. Use when porting ATDISPATCHALLTYPESAND, ATDISPATCHFLOATINGTYPES, or other dispatch macros to the new v2 API. For ATen kernel files, CUDA kernels, and native operator implementations.
sqlitecpp-doxygen-guide
SQLiteCpp Doxygen standards and templates for public API docs and file headers.
cuda-index-width
Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. Use when fixing large-tensor indexing overflows, deciding whether to use int64t, canUse32BitIndexMath, CUDAKERNELLOOPTYPE, or ATDISPATCHINDEXTYPES, and when considering binary-size or performance impact of index-type templating.