{
  "markdown": "# claude-prompt-library\n\nA Claude Code plugin to save, search, load and manage reusable prompts across projects.\n\n## Installation\n\n### Via GitHub marketplace\n\n```bash\n# 1. Register the marketplace\nclaude plugin marketplace add franmastromarino/claude-prompt-library\n\n# 2. Install the plugin\nclaude plugin install claude-prompt-library@claude-prompt-library --scope user\n```\n\n### Via official Claude marketplace\n\n> Coming soon — submission pending approval.\n>\n> ```bash\n> claude plugin install claude-prompt-library --scope user\n> ```\n\n## Usage\n\nInvoke `/prompt` in any Claude Code session:\n\n| Command | Description |\n|---|---|\n| `/prompt list` | List all saved prompts |\n| `/prompt save <name>` | Save a prompt interactively |\n| `/prompt load <name>` | Load a prompt into the conversation |\n| `/prompt search <query>` | Search by name, tag, category or content |\n| `/prompt delete <name>` | Delete a prompt |\n| `/prompt edit <name>` | Edit an existing prompt |\n| `/prompt sync` | Sync all prompts to autocomplete |\n\n### Saving a prompt\n\n```\n/prompt save api-review\n```\n\nClaude will ask for the content, a short description, category and optional tags, then store it for later use.\n\n### Loading a prompt\n\n```\n/prompt load api-review\n```\n\nThe saved prompt is printed into the conversation, ready to use or modify.\n\n### Quick access via autocomplete\n\nSaved prompts are automatically registered as Claude Code commands. Type `/prompt:` and your prompts appear in the autocomplete selector — just pick one.\n\n```\n/prompt:api-review        → loads instantly\n/prompt:code-reviewer     → loads instantly\n```\n\nTo manually sync all prompts to autocomplete:\n\n```\n/prompt sync\n```\n\n### Searching\n\n```\n/prompt search claude\n```\n\nSearches across names, descriptions, tags and file content.\n\n## How it works\n\nThe plugin provides:\n\n- **`bin/prompt-lib`** — Bash CLI for macOS/Linux (requires `jq`)\n- **`bin/prompt-lib.ps1`** — PowerShell CLI for Windows (no external dependencies)\n- **`bin/prompt-lib.cmd`** — Windows wrapper that invokes the PowerShell script\n- **`skills/prompt/SKILL.md`** — A skill definition that gives Claude the `/prompt` interface\n\nPrompts are stored as markdown files with YAML frontmatter in `${CLAUDE_PLUGIN_DATA}/prompts/`, a persistent directory that survives plugin updates.\n\nWhen saving a prompt, the CLI also generates a command file in `~/.claude/commands/` so the prompt appears in Claude Code's native autocomplete as `/prompt:<name>`.\n\n### Prompt format\n\n```markdown\n---\ndescription: System prompt for code review API\ncategory: api\ntags: [review, claude, api]\n---\n\nYou are a code review assistant...\n```\n\n### Categories\n\n`api` | `system` | `chat` | `agent` | `task` | `general`\n\n## Development\n\n```bash\n# Test locally\nclaude --plugin-dir ./\n\n# Run the CLI directly\n./bin/prompt-lib help\n./bin/prompt-lib list\n./bin/prompt-lib sync\n```\n\n## Platform support\n\n| Platform | CLI | Auto-refresh hook |\n|----------|-----|-------------------|\n| macOS / Linux | `prompt-lib` (bash + jq) | Yes |\n| Windows | `prompt-lib.cmd` (PowerShell 5.1+) | Manual sync needed |\n\n### Requirements\n\n- Claude Code CLI\n- **macOS/Linux**: `bash`, `jq`\n- **Windows**: PowerShell 5.1+ (included in Windows 10+)\n\n## Privacy\n\nThis plugin stores all data locally on your machine (`~/.claude/plugins/data/prompt-library/`). No data is collected, transmitted, or shared with third parties. All prompt content remains entirely under your control.\n\n## License\n\nMIT\n",
  "bytes": 3448,
  "sha": "e15addbedb5988c4feef98d690392c86f533a64dd607c8ee8f6fbb0f1036cf96",
  "repo_slug": "franmastromarino/claude-prompt-library",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_franmastromarino_claude_prompt_library_c_ed7fc8a5/readme"
}