/ai-product-managers-pack:aipm-agent-specfrom ai-product-managers-pack
Writes an Agent Spec defining goal, done-state, allowed tools, permissions, stop conditions, spend budget, and never-alone actions. Prevents excessive agency in autonomous agents.
Ships in ai-product-managers-pack. 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.
The agent can act on its own and nobody has written where it must stop. It can read the inbox, update records and send replies, and the only limit is a sentence in the prompt. It answers: what may the agent do, with which permissions, when does it stop, and what may it never finish without a person?
If nobody has decided that an agent is needed, run the Workflow or Agent Decision first: a fixed chain needs no agent spec. If the approval points are not designed yet, run Human-in-the-Loop Design first; this spec copies them, it does not invent them.
The structure comes from two public sources. Anthropic Engineering's "Building effective agents" sets the frame: agents trade cost and latency for autonomy, so they need stopping conditions and human checkpoints. The OWASP Top 10 for LLM Applications 2025, entry LLM06 Excessive Agency, names the three root causes to close: too much functionality, too many permissions, too much autonomy. The failure it prevents: an agent asked to tidy a shared folder that had delete rights, read an instruction hidden in a document and did exactly what it said.
# Agent Spec
**Agent:** [name] | **Version:** [number] | **Spec owner:** [role]
## Goal and done-state
[Goal] | Done when: [final state checked in the system]
## Tools and permissions
| Tool | Why the goal needs it | Permission (read / write / scope) | Narrower option considered |
|---|---|---|---|
| [tool] | [reason] | [permission] | [option] |
## Stop conditions
| Condition | Limit | Then |
|---|---|---|
| Steps / time / spend per session / repeated failure / blocker | [set by: name, date] | Stop and hand to [role] |
## Approval points (from Human-in-the-Loop Design)
| Action | Trigger | Approver |
|---|---|---|
| [action] | [trigger] | [role] |
## Never alone
| Action | Logged where | Rate limit |
|---|---|---|
| [action] | [log] | [team sets] |
**Untrusted input (data, never instructions; listed for the red team):** [emails, tickets, web pages, shared files]
## Decision
[Named person] sets the session budget and signs the never-alone list by [date].
Run aipm-tool-descriptions (Tool Descriptions) to write the tools the spec allows.
This pack is made by 90n (90n.ai): AI-native ways of working and tools for Product, Marketing and HR teams, built by ex-McKinsey founders. We map where time and money leak, redesign the work around AI and stay until your people run it themselves, and we run our own company on Claude. If your team has outgrown the self-serve version, message Pauline (linkedin.com/in/paulinebertry).
What SKILL.md sets; muted values are Claude Code's defaults
36 skills in this plugin
/aipm-ai-failure-modesBuilds an AI Failure Modes Map with the failure list per output type, the cost of a false yes and a false no to the user, severity and detection ratings, a graceful failure per mode and a tolerable error rate left blank for a named person. Use for "run aipm-ai-failure-modes", "AI FMEA", "which AI mistakes matter", "leaders expect it to be right every time", "false positives vs false negatives", "graceful failure", "what happens when the AI is wrong", "AI error budget", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-impact-assessmentDrafts an AI Impact Assessment covering who is affected and how, intended use and foreseeable misuse, data used, human oversight, mitigations and residual risk with a named owner, with every legal point marked as a question for an adviser. Use for "run aipm-ai-impact-assessment", "AI impact assessment", "algorithmic impact assessment", "the customer wants an impact assessment", "foreseeable misuse of our AI feature", "who does this feature affect", "residual risk sign-off", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-incident-responseWrites an AI Incident Response Plan for a wrong answer or action that reached customers, with severity levels for AI errors, containment (fallback, switch off, human takeover), a customer correction, an evidence timeline, the fix into the golden dataset and a blameless review. Use for "run aipm-ai-incident-response", "our AI told a customer something wrong", "AI incident playbook", "the chatbot made a promise we cannot keep", "switch off the AI feature", "AI postmortem", "contain an AI failure", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-launch-checklistBuilds an AI Launch Checklist with an owner, a status and an evidence link per line, covering evals passed as run, guardrails on, fallback tested, monitoring and alerts, feedback capture live, support briefed, disclosure in place and rollback rehearsed. Use for "run aipm-ai-launch-checklist", "AI launch checklist", "go-live checklist for an AI feature", "are we ready to launch", "launch readiness review", "what did we forget before launch", "pre-launch checks for our assistant", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-model-selectionBuilds an AI Model Selection Plan with a side-by-side test plan on 20 to 50 real inputs, a quality, latency and cost table per model tier, a pick per task with the evidence row behind it and a re-check date. Use for "run aipm-ai-model-selection", "which model tier should we use", "justify the model choice", "compare models side by side", "cheaper model or stronger model", "model bake-off", "model cost per task", "pick a model for each step", part of the Claude for AI Product Managers Pack by 90n./aipm-ai-prdDrafts an AI PRD with the problem and its evidence, the inputs the model sees, the outputs, a three-line behavior summary, failure handling and fallbacks, data needs, a release bar with blank targets and open questions with owners. Use for "run aipm-ai-prd", "write a PRD for an AI feature", "AI feature spec", "spec for our copilot", "PRD template for an LLM feature", "nobody can test this spec", "turn the prototype into a spec", part of the Claude for AI Product Managers Pack by 90n.npx claudepluginhub polar-bear-org/claude-skills --plugin ai-product-managers-packOther plugins' skills for the same job