archlang-export

archlang-export is a skill for Cursor from ChanMeng666/archlang. It costs 121 tokens per session (1,407 once invoked), scanned A, original, MIT.

A workflow for delivering an ArchLang floor plan as drawing files. It supports formats such as SVG, PNG, PDF, and DXF, where DXF is a file format commonly used by computer-aided design tools.

In plain words
What is it for?
Use it to create printable PDFs or images, CAD-compatible DXF files, sheets at a requested scale, or batches for several floors.
Why use it?
It checks that the plan compiles and helps set paper size, drawing scale, titles, legends, and multi-floor output before exporting.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the archlang plugin — 5 skills shipped together

Good fit Use it to create printable PDFs or images, CAD-compatible DXF files, sheets at a requested scale, or batches for several floors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chanmeng666/archlang/archlang-export
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 ChanMeng666/archlang --skill archlang-export
Clone the repo
git clone --depth 1 https://github.com/ChanMeng666/archlang

Made for: Cursor.

Or install archlang, the plugin that ships this one along with the rest of its 5 skills.

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 archlang-export

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chanmeng666/archlang/archlang-export"><img src="https://agentmods.dev/badge/skills/chanmeng666/archlang/archlang-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,407 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.00121 $0.01407
Opus 5.5 $0.00048 $0.00563
Sonnet 5.5 $0.00024 $0.00281
Haiku 4.5 $0.00012 $0.00141

Measured yesterday against content hash 27b9a227c61c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

archlang-export 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 yesterday.

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.

plugins/archlang-cursor/skills/archlang-export/SKILL.md · 79 lines

How it starts

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

Export a plan

Produce drawing files from a .arch plan. If archlang is not on the path, write npx -y @chanmeng666/archlang in its place. Never run a bare arch: on Linux, macOS and Git Bash that name is the coreutils command.

This skill is a workflow, not a language reference. archlang compile --help lists every format and flag; archlang spec describes the paper and scale statements.

Steps

  1. Check the plan compiles. archlang compile plan.arch --json writes nothing and reports ok and the diagnostics. Do not export a plan with errors; fix it first.
  2. Make sure it is a sheet. A plan with no paper statement has no physical size. archlang finish plan.arch --only sheet --dry-run --json shows the sheet statements the plan lacks (paper, scale, dimensions, title block, room schedule, legend). archlang finish plan.arch --only sheet adds them on the smallest sheet the drawing fits.
  3. If the user names a paper size or a scale, edit the plan's paper and scale statements to those values and compile again. If the drawing does not fit the sheet the plan declares, archlang finish plan.arch --reissue -o issued.arch writes a copy in which only paper and scale are replaced by ones that fit. Tell the user when the sheet they asked for cannot hold the drawing at that scale.
  4. Export. Pick the format by what the file is for:
    • SVG, for the web or further editing: archlang compile plan.arch -o plan.svg --json
    • PDF, for print at true size: archlang compile plan.arch -f pdf -o plan.pdf --install --json
    • PNG, for a document or a chat: archlang compile plan.arch -f png -o plan.png --install --json (-s 2 doubles the raster scale)
    • DXF, for CAD: archlang compile plan.arch -f dxf -o plan.dxf --json
  5. Multi-storey plans. A plan written with level blocks compiles to one file per storey, named <stem>.L<level>.<ext>, and the JSON result lists them in outputs[]. To write one storey to one named file, add --level <n>.
  6. Many plans at once. Create the output directory first; batch does not create it. Then archlang batch a.arch b.arch -f pdf -o out/ --json renders each input into it and returns one result row per input.
  7. Confirm what was written. Read output (or outputs[] for a multi-storey plan) and bytes in the JSON result and list the files for the user. For a PNG you can look at it; for the other formats report the path, the sheet size and the scale.

Read the full file on GitHub · 79 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. yesterday Changed · +5 lines 27b9a227c61c
  2. 23d ago Changed 8f22be1346ed
  3. 28d ago Changed · +15 lines · +15 tokens per session 99e9ef0e8065
  4. 1mo ago Changed · +1 lines · +1 tokens per session b158a5299fc2
  5. 1mo ago First seen · 58 lines · 105 tokens per session scan A 0cbaace20916

Subscribe to this mod's changes

archlang-export is a skill published in the GitHub repository ChanMeng666/archlang (96 stars, last pushed today), licensed MIT. It adds 121 tokens to every session and 1,407 once invoked, about $0.0005 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-10-10.

Related

archlang-export compared with skills from other repositories

archlang-export next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
archlang-exportChanMeng666/archlangSkill96todayMITA121Cursor
engineering-drawingearthtojake/text-to-cadSkill28ktodayMITA93Claude Code, Codex
report-to-pdfXiaomiMiMo/MiMo-CodeSkill14kyesterdayMITA36Codex
pdf-officialXiaomiMiMo/MiMo-CodeSkill14kyesterdayMITA135Claude Code, Codex
pdfHmbown/CodeWhaleSkill41kyesterdayMITA31Claude Code, Codex
recipe-bulk-download-foldergoogleworkspace/cliSkill33k5d agoApache-2.0A17Claude Code, Codex
ulw-researchcode-yeongyu/lazycodexSkill4.0kyesterdayMITA51Codex