architect

architect is a skill for Claude Code, Codex from OutlineDriven/outline-driven-development. It costs 90 tokens per session (2,375 once invoked), scanned A, original, Apache-2.0.

A design and refactoring guide for non-trivial software. Refactoring means changing a codebase’s structure without changing what it is meant to do.

In plain words
What is it for?
Use it to plan new code, improve an existing architecture, find a useful module boundary, or make code easier to test.
Why use it?
It helps replace shallow or hard-to-test code with clearer boundaries, documented decisions, and tests for the resulting design.

Skill for Claude CodeCodex

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 skills/outlinedriven/outline-driven-development/architect
Any agent
npx skills add OutlineDriven/outline-driven-development --skill architect
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/outline-driven-development

Made for: Claude Code, Codex.

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/skills/outlinedriven/outline-driven-development/architect.svg)](https://agentmods.dev/skills/outlinedriven/outline-driven-development/architect)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/architect"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,375 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.1 $0.00090 $0.02375
Opus 5 $0.00045 $0.01188
Sonnet 5 $0.00018 $0.00475
Haiku 4.5 $0.00009 $0.00237

Measured yesterday against content hash fdc4acf7d035, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • architect — 100% identical, 0 lines differ
.devin/skills/architect/SKILL.md · 94 lines

How it starts

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

Architect

Contract

Field Bound contract
Trigger Design non-trivial code before implementation (greenfield), or improve an existing codebase's architecture (brownfield): survey for shallow modules, locate a seam, deepen a structure, harden with guardrails, or make code testable.
Authority Write named local design artifacts and, when the request permits, implement the selected design in the working tree. All writes reversible by deleting or reverting them. No VCS, credential, paid, published, deployed, or remote mutation.
Side effect A local design package; in implement mode, the accepted refactor, its tests, inline CONTEXT.md entries for established domain terms, and an optional local ADR the user accepts.
Done An explicit design choice with tradeoffs and a coherent implementation shape are recorded. In brownfield implement mode: one chosen deepening candidate is grilled to resolution, its shallow path is replaced rather than layered, tests exercise the resulting interface, obsolete shallow tests and code are removed, and established domain terms and accepted decisions are recorded locally.

Refusal

Not for visual architecture diagrams or HTML artifacts — use architecture-diagram, which renders a self-contained visual from a frozen specification; architect designs code structure (modules, interfaces, seams, depth) and produces a design package, not a rendered diagram. Not for deploy, remote, credential, publish, or irreversible changes — use deploy or shipping skills. Not for people-process or organizational architecture.

Vocabulary

Use these terms consistently in every recommendation and design sketch:

  • Module: any unit with an interface and implementation, at any scale.
  • Interface: every fact a caller must know — types, invariants, ordering, errors, configuration, performance shape.
  • Implementation: what the interface hides.
  • Depth: behavior hidden per unit of interface learned; a deep module provides high leverage through a small interface. Shallow modules expose a broad surface with little hidden.
  • Seam: a point where behavior can be substituted or tested in isolation without editing that behavior in place.
  • Adapter: a concrete implementation used at a seam.
  • Leverage: capability gained per unit of interface learned.
  • Locality: concentrating a change, bug, or required knowledge at one maintenance site.

Read the full file on GitHub · 94 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 94 lines · 90 tokens per session scan A fdc4acf7d035

Subscribe to this mod's changes

architect is a skill published in the GitHub repository OutlineDriven/outline-driven-development (52 stars, last pushed yesterday), licensed Apache-2.0. It adds 90 tokens to every session and 2,375 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

outlines

Guarantee valid JSON/XML/code structure during generation, use Pydantic models for type-safe outputs, support local models (Transformers, vLLM), and maximize inference speed with Outlines - dottxt.ai's structured generation library.

davila7/claude-code-templates · 50 tokens

brainstorm

Explore vague or ambitious ideas into a right-sized requirements-only plan. Use when the user wants to brainstorm, think through scope, decide what to build, or needs collaborative product framing before planning, not for a decisive verdict on whether to adopt or switch to a specific external technology, library, or…

OutlineDriven/odin-claude-plugin · 85 tokens

doc-review

Use when the user asks to review or critique a prose planning document — a plan, spec, PRD, requirements doc, or design doc.

OutlineDriven/odin-claude-plugin · 32 tokens

drift-detect

Use when the user says "plan drift", asks whether the roadmap, plans, or docs still match the code, or is deciding what to rebuild when restarting a stalled project. For doc-vs-code drift inside a specific diff, use sync-docs.

OutlineDriven/odin-claude-plugin · 56 tokens

setup-gitignore

Use when the user says set up gitignore, fix gitignore, or untracked files keep appearing. Writes or merges .gitignore under stable section anchors and proves reruns produce no diff. Not for remote, credential, publish, deploy, or irreversible changes.

OutlineDriven/odin-claude-plugin · 58 tokens

enhance

Audit and tighten agent/plugin surfaces. Use when the user asks to enhance a plugin config, agent definition, skill, or CLAUDE.md.

OutlineDriven/odin-claude-plugin · 32 tokens