os-clovy: Skill for Claude Code

.agents/skills/os-rust-backend/SKILL.md

os-rust-backend is a skill for Claude Code, Codex from open-software-network/os-clovy. It costs 246 tokens per session (4,434 once invoked), scanned A, original, MIT.

A set of conventions for building Rust backends as Cargo workspaces, which organise related Rust packages into one project, using seven separate crates for areas such as domain logic, storage, APIs, and the application.

In plain words
What is it for?
It helps scaffold services, add API endpoints, define standard responses, manage configuration, and extend backends that follow the Open Software Network style.
Why use it?
It gives new services a consistent structure and keeps business rules separate from HTTP, PostgreSQL, and external providers.

Skill for Claude CodeCodex

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

This is open-software-network/os-clovy's own configuration. It tells Claude Code and Codex how to work on os-clovy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything os-clovy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to open-software-network/os-clovy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/open-software-network/os-clovy/main/.agents/skills/os-rust-backend/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/open-software-network/os-clovy

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 os-rust-backend

README.md
[![agentmods](https://agentmods.dev/badge/skills/open-software-network/os-clovy/os-rust-backend/github.svg)](https://agentmods.dev/skills/open-software-network/os-clovy/os-rust-backend)
Your own site
<a href="https://agentmods.dev/skills/open-software-network/os-clovy/os-rust-backend"><img src="https://agentmods.dev/badge/skills/open-software-network/os-clovy/os-rust-backend/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 os-rust-backend

Your own site · 80×15
<a href="https://agentmods.dev/skills/open-software-network/os-clovy/os-rust-backend"><img src="https://agentmods.dev/badge/skills/open-software-network/os-clovy/os-rust-backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 246 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,434 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.00246 $0.04434
Opus 5.5 $0.00098 $0.01774
Sonnet 5.5 $0.00049 $0.00887
Haiku 4.5 $0.00025 $0.00443

Measured 1mo ago against content hash fd9c4c34848c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

os-rust-backend 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.

.agents/skills/os-rust-backend/SKILL.md · 260 lines

How it starts

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

Open Software backend (Rust)

This skill captures the house style used by os-accounts and os-platform (the fellow codebase). Both repositories were built independently and converged on the same shape — that convergence is not coincidence, it is the recipe. Follow it when starting a new service or extending one of these two, and your code will look at home in either repo.

The recipe in one sentence: a Cargo workspace of small, pointed crates where the domain doesn't know about HTTP, services don't know about Postgres, the API doesn't know about Privy or Stripe, and the binary wires it all together.

Read this file, then open the reference that matches the work.

Route the request first

If the user asks for... Open first Non-negotiable
"scaffold a new backend" / "start a service like os-accounts" workspace-layout.md Seven crates, exact names: domain / services / persistence / providers / config / api / app.
"add an endpoint" / "what should this handler return" api-envelope.md Every endpoint returns ApiResponse<T>. Error code bands map to HTTP status.
"where do I read DATABASE_URL" / "add a new config knob" config-and-providers.md Never std::env::var. Add a typed field to *-config, plumb it down.
"wire up Stripe / Privy / a new external API" config-and-providers.md Define a trait in *-domain, implement in *-providers, inject Arc<dyn Trait> in app/main.rs.
"add a table / write a query / run a migration" persistence.md sqlx + MIGRATIONS!. Repository structs in *-persistence. Enum columns get CHECK constraints.
"test the new endpoint" / "how do I mock Privy" testing.md Unit = no I/O; integration = real Postgres + wiremock; e2e = HTTP against a deployed service.
"containerize it for GHCR" dockerfile.md cargo-chef multi-stage, debian-slim runtime, non-root user, ENTRYPOINT is the binary.

Read the full file on GitHub · 260 lines

Files

What ships with it

6 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. 1mo ago First seen · 260 lines · 246 tokens per session scan A fd9c4c34848c

Subscribe to this mod's changes

os-rust-backend is a skill published in the GitHub repository open-software-network/os-clovy (356 stars, last pushed 2d ago), licensed MIT. It adds 246 tokens to every session and 4,434 once invoked, about $0.0010 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-08-30.

Related

Other skills, from other repositories

personal-commands

Edit hex.config.ts, not .hex-sdk. Config and installed dependencies execute with the user's normal permissions; use only trusted packages and avoid network, filesystem, environment, or subprocess access unless the requested command requires it. Run bun run check after editing.

anomalyco/hex · 0 tokens

hex-personal-commands

Configure HEX personal voice commands, voice-dictation control phrases, and deterministic transcript transformations. Use when the user wants to add or change commands or transformations for the HEX macOS voice app.

anomalyco/hex · 44 tokens

starcat-supports-ops

A set of procedures for running and maintaining Starcat’s self-hosted Go services locally and on Fly.io, a cloud hosting platform. It covers service status, health checks, secrets, backups, and data restoration.

starcat-app/Starcat · 97 tokens

s-gw

Use s-gw when working with credentials, private keys, API tokens, SSH identities, browser credentials, or other sensitive data in agentic coding workflows. Prefer typed handles and local approved execution over exposing raw secret values to a model.

sgateway/s-gw · 51 tokens

rust-engineer

Writes, reviews, and debugs idiomatic Rust code with memory safety and zero-cost abstractions. Implements ownership patterns, manages lifetimes, designs trait hierarchies, builds async applications with tokio, and structures error handling with Result/Option. Use when building Rust applications, solving ownership or…

Jeffallan/claude-skills · 120 tokens

azure-eventhub-rust

Azure Event Hubs library for Rust. Send and receive events for streaming data ingestion and batch processing. Triggers: "event hubs rust", "ProducerClient rust", "ConsumerClient rust", "send event rust", "streaming rust", "eventhub rust".

microsoft/skills · 58 tokens