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-edit-plangit 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-edit-plan)<a href="https://agentmods.dev/skills/chanmeng666/archlang/archlang-edit-plan"><img src="https://agentmods.dev/badge/skills/chanmeng666/archlang/archlang-edit-plan/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-edit-plan"><img src="https://agentmods.dev/badge/skills/chanmeng666/archlang/archlang-edit-plan.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.00102 | $0.02023 |
| Opus 5.5 | $0.00041 | $0.00809 |
| Sonnet 5.5 | $0.00020 | $0.00405 |
| Haiku 4.5 | $0.00010 | $0.00202 |
Grade A, and why
archlang-edit-plan 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 — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Edit an existing plan
Change a .arch file without breaking what already works.
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. Run archlang spec for the language and
archlang <cmd> --help for a command's flags.
Scope
- Run the
archlangCLI commands below and no other program. - Change the one
.archfile the user asked you to edit (plan.archbelow). If the user has not named it, ask. Besides it, write only the drawings the CLI renders and the.bakcopy that--backupkeeps. - The user's explicit instructions take priority over these steps.
Steps
- Record the starting state. Run
archlang validate plan.arch --jsonandarchlang describe plan.arch --select rooms,totals --json. Keep both results: they are what you compare against at the end. If the plan already has errors, tell the user before you edit. - Choose the locks, then check the edit. Before you edit, list the ids the request does not
name: those are the locks. For a change to one top-level
let, ask first, with nothing written:archlang impact plan.arch --set NAME=value --lock <ids> --json. For any other edit, make it in a copynew.archand check it after:archlang impact new.arch --against plan.arch --lock <ids> --json. Exit2withE_LOCKED_ELEMENT_CHANGEDnames a locked element the edit moves: change the edit, not the lock. A lock names elements by theid=written in the source (an unnamed one is refused withE_LOCK_UNNAMED). - Read only what the change touches.
archlang describe plan.arch --room <ids> --jsonreturns those rooms with the doors, windows and furniture that touch them.archlang describe plan.arch --select freedom --jsonsays which positions the author typed (absolute) and which the compiler derives. Change a typed number; a derived one moves by itself when the thing it depends on moves. - Read the language for the forms you will write.
archlang spec. - Make the smallest edit. Change the statements the request names and leave the rest as they are: same ids, same order, same comments. Do not reformat the file and do not rewrite statements you were not asked to change. When a room changes size, check the walls, doors, windows and neighbouring rooms that share its edges.
- Compile.
archlang compile plan.arch -o plan.svg --json. Ifokis false, preview the mechanical fixes witharchlang fix plan.arch --dry-run --jsonand read the diff before you apply them witharchlang fix plan.arch --backup. - Move furniture out of the way if needed. If the edit pushed a piece into a wall, a doorway
or a door swing,
archlang repair plan.arch -o plan.archmoves it. Readunresolvedfor the pieces it could not move. - Verify the change and nothing else. Run the two commands from step 1 again, and
the
impactcheck from step 2 on the edited file. The rooms you meant to change differ as intended. Every other room has the same area and the same connections. No diagnostic is new unless the request causes it; if one is, tell the user. - Refresh the sheet if the drawing grew.
archlang finish plan.arch --dry-run --jsonshows what is missing. If it reports that the drawing no longer fits the authoredpaperorscale,archlang finish plan.arch --reissuemay replace those two statements and nothing else. - Review once, at the end. Run
archlang score plan.arch --taste generic --jsonandarchlang preview plan.arch --review, which writesplan.review.png(one storey per sheet: add--level <n>for each upper storey). Run them whenarchlang validate plan.arch --strict --jsonexits0, or you can name each remaining warning as deliberate. If strict is not clean only because of warnings the plan carried before your edit, still run them once: the score is then capped at 0.5 (cappedistrue). Do not fix warnings the request did not cause to make it clean. The score is a sourced 0–1 taste score (privacy gradient, daylight, proportion, corner doors, …) whosecriteria[].adviceA_*codes name what to improve;coverage.weightsays how much of it could be judged, andscoreisnullwhen nothing could. It never gates, and a score capped at 0.5 means a validity lint warning still stands. The review image rings and numbers every warned element; on a lint-clean plan it still shows the access graph (which rooms each door joins, which rooms the entrance reaches) and which door is the main entrance or that the choice is a tie: check that the edit did not change them unless the request asked for it. If it did, that is a fault in the edit, not taste: go back to step 5, fix it, and run this step again. Taste advice is not an error, and it may predate your edit: do not iterate on it and do not make edits the user did not ask for to raise the score. Report it; the user decides.
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 · +23 lines 537cc06feeb2
- 12d ago Changed · +1 lines cf5d13255325
- 18d ago Changed · +7 lines d639151fbf51
- 25d ago Changed · +13 lines 412213d89b0d
- 1mo ago Changed · +8 lines 06c0b19a8907
- 1mo ago Changed · +1 lines · +1 tokens per session c36bbe95aa8e
- 1mo ago First seen · 57 lines · 101 tokens per session scan A 1eceb78cccdd
archlang-edit-plan is a skill published in the GitHub repository ChanMeng666/archlang (96 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 2,023 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.
archlang-edit-plan compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| archlang-edit-planChanMeng666/archlang | Skill | 96 | today | MIT | A | 102 | Cursor |
| omm-scanoh-my-mermaid/oh-my-mermaid | Skill | 3.4k | yesterday | MIT | A | 37 | Claude Code |
| omm-pushoh-my-mermaid/oh-my-mermaid | Skill | 3.4k | yesterday | MIT | A | 49 | Claude Code |
| omm-viewoh-my-mermaid/oh-my-mermaid | Skill | 3.4k | yesterday | MIT | A | 43 | Claude Code |
| brooks-lintskillmds/skillmd | Skill | 142 | 22d ago | MIT | A | 26 | Claude Code |
| pre-edit-safety-gaterexleimo/aios | Skill | 62 | 6d ago | MIT | A | 68 | Claude Code, Codex |
| plugin-systemellmos-ai/skills | Skill | 10 | yesterday | MIT | A | 99 | Claude Code, Codex |