autolisp-development

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

A guide for writing and reviewing AutoLISP or Visual LISP, languages used to automate and extend AutoCAD. It uses the ObjectARX documentation server to check functions and recommends patterns for errors and commands.

In plain words
What is it for?
Use it when working with AutoLISP files, AutoCAD commands, selection sets, ActiveX or COM objects, dialog files, and related automation code.
Why use it?
It reduces mistakes caused by incorrect AutoLISP function syntax or unsafe automation patterns.

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 AutoLISP files, AutoCAD commands, selection sets, ActiveX or COM objects, dialog files, and related automation code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dantte-lp/oarx-docs-mcp/autolisp-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 autolisp-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 autolisp-development

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dantte-lp/oarx-docs-mcp/autolisp-development"><img src="https://agentmods.dev/badge/skills/dantte-lp/oarx-docs-mcp/autolisp-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 881 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.00067 $0.00881
Opus 5.5 $0.00027 $0.00352
Sonnet 5.5 $0.00013 $0.00176
Haiku 4.5 $0.00007 $0.00088

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

Security

Grade A, and why

autolisp-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/autolisp-development/SKILL.md · 113 lines

How it starts

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

AutoLISP Development

Guide for writing correct AutoLISP/Visual LISP code using the oarx-docs MCP server.

Critical Rule

ALWAYS look up AutoLISP functions before using them. AutoLISP has hundreds of functions with specific argument patterns. Use the documentation.

lookup_class("vl-cmdf", guide="AutoCAD-AutoLISP-Reference")
search_docs("selection set filters", guide="AutoCAD-AutoLISP")

Guide Selection

  • Function syntax → AutoCAD-AutoLISP-Reference
  • Concepts and patterns → AutoCAD-AutoLISP
  • Tutorials → AutoCAD-AutoLISP-Tutorials
  • ActiveX/COM objects → AutoCAD-ActiveX-Reference
  • DCL dialogs → search AutoCAD-AutoLISP for "DCL"

Required Patterns

Error Handling

Always define an error handler with cleanup:

(defun c:MYCMD (/ *error* old-osmode)
  (defun *error* (msg)
    (if old-osmode (setvar "OSMODE" old-osmode))
    (if (/= msg "Function cancelled")
      (princ (strcat "\nError: " msg))
    )
    (princ)
  )
  (setq old-osmode (getvar "OSMODE"))
  (setvar "OSMODE" 0)
  ;; ... main logic ...
  (setvar "OSMODE" old-osmode)
  (princ)
)

Command Execution

;; PREFERRED: vl-cmdf (returns T/nil, no pause)
(vl-cmdf "_.LINE" pt1 pt2 "")

;; ALTERNATIVE: command (legacy, may pause for input)
(command "_.LINE" pt1 pt2 "")

Look up the difference:

lookup_class("vl-cmdf", guide="AutoCAD-AutoLISP-Reference")
lookup_class("command", guide="AutoCAD-AutoLISP-Reference")

Selection Sets

;; Select all lines on layer "WALLS"
(setq ss (ssget "X" '((0 . "LINE") (8 . "WALLS"))))
(if ss
  (repeat (setq i (sslength ss))
    (setq i (1- i))
    (setq ent (ssname ss i))
    (setq data (entget ent))
    ;; process entity...
  )
)

ActiveX/COM Integration

;; Get ActiveX object from entity
(setq obj (vlax-ename->vla-object ent))
(vla-get-StartPoint obj)
(vla-put-Color obj acRed)

Look up available properties/methods:

lookup_class("vla-get-StartPoint", guide="AutoCAD-ActiveX-Reference")

Read the full file on GitHub · 113 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 · 113 lines · 67 tokens per session scan A 4fb275cfd9cf

Subscribe to this mod's changes

autolisp-development is a skill published in the GitHub repository dantte-lp/oarx-docs-mcp (0 stars, last pushed 9mo ago), licensed MIT. It adds 67 tokens to every session and 881 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

autolisp-development compared with skills from other repositories

autolisp-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autolisp-developmentdantte-lp/oarx-docs-mcpSkill09mo agoMITA67Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code