# Agent spec generator

> Agent spec generator is an open-source agent skill. Write a production-ready spec for an AI agent: scope, tools and permissions, autonomy levels, stop rules, escalation, failure modes, evals,. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/pmprompt/claude-plugin-product-management/tree/main/skills/agent-spec-generator
- **Repository:** https://github.com/pmprompt/claude-plugin-product-management
- **GitHub stars:** 59
- **License:** MIT
- **Skill name:** agent-spec-generator
- **Collection:** https://github.com/pmprompt/claude-plugin-product-management
- **Listing updated:** 2026-11-17

## About

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.

## When your agent uses it

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/pmprompt/claude-plugin-product-management/tree/HEAD/skills/agent-spec-generator)
- [License: MIT](https://github.com/pmprompt/claude-plugin-product-management/tree/HEAD/skills/agent-spec-generator)

## Install

### Claude Code

This skill ships in the `pmprompt` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add pmprompt/claude-plugin-product-management
/plugin install pmprompt@pmprompt-skills
```

Or copy only this skill to `~/.claude/skills/agent-spec-generator`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pmprompt/claude-plugin-product-management.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agent-spec-generator &&
cp -R "$tmp/skills/agent-spec-generator" ~/.claude/skills/agent-spec-generator &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/agent-spec-generator` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/agent-spec-generator` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pmprompt/claude-plugin-product-management.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agent-spec-generator &&
cp -R "$tmp/skills/agent-spec-generator" ~/.agents/skills/agent-spec-generator &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/agent-spec-generator` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/agent-spec-generator` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pmprompt/claude-plugin-product-management.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agent-spec-generator &&
cp -R "$tmp/skills/agent-spec-generator" ~/.cursor/skills/agent-spec-generator &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/agent-spec-generator` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/pmprompt/claude-plugin-product-management.git --path skills/agent-spec-generator
```

Or copy the folder to `~/.gemini/skills/agent-spec-generator` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/agent-spec-generator`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pmprompt/claude-plugin-product-management.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agent-spec-generator &&
cp -R "$tmp/skills/agent-spec-generator" ~/.copilot/skills/agent-spec-generator &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/agent-spec-generator` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/pmprompt/claude-plugin-product-management.git
```

Then copy `claude-plugin-product-management/skills/agent-spec-generator` into your agent's skills folder as `agent-spec-generator`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Agent spec generator in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/agent-spec-generator to use it in all your projects, or to .claude/skills/agent-spec-generator in one project. Or install the pmprompt plugin, which includes it: /plugin marketplace add pmprompt/claude-plugin-product-management, then /plugin install pmprompt@pmprompt-skills.

### Does Agent spec generator run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Agent spec generator?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

---
Source: https://ai-powered.com/skills/agent-spec-generator
