agent-design-review

agent-design-review is a cursor rule for Cursor from mohitagw15856/pm-claude-skills. It costs 87 tokens per session (1,020 once invoked), scanned A, original, MIT.

A structured review of an AI agent’s design, including its task, control flow, tools, memory, and stopping rules. It examines where the agent may be unreliable, costly, or unsafe.

In plain words
What is it for?
Use it to critique or harden a single-step, multi-step, or tool-using agent, rank fixes, and review side effects such as writing, sending, or paying.
Why use it?
It helps explain failures such as loops, wrong tool calls, lost context, and wasted model usage before they become production problems.

Cursor rule for Cursor

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

Good fit Use it to critique or harden a single-step, multi-step, or tool-using agent, rank fixes, and review side effects such as writing, sending, or paying.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mohitagw15856/pm-claude-skills/agent-design-review
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,352 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 agent-design-review

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/agent-design-review"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/agent-design-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 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,020 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.00087 $0.01020
Opus 5 $0.00044 $0.00510
Sonnet 5 $0.00017 $0.00204
Haiku 4.5 $0.00009 $0.00102

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

Security

Grade A, and why

agent-design-review 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 8d 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.

exports/cursor/pm-ai/agent-design-review/agent-design-review.mdc · 77 lines

How it starts

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

Agent Design Review Skill

Most agents don't fail because the model is weak — they fail because the design lets them loop, call the wrong tool, lose the thread across steps, or burn tokens with no stopping rule. This skill reviews an agent's architecture against the decisions that actually determine reliability, and ranks the fixes — so "it works in the demo but not in prod" becomes a specific list of changes. (Writing a new agent spec? Use agent-spec.)

Working from a brief

Given a sketch ("a research agent that searches, reads, and writes a report"), deliver the full review anyway — infer the likely control flow and tools, label the inference, and flag what to confirm. Never withhold the review for missing detail.

Required Inputs

Ask for these only if they aren't already provided (else infer and label):

  • What the agent does — its goal, and what a successful run produces.
  • Control flow — single prompt, plan-then-execute, ReAct loop, or multi-agent; and the stopping condition.
  • Tools & actions — what it can call, and which actions have side effects (write, send, pay).
  • Memory & context — what state carries across steps, and how context is kept in budget.
  • Constraints — latency, cost per run, and the trust boundary (untrusted input? real-world actions?).

Output Format

Agent Review: [agent]

1. Summary — will this be reliable in production? The top 3 risks and the single change that helps most.

2. Findings by dimension — for each, what's sound and what's fragile:

Dimension Finding Severity Fix
Control flow no max-steps / no progress check → loops High step budget + "am I making progress?" check + halt
Tool use overlapping tools confuse selection Med fewer, sharply-described tools; allowlist
Context full history re-sent each step → cost + drift High summarise/scope memory per step
Failure handling one tool error aborts the run Med retry/backoff + graceful degradation
Safety acts without confirmation on writes High human/confirm gate on side-effecting actions

Read the full file on GitHub · 77 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. 8d ago First seen · 77 lines · 87 tokens per session scan A dbdcea7808fe

Subscribe to this mod's changes

agent-design-review is a cursor rule published in the GitHub repository mohitagw15856/pm-claude-skills (1,352 stars, last pushed 3d ago), licensed MIT. It adds 87 tokens to every session and 1,020 once invoked, about $0.0004 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-09-03.