ai-agent-reliability

ai-agent-reliability is a cursor rule for Cursor from mohitagw15856/pm-claude-skills. It costs 129 tokens per session (1,278 once invoked), scanned A, original, MIT.

A reliability plan for an AI agent or automation. It maps how the system can fail and matches each failure with a check, test, human approval, or alert.

In plain words
What is it for?
It helps teams test real and difficult cases, verify inputs and outputs, gate risky actions with human approval, and plan a gradual rollout.
Why use it?
It catches malformed tool calls, invented answers, unexpected inputs, silent errors, and runaway loops before they cause real damage.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit It helps teams test real and difficult cases, verify inputs and outputs, gate risky actions with human approval, and plan a gradual rollout.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mohitagw15856/pm-claude-skills/ai-agent-reliability
About the project

PM Skills is a collection of plain-Markdown instructions that teach AI assistants structured methods for handling professional, personal, and life-admin tasks. People use it with Claude, ChatGPT, Gemini, Cursor, Codex, and other supported agents for work such as writing product requirements, reviewing documents, or planning difficult situations.

mohitagw15856/pm-claude-skills · 1,618 stars · on GitHub · mohitagw15856.github.io

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.

Clone the repo
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills

Made for: Cursor.

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 ai-agent-reliability

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/ai-agent-reliability"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/ai-agent-reliability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,278 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.
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.00129 $0.01278
Opus 5.5 $0.00052 $0.00511
Sonnet 5.5 $0.00026 $0.00256
Haiku 4.5 $0.00013 $0.00128

Measured today against content hash 563f98364b00, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-agent-reliability 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 today.

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.

exports/cursor/pm-ai-native/ai-agent-reliability/ai-agent-reliability.mdc · 73 lines

How it starts

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

AI-Agent Reliability

An AI agent that works in a demo and one you can trust in production are different things — the gap is everything that happens when input is messy, the model hallucinates, a tool call goes wrong, or an error fails silently. This maps where your agent can fail and the specific checks that catch each, scaled to the stakes, plus a rollout that earns trust incrementally — so "works sometimes" becomes "works reliably."

What This Skill Produces

  • A failure map — where this agent can go wrong: bad/unexpected input, hallucinated output, wrong or malformed tool calls, unhandled edge cases, silent failures, and runaway loops
  • The catching checks per failure — input validation, output verification, evals on real cases, schema/format checks on tool calls, human-in-the-loop gates, and monitoring/alerts
  • An eval approach — testing on a real set of cases (including the hard ones) so quality is measured, not assumed, and regressions are caught
  • Human-in-the-loop placement — where a human must approve, scaled to consequence (irreversible/external actions gated, low-stakes automated)
  • A right-sized plan — reliability effort matched to the stakes, not gold-plating a low-risk toy or under-testing a high-risk system
  • A trust-building rollout — shadow mode → low-stakes → expand, with monitoring, rather than shipping it everywhere and hoping

Required Inputs

Ask for these if not provided:

  • The agent — what it does, what tools/actions it takes, what it touches
  • The stakes — what a failure costs (drives how hard to test and gate)
  • Where it fails now — the flakiness you've seen (points at the weak spots)
  • Your setup — the framework/tools, and whether you can add evals/monitoring

Framework: Map Failures, Catch Each, Earn Trust

  1. Enumerate the failure modes. Walk the agent's path — input, reasoning, tool calls, output, actions — and name where each step can break. You can't guard what you haven't named.
  2. Attach a check to each. Validation for input, verification for output, schema checks for tool calls, evals for quality, gates for consequential actions — a specific catch per failure.
  3. Build real evals. A set of representative and hard cases, scored — so you know it works and catch regressions before users do.
  4. Gate by consequence. Irreversible or external actions get a human check; low-stakes steps run free. Match the gate to the cost.
  5. Right-size it. Don't over-engineer a low-risk helper or under-test a system that moves money or data — effort follows stakes.
  6. Roll out to earn trust. Shadow mode, then low-stakes live, then expand — with monitoring and alerts — so reliability is proven, not assumed.

Read the full file on GitHub · 73 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. today Changed 563f98364b00
  2. 3d ago Changed 5b2193939bbf
  3. 18d ago Changed cc2237c1cef5
  4. 21d ago Changed · +3 lines 0435f332b58e
  5. 22d ago Changed · +2 lines · -24 tokens per session 6a173d596f8f
  6. 2mo ago First seen · 68 lines · 153 tokens per session scan A c7a0567c07da

Subscribe to this mod's changes

ai-agent-reliability is a cursor rule published in the GitHub repository mohitagw15856/pm-claude-skills (1,618 stars, last pushed yesterday), licensed MIT. It adds 129 tokens to every session and 1,278 once invoked, about $0.0005 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.

Related

ai-agent-reliability compared with cursor rules from other repositories

ai-agent-reliability next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-agent-reliabilitymohitagw15856/pm-claude-skillsCursor rule1.6kyesterdayMITA129Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k5d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor