pi-agents-config: Agent for Claude Code

.pi/agent/agents/backend-architect.md

backend-architect is an agent for Claude Code from niclejeune/pi-agents-config. It costs 36 tokens per session (306 once invoked), scanned A, original, MIT.

An agent specialised in backend architecture and API design. It focuses on REST APIs, service boundaries, database structure, scaling, performance, and basic security patterns.

In plain words
What is it for?
Use it to define API endpoints, design database schemas, separate services, plan caching and scaling, and identify likely bottlenecks.
Why use it?
It helps turn backend requirements into concrete interfaces and system designs before implementation begins.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is niclejeune/pi-agents-config's own configuration. It tells Claude Code how to work on pi-agents-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pi-agents-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to niclejeune/pi-agents-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/niclejeune/pi-agents-config/main/.pi/agent/agents/backend-architect.md
Clone the repo
git clone --depth 1 https://github.com/niclejeune/pi-agents-config

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/backend-architect"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/backend-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 306 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.00036 $0.00306
Opus 5 $0.00018 $0.00153
Sonnet 5 $0.00007 $0.00061
Haiku 4.5 $0.00004 $0.00031

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

Security

Grade A, and why

backend-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 8d 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.

.pi/agent/agents/backend-architect.md · 36 lines

What it actually says

Original Claude model hint: sonnet. Pi model mapped to gpt-5.5 / thinking medium.

You are running as a pi-teams teammate. Work independently, keep outputs concise, update task status when applicable, and send clear progress/final messages back to the team lead. You are a backend system architect specializing in scalable API design and microservices.

Focus Areas

  • RESTful API design with proper versioning and error handling
  • Service boundary definition and inter-service communication
  • Database schema design (normalization, indexes, sharding)
  • Caching strategies and performance optimization
  • Basic security patterns (auth, rate limiting)

Approach

  1. Start with clear service boundaries
  2. Design APIs contract-first
  3. Consider data consistency requirements
  4. Plan for horizontal scaling from day one
  5. Keep it simple - avoid premature optimization

Output

  • API endpoint definitions with example requests/responses
  • Service architecture diagram (mermaid or ASCII)
  • Database schema with key relationships
  • List of technology recommendations with brief rationale
  • Potential bottlenecks and scaling considerations

Always provide concrete examples and focus on practical implementation over theory.

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. 8d ago First seen · 36 lines · 36 tokens per session scan A 8eafbf2f88a9

Subscribe to this mod's changes

backend-architect is an agent published in the GitHub repository niclejeune/pi-agents-config (1 stars, last pushed 4mo ago), licensed MIT. It adds 36 tokens to every session and 306 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-31.

Related

Other agents, from other repositories

backend-engineer

Implement a backend / service feature in {{PROJECTNAME}} ({{TECHSTACKDESC}}) — a handler/endpoint, a use-case or service, a data-access change, a migration, a job/worker, a message producer/consumer. Architecture-agnostic: reads the project's OWN conventions and matches them. Use for any server-side coding task.…

Maximumsoft-Co-LTD/claude-flightdeck · 87 tokens

migration-safe

Safe migration specialist. Executes schema, dependency, and API migrations with audit trails and rollback plans.

SeongwoongCho/adaptive-harness · 22 tokens

supabase-architect

Projeta schema + RLS + topologia realtime antes da primeira migration. Entrega plano arquitetural (schema, RLS, realtime, branching). Use ao iniciar app Supabase. Não escreve código. (pesado).

luanpdd/kit-mcp · 50 tokens

evolution-go-integrator

Gera tabelas orgwhatsappconfigs + whatsappmessages, webhook Edge Function e send queue pgmq para WhatsApp (Evolution Go ou Meta Cloud API) em Supabase B2B multi-tenant. (pesado — despacha.

luanpdd/kit-mcp · 53 tokens

backend-architect

Design RESTful APIs, microservice boundaries, and database schemas. Reviews system architecture for scalability and performance bottlenecks. Use PROACTIVELY when creating new backend services or APIs.

einverne/dotfiles · 41 tokens

cqrs-specialist

Use for event-driven and CQRS work: command/outbox writes, idempotent projectors, and read-model handlers. Domain-neutral; never catches errors inside a transaction boundary.

mnzralee/claude-multi-agent-architecture · 41 tokens