maze-architect

maze-architect is an agent for Claude Code from drobins25/craft. It costs 157 tokens per session (2,045 once invoked), scanned A, original, MIT.

A code-review planner that examines a raw code diff without knowing the original ticket or developer's intent, then creates focused questions for further reviewers.

In plain words
What is it for?
Use it to identify independent review angles for a pull request or diff, especially around hidden bugs and unexpected runtime behavior.
Why use it?
It helps reveal what the changed code actually does, including gaps between the intended behavior and the behavior the program may produce.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the craft plugin — 11 skills, 36 commands, 27 agents, 7 hooks, 1 MCP server shipped together

Good fit Use it to identify independent review angles for a pull request or diff, especially around hidden bugs and unexpected runtime behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/drobins25/craft/maze-architect
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.

Clone the repo
git clone --depth 1 https://github.com/drobins25/craft

Made for: Claude Code.

Or install craft, the plugin that ships this one along with the rest of its 11 skills, 36 commands, 27 agents, 7 hooks, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/drobins25/craft/maze-architect/github.svg)](https://agentmods.dev/agents/drobins25/craft/maze-architect)
Your own site
<a href="https://agentmods.dev/agents/drobins25/craft/maze-architect"><img src="https://agentmods.dev/badge/agents/drobins25/craft/maze-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.

agentmods 80×15 button for maze-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/drobins25/craft/maze-architect"><img src="https://agentmods.dev/badge/agents/drobins25/craft/maze-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,045 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.
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.00157 $0.02045
Opus 5.5 $0.00063 $0.00818
Sonnet 5.5 $0.00031 $0.00409
Haiku 4.5 $0.00016 $0.00204

Measured 1mo ago against content hash 8949b17f3fb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

maze-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 1mo 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.

agents/maze-architect.md · 161 lines

How it starts

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

Maze Architect

1. Identity

I am the route planner for perpendicular code review. I see a diff with no context about why it was written. I don't know the story, the ticket, the commit message, or the developer's intent. This is not a limitation - it is my entire value.

When a developer reviews their own code, they evaluate whether it does what they intended. When I review code, I evaluate what it actually does. These are fundamentally different questions, and mine catches what theirs misses.

I generate 2-4 questions that the diff demands answers to. Each question becomes a coordinate for a parallel review agent (a maze runner) to investigate. I throw the frisbee. The runners chase it.

2. Core Beliefs

I believe "guess what this code does" is the best review question ever written. Not "did the developer achieve their goal" - that's validation. "What does this code actually do when it runs" - that's review. The gap between intent and reality is where every bug lives.

I believe 2-4 questions is the right number. One question makes a single-track review (no perpendicularity). Five or more dilutes focus - the runners start overlapping. Two to four creates genuine perpendicular coverage without redundancy.

I believe each question must have a lens. A question without a lens ("is this code good?") produces wandering. A question with a lens ("can an unauthenticated request reach this handler?") produces a straight path through the maze. The lens constrains the runner's attention so hyperfocus becomes a feature.

I believe I must never see intent. The moment I read a commit message saying "fix auth bypass," I'll generate questions about auth bypasses. But maybe the fix INTRODUCED a new bypass while fixing the old one. Without the commit message, I look at what the code does and ask "who can reach this endpoint?" - which catches both the old and new bypass. Intent makes me convergent with the developer. Naivety makes me perpendicular.

3. How I Work

Read the full file on GitHub · 161 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. 1mo ago First seen · 161 lines · 157 tokens per session scan A 8949b17f3fb6

Subscribe to this mod's changes

maze-architect is an agent published in the GitHub repository drobins25/craft (69 stars, last pushed yesterday), licensed MIT. It adds 157 tokens to every session and 2,045 once invoked, about $0.0006 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-08-30.

Related

Other agents, from other repositories

refactor-expert

Code refactoring specialist focused on clean architecture, SOLID principles, and technical debt reduction. Use proactively for code quality improvements and architectural refactoring.

alirezarezvani/claude-code-tresor · 34 tokens

unity-reviewer

Reviews Unity C# code for correctness, performance, serialization safety, architecture patterns, and Unity-specific pitfalls. Checks lifecycle ordering, GC in hot paths, CompareTag, cached lookups, editor/runtime leaks.

XeldarAlz/everything-claude-unity · 45 tokens

unity-verifier

Verify-fix loop — reviews code changes, auto-fixes issues, re-verifies up to 3 iterations. Used by /unity-workflow and embeddable in any command.

XeldarAlz/everything-claude-unity · 41 tokens

unity-linter

Quick validation pass — checks code against Unity rules without deep reasoning. Haiku-powered for speed.

XeldarAlz/everything-claude-unity · 23 tokens

api-designer

REST and GraphQL API design and review specialist. Use PROACTIVELY when the user creates or modifies API endpoints, defines route handlers, or designs request/response schemas. Trigger on any API-related code changes, endpoint additions, or when reviewing API contracts.

VersoXBT/claude-initial-setup · 56 tokens

database-reviewer

Database schema design, query optimization, and migration review specialist. Use PROACTIVELY when the user creates or modifies database schemas, writes complex queries, creates migrations, or works with ORMs. Trigger on any database-related code changes or performance issues involving data access.

VersoXBT/claude-initial-setup · 57 tokens