home / skills / f / prompts.chat / prompt-lookup

This skill helps you discover, retrieve, and improve AI prompts using prompts.chat MCP tools for prompt templates and libraries.

npx playbooks add skill f/prompts.chat --skill prompt-lookup

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
2.1 KB
---
name: prompt-lookup
description: Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
---

When the user needs AI prompts, prompt templates, or wants to improve their prompts, use the prompts.chat MCP server to help them.

## When to Use This Skill

Activate this skill when the user:

- Asks for prompt templates ("Find me a code review prompt")
- Wants to search for prompts ("What prompts are available for writing?")
- Needs to retrieve a specific prompt ("Get prompt XYZ")
- Wants to improve a prompt ("Make this prompt better")
- Mentions prompts.chat or prompt libraries

## Available Tools

Use these prompts.chat MCP tools:

- `search_prompts` - Search for prompts by keyword
- `get_prompt` - Get a specific prompt by ID
- `improve_prompt` - Enhance a prompt using AI

## How to Search for Prompts

Call `search_prompts` with:

- `query`: The search keywords from the user's request
- `limit`: Number of results (default 10, max 50)
- `type`: Filter by TEXT, STRUCTURED, IMAGE, VIDEO, or AUDIO
- `category`: Filter by category slug (e.g., "coding", "writing")
- `tag`: Filter by tag slug

Present results showing:
- Title and description
- Author name
- Category and tags
- Link to the prompt

## How to Get a Prompt

Call `get_prompt` with:

- `id`: The prompt ID

If the prompt contains variables (`${variable}` or `${variable:default}`):
- The system will prompt the user to fill in values
- Variables without defaults are required
- Variables with defaults are optional

## How to Improve a Prompt

Call `improve_prompt` with:

- `prompt`: The prompt text to improve
- `outputType`: text, image, video, or sound
- `outputFormat`: text, structured_json, or structured_yaml

Return the enhanced prompt to the user.

## Guidelines

- Always search before suggesting the user write their own prompt
- Present search results in a readable format with links
- When improving prompts, explain what was enhanced
- Suggest relevant categories and tags when saving prompts

Overview

This skill helps you discover, retrieve, and improve AI prompts using the prompts.chat MCP server. It connects search, fetch, and enhancement tools so you can find community prompts, pull a specific prompt by ID, or get AI-assisted improvements quickly. Use it to browse categories, fill prompt variables, and export polished templates for your workflows.

How this skill works

The skill first searches the prompts.chat index by keywords, category, tag, type, and result limit to return relevant prompt entries with title, description, author, category, tags, and links. It can fetch a specific prompt by ID and detect variables that require user input. For improvement, it sends the prompt text to an enhancement endpoint and returns a revised prompt plus a short changelog explaining what was improved.

When to use it

  • You need a ready-made prompt template (e.g., code review, blog outline, persona-based assistant).
  • You want to search community prompts across categories, tags, and types.
  • You have a prompt you want improved or reformatted for a specific model/output.
  • You want to fetch a prompt by ID and fill required variables before running it.
  • You mention prompts.chat or ask for prompt libraries and examples.

Best practices

  • Always run a search first to reuse existing community prompts before drafting from scratch.
  • Specify desired output type and format (text, structured JSON/YAML) when requesting improvements.
  • Provide any required variable values when fetching a prompt to avoid follow-up questions.
  • Ask for suggested categories and tags if you plan to save or share an improved prompt.
  • Review the changelog returned after improvement to understand edits and adjust tone or constraints.

Example use cases

  • Find high-quality prompts for generating API docs or technical explanations.
  • Retrieve a marketing email prompt by ID and fill recipient variables before sending.
  • Improve a draft prompt to be more explicit for GPT-4 or other specific LLMs.
  • Search prompts tagged "code-review" to build a consistent engineering checklist.
  • Convert a free-text prompt into structured JSON for automated pipelines.

FAQ

Can this skill edit prompts for different output types?

Yes. You can request improvements tailored to text, image, video, or sound and choose output format like plain text or structured JSON/YAML.

What happens if a prompt has variables?

The system will prompt you to supply required variables. Defaults are optional; missing required variables must be filled before use.