Agent skill · Documentation

agent-spec

Specify an autonomous or tool-using AI agent before building it. Use when asked to design an AI agent, define an agent's tools and guardrails, scope what an agent is allowed to do, or write an agent spec/PRD. Produces an agent spec — goal & scope, tools with permissions, the control loop, guardrails & approval gates, memory, escalation/handoff, evaluation, and failure handling.

mohitagw15856github.com/mohitagw15856GitHub ↗
claude-codecursorMIT
Install
npx skills add mohitagw15856/pm-claude-skills --skill agent-spec --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/agent-spec/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,255
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Agent Spec Skill An agent is a model plus tools plus a loop — and the danger lives in the tools and the loop, not the model. This skill specifies an agent so its *authority is explicit*: what it can do, what needs a human yes, and what happens when it's wrong. Scope and guardrails first; cleverness second. ## Required Inputs Ask for these only if they aren't already provided: - **Job to be done** — the outcome the agent owns, and the boundary of its authority. - **Tools/actions** — what it can call (read APIs, write actions, code execution), and which are irreversible. - **Autonomy level** — fully autonomous, propose-then-approve, or co-pilot. - **Risk surface** — what's the worst thing a wrong action could do (spend money, send a message, delete data)? - **Success definition & escalation** — how "done" is judged, and when it must hand off to a human. ## Output Format ### Agent Spec: [name] **1. Goal & scope** — the job in one sentence; explicit non-goals and authority limits. **2. Tools / actions** — a table; mark each action's reversibility and required permission. | Tool | Purpose | Reversible? | Gate | |---|---|---|---| | search_kb | read context | yes | none | | send_email |

What's inside
Steps it walks through
  1. Required Inputs
  2. Output Format
  3. Agent Spec: [name]
  4. Quality Checks
  5. Anti-Patterns
  6. Based On
More from pm-claude-skills
All skills →
About this skill
What does the agent-spec skill do?

Specify an autonomous or tool-using AI agent before building it. Use when asked to design an AI agent, define an agent's tools and guardrails, scope what an agent is allowed to do, or write an agent spec/PRD. Produces an agent spec — goal & scope, tools with permissions, the control loop, guardrails & approval gates, memory, escalation/handoff, evaluation, and failure handling.

How do I install it?

Run `npx skills add mohitagw15856/pm-claude-skills --skill agent-spec --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From mohitagw15856/pm-claude-skills, a repository with 1,255 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going