archlang-export

archlang-export is a skill for Claude Code from ChanMeng666/archlang. It costs 106 tokens per session (1,013 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 Claude Code

Written for Claude Code: shipped in a Claude Code 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: Claude Code.

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 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,013 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.00106 $0.01013
Opus 5.5 $0.00042 $0.00405
Sonnet 5.5 $0.00021 $0.00203
Haiku 4.5 $0.00011 $0.00101

Measured today against content hash b158a5299fc2, 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 today.

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/skills/archlang-export/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 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 · 59 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. today Changed · +1 lines · +1 tokens per session b158a5299fc2
  2. 4d 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 (18 stars, last pushed today), licensed MIT. It adds 106 tokens to every session and 1,013 once invoked, about $0.0004 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

Other skills, from other repositories

document-processing

Use when the deliverable is a document's bytes or its literal content — text/tables out of PDFs, AcroForm fill and flatten, page merge/split, PDF/DOCX from templates, OCR of image-only scans. NOT schema-typed fields pulled from text (that is structured-extraction), NOT signature routing (e-signature) or spreadsheet…

ericrisco/rsc-harness · 84 tokens

ocr-and-documents

Extract text from PDFs and scanned documents. Use webextract for remote URLs, pymupdf for local text-based PDFs, marker-pdf for OCR/scanned docs. For DOCX use python-docx, for PPTX see the powerpoint skill.

raphaelmansuy/edgecrab · 54 tokens

nano-pdf

Edit PDFs with natural-language instructions using the nano-pdf CLI. Modify text, fix typos, update titles, and make content changes to specific pages without manual editing.

raphaelmansuy/edgecrab · 38 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

report-to-pdf

Narrow conversion skill. Invoke only when the user explicitly asks to convert an existing Data Analytics report, dashboard, or inline chart export into a PDF artifact.

XiaomiMiMo/MiMo-Code · 36 tokens

pdf-official

Use this skill whenever a PDF file is being produced, opened, transformed, filled, or read. That includes: extracting text or tables from an existing PDF; combining, carving, rotating, cropping, or watermarking pages; composing a fresh PDF (report, invoice, certificate); filling AcroForm fields or overlaying text onto…

XiaomiMiMo/MiMo-Code · 135 tokens