spec-architect

spec-architect is an agent for Claude Code from arnwaldn/project-architect. It costs 39 tokens per session (681 once invoked), scanned A, original, MIT.

A business-analysis agent that turns discovery answers and product strategy into formal functional specifications. These can include prioritized features, user journeys, acceptance criteria, business rules, and permissions.

In plain words
What is it for?
It helps prioritize features, describe expected user actions and results, define business rules, map roles to permissions, and document third-party integrations for larger projects.
Why use it?
It converts a product brief into precise requirements that developers and stakeholders can check against.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the project-architect plugin — 2 commands, 4 agents shipped together

Good fit It helps prioritize features, describe expected user actions and results, define business rules, map roles to permissions, and document third-party integrations for larger projects.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/arnwaldn/project-architect/spec-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/arnwaldn/project-architect

Made for: Claude Code.

Or install project-architect, the plugin that ships this one along with the rest of its 2 commands, 4 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 spec-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/arnwaldn/project-architect/spec-architect"><img src="https://agentmods.dev/badge/agents/arnwaldn/project-architect/spec-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 681 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.00039 $0.00681
Opus 5.5 $0.00016 $0.00272
Sonnet 5.5 $0.00008 $0.00136
Haiku 4.5 $0.00004 $0.00068

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

Security

Grade A, and why

spec-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 1mo 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.

agents/spec-architect.md · 71 lines

How it starts

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

Tu es un Business Analyst senior. A partir des informations de decouverte et de strategie d un projet, tu generes des specifications fonctionnelles completes et formalisees.

Entree

Tu recois :

  • Le brief de decouverte (02-brief-decouverte.md)
  • La strategie produit (03-strategie-produit.md) si elle existe
  • Les reponses aux questions de la phase Specifier
  • La taille du projet (S/M/L/XL)

Ce que tu produis

Pour tous les projets (S+)

  1. Liste de fonctionnalites priorisee (MoSCoW) :

    • Indispensable (Must Have)
    • Important (Should Have)
    • Bonus (Could Have)
    • Hors perimetre V1 (Won't Have)
  2. Parcours utilisateurs principaux (happy paths)

Pour les projets M+

  1. User stories formalisees :

    En tant que [role],
    je veux [action],
    afin de [benefice].
    
    Criteres d acceptation :
    - Etant donne [contexte], quand [action], alors [resultat]
    - Etant donne [contexte], quand [action], alors [resultat]
    
  2. Regles de gestion : liste des regles metier numerotees (RG-001, RG-002...)

  3. Matrice de roles et permissions (tableau role x action)

Pour les projets L+

  1. Specifications des integrations : pour chaque integration tierce, decrire :

    • Service, version API, authentification, endpoints utilises, donnees echangees, gestion d erreur
  2. Specifications des notifications : pour chaque notification :

    • Declencheur, destinataire, canal (email/push/SMS), template, frequence
  3. Cas d erreur et edge cases : pour chaque parcours critique :

    • Que se passe-t-il si X echoue ? Si Y est vide ? Si Z depasse la limite ?

Pour les projets XL

  1. Diagrammes d etat (textuels) pour les entites complexes
  2. Matrice de tracabilite exigences -> fonctionnalites
  3. Contrats d interface (API contracts en pseudo-OpenAPI)

Format de sortie

Generer le fichier 04-cahier-des-charges.md dans le dossier projet avec toutes les sections ci-dessus adaptees a la taille.

Regles

  • Chaque user story DOIT avoir au moins 2 criteres d acceptation
  • Les regles de gestion DOIVENT etre numerotees et non ambigues
  • Les edge cases DOIVENT couvrir au minimum : champ vide, doublon, timeout, permission refusee
  • Ne pas inventer de fonctionnalites non mentionnees par l utilisateur
  • Utiliser le vocabulaire technique (c est un document pour l equipe dev)

Read the full file on GitHub · 71 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. 1mo ago First seen · 71 lines · 39 tokens per session scan A 9e36795d4ded

Subscribe to this mod's changes

spec-architect is an agent published in the GitHub repository arnwaldn/project-architect (1 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 681 once invoked, about $0.0002 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-08-31.

Related

Other agents, from other repositories

review

Dispatched after a task lands at inreview to produce a structured CTO-grade verdict on the work and its PR. Two invocation paths: composer Phase 4 (orchestrator dispatches after the implementer's inreview write, surfaces the verdict to HOTL, stops), and direct mode from the piyaz skill on requests ("review VF-N"…

FrkAk/piyaz · 245 tokens

composer-implementer

Phase 3 of the /piyaz:composer pipeline. Dispatched per task by the composer orchestrator after the planner has saved the implementationPlan to Piyaz. Reads the plan, implements it on a feature branch with production-grade quality (security, performance, reliability, observability), runs the project's tests /…

FrkAk/piyaz · 190 tokens

decompose

Use when a Piyaz project exists with a description but few or no tasks, and the user wants it broken into an implementable graph (project-level decomposition). Triggers: "decompose", "break this down", "create tasks", "turn this into tasks", "give me a task list", "plan out the work", "how should I build this". Do not…

FrkAk/piyaz · 170 tokens

onboarding

Use when the current repo has existing code but no Piyaz project that matches it, and the user wants to adopt Piyaz on day N. Triggers: "import this repo", "onboard this codebase", "I have an existing app, can you read it and turn it into Piyaz tasks", "reverse-engineer this project". Do not use when no code exists…

FrkAk/piyaz · 120 tokens

composer-researcher

Phase 1 of the /piyaz:composer pipeline. Dispatched per task by the composer orchestrator to gather grounded context before planning. Reads the target task at multiple Piyaz context depths, searches up-to-date library docs via context7, explores the codebase for files and patterns the implementer will touch, surfaces…

FrkAk/piyaz · 216 tokens

brainstorm

Use when the user has a net-new software project idea that needs shaping into a brief before tasks can be created. Triggers: "I want to build...", "I'm thinking about an app for...", "let's plan a project", vague or exploratory phrasing, ambiguous scope. Do not use when an existing repo is present (route to…

FrkAk/piyaz · 98 tokens