agent-architecture

agent-architecture is a skill for Claude Code from ruvnet/ruflo. It costs 15 tokens per session (2,601 once invoked), scanned B, original, MIT.

A software architecture planning agent based on the architecture phase of the SPARC method. It turns algorithms and requirements into a design for system parts, interfaces, technologies, and deployment.

In plain words
What is it for?
Use it to design components, define interfaces, choose technologies, and plan for scalability, reliability, and deployment.
Why use it?
Starting implementation without a shared design can lead to unclear boundaries and difficult changes later. This organizes the technical decisions before coding begins.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents); $skill-name invocation.

Part of the claude-flow plugin — 135 skills, 52 commands, 11 agents, 4 hooks, 1 MCP server shipped together

not rated 83krepo +333 today B scan Socket: passSnyk: passSkillSpector: warn 15 tokens original MIT

Good fit Use it to design components, define interfaces, choose technologies, and plan for scalability, reliability, and deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ruvnet/ruflo/agent-architecture
About the project

Ruflo is an execution and coordination layer for Claude Code and Codex that equips AI coding agents with tools, memory, control loops, sandboxes, and collaboration mechanisms. Developers use it to organize specialized agents into swarms, coordinate workflows, retain knowledge across sessions, and communicate across machines. The catalogue entries are Ruflo’s skills, commands, agents, hooks, and plugin components.

ruvnet/ruflo · 82,664 stars · on GitHub · cognitum.one

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 ruvnet/ruflo --skill agent-architecture
Clone the repo
git clone --depth 1 https://github.com/ruvnet/ruflo

Made for: Claude Code.

Or install claude-flow, the plugin that ships this one along with the rest of its 135 skills, 52 commands, 11 agents, 4 hooks, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ruvnet/ruflo/agent-architecture"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,601 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 390
    Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
    Fix: Restrict tool access to only the tools required for the skill's stated purpose. Use an explicit allowlist rather than granting blanket access.
  • low Privilege Escalation · line 390
    Skill requests more permissions than appear necessary for its stated functionality. Review if elevated access is justified.
    Fix: Request only the minimum permissions required. Document why each permission is needed. Remove broad permissions like '*' or 'all'.
How audits are shown
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.00015 $0.02601
Opus 5.5 $0.00006 $0.01040
Sonnet 5.5 $0.00003 $0.00520
Haiku 4.5 $0.00002 $0.00260

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

Security

Grade B, and why

agent-architecture scanned grade B with 1 finding 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 3mo 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

permissions: ["*"]
Origin

Copies of this mod

7 near-identical copies found in the catalogue:

.agents/skills/agent-architecture/SKILL.md · 477 lines

How it starts

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


name: architecture type: architect color: purple description: SPARC Architecture phase specialist for system design capabilities:

  • system_design
  • component_architecture
  • interface_design
  • scalability_planning
  • technology_selection priority: high sparc_phase: architecture hooks: pre: | echo "🏗️ SPARC Architecture phase initiated" memory_store "sparc_phase" "architecture"

    Retrieve pseudocode designs

    memory_search "pseudo_complete" | tail -1 post: | echo "✅ Architecture phase complete" memory_store "arch_complete_$(date +%s)" "System architecture defined"

SPARC Architecture Agent

You are a system architect focused on the Architecture phase of the SPARC methodology. Your role is to design scalable, maintainable system architectures based on specifications and pseudocode.

SPARC Architecture Phase

The Architecture phase transforms algorithms into system designs by:

  1. Defining system components and boundaries
  2. Designing interfaces and contracts
  3. Selecting technology stacks
  4. Planning for scalability and resilience
  5. Creating deployment architectures

System Architecture Design

1. High-Level Architecture

graph TB
    subgraph "Client Layer"
        WEB[Web App]
        MOB[Mobile App]
        API_CLIENT[API Clients]
    end
    
    subgraph "API Gateway"
        GATEWAY[Kong/Nginx]
        RATE_LIMIT[Rate Limiter]
        AUTH_FILTER[Auth Filter]
    end
    
    subgraph "Application Layer"
        AUTH_SVC[Auth Service]
        USER_SVC[User Service]
        NOTIF_SVC[Notification Service]
    end
    
    subgraph "Data Layer"
        POSTGRES[(PostgreSQL)]
        REDIS[(Redis Cache)]
        S3[S3 Storage]
    end
    
    subgraph "Infrastructure"
        QUEUE[RabbitMQ]
        MONITOR[Prometheus]
        LOGS[ELK Stack]
    end
    
    WEB --> GATEWAY
    MOB --> GATEWAY
    API_CLIENT --> GATEWAY
    
    GATEWAY --> AUTH_SVC
    GATEWAY --> USER_SVC
    
    AUTH_SVC --> POSTGRES
    AUTH_SVC --> REDIS
    USER_SVC --> POSTGRES
    USER_SVC --> S3
    
    AUTH_SVC --> QUEUE
    USER_SVC --> QUEUE
    QUEUE --> NOTIF_SVC

Read the full file on GitHub · 477 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. 3mo ago First seen · 477 lines · 15 tokens per session scan B e36c59f2eef2

Subscribe to this mod's changes

agent-architecture is a skill published in the GitHub repository ruvnet/ruflo (82,664 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 2,601 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-architecture compared with skills from other repositories

agent-architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-architectureruvnet/rufloSkill83ktodayMITB15Claude Code
release-announcementpaperclipai/paperclipSkill118kyesterdayMITA42Claude Code, Codex
suggestion-boxpaperclipai/paperclipSkill118kyesterdayMITA37Claude Code, Codex
index-refreshpaperclipai/paperclipSkill118kyesterdayMITA43Claude Code, Codex
issue-triagepaperclipai/paperclipSkill118kyesterdayMITA48Claude Code, Codex
agentmailpaperclipai/paperclipSkill118kyesterdayMITA30Claude Code, Codex
simplified-englishpaperclipai/paperclipSkill118kyesterdayMITA46Claude Code, Codex