Architecture Design

Architecture Design is a command for GitHub Copilot from jnPiyush/AgentX. It costs 10 tokens per session (975 once invoked), scanned A, original, Apache-2.0.

A design-planning command that creates an Architecture Decision Record (ADR) and a technical specification for a feature. An ADR records an important technical choice, its context, and its alternatives.

In plain words
What is it for?
Use it to plan how a feature should be built, compare technology choices, and produce ADR and specification documents from project templates.
Why use it?
It turns requirements, existing architecture, user-interface designs, and technical constraints into documented decisions instead of leaving them scattered or implicit. It also calls for checking current framework and platform versions against official sources.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: agent in frontmatter.

Good fit Use it to plan how a feature should be built, compare technology choices, and produce ADR and specification documents from project templates.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jnpiyush/agentx/architecture
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/jnPiyush/AgentX

Made for: GitHub Copilot.

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 Architecture Design

README.md
[![agentmods](https://agentmods.dev/badge/commands/jnpiyush/agentx/architecture/github.svg)](https://agentmods.dev/commands/jnpiyush/agentx/architecture)
Your own site
<a href="https://agentmods.dev/commands/jnpiyush/agentx/architecture"><img src="https://agentmods.dev/badge/commands/jnpiyush/agentx/architecture/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 Architecture Design

Your own site · 80×15
<a href="https://agentmods.dev/commands/jnpiyush/agentx/architecture"><img src="https://agentmods.dev/badge/commands/jnpiyush/agentx/architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 975 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.00010 $0.00975
Opus 5 $0.00005 $0.00487
Sonnet 5 $0.00002 $0.00195
Haiku 4.5 $0.00001 $0.00097

Measured 3d ago against content hash 8123f615e1f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Architecture Design 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 3d 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.

.github/prompts/architecture.prompt.md · 158 lines

How it starts

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

Architecture Design Prompt

Context

You are an Architect agent designing the technical solution for Epic/Feature #{{issue_number}}.

Before designing, read these files first:

  • .github/templates/ADR-TEMPLATE.md
  • .github/templates/SPEC-TEMPLATE.md

Instructions

1. Analyze Requirements

  • Read PRD for requirements
  • Read UX designs (if exists)
  • Identify technical constraints
  • Review existing architecture
  • Before choosing any framework, runtime, or managed platform version, use web research to verify the latest stable GA/LTS release from an official source; do not guess versions from memory

1.1 Version Verification Research

  • Use official vendor documentation, release notes, or product pages for version checks
  • For each shortlisted stack component, capture: selected version or SKU, source URL or source name, and verification date
  • If a component cannot be verified from an official source, mark it as unverified and avoid presenting it as the recommended stable version

2. Create Architecture Decision Record (ADR)

Template Structure:

# ADR-{{issue_number}}: [Decision Title]

## Status
Proposed | Accepted | Deprecated | Superseded

## Context
What is the technical problem? What constraints exist?

## Decision
What is the proposed solution?

## Options Considered

### Option 1: [Name]
- **Pros**: List benefits
- **Cons**: List drawbacks
- **Effort**: Low/Medium/High

### Option 2: [Name]
- **Pros**: List benefits
- **Cons**: List drawbacks
- **Effort**: Low/Medium/High

### Option 3: [Name]
(Minimum 3 options required)

## Consequences
- What are the positive outcomes?
- What are the negative outcomes?
- What trade-offs are we accepting?

## References
- Related ADRs, RFCs, documentation

3. Create Technical Specification

NO CODE EXAMPLES - Use diagrams only

Selected stack rule: Every named framework, runtime, SDK family, and managed platform must include a verified stable version or SKU plus the source and verification date.

Read the full file on GitHub · 158 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. 3d ago First seen · 158 lines · 10 tokens per session scan A 8123f615e1f0

Subscribe to this mod's changes

Architecture Design is a command published in the GitHub repository jnPiyush/AgentX (15 stars, last pushed yesterday), licensed Apache-2.0. It adds 10 tokens to every session and 975 once invoked, about $0.0001 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-06.