reliability

reliability is a skill for Claude Code from dean0x/devflow. It costs 20 tokens per session (1,096 once invoked), scanned A, original, MIT.

A set of code-review instructions focused on runtime reliability, including bounded loops, controlled resource use, and checked assumptions.

In plain words
What is it for?
Use it when reviewing loops, retries, pagination, resource lifetimes, memory use, assertions, and deeply indirect code.
Why use it?
It helps identify code that may run forever, retry without a limit, allocate too much, or rely on unchecked conditions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when reviewing loops, retries, pagination, resource lifetimes, memory use, assertions, and deeply indirect code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dean0x/devflow/reliability
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 dean0x/devflow --skill reliability
Clone the repo
git clone --depth 1 https://github.com/dean0x/devflow

Made for: Claude Code.

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 reliability

README.md
[![agentmods](https://agentmods.dev/badge/skills/dean0x/devflow/reliability/github.svg)](https://agentmods.dev/skills/dean0x/devflow/reliability)
Your own site
<a href="https://agentmods.dev/skills/dean0x/devflow/reliability"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/reliability/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 reliability

Your own site · 80×15
<a href="https://agentmods.dev/skills/dean0x/devflow/reliability"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/reliability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,096 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00020 $0.01096
Opus 5.5 $0.00008 $0.00438
Sonnet 5.5 $0.00004 $0.00219
Haiku 4.5 $0.00002 $0.00110

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

Security

Grade A, and why

reliability scanned grade A with 1 finding 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 7d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const res = await fetch(url);
src/assets/skills/reliability/SKILL.md · 154 lines

How it starts

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

Reliability Patterns

Domain expertise for runtime reliability and defensive bounds analysis. Use alongside devflow:review-methodology for complete reliability reviews.

Iron Law

EVERY OPERATION MUST TERMINATE AND EVERY RESOURCE MUST BE BOUNDED

Adapted from NASA/JPL's "Power of Ten" rules for safety-critical code [1]: every loop must have a fixed upper bound, every resource must have a known lifetime, and every assumption must be checked by an assertion. Unbounded operations are latent outages.


Reliability Categories

1. Bounded Iteration [1]

All loops, retries, and pagination must terminate after a known maximum.

Violation: Unbounded retry loop

while (true) {
  const res = await fetch(url);
  if (res.ok) break;
  await sleep(1000);
}

Solution: Fixed upper bound with explicit failure

const MAX_RETRIES = 5;
for (let attempt = 0; attempt < MAX_RETRIES; attempt++) {
  const res = await fetch(url);
  if (res.ok) return res;
  await sleep(1000 * 2 ** attempt);
}
throw new Error(`Failed after ${MAX_RETRIES} attempts`);

2. Assertion Density [1]

Assert preconditions and invariants in production code, not just tests.

Violation: Silent assumption

function processPayment(order: Order) {
  const total = order.items.reduce((sum, i) => sum + i.price, 0);
  chargeCard(order.paymentMethod, total);
}

Solution: Explicit precondition checks

function processPayment(order: Order) {
  assert(order.items.length > 0, 'Cannot process empty order');
  assert(order.paymentMethod != null, 'Missing payment method');
  const total = order.items.reduce((sum, i) => sum + i.price, 0);
  assert(total > 0, 'Order total must be positive');
  chargeCard(order.paymentMethod, total);
}

3. Allocation Discipline [1]

Minimize allocation in hot paths — prefer pre-sized collections, pools, or arenas.

Violation: Allocation in tight loop

func processEvents(events []Event) []Result {
    var results []Result
    for _, e := range events {
        buf := make([]byte, 4096)  // alloc per iteration
        results = append(results, process(e, buf))
    }
    return results
}

Read the full file on GitHub · 154 lines

Files

What ships with it

4 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. 7d ago Changed · -8 tokens per session c4f8a801cdff
  2. 1mo ago First seen · 154 lines · 28 tokens per session scan A 65d275afe2ac

Subscribe to this mod's changes

reliability is a skill published in the GitHub repository dean0x/devflow (20 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 1,096 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

find-simplifications

Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…

QwenLM/qwen-code · 103 tokens

swarm-pr-review

Run a graph-guided, tool-augmented PR review using context packing, parallel exploration, mandatory repository-agnostic risk-family coverage with dispatch scaled to diff size and risk, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive…

ZaxbyHub/opencode-swarm · 91 tokens

pr-review-canvas

Create a OpenBitFun Canvas for reviewing a pull request, branch diff, or change set with Cursor-style diff cards, review maps, risk callouts, and focused reviewer flow. Use when the user asks for a PR review canvas, diff walkthrough, change-set overview, or visual review summary.

GCWing/BitFun · 64 tokens

code-review

You are a senior code reviewer. You receive diffs via stdin.

jrswab/axe · 0 tokens

review

Adversarial fresh-context review and risk check of an increment before it ships; every finding cites path:line and is re-verified. Use for "review", "qa", "quality check", "critique this".

anton-abyzov/specweave · 45 tokens

tech-debt-ci-review

Codex adapter for deep technical-debt and CI-stability audits. Use when asked to find test theater, flaky tests, missing or mis-scoped tests, brittle CI/toolchain behavior, structural debt blocking green PRs, or a remediation order for opencode-swarm.

ZaxbyHub/opencode-swarm · 61 tokens