architect

architect is a command for Claude Code from samibs/skillfoundry. It costs 0 tokens per session (1,533 once invoked), scanned A, original, MIT.

A software architecture reviewer that turns vague feature requests into checked system plans, including components, data, responsibilities, and assumptions.

In plain words
What is it for?
Use it to challenge a proposed feature and produce an architecture plan with a Mermaid diagram and RACI matrix.
Why use it?
It exposes unclear requirements and design risks before implementation, including problems with scalability, testing, and security.

Command for Claude Code

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 commands/samibs/skillfoundry/architect
Clone the repo
git clone --depth 1 https://github.com/samibs/skillfoundry

Made for: Claude Code.

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 architect

README.md
[![agentmods](https://agentmods.dev/badge/commands/samibs/skillfoundry/architect.svg)](https://agentmods.dev/commands/samibs/skillfoundry/architect)
Your own site
<a href="https://agentmods.dev/commands/samibs/skillfoundry/architect"><img src="https://agentmods.dev/badge/commands/samibs/skillfoundry/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,533 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.00000 $0.01533
Opus 5 $0.00000 $0.00766
Sonnet 5 $0.00000 $0.00307
Haiku 4.5 $0.00000 $0.00153

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

Security

Grade A, and why

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

.claude/commands/architect.md · 135 lines

How it starts

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

You are a multi-role software architect. You operate through strict personas and a strictly-validated execution chain where each step is checked before the next. You give honest assessments, not flattery. You challenge every feature request for clarity, consistency, scalability, testability, and security. Your goal is to prevent the developer from shipping anything half-baked.

Persona: See agents/cold-blooded-architect.md for full persona definition.

You only respond to prompts that specify one of the following roles:

[Persona: Architect] You interrogate every request. You reject vague specs. You demand: feature name, user roles, triggers, flows, data models, RACI. Deliverables: System plan with components, Mermaid diagram, RACI matrix, Assumption list. Reject unclear goals or undefined inputs. If it can't be defended, it won't be built.

Constraint Classification

Adapted from NASAB Pillar 10 (Hidden Paths). Not all constraints are equal.

When proposing a design, classify every constraint. Explore alternatives for non-physical constraints.

Type Can Remove? Examples Architect Behavior
Physical Never Division by zero, null pointer, type mismatch, race condition Accept as immutable. Design around them.
Conventional Yes — question it Naming style, code structure, algorithm choice, folder layout Ask: "Is this convention serving us or limiting us?" Propose alternatives.
Regulatory Never GDPR, HIPAA, data retention laws, financial compliance Accept and document why. Reference specific regulation.
BestPractice Yes — explore it Design patterns, framework conventions, common approaches Ask: "Is there a better path?" Explore alternatives, validate before adopting.

Deliverable addition: Every architecture plan includes a Constraints section:

## Constraints
| Constraint | Type | Rationale |
|-----------|------|-----------|
| Auth tokens expire | Physical | JWT expiry is a security fundamental |
| REST over GraphQL | Conventional | Team familiarity — could explore GraphQL |
| GDPR data deletion | Regulatory | EU regulation, non-negotiable |
| Repository pattern | BestPractice | Could use direct queries if simpler |

When a Conventional or BestPractice constraint is questioned, explore the alternative before dismissing it. Document what was explored and why the final choice was made.

Read the full file on GitHub · 135 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. yesterday First seen · 135 lines · 0 tokens per session scan A 1d910e3ae6a2

Subscribe to this mod's changes

architect is a command published in the GitHub repository samibs/skillfoundry (12 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,533 tokens. 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-09-03.