audit-backend-architecture

audit-backend-architecture is a skill for Claude Code, Codex from kensaurus/cursor-kenji. It costs 59 tokens per session (4,462 once invoked), scanned A, original, MIT.

A read-only guide for checking whether a backend system uses suitable architecture patterns, such as a single application or event-driven services.

In plain words
What is it for?
Use it to assess backend architecture, compare design choices, and decide whether to adopt, delay, or reject patterns based on the system's actual structure.
Why use it?
It helps teams avoid both missing important design safeguards and adding complex patterns before they are needed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to assess backend architecture, compare design choices, and decide whether to adopt, delay, or reject patterns based on the system's actual structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kensaurus/cursor-kenji/audit-backend-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 kensaurus/cursor-kenji --skill audit-backend-architecture
Clone the repo
git clone --depth 1 https://github.com/kensaurus/cursor-kenji

Made for: Claude Code, 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 audit-backend-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/audit-backend-architecture.svg)](https://agentmods.dev/skills/kensaurus/cursor-kenji/audit-backend-architecture)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/audit-backend-architecture"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/audit-backend-architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,462 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00059 $0.04462
Opus 5 $0.00030 $0.02231
Sonnet 5 $0.00012 $0.00892
Haiku 4.5 $0.00006 $0.00446

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

Security

Grade A, and why

audit-backend-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 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.

skills/audit-backend-architecture/SKILL.md · 266 lines

How it starts

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

audit-backend-architecture — Distributed-Systems Pattern Maturity Audit

Degree of freedom: MIXED — Fit, presence, and adopt/defer [HIGH freedom]; Phase 0 topology probes [LOW freedom — run exactly]. Never mark a pattern Missing if its tier is N/A.

Read-only. Assess and recommend; do not change code. Per-call timeouts, retry+jitter, idempotency keys, cancellation → audit-resilience. This skill checks whether the patterns exist and whether they fit.

Two lenses:

  1. Conformance (Phase 2) — Implemented / Partial / Missing / N/A with file:line.
  2. Fit / decision (Phase 3) — Adopt now / Adopt when [trigger] / Defer (premature). "Don't build this yet" is a first-class finding.

Core principle — start simple, earn every pattern

Each pattern solves a specific problem and carries a specific cost. The 2026 consensus is modular-monolith-first: >90% of systems are well served by a well-structured monolith; premature decomposition is the #1 failure mode. A pattern is "Missing" only if the measurable trigger is present — otherwise adopting it is over-engineering, flagged as loudly as a real gap.

  • Fit beats presence. "No service mesh / no CQRS" is a finding only when a trigger is present.
  • Decide per interaction, not per system. Sync vs event-driven is chosen per boundary-crossing call (see references/patterns.md → Communication style).
  • Distributed monolith is worse than a monolith. Shared DB + coupled deploys pays the distributed tax with none of the independence.
  • Reversible steps. Prefer modular monolith, façade, outbox over premature service split or event-sourcing everywhere.

How to reason — Observe → Interpret → Classify → Severity

  1. Observe — topology signals + the file:line (or "searched, none found")
  2. Interpret — is there a present pain, a named future trigger, or no trigger?
  3. Classify — Implemented / Partial / Missing / N/A, then Adopt now / Adopt when / Defer
  4. Severity — dual-write, cascade-outage, silent inconsistency = Critical; Missing with no trigger = over-engineering, not a gap

Read the full file on GitHub · 266 lines

Files

What ships with it

1 file 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. 4d ago First seen · 266 lines · 59 tokens per session scan A e7e739074c45

Subscribe to this mod's changes

audit-backend-architecture is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 10d ago), licensed MIT. It adds 59 tokens to every session and 4,462 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

firebase-auth

Use when setting up auth, managing auth state, implementing email/password or social sign-in, handling auth errors, or managing users.

evanca/flutter-ai-rules · 29 tokens

firebase-cloud-functions

Use when calling callable functions (httpsCallable), passing data to server-side logic, handling function errors/timeouts, configuring regions, or testing with the Emulator Suite.

evanca/flutter-ai-rules · 36 tokens

031-architecture-adr-functional-requirements

Facilitates conversational discovery to create Architectural Decision Records (ADRs) for functional requirements covering CLI, REST/HTTP APIs, or both. Use when the user wants to document command-line or HTTP service architecture, capture functional requirements, create ADRs for CLI or API projects, or design…

jabrena/plinth · 115 tokens

302-frameworks-spring-boot-rest

Use when you need to design, review, or improve REST APIs with Spring Boot — including HTTP methods, resource URIs, status codes, DTOs, versioning, deprecation and sunset headers, content negotiation (JSON and vendor media types), ISO-8601 instants in DTOs, pagination/sorting/filtering, Bean Validation at the…

jabrena/plinth · 177 tokens

305-frameworks-spring-boot-modulith

Use when you need to design, review, or improve modular monoliths with Spring Modulith in Spring Boot applications - including application module package structure, ApplicationModules verification, named interfaces, allowed dependencies, domain events, @ApplicationModuleTest, Scenario-based module tests, generated…

jabrena/plinth · 130 tokens

401-frameworks-quarkus-core

Use when building or reviewing core Quarkus applications with CDI beans and scopes, SmallRye Config and profiles, lifecycle, interceptors and events, virtual threads, and test-friendly design. This should trigger for requests such as Review Java code for Quarkus application structure and CDI; Apply best practices for…

jabrena/plinth · 117 tokens