agent-spec-generator
БесплатноБез исполняемых скриптовНе проверенWrite a production-ready spec for an AI agent: scope, tools and permissions, autonomy levels, stop rules, escalation, failure modes, evals, and rollout. Use…
от pmprompt★ 61 звезда на GitHubОб этом скилле
Domain Context
This skill implements a proven product management framework. The approach combines best practices from industry leaders and is designed for practical application in day-to-day PM work.
Input Requirements
- Context about your product, feature, or problem
- Relevant data, research, or constraints (recommended but optional)
- Clear articulation of what you're trying to achieve
Agent Spec Generator
An agent is software that decides its own next step and then takes it. That makes the spec different from a PRD: the hard part is not the screens, it is deciding what the agent is allowed to do without a person, when it must stop, and how you will know it is behaving. This skill interviews you first, then fills in a spec template that an engineering team can build against and a reviewer can sign.
When to Use
- You are scoping a new AI agent (support, ops, sales, coding, research, internal tooling)
- An existing assistant is about to gain the ability to take actions, not just answer
- Security, legal, or leadership asks "what exactly can this thing do on its own?"
- You need a shared definition of done before engineering starts
- An agent misbehaved in production and you need to tighten its boundaries
What This Skill Does
Asks a short set of interview questions, then produces a fillable agent spec covering purpose and scope, users, tools and permissions, autonomy levels with criteria, approval boundaries, stop rules, escalation paths, memory and state, data access, failure modes and fallbacks, must-never-do rules, evals and acceptance criteria, observability, and rollout. Gaps are marked as open questions instead of guessed.
Instructions
Step 1 — Interview first
Ask these before writing anything. Group them, keep it to one round if you can, and accept "don't know yet" as an answer (it becomes an open question in the spec).
Job and scope
- What job does the agent do, in one sentence, and for whom?
- What does a successful run look like? What does the user have at the end?
- What is explicitly out of scope, even if the agent could technically do it?
- What happens today without the agent (manual process, existing tool, nothing)?
Users and stakes 5. Who triggers the agent, and who is affected by what it does (they are not always the same people)? 6. What is the worst realistic outcome of a wrong action? Money, data, customers, safety, reputation? 7. Which actions can be undone, and which cannot?
Tools and data 8. Which systems will it read from? Which will it write to? 9. Whose credentials does it act with: the user's, a service account, or its own? 10. What data is sensitive (PII, financial, health, credentials, customer content)?
Autonomy and people 11. Which actions are you comfortable letting it take with no human in the loop, today? 12. Who approves the rest, how fast can they respond, and what happens if they don't? 13. Who is on the hook when it goes wrong (owner, on-call, escalation contact)?
Quality and launch 14. How will you test it before launch? Do you have real examples of the task? 15. What would make you pull it from production? 16. Who signs off on launch and on raising its autonomy later?
Step 2 — Fill in the spec
Use the template below. Keep every section, even if the answer is "not applicable" with a reason. Write rules as checkable statements ("never sends email to an external domain"), not intentions ("be careful with email").
Step 3 — Review it with the user
Close with:
- the open questions, each with a suggested owner
- the three riskiest assumptions in the spec
- the autonomy level you recommend for launch and what evidence would justify raising it
Agent Spec Template
# Agent spec: [agent name]
Owner: [name] · Status: [draft / in review / approved] · Last updated: [date]
## 1. Purpose
- Job to be done: [one sentence]
- Primary users: [who triggers it]
- Affected parties: [who is touched by its actions]
- Success looks like: [observable end state of a good run]
## 2. Scope
| In scope | Out of scope (and why) |
|---|---|
| [task] | [task it must decline or hand off] |
## 3. Tools and permissions
| Tool / system | Read or write | Credential used | Scope limit | Autonomy level |
|---|---|---|---|---|
| [CRM] | write | [service account] | [own region only] | [L1] |
Least privilege: list any permission the agent holds but does not need for launch, and remove it.
## 4. Autonomy levels
| Level | Name | What the agent does | Use when |
|---|---|---|---|
| L0 | Suggest only | Drafts or recommends; a person takes the action | New agent, irreversible or high-cost actions, little eval evidence |
| L1 | Act with approval | Prepares the action and waits for an explicit yes | Reversible but costly, or affects people outside the team |
| L2 | Act and notify | Acts, then tells a named person what it did and how to undo it | Reversible, low blast radius, strong eval results on this action |
| L3 | Fully autono
Установить agent-spec-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agent-spec-generator?
Write a production-ready spec for an AI agent: scope, tools and permissions, autonomy levels, stop rules, escalation, failure modes, evals, and rollout. Use when you are about to build, buy, or expand an AI agent and need engineering, legal, and leadership to agree on what it may and may not do.
Как установить скилл agent-spec-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-spec-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic