agent-architecture-decision

agent-architecture-decision is a skill for Codex from tranfu-labs/tranfu-skills. It costs 196 tokens per session (2,767 once invoked), scanned A, original, MIT.

A guide for deciding whether an AI product or workflow needs one or more cooperating software agents, and for designing how they use tools, memory, and state.

In plain words
What is it for?
Use it to compare single-agent and multi-agent designs, choose an agent framework, plan orchestration and memory, and define checks for whether the system works.
Why use it?
It helps avoid adding agents when a simpler workflow, search system, API pipeline, or background job would work better. It also structures the design when agents are genuinely useful.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions subagents.

Good fit Use it to compare single-agent and multi-agent designs, choose an agent framework, plan orchestration and memory, and define checks for whether the system works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranfu-labs/tranfu-skills/agent-architecture-decision
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.

Any agent
npx skills add tranfu-labs/tranfu-skills --skill agent-architecture-decision
Clone the repo
git clone --depth 1 https://github.com/tranfu-labs/tranfu-skills

Made for: Codex.

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 agent-architecture-decision

README.md
[![agentmods](https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/agent-architecture-decision/github.svg)](https://agentmods.dev/skills/tranfu-labs/tranfu-skills/agent-architecture-decision)
Your own site
<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/agent-architecture-decision"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/agent-architecture-decision/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 agent-architecture-decision

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranfu-labs/tranfu-skills/agent-architecture-decision"><img src="https://agentmods.dev/badge/skills/tranfu-labs/tranfu-skills/agent-architecture-decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 196 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,767 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.00196 $0.02767
Opus 5 $0.00098 $0.01384
Sonnet 5 $0.00039 $0.00553
Haiku 4.5 $0.00020 $0.00277

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

Security

Grade A, and why

agent-architecture-decision 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 11d 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.

own-skills/agent-architecture-decision/SKILL.md · 240 lines

How it starts

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

Agent Architecture Decision

Use this skill to decide whether a project needs agentic architecture and, if so, design the simplest effective workflow, memory/state model, tool-use model, orchestration approach, evaluation gates, and implementation roadmap.

The goal is not to add agents by default. Prefer deterministic workflows, RAG, API pipelines, and ordinary background jobs when they satisfy the product goal with less risk.

This skill must connect recommendations to the concrete project context: vision, target users, current stack, existing modules, data sources, product workflow, deployment shape, and verification constraints.

Run Modes

Choose one mode before acting:

  • discuss-only: analyze and recommend; output a slim AGENTIC_PACKET (at minimum: mode, agentic_value_hypothesis, recommended_shape, why_not_simpler, why_not_more_complex, rejected_options, open_questions); do not edit files.
  • architecture-packet: produce a complete AGENTIC_PACKET; do not edit files.
  • materialize-docs: produce the complete AGENTIC_PACKET and update architecture or product-control docs only after explicit user approval.
  • implement-slice: produce the complete AGENTIC_PACKET including the implementation block, then implement a bounded first slice only after the Implementation Gate passes.

If the user only asks for analysis, default to discuss-only. If the user says "execute" after an architecture packet, first state the file/action plan and only edit after ALL Implementation Gate conditions are true.

Workflow

CREATE A TODO LIST FOR THE TASKS BELOW:

  1. Parse the request and choose a run mode. If the requested outcome is ambiguous, ask one focused question and stop.
  2. Verify read access to the project root, project docs, source tree, tests, and agent rules. If the project cannot be read but the conversation already provides project context inline → continue in discuss-only mode using the inline context and mark every claim not verified against the repo as unverified. If neither a readable project nor inline context exists → report a blocker and stop.
  3. Inspect existing project docs, architecture notes, source tree, AI/provider code, data flow, tests, and agent rules before making claims.
  4. Identify current deterministic workflows, RAG paths, tool/API integrations, persistence, memory, and deployment constraints.
  5. Decide whether agentic behavior is necessary by comparing against non-agentic baselines. If a non-agentic workflow is sufficient → set recommended_shape to that non-agentic option (Architecture Selection shape 1 or 2), skip step 7, and apply steps 8–12 to the selected workflow; otherwise → continue to step 6.
  6. Map the product workflow into deterministic steps, AI-assisted steps, tool calls, state transitions, and human checkpoints.
  7. Select the simplest fitting agentic shape.
  8. Recommend a technical stack that respects existing project constraints and current official or primary-source docs.
  9. Define state, memory, tool, orchestration, safety, and evaluation boundaries.
  10. Produce the AGENTIC_PACKET required by the selected mode (slim for discuss-only, complete for all other modes), evaluation gates, and explicit unverified_items.
  11. If implementation is explicitly requested, produce an implementation plan and verification matrix before editing.
  12. Output the selected mode, recommended shape, rejected alternatives, first safe next step, and any blockers; then stop.

Read the full file on GitHub · 240 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. 11d ago First seen · 240 lines · 196 tokens per session scan A c17937c76ed2

Subscribe to this mod's changes

agent-architecture-decision is a skill published in the GitHub repository tranfu-labs/tranfu-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 196 tokens to every session and 2,767 once invoked, about $0.0010 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens