using-arch-compiler

using-arch-compiler is a skill for Claude Code, Codex from inetgas/arch-compiler. It costs 30 tokens per session (636 once invoked), scanned A, original, MIT.

A routing guide for architecture work: deciding whether to choose and document an architecture or implement one that has already been approved. Architecture is the set of major design choices about how a software system is organised.

In plain words
What is it for?
Use it when turning requirements into architecture decisions, writing or refining a specification, compiling or validating an architecture, or checking whether an existing prototype matches the approved design.
Why use it?
It helps prevent coding from starting while important choices about providers, boundaries, authentication, data retention, or message flow are still unsettled.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/inetgas/arch-compiler/using-arch-compiler
Any agent
npx skills add inetgas/arch-compiler --skill using-arch-compiler
Clone the repo
git clone --depth 1 https://github.com/inetgas/arch-compiler

Made for: Claude Code, Codex.

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 using-arch-compiler

README.md
[![agentmods](https://agentmods.dev/badge/skills/inetgas/arch-compiler/using-arch-compiler.svg)](https://agentmods.dev/skills/inetgas/arch-compiler/using-arch-compiler)
Your own site
<a href="https://agentmods.dev/skills/inetgas/arch-compiler/using-arch-compiler"><img src="https://agentmods.dev/badge/skills/inetgas/arch-compiler/using-arch-compiler.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 636 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00030 $0.00636
Opus 5 $0.00015 $0.00318
Sonnet 5 $0.00006 $0.00127
Haiku 4.5 $0.00003 $0.00064

Measured 3d ago against content hash c176e102f816, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

using-arch-compiler 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 3d 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.

skills/using-arch-compiler/SKILL.md · 55 lines

How it starts

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

Using Architecture Compiler

Read This First

Before doing anything else:

  1. Read AGENTS.md.
  2. Treat tools/, schemas/, config/, and patterns/ as read-only unless the human explicitly asked for compiler-maintenance work in this repo.
  3. Decide whether the task is about architecture selection or architecture implementation.

Routing Rule

Use skills/compiling-architecture/SKILL.md when:

  • the user wants to turn requirements into architecture decisions
  • the user wants to write or refine a spec
  • the user wants to compile, recompile, inspect pattern selection, or finalise an architecture
  • the user has an existing prototype or codebase and needs to compile, validate, or re-approve the architecture it should converge to
  • docs/architecture/ does not exist yet
  • docs/architecture/architecture.yaml is missing approval
  • implementation planning or coding exposes unresolved provider/runtime/auth/retention/message-path decisions
  • any later decision would change constraints.*, constraints.saas-providers, top-level patterns.*, or accepted risk posture
  • the user wants existing prototype choices to replace approved providers, boundaries, or selected patterns

Use skills/implementing-architecture/SKILL.md when:

  • docs/architecture/architecture.yaml exists
  • it is approved
  • the task is to write code that follows that architecture
  • the task is to refactor an existing prototype or codebase so it conforms to the approved architecture
  • provider/runtime bindings are already concrete enough that coding will not silently replace the approved contract

Hard Stops

  • If the full Architecture Compiler repo is not installed in a stable local path, stop and install it before routing further. Installing only copied skill files is not enough; the workflows depend on tools/, schemas/, config/, and patterns/.
  • If no application repo exists yet, do not write app architecture artifacts into the compiler repo.
  • If an implementation task lacks approved architecture, stop and switch to the compiling skill.
  • If planning starts under the implementing skill and reveals unresolved architecture-binding choices, stop and route back to the compiling skill before more planning or coding.
  • If a previously approved architecture is recompiled or materially changed, treat the old approval as invalid until the human re-approves the new output.
  • If the user is asking to change compiler behavior or the pattern registry itself, this is compiler-maintenance work, not normal skill usage.

Read the full file on GitHub · 55 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. 3d ago First seen · 55 lines · 30 tokens per session scan A c176e102f816

Subscribe to this mod's changes

using-arch-compiler is a skill published in the GitHub repository inetgas/arch-compiler (10 stars, last pushed 3mo ago), licensed MIT. It adds 30 tokens to every session and 636 once invoked, about $0.0002 per session on Opus 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.