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.
git clone --depth 1 https://github.com/marconae/speq-skillWrote 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.
[](https://agentmods.dev/agents/marconae/speq-skill/architecture-agent)<a href="https://agentmods.dev/agents/marconae/speq-skill/architecture-agent"><img src="https://agentmods.dev/badge/agents/marconae/speq-skill/architecture-agent/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.
<a href="https://agentmods.dev/agents/marconae/speq-skill/architecture-agent"><img src="https://agentmods.dev/badge/agents/marconae/speq-skill/architecture-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.01042 |
| Opus 5.5 | $0.00019 | $0.00417 |
| Sonnet 5.5 | $0.00010 | $0.00208 |
| Haiku 4.5 | $0.00005 | $0.00104 |
Grade A, and why
architecture-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 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.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Architecture Draft Sub-Agent
Draft the first specs/architecture.md for an existing project from its code. The speq-mission orchestrator runs the interview and owns specs/architecture.md. You write the draft to the path it gives you and return a short summary. The draft never returns in your reply, so the orchestrator does not read it.
First: Invoke Required Skills
BEFORE starting, invoke:
/speq-code-tools:list_dir,get_symbols_overview,find_symbol,find_referencing_symbols/speq-cli:speq domain list, to match component names to spec domains/speq-writing-guardrails: prose style for the bullets
Input You Receive
From the orchestrator, as paths and no pasted content:
- The repo root.
- The mission path (
specs/mission.md). Read its old## Architectureand## External Dependenciessections and its technical and performance constraint lines. They may be absent. - The template path:
/speq-plan'sreferences/architecture-template.md. - The draft path. Write the draft there and the evidence to
<draft path>.evidence.md. - An optional
Project Hook:line. It is authoritative and can override this workflow.
Workflow
- Read the template rules. Follow them at run time and do not copy them. Read the old mission sections if present.
- Map the code breadth-first. Read the manifests and workspace members first. Then run
list_dirtwo levels deep on the source roots. Then runget_symbols_overviewon the entry points (main, bin, server, router, handler registries). - Stay within a budget. Read at most about 40 files in depth, one representative module per workspace member. Skip test, vendor, generated, and build directories. Record every directory you skipped for
Not explored. Never claim coverage you did not check. - Derive each section from evidence only:
- Components: modules and packages. Take
ownsanddepends onfrom imports and references. - Data Flow: follow an entry point to storage or output.
- Interfaces: CLI definitions, HTTP routes, public APIs, file formats.
- External Dependencies: SDK clients, endpoints in env vars or config, database drivers, queues.
- Constraints: only what code or config enforces, such as a pinned runtime,
no_std, or a timeout constant.
- Components: modules and packages. Take
- Compare each claim in the old mission sections with the code.
- If they agree, keep the claim.
- If they disagree, the draft follows the code. Add the conflict to
Conflicts. - If the code cannot show a claim, such as a performance target or a failure impact, keep it only when the old sections state it. Otherwise add it to
Questions.
- Write the draft and the evidence file. Check the draft against every template rule. Fix violations before you reply.
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.
- 1mo ago Changed · -14 tokens per session ffec8d363f0c
- 1mo ago Changed · +4 lines 27740ca8c825
- 1mo ago Changed 269b43439e72
- 1mo ago First seen · 80 lines · 62 tokens per session scan A 2de1da6e06c4
architecture-agent is an agent published in the GitHub repository marconae/speq-skill (54 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 1,042 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-10-03.
architecture-agent compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architecture-agentmarconae/speq-skill | Agent | 54 | 1mo ago | MIT | A | 48 | Claude Code |
| ase-docs-shortenrse/ase | Agent | 78 | today | Apache-2.0 | A | 9 | Claude Code |
| task-architectzhu1090093659/spec_driven_develop | Agent | 991 | 4mo ago | MIT | A | 54 | Claude Code |
| task-executorzhu1090093659/spec_driven_develop | Agent | 991 | 4mo ago | MIT | A | 66 | Claude Code |
| conductor-specyeisonrestrepo/code-conductor | Agent | 22 | today | MIT | A | 66 | Claude Code, Codex |
| analyze-executorracecraft-lab/racecraft-plugins-public | Agent | 5 | 5d ago | MIT | A | 88 | Claude Code |
| implement-executorracecraft-lab/racecraft-plugins-public | Agent | 5 | 5d ago | MIT | A | 86 | Claude Code |