archgate

An architecture review method that evaluates a proposed system design or technology change across seven qualities.

In plain words
What is it for?
It helps assess proposed architecture, tools, and system changes, including required checks and extension-based review gates.
Why use it?
It provides a structured screening process for finding architectural risks before a design is adopted.

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/tserentserenov/fmt-exocortex-template/archgate
Any agent
npx skills add TserenTserenov/FMT-exocortex-template --skill archgate
Clone the repo
git clone --depth 1 https://github.com/TserenTserenov/FMT-exocortex-template

Made for: Claude Code, Codex.

Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,069 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.00075 $0.07069
Opus 5 $0.00037 $0.03535
Sonnet 5 $0.00015 $0.01414
Haiku 4.5 $0.00007 $0.00707

Measured today against content hash 2517b773a326, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

archgate 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.

.claude/skills/archgate/SKILL.md · 405 lines

How it starts

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

АрхГейт v3.1 — оценка архитектурного решения

Выполни оценку решения: $ARGUMENTS

When to use

Оценка архитектурного решения по 7 характеристикам ЭМОГССБ (v3.1 — фильтр допуска, атрибут-сценарии, совет затронутых сторон; профиль без агрегатного балла, conjunctive screening). Используй когда пользователь предлагает архитектурное решение, новый инструмент или системное изменение.

Algorithm

Extensions before (БЛОКИРУЮЩЕЕ)

До Шага 0-А ровно один раз за верхнеуровневый вызов загрузить расширения (фаза before обязательна и для быстрого трека — фильтр допуска выполняется только после неё):

bash .claude/scripts/load-extensions.sh archgate before

Код 0 → прочитать каждый путь из вывода в алфавитном порядке и выполнить. Код 1 → расширений нет, продолжить. Любой другой код, ошибка расширения, явный BLOCK/STOP или содержательное возражение рецензента внутри расширения блокирует начало оценки: показать путь файла и наблюдаемую причину.

Каждое before/checks-расширение завершает инструкции явным маркером ARCHGATE_EXTENSION: PASS либо ARCHGATE_EXTENSION: BLOCK — <причина>. Отсутствующий или неизвестный маркер = ошибка блокирующей фазы, не PASS.

Защита от рекурсии: каждая фаза before, checks, after выполняется не более одного раза за верхнеуровневый вызов. Расширению запрещено вызывать /archgate, повторно загружать archgate.* или иначе повторно входить в этот жизненный цикл. Попытка рекурсии считается ошибкой текущей фазы: блокирует before/checks, а в after даёт предупреждение и пропускается.

Расширения — доверенные локальные инструкции, а текстовый детектор — защита от прямой случайной рекурсии, не песочница для враждебного shell-кода. Не исполнять собранную через eval, декодирование, подстановку переменных или конкатенацию команду/инструкцию из расширения: неоднозначную косвенную команду считать той же ошибкой рекурсии (BLOCK в before/checks, WARN и пропуск в after).

Шаг 0-А. Фильтр допуска (admission)

Read the full file on GitHub · 405 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 · +35 lines · +21 tokens per session 2517b773a326
  2. yesterday First seen · 370 lines · 54 tokens per session scan A 07bdd193b77c

Subscribe to this mod's changes

archgate is a skill published in the GitHub repository TserenTserenov/FMT-exocortex-template (48 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 7,069 once invoked, about $0.0004 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-30.