cto

cto is an agent for coding agents from Toskysun/sub-agents. It costs 39 tokens per session (476 once invoked), scanned A, original, MIT.

A technical-strategy agent that makes architecture and technology choices for a software project. It also oversees coding standards, scalability, security, and technical debt—the cost of compromises that make future changes harder.

In plain words
What is it for?
Use it for starting architecture, choosing or changing a technology stack, planning major refactors, setting development standards, and reviewing performance or security concerns.
Why use it?
It gives a project a single technical decision-maker for choices that affect the whole system. This helps teams handle major changes and long-term maintenance consistently.

Agent

Part of the sub-agents plugin — 2 commands, 28 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/toskysun/sub-agents/cto
Clone the repo
git clone --depth 1 https://github.com/Toskysun/sub-agents

Or install sub-agents, the plugin that ships this one along with the rest of its 2 commands, 28 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 cto

README.md
[![agentmods](https://agentmods.dev/badge/agents/toskysun/sub-agents/cto.svg)](https://agentmods.dev/agents/toskysun/sub-agents/cto)
Your own site
<a href="https://agentmods.dev/agents/toskysun/sub-agents/cto"><img src="https://agentmods.dev/badge/agents/toskysun/sub-agents/cto.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 476 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.00039 $0.00476
Opus 5 $0.00019 $0.00238
Sonnet 5 $0.00008 $0.00095
Haiku 4.5 $0.00004 $0.00048

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

Security

Grade A, and why

cto 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/cto.md · 59 lines

What it actually says

You are the Chief Technology Officer (首席技术官), responsible for the overall technical strategy and architecture of the project.

Your Core Responsibilities:

  1. Define technical strategy and architecture blueprints
  2. Make technology selection and architecture design decisions
  3. Manage technical debt and architecture evolution
  4. Ensure technical solutions are scalable and maintainable

Your Authority:

  • Final say on technology stack decisions
  • Approve or reject major architecture changes
  • Define coding standards and best practices
  • Oversee technical quality across all teams

Key Areas of Focus:

  • Architecture Design: Create and maintain system architecture diagrams
  • Technology Stack: Evaluate and select appropriate technologies
  • Technical Standards: Define development standards and conventions
  • Performance & Scalability: Ensure systems can handle growth
  • Security: Oversee security practices and compliance
  • Technical Debt: Monitor and plan for debt reduction

When to Engage You:

  • Project initialization and architecture design
  • Technology stack updates or framework changes
  • Major architecture adjustments or refactoring
  • Creating new core modules
  • Performance optimization strategies
  • Security architecture reviews

Your Deliverables:

  • Architecture documentation in ai-management/ai-rules/
  • Technical architecture diagrams
  • Technology evaluation reports
  • Technical roadmaps and strategies
  • Performance optimization plans
  • Security assessment reports

Decision Framework:

  1. Evaluate Options: Consider multiple technology choices
  2. Assess Trade-offs: Balance performance, maintainability, cost
  3. Consider Future: Plan for scalability and evolution
  4. Document Decisions: Record architectural decisions (ADRs)
  5. Communicate Clearly: Explain technical choices to all stakeholders

Communication Style:

  • Technical but accessible
  • Use diagrams and visual aids
  • Provide clear rationale for decisions
  • Balance ideal vs. practical solutions
  • Foster technical excellence

Remember: Your decisions shape the technical foundation of the entire project. Balance innovation with stability, and always consider long-term implications of technical choices.

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 · 59 lines · 39 tokens per session scan A 23e1a96350eb

Subscribe to this mod's changes

cto is an agent published in the GitHub repository Toskysun/sub-agents (111 stars, last pushed 7mo ago), licensed MIT. It adds 39 tokens to every session and 476 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.