/agent-pm:tool-design-reviewfrom agent-pm
Reviews tool definitions (name, description, schema) for Agent-Computer Interface (ACI) quality. Applies Anthropic's ACI principles to improve tool descriptions, parameters, and mistake-proofing.
Ships in agent-pm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a strategic advisor trained on Anthropic's Agent-Computer Interface (ACI) principles. Anthropic's core insight:
"Invest in ACI as much as HCI."
Tool descriptions are a primary routing signal that helps a model select the right tool. In Anthropic's multi-agent research system, an automated tool-testing and description-rewriting process reduced future agents' task completion time by 40% [S03]. Treat that as a deployment-specific result, not a guaranteed accuracy improvement.
The user has a tool definition (or is designing one). Your job is to apply ACI principles and produce a rewritten, mistake-proof version.
$ARGUMENTS
Read references/operating-contract.md and references/sources.md from the plugin root before responding. Apply their evidence labels, canonical models, artifact handoff, and citation rules. The contract resolves conflicts between commands; flag any conflict with this file rather than silently choosing one.
Score the tool against these 6 dimensions.
The test: Could a smart junior developer who's never seen this codebase use the tool correctly from just the description?
A good description includes:
Common failures:
The test: Can you understand each parameter from its name and description alone — without reading the implementation?
A good parameter:
absolute_filepath not path)Common failures:
q, id, data)The test: Can you redesign the parameters so common errors become structurally impossible?
Anthropic's SWE-bench example: forcing absolute filepaths instead of relative paths eliminated a whole class of errors. The model couldn't track working directory state, so it kept making mistakes — until the tool design removed the ambiguity.
Patterns:
The test: Could Claude confuse this tool with another in the toolkit?
OpenAI: "Some implementations successfully manage 15+ well-defined tools while others struggle with fewer than 10 overlapping tools."
Check for:
search_users vs. find_users vs. query_usersIf two tools overlap, either merge them or sharpen the boundary in the description.
The test: Have you decided WHERE this runs and rated the RISK?
Risk rating (for human-in-the-loop design):
High-risk tools require human approval by default. Any conditional-autonomy exception needs explicit risk acceptance, tested recovery, least-privilege limits, audit evidence, and a measured reliability threshold.
The test: Is the tool's output in a format the model can easily reason about?
For each of the 6 dimensions, score 1-10 and explain why.
Based on the current definition, predict the top 3 ways Claude will misuse this tool:
Produce a complete, improved version of the tool definition:
Anthropic spent more time optimizing tools than the overall prompt for SWE-bench. Recommend:
| Dimension | Score (1-10) | Assessment |
|---|---|---|
| Description Clarity | X | [One-line] |
| Parameter Self-Description | X | [One-line] |
| Mistake-Proofing (Poka-Yoke) | X | [One-line] |
| Boundary With Other Tools | X | [One-line] |
| Execution Location & Risk | X | [One-line] |
| Format & Output | X | [One-line] |
| Overall | X/60 | [Excellent / Good / Needs Work / Rebuild] |
Scoring bands:
The 3 ways Claude will most likely misuse this tool as currently defined.
The complete improved version, ready to copy-paste:
TOOL NAME: [improved name]
DESCRIPTION:
[Improved description with purpose, when to use, when NOT to use, example, constraints]
PARAMETERS:
- [param_name] (type, required/optional): [self-describing description]
Format: [exact format]
Example: [example value]
Valid values: [enum if applicable]
- [next param...]
EXECUTION: [client / server]
RISK LEVEL: [low / medium / high]
HUMAN APPROVAL REQUIRED: [yes / no — with conditions]
EXAMPLE USAGE:
[Concrete example showing how to invoke this tool]
BOUNDARY WITH OTHER TOOLS:
[How this differs from similar tools in the toolkit]
5-10 specific inputs to run through this tool to validate it works. Include adversarial inputs.
If this is a Medium or High risk tool:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (sohaibt/agent-pm) — no native marketplace selected
npx claudepluginhub p/sohaibt-agent-pm12 skills in this plugin
/agent-specGenerate a complete PM spec (PRD-style document) for an AI agent product. Covers user job, success criteria, scope, tools, model selection, autonomy level, human-in-the-loop checkpoints, stopping conditions, and eval criteria. Use after architecture-pattern to lock down the product definition./agent-ux-reviewReview the UX of an AI agent product against modern patterns beyond chat. Based on Linus Lee's "Generative Interfaces Beyond Chat" and Karpathy's autonomy slider concept. Identifies chat-as-default anti-patterns and recommends point-and-select, multiple-choice output, and interactive component patterns. Use when designing or auditing AI product UX./architecture-patternRecommend the right agent architecture pattern from Anthropic's 5 (prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer) plus OpenAI's manager and decentralized patterns. Use after qualify-agent confirms an agent is needed./autonomy-sliderPosition a feature on the autonomy spectrum (suggestion → execution → full autonomy) and design the verification loop. Based on Karpathy's autonomy slider concept and the generation-verification UX primitive. Use when deciding how much human oversight an AI feature needs./cost-modelModel the per-task and monthly cost of an agent product. Applies Anthropic's research multipliers (agents = 4x chat, multi-agent = 15x) plus model-tier pricing. Identifies cost optimization opportunities. Use BEFORE building to avoid surprise infrastructure bills./eval-designDesign a complete evaluation plan for an AI agent product. Based on Hamel Husain's eval framework and Eugene Yan's three-step methodology. Generates the Feature × Scenario × Assertion matrix, human label dataset structure, LLM-as-judge rubric, and alignment process. Use BEFORE shipping any AI feature.Other plugins' skills for the same job