# Agent Spec (agent skill)

> Agent Spec is an agent skill (a SKILL.md file) from mohitagw15856/pm-claude-skills. Specify an autonomous or tool-using AI agent before building it. It works with Claude Code, Codex and Cursor and has 1,430 GitHub stars across a repository of 2 listed skills.

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. An agent is a model plus tools plus a loop — and the danger lives in the tools and the loop, not the model.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/mohitagw15856/pm-claude-skills |
| Skill path | skills/agent-spec/SKILL.md |
| Skill name | agent-spec |
| GitHub stars | 1,430 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 2 |
| Plugin marketplace | pm-claude-skills |
| Official | no |
| Works with | Claude Code, Codex, Cursor |
| Category | Docs & writing |
| Last commit | Oct 6, 2026 |

## When it triggers

- 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.

## Add this skill

### Claude Code

```sh
/plugin marketplace add mohitagw15856/pm-claude-skills
/plugin   # browse pm-claude-skills and install the plugin that contains agent-spec
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git
cp -r pm-claude-skills/skills/agent-spec .agents/skills/agent-spec   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git
cp -r pm-claude-skills/skills/agent-spec .cursor/skills/agent-spec   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/mohitagw15856-agent-spec
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
