Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add MadAppGang/magus/plugin install devWrote 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/commands/madappgang/magus/architect)<a href="https://agentmods.dev/commands/madappgang/magus/architect"><img src="https://agentmods.dev/badge/commands/madappgang/magus/architect/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/commands/madappgang/magus/architect"><img src="https://agentmods.dev/badge/commands/madappgang/magus/architect.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.00018 | $0.07578 |
| Opus 5.5 | $0.00007 | $0.03031 |
| Sonnet 5.5 | $0.00004 | $0.01516 |
| Haiku 4.5 | $0.00002 | $0.00758 |
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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 781 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<user_request> $ARGUMENTS </user_request>
This triage determines the right level of process for the architecture task.
**Step 1: Detect retry attempts**
Check if this is a second (or later) attempt at the same architecture problem:
```bash
# Look for existing architecture sessions with similar topic
TOPIC_SLUG=$(echo "$ARGUMENTS" | tr '[:upper:] ' '[:lower:]-' | sed 's/[^a-z0-9-]//g' | head -c30)
ls -d ai-docs/sessions/dev-arch-*${TOPIC_SLUG}* 2>/dev/null || echo "NO_PREVIOUS_SESSIONS"
```
Also check for retry signals in the user's request:
- "again", "retry", "different approach", "rethink", "reconsider"
- "didn't work", "failed", "not happy with", "let's try"
- References to a previous design or session
**Step 2: Assess complexity signals**
| Signal | Weight | Example |
|--------|--------|---------|
| Multiple systems/services | HIGH | "design auth across API + frontend + mobile" |
| Novel domain (no existing patterns) | HIGH | "design real-time collaboration engine" |
| Cross-cutting concerns | HIGH | "security + performance + multi-tenancy" |
| Conflicting requirements | HIGH | "fast AND highly consistent AND cheap" |
| Large blast radius | MEDIUM | "redesign the entire data layer" |
| Multiple viable approaches | MEDIUM | unclear best path forward |
| Single component, clear pattern | LOW | "add caching to the user service" |
| Well-understood domain | LOW | "standard CRUD API for products" |
Score: HIGH = 2 points, MEDIUM = 1, LOW = 0; sum every signal present.
0 = Simple, 1-2 = Moderate, 3+ = Complex. So one MEDIUM or one HIGH is Moderate,
and one HIGH plus one MEDIUM, or two HIGH, is Complex.
**Step 3: Route based on assessment**
| Assessment | Is Retry? | Route |
|------------|-----------|-------|
| Simple | No | Direct architecture design (Phase 0-6) |
| Simple | Yes | Offer /team — "Previous attempt exists. Want multi-model perspectives?" |
| Moderate | No | Plan mode reasoning first, then architecture design |
| Moderate | Yes | Recommend /team — "This needs fresh perspectives" |
| Complex | No | Plan mode reasoning + offer /team before architecture |
| Complex | Yes | Strongly recommend /team — "Multi-model proposals before redesign" |
**When /team is recommended, present the option:**
```yaml
AskUserQuestion:
questions:
- question: "This looks like a {complex problem | second attempt}. How should we approach it?"
header: "Architecture Approach"
multiSelect: false
options:
- label: "Multi-model proposals (/team)"
description: "Get diverse perspectives from multiple AI models before designing. Best for complex or retry scenarios."
- label: "Plan mode reasoning"
description: "Use Claude's extended reasoning to think through the design space, then proceed with single-model architecture."
- label: "Direct architecture"
description: "Skip to architecture design. Good when you already know the general direction."
```
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.
- 11d ago Changed · -4 lines 8537cd60b561
- 19d ago Changed · +2 lines b9f6bbd0d873
- 24d ago Changed · +47 lines 5403c733c2be
- 1mo ago Changed · +13 lines b12e0b19b5cb
- 2mo ago Changed · +4 lines c4e66520e524
- 2mo ago Changed · -18 lines 64fd1be063fd
- 2mo ago Changed · -2 lines 297ccf4ed750
- 2mo ago Changed · +2 lines ee3253f93d80
- 2mo ago First seen · 737 lines · 18 tokens per session scan A 12384f7230ee
architect is a command published in the GitHub repository MadAppGang/magus (16 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 7,578 once invoked, about $0.0001 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-09-04.
architect compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architectMadAppGang/magus | Command | 16 | today | MIT | A | 18 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 153k | today | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 153k | today | MIT | A | 14 | Claude Code |