production-web-architecture

production-web-architecture is a skill for Codex from divyanshu-iitian/agent-website-design-skills. It costs 49 tokens per session (559 once invoked), scanned A, original, MIT.

A guide to designing web platforms that remain reliable as their users, data, and background work grow. It covers the parts around the interface, including APIs, storage, queues, deployment, and monitoring.

In plain words
What is it for?
It helps map critical user journeys, choose a suitably simple architecture, design retryable background jobs and caches, protect data, and plan releases, rollbacks, alerts, and operational procedures.
Why use it?
It exposes failure, security, data-loss, performance, and cost risks before they become production incidents.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It helps map critical user journeys, choose a suitably simple architecture, design retryable background jobs and caches, protect data, and plan releases, rollbacks, alerts, and operational procedures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/divyanshu-iitian/agent-website-design-skills/production-web-architecture
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 divyanshu-iitian/agent-website-design-skills --skill production-web-architecture
Clone the repo
git clone --depth 1 https://github.com/divyanshu-iitian/agent-website-design-skills

Made for: Codex.

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 production-web-architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/divyanshu-iitian/agent-website-design-skills/production-web-architecture"><img src="https://agentmods.dev/badge/skills/divyanshu-iitian/agent-website-design-skills/production-web-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 559 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.00049 $0.00559
Opus 5 $0.00024 $0.00280
Sonnet 5 $0.00010 $0.00112
Haiku 4.5 $0.00005 $0.00056

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

Security

Grade A, and why

production-web-architecture 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 12d 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.

production-web-architecture/SKILL.md · 45 lines

How it starts

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

Production Web Architecture

Turn product flows into an operable system. Prefer the smallest architecture that removes the largest demonstrated risk.

Workflow

  1. Map users, critical journeys, trust boundaries, data ownership, external services, files, asynchronous work, and failure consequences.
  2. State workload assumptions and service objectives: traffic shape, latency, availability, durability, freshness, privacy, and cost.
  3. Trace each critical path from browser through API, storage, queue, worker, and response. Mark transaction and idempotency boundaries.
  4. Review scalability, reliability, security, data integrity, performance, observability, deployment, and cost.
  5. Keep a modular monolith until independent scaling, ownership, deployment, or fault isolation creates a measurable extraction benefit.
  6. Move slow or fragile work behind durable queues. Make handlers idempotent, retryable, observable, and visible to users.
  7. Add caches only with ownership, key design, TTL, invalidation, stampede protection, and stale behavior defined.
  8. Define migrations, rollout, rollback, health checks, alerts, runbooks, and cost guardrails before calling the design production-ready.
  9. Validate the highest-risk flow with a failure test, load test, or end-to-end smoke test proportional to the risk.

Startup Defaults

  • Managed relational database, object storage, queue, cache, and observability before custom distributed systems.
  • Server-side authorization at every ownership boundary.
  • Timeouts, pagination, rate limits, and idempotency keys on relevant APIs.
  • Structured logs, trace or request IDs, service metrics, and actionable alerts.
  • AI calls use structured output, provider routing, token ceilings, prompt versions, and bounded retries.
  • Public reads degrade gracefully; writes fail explicitly rather than silently losing data.

Delivery Contract

Provide:

  1. System map - components, data, trust boundaries, and critical paths.
  2. Assumptions and SLOs - explicit numbers or identified unknowns.
  3. Findings - severity, evidence, failure mode, and affected journey.
  4. Target architecture - smallest justified change and deferred complexity.
  5. Execution plan - schema, API, queue, migration, rollout, and ownership tasks.
  6. Verification and operations - tests, dashboards, alerts, rollback, and cost controls.

Read the full file on GitHub · 45 lines

Files

What ships with it

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

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. 12d ago First seen · 45 lines · 49 tokens per session scan A 91c7700dee7e

Subscribe to this mod's changes

production-web-architecture is a skill published in the GitHub repository divyanshu-iitian/agent-website-design-skills (2 stars, last pushed 21d ago), licensed MIT. It adds 49 tokens to every session and 559 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 skills, from other repositories

insforge-cli

Use this skill whenever someone needs a backend, or a task touches InsForge backend or cloud infrastructure through the InsForge CLI: projects, SQL, migrations, RLS policies, functions, storage, backups, deployments, compute, secrets, config, schedules, logs, diagnostics, advisor scans and suppressions, import/export…

aiskillstore/marketplace · 157 tokens

cohesivity

Backend and infra for a project via Cohesivity (cohesivity.ai). Provisions Postgres, hosting and deploys, auth and social login, realtime websockets, an agent-native email inbox, object and vector storage, Redis, cron, and AI model APIs (OpenAI, Anthropic, Deepgram, Exa) through one HTTP API. Use when a valid…

aiskillstore/marketplace · 121 tokens

firebase-development-project-setup

This skill should be used when initializing a new Firebase project with proven architecture. Triggers on "new firebase project", "initialize firebase", "firebase init", "set up firebase", "create firebase app", "start firebase project". Guides through CLI setup, architecture choices, and emulator configuration.

aiskillstore/marketplace · 64 tokens

firebase-development-project-setup

This skill should be used when initializing a new Firebase project with proven architecture. Triggers on "new firebase project", "initialize firebase", "firebase init", "set up firebase", "create firebase app", "start firebase project". Guides through CLI setup, architecture choices, and emulator configuration.

aiskillstore/marketplace · 64 tokens

swift-codable

Implement Swift Codable models for JSON and property-list encoding and decoding with JSONDecoder, JSONEncoder, CodingKeys, and custom init(from:) or encode(to:). Use when parsing API responses, remapping keys, flattening nested JSON, handling date or data decoding strategies, decoding heterogeneous arrays, or…

dpearson2699/swift-ios-skills · 76 tokens

frontend-engineer

!cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults" !cat .forgewright/codebase-context.md…

buiphucminhtam/forgewright · 55 tokens