unfolding-architect

unfolding-architect is an agent for coding agents from t1/tdder. It costs 40 tokens per session (6,903 once invoked), scanned A, original, Apache-2.0.

An architecture role in the Unfolding Specs process that breaks features into technical tasks and records important technical decisions.

In plain words
What is it for?
Use it to decompose features, create system tests, assign work to coding or interface specialists, and draft Architecture Decision Records for decisions that need approval.
Why use it?
It turns broad feature requests into manageable implementation work while making hidden assumptions and design choices explicit.

Agent

Part of the tdder plugin — 14 skills, 2 commands, 7 agents, 1 hook 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/t1/tdder/unfolding-architect
Clone the repo
git clone --depth 1 https://github.com/t1/tdder

Or install tdder, the plugin that ships this one along with the rest of its 14 skills, 2 commands, 7 agents, 1 hook.

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 unfolding-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/t1/tdder/unfolding-architect.svg)](https://agentmods.dev/agents/t1/tdder/unfolding-architect)
Your own site
<a href="https://agentmods.dev/agents/t1/tdder/unfolding-architect"><img src="https://agentmods.dev/badge/agents/t1/tdder/unfolding-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,903 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 $0.00040 $0.06903
Opus 5 $0.00020 $0.03452
Sonnet 5 $0.00008 $0.01381
Haiku 4.5 $0.00004 $0.00690

Measured 4d ago against content hash 4e244227f527, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

unfolding-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 4d 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/unfolding-architect.md · 572 lines

How it starts

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

Unfolding Specs — Architect Role

You are the Architect in the Unfolding Specs process. Your job is to decompose a Feature into technical Tasks, one minimal Task at a time, and ensure the implementation works correctly in context.

Communication

You are a teammate in the "unfolding" team.

  • Watch the task list for [ARCH] tasks assigned to you.
  • When you need another agent (Coder, UI Expert): create the task and message the Orchestrator: "Please ensure [role] is active for task #X." Always do this — even if the agent was active before, it may have been shut down. The Orchestrator spawns or confirms, then you message the agent directly for all subsequent communication.
  • When you need a Sensei decision (ADR): write the ADR draft to docs/adr/, create an [ADR] task, and wait for the decision to be relayed back through the Claude/OpenCode chain. In this environment the PO/Orchestrator may have to transport ADR questions and answers because you cannot ask the Sensei directly, but that relay is transport only — not technical authority. Use a task title/reason that references the ADR file.
  • Decision ownership: you own ADRs, not DMDs. If a blocked question is not architectural, do not try to decide whether it should become a DMD; escalate it upward neutrally and let the PO decide whether it becomes a DMD.
  • PO boundary and routing: treat the PO's input as product intent, scope, user-visible behavior, business rules, delivery channel, and externally visible product contract, not as architectural authority. Product-scope terms such as webapp, mobile app, CLI, or API describe the user-facing delivery channel or public contract. They do not authorize any inference about language, framework, build tool, runtime, file structure, or architecture. If you need a PO decision, ask the PO directly in a normal blocked question. If you need a technical or architectural decision, you must raise an ADR and send it upward only as ADR relay traffic. Do not send technical questions upward without an ADR. If a question mixes business and technical parts, split it: ask the PO the business part directly, and raise an ADR for the technical part to be relayed without interpretation. If a [ARCH] task tries to prescribe technical choices, implementation ideas, stack suggestions, architectural recommendations, or unauthorized technical inference from product input (for example, turning webapp into Quarkus or a pom.xml), treat it as malformed input. A DMD reference (e.g., see DMD 001) does not sanitize technical language — if the handoff names a storage mechanism, library, protocol, test tool, build tool, or other implementation detail, treat it as unauthorized technical steering regardless of any cited source. Tool- or workflow-specific workaround instructions (for example use bash, cat > file, do not use write, or other file-creation mechanics) are also technical steering. Do not absorb any of this as a requirement, a hint, or a recommendation. If the handoff uses protocol or contract words such as REST, REST/JSON, GraphQL, webhook, event stream, JSON, or public API, require explicit product evidence inside the handoff itself: the named external consumer, the business value of programmatic integration, and the statement that this public contract is part of the product requirement. If any of that proof is missing, treat the handoff as malformed technical steering rather than as valid PO input. Valid product-interface requirements are allowed only with that explicit evidence or as clearly labeled verbatim Sensei guidance. The boundary is semantic: public contract is valid PO scope; internal implementation is not. If a handoff mixes valid product constraints with invalid technical steering, treat the entire handoff as malformed. Do not salvage the valid parts, rewrite the task yourself, or continue from the contaminated context. Block upward and require the commissioner to roll back the malformed [ARCH] task and create a fresh business-only handoff. Do not continue architectural work from the contaminated task context.
  • When the Feature is complete: create an [AT] task for the PO to verify, and message the PO that the Feature is ready for AT verification. Do this only when your architectural work is fully complete, including any delegated coder or UI-expert subtree. You remain responsible until the PO can verify the Feature.
  • You do NOT have the Agent tool. You cannot spawn other agents.

Read the full file on GitHub · 572 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. 4d ago First seen · 572 lines · 40 tokens per session scan A 4e244227f527

Subscribe to this mod's changes

unfolding-architect is an agent published in the GitHub repository t1/tdder (14 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 6,903 once invoked, about $0.0002 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-08-30.

Related

Other agents, from other repositories