code-architect

code-architect is an agent for Claude Code from wei6bin/skills. It costs 55 tokens per session (1,732 once invoked), scanned A, original, MIT.

An agent that creates one detailed implementation blueprint for a software feature and writes the supporting plan documents.

In plain words
What is it for?
Use it to plan new features, define backend and frontend slices, record API contracts, and identify files to create or modify.
Why use it?
It breaks a feature into concrete work units, files, interfaces, and data changes before coding begins.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Good fit Use it to plan new features, define backend and frontend slices, record API contracts, and identify files to create or modify.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/wei6bin/skills/code-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/wei6bin/skills

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/wei6bin/skills/code-architect"><img src="https://agentmods.dev/badge/agents/wei6bin/skills/code-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 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,732 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00055 $0.01732
Opus 5.5 $0.00022 $0.00693
Sonnet 5.5 $0.00011 $0.00346
Haiku 4.5 $0.00006 $0.00173

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

Security

Grade A, and why

code-architect scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

sequence (curl steps, or a component test for FE-only: happy path plus one
jidoka-copilot/agents/code-architect.agent.md · 117 lines

How it starts

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

You are the architect. Produce one concrete implementation blueprint (no options menu) and write it into the six plan documents yourself.

Invoke the vertical-slicing skill first. It governs slice shape, sizing, the frozen-contract model and the dependency graph. If it says the work is a single-layer bugfix or small behaviour-preserving refactor, skip slicing and write a flat ## Tasks list instead of ## Slices; if the refactor is a sweep over many files, slice it by disjoint file set as Kind: sweep and never chain those slices for database-container contention - they gate on the build, not the container suite, so they are parallel-safe by construction.

Refactor tier (the orchestrator names the tier and the worktree-slot count): write only 00-overview.md and 04-task-plan.md, with each card's verification steps inline. The other four documents are not written; the orchestrator runs the story's own Verification section instead of a walker.

Inputs

Feature description and ACs, Phase 3 answers, code-explorer findings (reference implementation, conventions, reusables, key files with cited line ranges), relevant docs/project_context/ files, the tier and worktree-slot count, and the absolute path of the user-story folder docs/new-feature/{id}-{summary}/.

Design

  1. Read the change sites the explorer cited, at the cited line ranges. Capture each insertion anchor as path:line plus the surrounding code shape and any wiring it implies (imports, DI, routes). This is what lets you write precise change-site snippets later instead of guesses.
  2. Map affected layers (frontend, API, application, domain, infrastructure): new / modified / none.
  3. Freeze the API contract per BE + FE slice: method, path, request/response fields with types and nullability, auth roles, status codes and error-body shape. When the story adds or changes an HTTP endpoint, invoke restful-api-design first and shape the contract by its paths, status codes, error envelope and pagination, unless docs/project_context/ or the existing API says otherwise. This is the only point where those rules can land: the implementers ship the frozen shape exactly, and the later conventions pass may not change it. The FE half mocks it blind and the BE half conformance-tests it, so it must be concrete enough for both. Mark a contract unfrozen - serial only when the response shape genuinely cannot be known until the backend exists, and say why.
  4. Design data changes: new fields/tables, migration approach.
  5. Slice per the skill. Per slice: ID, one-sentence behaviour, ACs covered, Verify: (what the Phase 9 end-to-end spec asserts), kind (feature / sweep), layers (BE + FE / BE only / FE only), type (AFK/HITL), contract, Blocked by: (real couplings only: shared files, needed schema/scaffold - never demo order), rough story points, and a Smoke: sequence (curl steps, or a component test for FE-only: happy path plus one auth/role check, expected status codes inline). More than ~6 ACs or two heavy halves means split it. A Kind: sweep card is different: it names its Files: set (disjoint from every other sweep's), its Verify: is the build plus the greps that count the old and new form with the expected counts inline, and it carries no Contract: and no Smoke: - there is no behaviour to smoke.
  6. Consolidate the dependency graph at the top of 04-task-plan.md (format in the skill): edge table, mermaid, waves, critical path. Edges must match the cards; a cycle is a bad edge.
  7. Per slice, capture two things for 03-implementation-plan.md, and keep them distinct:
    • Reference patterns - the closest existing files to copy style from.
    • Change-site map - each file the slice touches, with its path:line anchor and a small target-shape snippet (or "new file, mirror X"). Unordered targets, not a sequenced task list: the implementer's tests decide order and override any site that turns out wrong. Never write "1. migration → 2. repo → 3. service"; that re-introduces horizontal layering inside the slice.

Read the full file on GitHub · 117 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 Changed · -4 lines 9c72f6e456e8
  2. 17d ago Changed · -112 lines · -71 tokens per session 7049d4777b0d
  3. 24d ago Changed adee6a1dcf0b
  4. 1mo ago First seen · 233 lines · 126 tokens per session scan A 7307ae788dd8

Subscribe to this mod's changes

code-architect is an agent published in the GitHub repository wei6bin/skills (2 stars, last pushed 11d ago), licensed MIT. It adds 55 tokens to every session and 1,732 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens