arn-code-pattern-architect

arn-code-pattern-architect is an agent for Claude Code from AppsVortex/arness. It costs 160 tokens per session (2,157 once invoked), scanned A, original, MIT.

An architecture adviser for new software projects. It recommends code structure, testing approaches, and other development conventions based on the chosen language, framework, project type, and tools.

In plain words
What is it for?
Use it when starting a backend, frontend, full-stack, command-line, desktop, or mobile project and choosing its coding and testing patterns.
Why use it?
It helps establish consistent practices before a new codebase grows. It is for creating recommendations, not for discovering how an existing project already works.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the arn-code plugin — 37 skills, 18 agents shipped together

Good fit Use it when starting a backend, frontend, full-stack, command-line, desktop, or mobile project and choosing its coding and testing patterns.

Compare 6 agents from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add AppsVortex/arness
Claude Code
/plugin install arn-code

Made for: Claude Code.

Or install arn-code, the plugin that ships this one along with the rest of its 37 skills, 18 agents.

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 arn-code-pattern-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/appsvortex/arness/arn-code-pattern-architect"><img src="https://agentmods.dev/badge/agents/appsvortex/arness/arn-code-pattern-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 160 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,157 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.00160 $0.02157
Opus 5.5 $0.00064 $0.00863
Sonnet 5.5 $0.00032 $0.00431
Haiku 4.5 $0.00016 $0.00216

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

Security

Grade A, and why

arn-code-pattern-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.

plugins/arn-code/agents/arn-code-pattern-architect.md · 245 lines

How it starts

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

Arness Pattern Architect

You are a senior software architect agent that defines code patterns, testing strategies, and architectural best practices for new projects. You create recommended patterns based on the user's technology choices — you do NOT analyze existing code (that is the job of arn-code-codebase-analyzer).

Input

The caller provides technology choices gathered during project initialization:

  • Project type: backend, frontend, fullstack, cli, tui, desktop, or mobile
  • Language: e.g., Python, TypeScript, Go
  • Framework: e.g., FastAPI, Next.js, Django, Textual, Rich, Flutter
  • Testing framework: e.g., pytest, Jest, Vitest
  • Additional context: database, API style, package manager, project layout, tooling preferences

Core Process

  1. Load the output schema — Before starting, read the pattern documentation schema at ${CLAUDE_PLUGIN_ROOT}/skills/arn-code-init/references/pattern-schema.md. This defines the exact structure your output must follow. Keep it in mind throughout — every pattern you recommend must be formatted according to the per-pattern structure defined there.

  2. Validate and expand choices — Based on the core technology choices, infer complementary tools and libraries. For example:

    • FastAPI → pydantic for validation, alembic for migrations, uvicorn for serving
    • Next.js → React, Tailwind CSS, Prisma or Drizzle for data
    • Django → Django ORM, Django REST Framework or Ninja, factory_boy for testing
  3. Design project structure — Recommend a directory layout following best practices for the chosen stack. Provide a concrete ASCII tree.

  4. Define code patterns — For each applicable category (naming, structure, API/routing, data layer, error handling, configuration), produce 1-3 concrete patterns with:

    • Description of when and why to use
    • A concrete, copy-pasteable code example following best practices
    • Instructions on how to apply in the project
  5. Define testing patterns — For the chosen testing framework, produce patterns for test organization, fixtures/factories, markers/tags, and setup/teardown with concrete examples.

Read the full file on GitHub · 245 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 · 245 lines · 160 tokens per session scan A 65fc578efb94

Subscribe to this mod's changes

arn-code-pattern-architect is an agent published in the GitHub repository AppsVortex/arness (33 stars, last pushed 2mo ago), licensed MIT. It adds 160 tokens to every session and 2,157 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

terraform-engineer

Infrastructure as Code specialist focused on Terraform development, module creation, state management, and multi-cloud provisioning. Expert in writing maintainable, reusable, and secure Terraform configurations for AWS and GCP.

andisab/swe-marketplace · 42 tokens

adapto-researcher

Content research specialist. Given ONE research angle (a competitor, a query cluster, a site crawl, a PAA/related-questions sweep), gathers from the web and returns structured, cited findings. Used by project-define discovery and content-research; runs many in parallel. Never writes content.

adaptocms/adapto-cms-agent-skills · 67 tokens

adapto-writer

On-brand long-form content writer. Executes ONE content brief into a complete Markdown draft with full frontmatter (SEO/OG/JSON-LD/internal links), matching the project's voice exactly. Used by content-create (dispatched at Opus for cornerstone briefs). Reads the brain + SEO standards; never touches the read-client.

adaptocms/adapto-cms-agent-skills · 70 tokens

adapto-editor

Content critic. Reviews ONE draft against its brief + the project brain and returns a concrete gap checklist (voice fit, SEO/AEO/GEO completeness, internal-link coverage, structural sanity, slop check). Used by content-create (verify pass) and content-plan. Does not rewrite — it critiques.

adaptocms/adapto-cms-agent-skills · 65 tokens

demand-generation

Demand Generation (CMO). Owns plugins/demand-generation/ and nothing else. Delegate work in this department's remit here.

cbrock84/headcount · 30 tokens

canvas-create-screens

Groups approved functional intent into task-oriented screens, in-screen states and navigation without choosing Canvas controls.

microsoft/power-platform-skills · 24 tokens