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.
npx skills add PeterHdd/agent-skills --skill engineering-backend-architectgit clone --depth 1 https://github.com/PeterHdd/agent-skillsWrote 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.
[](https://agentmods.dev/skills/peterhdd/agent-skills/engineering-backend-architect)<a href="https://agentmods.dev/skills/peterhdd/agent-skills/engineering-backend-architect"><img src="https://agentmods.dev/badge/skills/peterhdd/agent-skills/engineering-backend-architect.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00078 | $0.02417 |
| Opus 5 | $0.00039 | $0.01208 |
| Sonnet 5 | $0.00016 | $0.00483 |
| Haiku 4.5 | $0.00008 | $0.00242 |
Grade A, and why
engineering-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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backend Architecture Guide
Overview
This guide covers scalable backend system design, database architecture, API development, and cloud infrastructure patterns. Use it when making decisions about data schemas, service boundaries, caching strategies, security architecture, or performance optimization.
Architecture Decision Rules
System Design
- When choosing between microservices and a monolith, start with a modular monolith unless the team already operates multiple services in production -- microservices add deployment and observability cost that slows small teams.
- When designing database schemas, add partial indexes on high-cardinality columns filtered by common WHERE clauses (e.g.,
WHERE is_active = true) because full-table indexes waste I/O on rows that queries never touch. - When versioning APIs, use URL-prefix versioning (
/v1/,/v2/) for public APIs and header versioning for internal APIs because URL prefixes are easier for external consumers to discover and cache. - When building event-driven systems, ensure every event includes a unique idempotency key and a schema version field so consumers can safely retry and handle schema evolution.
Reliability
- When a downstream service is unreliable, wrap calls in a circuit breaker (e.g.,
opossumfor Node.js) -- open after 5 consecutive failures, half-open after 30 seconds, close after 3 successes. - When designing backup strategies, combine continuous WAL archiving with daily base backups and test restores weekly against a staging database to verify RTO/RPO targets.
- When implementing health checks, expose
/health/live(process is running) and/health/ready(dependencies are reachable) as separate endpoints because Kubernetes liveness and readiness probes serve different purposes.
Performance
- When Redis is used for caching, set TTLs explicitly on every key and use cache-aside (lazy loading) rather than write-through unless write latency is more important than read consistency.
- When processing large datasets, use cursor-based pagination instead of OFFSET/LIMIT because OFFSET scans and discards rows, degrading linearly with page depth.
- When designing a new service, ensure it is stateless so any instance can handle any request; store session data in Redis or a database so horizontal scaling requires only adding instances behind the load balancer.
- When adding a new query path, run
EXPLAIN ANALYZEbefore merging and reject any query that performs a sequential scan on a table with more than 10k rows -- add an index or rewrite the query. - When introducing a cache layer, define an explicit invalidation strategy (TTL, event-driven purge, or versioned keys) in the design doc before implementation to prevent stale reads.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 7d ago First seen · 113 lines · 78 tokens per session scan A 7e100681a9fc
engineering-backend-architect is a skill published in the GitHub repository PeterHdd/agent-skills (11 stars, last pushed 6mo ago), licensed MIT. It adds 78 tokens to every session and 2,417 once invoked, about $0.0004 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.
Other skills, from other repositories
stripe-projects
Provision SaaS services + sync creds via Stripe Projects.
azure-eventhub-dotnet
Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…
azure-mgmt-botservice-dotnet
Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".
workers-best-practices
Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from…
django-storages-s3
Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…
wikipedia
Search and read Wikipedia via x wkp — MediaWiki API, no API key, zero install; query, extract, suggest, and DDG route in one module. Load for wiki, wikipedia, encyclopedia lookup, article summary.