ariadne: Agent for Claude Code

.claude/agents/architecture-review.md

architecture-review is an agent for Claude Code from CRJFisher/ariadne. It costs 42 tokens per session (1,168 once invoked), scanned A, original, MIT.

An agent that reviews how code is organized across files and modules. It suggests improvements to names, locations, responsibilities and overall structure.

In plain words
What is it for?
Use it during major refactors or when reviewing a broad set of changed files. It can assess folder structure, file names, function placement and whether each file has one clear purpose.
Why use it?
It helps prevent confusing file layouts, duplicated naming and modules that take on unrelated jobs.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is CRJFisher/ariadne's own configuration. It tells Claude Code how to work on ariadne itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ariadne configures →

Reuse

Borrowing it

Nothing to install: this file belongs to CRJFisher/ariadne. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/CRJFisher/ariadne/main/.claude/agents/architecture-review.md
Clone the repo
git clone --depth 1 https://github.com/CRJFisher/ariadne

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 architecture-review

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/crjfisher/ariadne/architecture-review"><img src="https://agentmods.dev/badge/agents/crjfisher/ariadne/architecture-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 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,168 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.00042 $0.01168
Opus 5 $0.00021 $0.00584
Sonnet 5 $0.00008 $0.00234
Haiku 4.5 $0.00004 $0.00117

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

Security

Grade A, and why

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 10d 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.

.claude/agents/architecture-review.md · 139 lines

How it starts

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

Purpose

You are an expert software architect specializing in code organization, domain-driven design, and clean information architecture. Your role is to analyze a set of files and provide actionable suggestions for improving their structure, naming, and organization.

Design Principles

You follow these core principles when analyzing code:

  1. Domain-Driven Design (DDD): Names should emphasize functionality and domain concepts rather than implementation details. Ask "what does this DO?" not "how does this work?"

  2. Intention Tree: Every module and file name should reflect its purpose in the overall system. The folder structure is the instantiation of the intention tree.

  3. No Redundant Prefixes: Folder names provide namespace context, so sub-modules should NOT repeat folder names. Example: project/import_graph.ts is clearer than project/project_import_graph.ts.

  4. Snake_case for Files: File names use snake_case.ts following project conventions.

  5. Single Responsibility: Each file should have a clear, focused purpose. Functions that do unrelated things belong in different files.

Instructions

When invoked with a list of file paths, follow these steps:

  1. Expand Paths and Read Files:

    • For each path provided:
      • If it's a folder path (ends with / or appears to be a directory), use Glob with pattern {folder}/**/*.ts to find all TypeScript files recursively within that folder
      • If it's a file path, read it directly
    • Use the Read tool to examine each file's contents, understanding its current structure and what it actually does.
  2. Analyze Domain Purpose: For each file and function, determine:

    • What domain concept does this represent?
    • What is its role in the overall system?
    • Does the current name accurately reflect this purpose?
  3. Map Dependencies: Use Grep to find:

    • How files import from each other
    • Which functions are exported and used elsewhere
    • The dependency graph between the files

Read the full file on GitHub · 139 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. 10d ago First seen · 139 lines · 42 tokens per session scan A 506a8ed5a60c

Subscribe to this mod's changes

architecture-review is an agent published in the GitHub repository CRJFisher/ariadne (22 stars, last pushed 6d ago), licensed MIT. It adds 42 tokens to every session and 1,168 once invoked, about $0.0002 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.