audit-backend-architecture

audit-backend-architecture is a skill for Claude Code from kensaurus/cursor-kenji. It costs 58 tokens per session (4,463 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 Code

Written for Claude Code: effort in frontmatter.

Part of the cursor-kenji plugin — 132 skills, 63 commands, 6 agents, 1 hook, 3 MCP servers shipped together

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.

Or install cursor-kenji, the plugin that ships this one along with the rest of its 132 skills, 63 commands, 6 agents, 1 hook, 3 MCP servers.

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/github.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/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 audit-backend-architecture

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,463 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.00058 $0.04463
Opus 5.5 $0.00023 $0.01785
Sonnet 5.5 $0.00012 $0.00893
Haiku 4.5 $0.00006 $0.00446

Measured 1mo ago against content hash 63a470ec29b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 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 current 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 · 267 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. 1mo ago Changed · +1 lines · -1 tokens per session 63a470ec29b3
  2. 1mo 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 26d ago), licensed MIT. It adds 58 tokens to every session and 4,463 once invoked, about $0.0002 per session on Opus 5.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.