Copy agent

From jpoutrin/product-forge · View interactive version

Copy agent is an AI agent skill from the GitHub repository jpoutrin/product-forge. Copy an agent from Product Forge to user or project level

How to use this skill

Skill file

Copy Agent

Copy an agent from Product Forge plugins to your user-level (~/.claude/) or project-level (.claude/) directory.

Usage

# List available agents
/copy-agent

# Copy to project (default)
/copy-agent product-design:product-architect

# Copy to user level
/copy-agent git-workflow:commit-expert --user

# Explicit project level
/copy-agent python-experts:django-expert --project

Arguments

What Gets Copied

Agents are single markdown files (.md) containing:

Directory Structure

# Project-level (default)
.claude/
└── git-workflow/
    └── agents/
        └── commit-expert.md

# User-level (--user)
~/.claude/
└── git-workflow/
    └── agents/
        └── commit-expert.md

Execution Instructions

When the user runs this command:

No Arguments - List Available Agents

  1. Scan Product Forge plugins cache for all available agents:

```bash

ls ~/.claude/plugins/cache/product-forge-marketplace//agents/.md 2>/dev/null

```

  1. For each plugin with agents, list them with descriptions:
  1. Display formatted list:

```

Available agents from Product Forge:

product-design:

product-architect (sonnet) - Full product development guidance

prd-orchestrator (sonnet) - PRD lifecycle management

qa-tester (sonnet) - Manual QA test procedure creation

web-debugger (sonnet) - Web application debugging

...

git-workflow:

commit-expert (haiku) - Git commit specialist

rebase-expert (haiku) - Git rebase specialist

code-review-expert (sonnet) - Code review orchestrator

...

python-experts:

django-expert (sonnet) - Django web application specialist

fastapi-expert (sonnet) - FastAPI async REST API specialist

...

Usage: /copy-agent <plugin>:<agent-name> [--user | --project]

```

With Arguments - Copy Agent

  1. Parse arguments:
  1. Locate source agent:

```bash

SOURCE=~/.claude/plugins/cache/product-forge-marketplace/{plugin}/agents/{agent-name}.md

```

  1. Determine destination path:
  1. Check if destination exists:

```

Agent '{agent-name}' already exists at {destination}.

Options:

```

  1. Create destination directory structure:

```bash

mkdir -p {destination_dir}

```

  1. Copy agent file:

```bash

cp {source} {destination}

```

  1. Confirm success:

```

Agent copied successfully!

Source: ~/.claude/plugins/cache/product-forge-marketplace/{plugin}/agents/{agent-name}.md

Destination: {destination}

The agent is now available in your {project|user} configuration.

```

Error Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.