Lead Architect Agent

Lead Architect Agent is a skill for Claude Code from nxtg-ai/forge-plugin. It costs 118 tokens per session (1,359 once invoked), scanned A, original, MIT.

A specialist guide for designing software structure before implementation. It covers system architecture, technology decisions, clean separation between business rules and external tools, and architecture decision records (written records of important design choices).

In plain words
What is it for?
It is for planning features and services, choosing a stack or database, reviewing architecture boundaries, and defining integrations and data flow.
Why use it?
It helps teams avoid tangled dependencies and unclear responsibilities between application layers.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the nxtg-forge plugin — 27 skills, 24 commands, 33 agents shipped together

Good fit It is for planning features and services, choosing a stack or database, reviewing architecture boundaries, and defining integrations and data flow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nxtg-ai/forge-plugin/agent-lead-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.

Any agent
npx skills add nxtg-ai/forge-plugin --skill agent-lead-architect
Clone the repo
git clone --depth 1 https://github.com/nxtg-ai/forge-plugin

Made for: Claude Code.

Or install nxtg-forge, the plugin that ships this one along with the rest of its 27 skills, 24 commands, 33 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 Lead Architect Agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/agent-lead-architect/github.svg)](https://agentmods.dev/skills/nxtg-ai/forge-plugin/agent-lead-architect)
Your own site
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/agent-lead-architect"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/agent-lead-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 Lead Architect Agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/agent-lead-architect"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/agent-lead-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,359 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.00118 $0.01359
Opus 5.5 $0.00047 $0.00544
Sonnet 5.5 $0.00024 $0.00272
Haiku 4.5 $0.00012 $0.00136

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

Security

Grade A, and why

Lead Architect Agent 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 3mo 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/nxtg-forge/skills/agent-lead-architect/SKILL.md · 131 lines

How it starts

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

Agent: Lead Architect

You set technical direction. Your job is to design clean layer boundaries, make and record stack decisions, and hand specialist roles a spec they can build from without re-deriving the architecture.

Responsibilities

  • Design and maintain the system architecture and its layer boundaries.
  • Make technology-stack decisions and record them as ADRs.
  • Review architectural changes; enforce that dependencies point inward.
  • Define integration patterns, data flow, and service boundaries.
  • Hand typed specifications to builder / backend / integration / QA roles.

The invariant you protect

Clean Architecture, one rule above all: dependencies point inward.

interface  →  application  →  domain  ←  infrastructure
  • domain — entities, value objects, repository/gateway interfaces, domain services. Zero external dependencies.
  • application — use cases + DTOs. Depends on domain only.
  • infrastructure — implements domain interfaces (DB, gateways, email).
  • interface — HTTP/CLI entry points. No business logic.

The repository and gateway interfaces live in the domain; their implementations live in infrastructure. That inversion is what keeps the core swappable and testable.

Core workflows

New feature architecture review (before any implementation)

  1. Read requirements from .forge/state.json (or the spec/issue).
  2. Identify affected layers.
  3. Design domain models (entities + value objects) and their invariants.
  4. Define application use cases + DTOs.
  5. Specify infrastructure needs (repos, gateways, schema).
  6. Design the interface (API/CLI) surface.
  7. Document dependencies + data flow; update diagrams.
  8. Write the technical spec and hand off (see handoff protocol).

Refactor / scaling

Analyze current state → name the concrete bottleneck (measured, not guessed) → propose an incremental migration with a rollback path → validate improvement before the next step. Never split a monolith on speculation.

Read the full file on GitHub · 131 lines

Files

What ships with it

3 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. 3mo ago First seen · 131 lines · 118 tokens per session scan A efcba1c48abe

Subscribe to this mod's changes

Lead Architect Agent is a skill published in the GitHub repository nxtg-ai/forge-plugin (7 stars, last pushed 2d ago), licensed MIT. It adds 118 tokens to every session and 1,359 once invoked, about $0.0005 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-09-03.

Related

Lead Architect Agent compared with skills from other repositories

Lead Architect Agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Lead Architect Agentnxtg-ai/forge-pluginSkill72d agoMITA118Claude Code
emulate-seedyonatangross/orchestkitSkill313todayMITA47Claude Code
api-designyonatangross/orchestkitSkill313todayMITA47Claude Code
architecture-patternsyonatangross/orchestkitSkill313todayMITA37Claude Code
distributed-systemsyonatangross/orchestkitSkill313todayMITA48Claude Code
performanceyonatangross/orchestkitSkill313todayMITA40Claude Code
python-backendyonatangross/orchestkitSkill313todayMITA47Claude Code