mastermind-architecture-review

mastermind-architecture-review is a skill for Codex from xcrft/mastermind. It costs 76 tokens per session (1,217 once invoked), scanned A, original, MIT.

A read-only review of a proposed or existing software architecture, meaning how its components, data, and integrations work together. It checks the real runtime path, ownership of stored data, retries, duplicate handling, and compatibility with existing behavior.

In plain words
What is it for?
Use it to review service boundaries, asynchronous workflows, storage changes, external integrations, APIs, events, schemas, migrations, and deployment constraints using available evidence.
Why use it?
It helps reveal design risks that a general checklist may miss, especially where requests, events, state changes, or migrations cross system boundaries.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to review service boundaries, asynchronous workflows, storage changes, external integrations, APIs, events, schemas, migrations, and deployment constraints using available evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xcrft/mastermind/mastermind-architecture-review
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 xcrft/mastermind --skill mastermind-architecture-review
Clone the repo
git clone --depth 1 https://github.com/xcrft/mastermind

Made for: 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 mastermind-architecture-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-architecture-review/github.svg)](https://agentmods.dev/skills/xcrft/mastermind/mastermind-architecture-review)
Your own site
<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-architecture-review"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-architecture-review/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 mastermind-architecture-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-architecture-review"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-architecture-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,217 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00076 $0.01217
Opus 5 $0.00038 $0.00609
Sonnet 5 $0.00015 $0.00243
Haiku 4.5 $0.00008 $0.00122

Measured 9d ago against content hash ffb9fee22c58, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

mastermind-architecture-review 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 9d 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/workflow/mastermind-architecture-review/SKILL.md · 130 lines

How it starts

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

Mastermind Architecture Review

Review whether a design preserves the system's runtime invariants. Do not turn the review into a generic architecture checklist or redesign the system merely because another style is possible.

Boundaries

  • [[mastermind-project-map]] supplies bounded structural navigation; it does not prove a request, event, or write reaches production code at runtime.
  • [[mastermind-change-impact]] supplies syntactic blast-radius evidence; it does not prove semantic compatibility.
  • [[mastermind-critical-review]] is the general proposal rubric. Use this skill when the decision specifically crosses runtime, state, retry, or evolution boundaries.

This is a read-only review. It may require a design change, but it does not implement one.

Inputs

  • Decision — the architecture or change being reviewed.
  • Scope — affected components, interfaces, state, and deployment boundary.
  • Evidence — codegraph results, entry points, handlers, schemas, storage code, tests, configs, deployment facts, or an explicit evidence gap.
  • Baseline — current contract or behavior when compatibility is relevant.

Never replace missing evidence with a familiar architecture pattern.

Review workflow

  1. State the decision and the system invariant it must preserve.

  2. Gather the narrowest evidence that can prove the actual path: indexed structure first, then read the entry point, boundary adapter, domain logic, state owner, and externally visible contract. Treat dynamic dispatch, framework registration, queues, reflection, and infrastructure routing as runtime evidence gaps until verified directly.

  3. Reconstruct the path as ordered hops:

    trigger -> transport -> admission/auth -> domain operation -> state owner
            -> external side effect -> response/event
    

    Omit hops that do not exist; never add conventional layers by assumption.

  4. Load only the references implicated by the design:

  5. For each material risk, describe one concrete failure sequence. Name the invariant at risk, the evidence, and the boundary where it can fail.

  6. Bind every required change to a verification method that would fail before the change: a contract test, integration test, concurrent retry test, replay test, migration rehearsal, or production observation.

  7. Give a bounded verdict. Unknown runtime facts stay unknown.

Read the full file on GitHub · 130 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 130 lines · 76 tokens per session scan A ffb9fee22c58

Subscribe to this mod's changes

mastermind-architecture-review is a skill published in the GitHub repository xcrft/mastermind (11 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 1,217 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.

Related

Other skills, from other repositories