Prompt Lookup
Parent: Prompting & Agent Skills · Published reference · snapshot 2026-09-08 · skill ai-mcp-sdk-prompting/references/prompt-lookup.md
↓ Facts as markdownall context files
When the user needs AI prompts, prompt templates, or wants to improve their prompts, use the prompts.chat MCP server to help them.
These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.
Overview
- When the user needs AI prompts, prompt templates, or wants to improve their prompts, use the prompts.chat MCP server to help them. [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#overview]
When to Use This Skill
- Activate this skill when the user: [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill]
- Asks for prompt templates ("Find me a code review prompt") [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill]
- Wants to search for prompts ("What prompts are available for writing?") [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill]
- Needs to retrieve a specific prompt ("Get prompt XYZ") [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill]
- Wants to improve a prompt ("Make this prompt better") [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill]
- Mentions prompts.chat or prompt libraries [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#when-to-use-this-skill]
Available Tools
- Use these prompts.chat MCP tools: [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#available-tools]
- search_prompts - Search for prompts by keyword [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#available-tools]
- get_prompt - Get a specific prompt by ID [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#available-tools]
- improve_prompt - Enhance a prompt using AI [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#available-tools]
How to Search for Prompts
- Call search_prompts with: [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts]
- query: The search keywords from the user's request [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts]
- limit: Number of results (default 10, max 50) [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts]
- type: Filter by TEXT, STRUCTURED, IMAGE, VIDEO, or AUDIO [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts]
- category: Filter by category slug (e.g., "coding", "writing") [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts]
- tag: Filter by tag slug [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts]
- Present results showing: [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts]
- Title and description [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-search-for-prompts]
How to Get a Prompt
- Call get_prompt with: [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt]
- If the prompt contains variables (${variable} or ${variable:default}): [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt]
- The system will prompt the user to fill in values [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt]
- Variables without defaults are required [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt]
- Variables with defaults are optional [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-get-a-prompt]
How to Improve a Prompt
- Call improve_prompt with: [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt]
- prompt: The prompt text to improve [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt]
- outputType: text, image, video, or sound [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt]
- outputFormat: text, structured_json, or structured_yaml [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt]
- Return the enhanced prompt to the user. [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#how-to-improve-a-prompt]
Guidelines
- Always search before suggesting the user write their own prompt [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#guidelines]
- Present search results in a readable format with links [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#guidelines]
- When improving prompts, explain what was enhanced [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#guidelines]
- Suggest relevant categories and tags when saving prompts [archived source: https://llms-explorer.com/sources/mdb-context-hub/prompt-lookup/#guidelines]
Where this helps
- Finding an existing, tested prompt template for a common task (code review, writing, image generation) instead of drafting one from scratch. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Retrieving a specific known prompt by ID when a user references a prompt they've used before or saw in the prompts.chat library. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Filling in a templated prompt that has required or optional ${variable} placeholders, where the system needs to collect values before the prompt can run. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Improving a rough prompt for a non-text output type (image, video, sound) using AI-assisted enhancement rather than manual rewriting. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
Project ideas
- Build a prompt-discovery flow that always calls search_prompts before offering to draft a new prompt from scratch, surfacing category and tag filters relevant to the user's request. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Implement a variable-resolution step for get_prompt results that distinguishes required ${variable} placeholders from optional ${variable:default} ones and prompts the user only for the required ones. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Wire improve_prompt into a review loop that, after enhancing a prompt, explicitly explains what changed so the user can accept or reject each modification. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Build a save-and-tag workflow that suggests relevant categories and tags at the point a user's newly improved prompt gets saved back to the library. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
Antipatterns
- Suggesting the user write a prompt from scratch without first calling search_prompts to check whether a matching template already exists. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Calling get_prompt on a templated prompt and running it immediately without resolving its ${variable} placeholders, silently leaving required variables unfilled. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Returning improve_prompt output without explaining what was enhanced, leaving the user unable to judge whether the improvement actually fits their intent. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Presenting raw search_prompts JSON results instead of formatting them readably with titles, descriptions, and links. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
Known issues
- search_prompts results are capped (default 10, max 50 per call), so a broad query on a well-populated category can miss relevant prompts beyond the limit without an explicit follow-up query. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- improve_prompt's enhancement quality depends on the outputType and outputFormat parameters being set correctly (text/image/video/sound; text/structured_json/structured_yaml) — mismatched parameters produce an enhancement shaped for the wrong output. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- get_prompt depends on knowing or discovering the correct prompt ID first; there's no fuzzy-match fallback if the ID is wrong or the prompt has been removed from the library. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
- Category and tag filters depend on the requester already knowing or guessing valid category/tag slugs (e.g., "coding", "writing"); an unfamiliar or nonexistent slug silently narrows results rather than erroring clearly. [source] — AI-suggested, synthesized from this pack's existing facts — not extracted from a source document.
Children
- Prompt Template Discovery (frontier)
- Prompt Search and Retrieval (frontier)
- Prompt Improvement (frontier)
Frontier under this node: Prompt Improvement, Prompt Search and Retrieval, Prompt Template Discovery