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 skills add ChanMeng666/archlang --skill archlang-exportgit clone --depth 1 https://github.com/ChanMeng666/archlangWrote 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/chanmeng666/archlang/archlang-export)<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.
<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>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.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 |
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.
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
- Check the plan compiles.
archlang compile plan.arch --jsonwrites nothing and reportsokand the diagnostics. Do not export a plan with errors; fix it first. - Make sure it is a sheet. A plan with no
paperstatement has no physical size.archlang finish plan.arch --only sheet --dry-run --jsonshows the sheet statements the plan lacks (paper, scale, dimensions, title block, room schedule, legend).archlang finish plan.arch --only sheetadds them on the smallest sheet the drawing fits. - If the user names a paper size or a scale, edit the plan's
paperandscalestatements to those values and compile again. If the drawing does not fit the sheet the plan declares,archlang finish plan.arch --reissue -o issued.archwrites a copy in which onlypaperandscaleare replaced by ones that fit. Tell the user when the sheet they asked for cannot hold the drawing at that scale. - 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 2doubles the raster scale) - DXF, for CAD:
archlang compile plan.arch -f dxf -o plan.dxf --json
- SVG, for the web or further editing:
- Multi-storey plans. A plan written with
levelblocks compiles to one file per storey, named<stem>.L<level>.<ext>, and the JSON result lists them inoutputs[]. To write one storey to one named file, add--level <n>. - Many plans at once. Create the output directory first;
batchdoes not create it. Thenarchlang batch a.arch b.arch -f pdf -o out/ --jsonrenders each input into it and returns one result row per input. - Confirm what was written. Read
output(oroutputs[]for a multi-storey plan) andbytesin 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.
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.
- yesterday Changed · +5 lines 27b9a227c61c
- 23d ago Changed 8f22be1346ed
- 28d ago Changed · +15 lines · +15 tokens per session 99e9ef0e8065
- 1mo ago Changed · +1 lines · +1 tokens per session b158a5299fc2
- 1mo ago First seen · 58 lines · 105 tokens per session scan A 0cbaace20916
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.
archlang-export compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| archlang-exportChanMeng666/archlang | Skill | 96 | today | MIT | A | 121 | Cursor |
| engineering-drawingearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 93 | Claude Code, Codex |
| report-to-pdfXiaomiMiMo/MiMo-Code | Skill | 14k | yesterday | MIT | A | 36 | Codex |
| pdf-officialXiaomiMiMo/MiMo-Code | Skill | 14k | yesterday | MIT | A | 135 | Claude Code, Codex |
| pdfHmbown/CodeWhale | Skill | 41k | yesterday | MIT | A | 31 | Claude Code, Codex |
| recipe-bulk-download-foldergoogleworkspace/cli | Skill | 33k | 5d ago | Apache-2.0 | A | 17 | Claude Code, Codex |
| ulw-researchcode-yeongyu/lazycodex | Skill | 4.0k | yesterday | MIT | A | 51 | Codex |