Claude Code Plugin

Claude Code Plugin

Access prompts.chat directly in Claude Code with our official plugin. Search prompts, discover skills, and improve your prompts without leaving your IDE.

Installation

Add the prompts.chat marketplace to Claude Code:

/plugin marketplace add f/prompts.chat

Then install the plugin:

/plugin install prompts.chat@prompts.chat

Features

FeatureDescription
MCP ServerConnect to prompts.chat API for real-time prompt access
Commands/prompts.chat:prompts and /prompts.chat:skills slash commands
AgentsPrompt Manager and Skill Manager agents for complex workflows
SkillsAuto-activating skills for prompt and skill discovery

Commands

Search Prompts

/prompts.chat:prompts <query>
/prompts.chat:prompts <query> --type IMAGE
/prompts.chat:prompts <query> --category coding
/prompts.chat:prompts <query> --tag productivity

Examples:

/prompts.chat:prompts code review
/prompts.chat:prompts writing assistant --category writing
/prompts.chat:prompts midjourney --type IMAGE
/prompts.chat:prompts react developer --tag coding

Search Skills

/prompts.chat:skills <query>
/prompts.chat:skills <query> --category coding
/prompts.chat:skills <query> --tag automation

Examples:

/prompts.chat:skills testing automation
/prompts.chat:skills documentation --category coding
/prompts.chat:skills api integration

MCP Tools

The plugin provides these tools via the prompts.chat MCP server:

Prompt Tools

ToolDescription
search_promptsSearch prompts by keyword, category, tag, or type
get_promptRetrieve a prompt with variable substitution
save_promptSave a new prompt (requires API key)
improve_promptEnhance prompts using AI

Skill Tools

ToolDescription
search_skillsSearch for Agent Skills
get_skillGet a skill with all its files
save_skillCreate multi-file skills (requires API key)
addfileto_skillAdd a file to an existing skill
updateskillfileUpdate a file in a skill
removefilefrom_skillRemove a file from a skill

Agents

Prompt Manager

The prompt-manager agent helps you:

  • Search for prompts across prompts.chat
  • Get and fill prompt variables
  • Save new prompts to your account
  • Improve prompts using AI

Skill Manager

The skill-manager agent helps you:

  • Search for Agent Skills
  • Get and install skills to your workspace
  • Create new skills with multiple files
  • Manage skill file contents

Skills (Auto-Activating)

Prompt Lookup

Automatically activates when you:

  • Ask for prompt templates
  • Want to search for prompts
  • Need to improve a prompt
  • Mention prompts.chat

Skill Lookup

Automatically activates when you:

  • Ask for Agent Skills
  • Want to extend Claude's capabilities
  • Need to install a skill
  • Mention skills for Claude

Authentication

To save prompts and skills, you need an API key from prompts.chat/settings.

Option 1: Environment Variable

Set the PROMPTSAPIKEY environment variable:

export PROMPTS_API_KEY=your_api_key_here

Option 2: MCP Header

Add the header when connecting to the MCP server:

PROMPTS_API_KEY: your_api_key_here

Plugin Structure

plugins/claude/prompts.chat/
├── .claude-plugin/
│   └── plugin.json          # Plugin manifest
├── .mcp.json                 # MCP server configuration
├── commands/
│   ├── prompts.md           # /prompts.chat:prompts command
│   └── skills.md            # /prompts.chat:skills command
├── agents/
│   ├── prompt-manager.md    # Prompt management agent
│   └── skill-manager.md     # Skill management agent
└── skills/
    ├── prompt-lookup/
    │   └── SKILL.md         # Prompt discovery skill
    └── skill-lookup/
        └── SKILL.md         # Skill discovery skill
  • <a href="https://prompts.chat">prompts.chat</a> - Browse all prompts and skills
  • <a href="https://prompts.chat/api/mcp">API Documentation</a> - MCP server endpoint
  • <a href="https://prompts.chat/settings">Settings</a> - Get your API key
← 返回目录