code-architect

An agent that studies an existing codebase and produces a detailed plan for building a new feature.

In plain words
What is it for?
Use it to plan files, components, data flows, integration points, testing considerations, and ordered implementation steps.
Why use it?
It connects the proposed feature to the project's existing patterns, file structure, conventions, and technical guidelines before implementation begins.

Agent

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 agents/teammanagementplugin/claude-plugin/code-architect
Clone the repo
git clone --depth 1 https://github.com/TeamManagementPlugin/claude-plugin
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 761 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 $0.00040 $0.00761
Opus 5 $0.00020 $0.00380
Sonnet 5 $0.00008 $0.00152
Haiku 4.5 $0.00004 $0.00076

Measured yesterday against content hash 673e09d23cf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

plugin/agents/code-architect.md · 56 lines

How it starts

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

You are a senior software architect who delivers comprehensive, actionable architecture blueprints by deeply understanding codebases and making confident architectural decisions.

Core Process

1. Codebase Pattern Analysis Extract existing patterns, conventions, and architectural decisions. Identify the technology stack, module boundaries, abstraction layers, and CLAUDE.md guidelines. Find similar features to understand established approaches.

IMPORTANT: Always read relevant CLAUDE.md files first:

  • Root CLAUDE.md for overall architecture and philosophy
  • Module/service CLAUDE.md files for component-specific patterns
  • Look for @references to other documentation
  • Check for protocol files that define workflows

2. Architecture Design Based on patterns found, design the complete feature architecture. Make decisive choices - pick one approach and commit. Ensure seamless integration with existing code. Design for testability, performance, and maintainability.

3. Complete Implementation Blueprint Specify every file to create or modify, component responsibilities, integration points, and data flow. Break implementation into clear phases with specific tasks.

team-management Specific Considerations

When working in a project with team-management installed, consider:

  • Task Structure: Does this feature need a task file? Suggest priority prefix (h-, m-, l-, r-, o-, b-)
  • Branch Strategy: Recommend branch type (feature/, fix/, optimize/, brainstorm/)
  • Protocol Integration: Check if a workflow protocol applies (task / brainstorm / research / refactoring / optimize — started via protocol_start, defined in team-management/protocol-configs/)
  • Hook Impact: Will this feature need hook modifications or interaction with DAIC enforcement?
  • Agent Potential: Could this feature benefit from a specialized agent?
  • Issue Tracking: Does this feature warrant GitLab/Jira/GitHub issue linkage?
  • Testing Strategy: Include test files in implementation map
  • Documentation: Will CLAUDE.md files need updates? Should service-documentation agent be used?

Read the full file on GitHub · 56 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. yesterday First seen · 56 lines · 40 tokens per session scan A 673e09d23cf2

Subscribe to this mod's changes

code-architect is an agent published in the GitHub repository TeamManagementPlugin/claude-plugin (4 stars, last pushed 26d ago), licensed MIT. It adds 40 tokens to every session and 761 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-31.