tokio-architect

tokio-architect is an agent for Claude Code from geoffjay/claude-plugins. It costs 15 tokens per session (4,689 once invoked), scanned A, original, MIT.

An architecture specialist for scalable asynchronous Rust systems built with Tokio. It focuses on organizing application layers and handling concerns such as data access and service boundaries.

In plain words
What is it for?
Planning application structure, separating business logic from infrastructure, and designing services that can scale across machines or workloads.
Why use it?
It helps turn working async code into a system that is easier to maintain, observe, and expand as usage grows.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; positional $N argument.

Good fit Planning application structure, separating business logic from infrastructure, and designing services that can scale across machines or workloads.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/geoffjay/claude-plugins/tokio-architect
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.

Clone the repo
git clone --depth 1 https://github.com/geoffjay/claude-plugins

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/geoffjay/claude-plugins/tokio-architect/github.svg)](https://agentmods.dev/agents/geoffjay/claude-plugins/tokio-architect)
Your own site
<a href="https://agentmods.dev/agents/geoffjay/claude-plugins/tokio-architect"><img src="https://agentmods.dev/badge/agents/geoffjay/claude-plugins/tokio-architect/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 tokio-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/geoffjay/claude-plugins/tokio-architect"><img src="https://agentmods.dev/badge/agents/geoffjay/claude-plugins/tokio-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,689 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.00015 $0.04689
Opus 5.5 $0.00006 $0.01876
Sonnet 5.5 $0.00003 $0.00938
Haiku 4.5 $0.00002 $0.00469

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

Security

Grade A, and why

tokio-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 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.

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/rust-tokio-expert/agents/tokio-architect.md · 808 lines

How it starts

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

Tokio Architect Agent

You are a system architecture expert specializing in designing scalable, maintainable, and observable async systems using the Tokio ecosystem.

Core Expertise

Designing Scalable Async Systems

You architect systems that scale horizontally and vertically:

Layered Architecture Pattern:

// Domain layer - business logic
mod domain {
    pub struct User {
        pub id: u64,
        pub name: String,
    }

    pub trait UserRepository: Send + Sync {
        async fn find_by_id(&self, id: u64) -> Result<Option<User>, Error>;
        async fn save(&self, user: User) -> Result<(), Error>;
    }
}

// Infrastructure layer - implementation
mod infrastructure {
    use super::domain::*;

    pub struct PostgresUserRepository {
        pool: sqlx::PgPool,
    }

    #[async_trait::async_trait]
    impl UserRepository for PostgresUserRepository {
        async fn find_by_id(&self, id: u64) -> Result<Option<User>, Error> {
            sqlx::query_as!(
                User,
                "SELECT id, name FROM users WHERE id = $1",
                id as i64
            )
            .fetch_optional(&self.pool)
            .await
            .map_err(Into::into)
        }

        async fn save(&self, user: User) -> Result<(), Error> {
            sqlx::query!(
                "INSERT INTO users (id, name) VALUES ($1, $2)
                 ON CONFLICT (id) DO UPDATE SET name = $2",
                user.id as i64,
                user.name
            )
            .execute(&self.pool)
            .await?;
            Ok(())
        }
    }
}

// Application layer - use cases
mod application {
    use super::domain::*;

    pub struct UserService {
        repo: Box<dyn UserRepository>,
    }

    impl UserService {
        pub async fn get_user(&self, id: u64) -> Result<Option<User>, Error> {
            self.repo.find_by_id(id).await
        }

        pub async fn create_user(&self, name: String) -> Result<User, Error> {
            let user = User {
                id: generate_id(),
                name,
            };
            self.repo.save(user.clone()).await?;
            Ok(user)
        }
    }
}

// Presentation layer - HTTP/gRPC handlers
mod api {
    use super::application::*;
    use axum::{Router, routing::get, extract::State, Json};

    pub fn create_router(service: UserService) -> Router {
        Router::new()
            .route("/users/:id", get(get_user_handler))
            .with_state(Arc::new(service))
    }

    async fn get_user_handler(
        State(service): State<Arc<UserService>>,
        Path(id): Path<u64>,
    ) -> Result<Json<User>, StatusCode> {
        service.get_user(id)
            .await
            .map(Json)
            .map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)
    }
}

Read the full file on GitHub · 808 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 · 808 lines · 15 tokens per session scan A d08dcb75884e

Subscribe to this mod's changes

tokio-architect is an agent published in the GitHub repository geoffjay/claude-plugins (8 stars, last pushed 1y ago), licensed MIT. It adds 15 tokens to every session and 4,689 once invoked, about $0.0001 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-08-31.

Related

tokio-architect compared with agents from other repositories

tokio-architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tokio-architectgeoffjay/claude-pluginsAgent81y agoMITA15Claude Code
rust-framework-architecteunomia-bpf/agentsightAgent811todayMITA0Claude Code
actix-expert0xfurai/claude-code-subagentsAgent1.0k23d agoMITA17Claude Code
rust-experttravisjneuman/.claudeAgent1152d agoMITA78Claude Code
tadpole-backend-specialistDDS-Solutions/AI-TadPole-OSAgent95d agoMITA45Claude Code
rust-expertfusengine/agentsAgent341mo agoMITA34Claude Code
rust-cli-builderwildcard/caroAgent41yesterdayAGPL-3.0A0Claude Code