backend-engineering

backend-engineering is a skill for Claude Code, Codex from openclosed-org/axum-harness. It costs 65 tokens per session (782 once invoked), scanned A, original, Apache-2.0.

A set of rules for building and reviewing backend services in Rust and Axum, a Rust web framework. It focuses on clear boundaries, explicit behavior, and evidence for claims about correctness.

In plain words
What is it for?
Use it when changing or reviewing backend services, servers, workers, contracts, repository tools, or backend documentation.
Why use it?
It helps prevent business logic from leaking into protocol handlers and makes decisions about durable, asynchronous, retryable, or replayable work explicit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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.

agentmods
npx agentmods add skills/openclosed-org/axum-harness/backend-engineering
Any agent
npx skills add openclosed-org/axum-harness --skill backend-engineering
Clone the repo
git clone --depth 1 https://github.com/openclosed-org/axum-harness

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/openclosed-org/axum-harness/backend-engineering.svg)](https://agentmods.dev/skills/openclosed-org/axum-harness/backend-engineering)
Your own site
<a href="https://agentmods.dev/skills/openclosed-org/axum-harness/backend-engineering"><img src="https://agentmods.dev/badge/skills/openclosed-org/axum-harness/backend-engineering.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 782 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00065 $0.00782
Opus 5 $0.00032 $0.00391
Sonnet 5 $0.00013 $0.00156
Haiku 4.5 $0.00006 $0.00078

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

Security

Grade A, and why

backend-engineering 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 6d 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.

.agents/skills/backend-engineering/SKILL.md · 81 lines

How it starts

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

Backend Engineering

Use this skill as the default quality lens for backend harness work.

Workflow skills guide judgment. Ownership skills still decide writable boundaries.

Objective

Keep the template small, explicit, typed, testable, and production-minded without pretending it is production-proven.

Prefer the smallest design that preserves:

  1. backend correctness
  2. hard service, protocol, server, worker, and platform boundaries
  3. topology-late growth
  4. executable evidence
  5. template-user simplicity
  6. agent resistance to drift

Decision Kernel

Before changing backend behavior, answer:

  1. What invariant must not be violated?
  2. Which boundary owns the violated or changed behavior?
  3. What is synchronous, asynchronous, durable, idempotent, replayable, or eventually consistent?
  4. What is the cheapest correct design that restores the invariant?
  5. What evidence can honestly be claimed after this change?

Boundary Rules

  1. services/** are business capability libraries by default, not service processes.
  2. servers/** adapt protocols and compose services; handlers do not own domain logic.
  3. workers/** advance async state and must make retry, idempotency, checkpoint/replay, dedupe, and recovery explicit when touched.
  4. packages/contracts/** owns shared protocol shapes before external API or event changes land elsewhere.
  5. platform/model/** describes platform-level metadata and global defaults; service-local semantics stay in services/<name>/model.yaml.
  6. Generated artifacts are read-only; change sources and regenerate.
  7. Optional app shells and UI packages must not become backend-core prerequisites.

Quality Rules

  1. Represent important invariants in types, constructors, constraints, or final transaction boundaries.
  2. Keep expected failures typed and matchable; do not leak internal dependency details to clients.
  3. Retries for side-effecting work require durable idempotency or an explicit reason they are safe.
  4. Cross-boundary events require a clear atomic state mutation and publication story, usually outbox-driven.
  5. Async work must have bounded concurrency, cancellation/shutdown behavior, timeout or backpressure expectations, and observable failure paths when relevant.
  6. Do not add traits, managers, adapters, compatibility layers, or generic repositories unless they protect a real boundary or remove proven duplication.
  7. Prefer reference-module reuse over new structure, but do not copy business semantics blindly.
  8. Fix the smallest causal closed loop; avoid broad rewrites without an invariant-driven reason.

Read the full file on GitHub · 81 lines

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. 6d ago First seen · 81 lines · 65 tokens per session scan A bedab4b4e34a

Subscribe to this mod's changes

backend-engineering is a skill published in the GitHub repository openclosed-org/axum-harness (49 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 65 tokens to every session and 782 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-08-30.

Related

Other skills, from other repositories

golem-make-http-request-rust

Making outgoing HTTP requests from a Rust Golem agent. Use when the user asks to call an external API, make HTTP requests, use an HTTP client, or send HTTP requests from agent code.

golemcloud/golem · 48 tokens

golem-add-llm-rust

Adding LLM and AI capabilities to a Rust Golem agent. Use when the user wants to add LLM chat, embeddings, web search, vector DB, graph DB, document search, video generation, speech-to-text, text-to-speech, or any AI provider integration.

golemcloud/golem · 65 tokens

golem-retry-policies-rust

Configuring semantic retry policies for a Rust Golem agent. Use when the user asks about retry policies, retry strategies, exponential backoff, error handling retries, transient error recovery, retry predicates, withRetryPolicy, withnamedpolicy, NamedPolicy, Policy composition, jitter, countBox, timeBox, andThen, or…

golemcloud/golem · 81 tokens

sdk-development

Working on the Rust, TypeScript, or MoonBit SDKs in sdks/. Use when modifying SDK code, adding SDK features, or testing SDK changes with the main Golem platform.

golemcloud/golem · 41 tokens

golem-parallel-workers-rust

Fan out work to multiple parallel agents and collect results in a Rust Golem project. Use when the user asks about parallel execution, fan-out/fan-in, spawning child agents for parallel work, forking, or aggregating results from multiple agents.

golemcloud/golem · 58 tokens

golem-add-http-endpoint-rust

Exposing a Rust Golem agent over HTTP. Use when the user asks to add HTTP endpoints, mount an agent to a URL path, or expose agent methods as a REST API.

golemcloud/golem · 46 tokens