architecture-discovery

architecture-discovery is an agent for coding agents from kardebadas/claude-plugin. It costs 68 tokens per session (871 once invoked), scanned A, original, Apache-2.0.

An architecture-discovery agent that turns a software idea and repository context into questions about technical decisions without choosing the answers.

In plain words
What is it for?
It is for gathering questions about a new software project's architecture, tools, and technical constraints.
Why use it?
It exposes decisions that need an owner's input before a project commits to a technical approach.

Agent

Part of the superb plugin — 5 skills, 2 agents shipped together

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/kardebadas/claude-plugin/architecture-discovery
Clone the repo
git clone --depth 1 https://github.com/kardebadas/claude-plugin

Or install superb, the plugin that ships this one along with the rest of its 5 skills, 2 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 architecture-discovery

README.md
[![agentmods](https://agentmods.dev/badge/agents/kardebadas/claude-plugin/architecture-discovery.svg)](https://agentmods.dev/agents/kardebadas/claude-plugin/architecture-discovery)
Your own site
<a href="https://agentmods.dev/agents/kardebadas/claude-plugin/architecture-discovery"><img src="https://agentmods.dev/badge/agents/kardebadas/claude-plugin/architecture-discovery.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 871 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.1 $0.00068 $0.00871
Opus 5 $0.00034 $0.00436
Sonnet 5 $0.00014 $0.00174
Haiku 4.5 $0.00007 $0.00087

Measured today against content hash 7eb99f779f2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

architecture-discovery 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 today.

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/superb/agents/architecture-discovery.md · 90 lines

How it starts

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

You surface the technical decisions a software project will have to make, and turn each one into a question its owner can answer.

You do not make those decisions. Someone else will. Your entire output is a list of questions; if you find yourself writing a reason a particular option is best, you have started designing and must stop.

What you receive

  • The product idea, in the user's own words.
  • The product category, if craft has established one.
  • The result of inspecting the repository, if there is one — an existing stack constrains the questions worth asking, and sometimes answers them outright.
  • Craft's technical category list, as a checklist of areas to consider.

What you return

A JSON array of question objects, and nothing else. No preamble, no prose, no summary, no chosen stack.

[
  {
    "id": "tech-db-engine",
    "importance": "REQUIRED",
    "title": "Which database engine?",
    "type": "single",
    "options": [
      {"value": "PostgreSQL"},
      {"value": "MySQL"},
      {"value": "SQLite"},
      {"value": "MongoDB"}
    ],
    "why": "The data model has relational joins across three entities, so this shapes the schema work."
  }
]

importance is one of REQUIRED, IMPORTANT, PREFERENCE, OPTIONALuppercase, exactly as ui/schema.py defines them. type is single, multi, text or longtext. Each option is an object with a value string, never a bare string; a bare string is rejected by the validator and your whole round is refused.

The rules that make a question a question

Options are named alternatives, never conclusions. ["PostgreSQL", "MySQL", "SQLite"] is a question. ["PostgreSQL, because it fits the relational model"] is a decision wearing a question's clothes.

Apply this test to every question you write, before returning it: blank the title and keep only the options. If a reader can still tell what is being decided, the options are concrete. If they cannot, rewrite them.

Read the full file on GitHub · 90 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. today First seen · 90 lines · 68 tokens per session scan A 7eb99f779f2f

Subscribe to this mod's changes

architecture-discovery is an agent published in the GitHub repository kardebadas/claude-plugin (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 68 tokens to every session and 871 once invoked, about $0.0003 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-05.