AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

The Prompt Library

mcp-juliusbrussee-the-prompt-library · by JuliusBrussee

A curated collection of production‑ready AI prompts with MCP integration, organised for humans and machines alike.

No reviews yet
0 installs
31 views
0.0% view→install

Install

$ agentstack add mcp-juliusbrussee-the-prompt-library

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-juliusbrussee-the-prompt-library)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
stale · 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of The Prompt Library? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

The Prompt Library

> A curated collection of production-ready AI prompts, organised for humans and machines alike.

[](https://github.com/juliusbrussee/the-prompt-library/stargazers) [](https://juliusbrussee.github.io/the-prompt-library/) [](LICENSE)


Why this library?

  • Ready-to-Run: Each prompt is a self-contained YAML file with a clear role, objective, and requirements.
  • Searchable & Hackable: Browse prompts on the website or access them programmatically with the provided tools.
  • Quality-Gated: Every contribution is linted and validated by CI to maintain high standards.
  • Includes AI System Prompts: Contains system prompts from a variety of AI models, including Codex, ChatGPT, Claude, Cluely, Lovable, and more.
  • Community-Driven: Contributions are welcome via Discussions, Issues, or Pull Requests.

Getting Started

Follow these steps to set up the project and its tools on your local machine.

1. Set Up the Project

First, clone the repository and navigate into the project directory:

git clone https://github.com/juliusbrussee/the-prompt-library.git
cd the-prompt-library

2. Install Dependencies

It is recommended to use a virtual environment. Then, install the required Python packages using pip:

# Create and activate a virtual environment (optional but recommended)
python3 -m venv .venv
source .venv/bin/activate

# Install dependencies
pip install -r src/prompt_toolkit/requirements.txt

3. Build the Search Index

The library uses a JSON index for fast prompt searching. Build it by running:

python3 -m src.prompt_toolkit.build_index

You only need to run this once initially, or whenever you add or modify prompt files.


Usage

You can interact with the prompt library in several ways: as a command-line tool, by running automated workflows, or by connecting to it as an MCP server.

1. Find and Use Prompts (CLI)

The interactive script (src/prompt_toolkit/interactive.py) is the primary way to find and use prompts.

  • find : Searches the library for prompts matching your keywords.
  • get : Retrieves the single best-matching prompt.
  • get --interactive: Starts a guided session to select a prompt and fill in its placeholders.

Examples:

# Find relevant prompts by keyword
python3 -m src.prompt_toolkit.interactive find "code documentation"

# Get the best prompt for a task
python3 -m src.prompt_toolkit.interactive get "Create a unit test for my function"

# Use interactive mode to get help with a code review
python3 -m src.prompt_toolkit.interactive get "code review" --interactive

2. Run Automated Workflows

Workflows chain multiple prompts together to accomplish complex tasks. They are defined in .workflow.yaml files inside the /prompt_workflows directory.

How to Run a Workflow:

Use the src/prompt_toolkit/workflow.py script to execute a workflow file.

# Example: Transform a user story into code and tests
python3 -m src.prompt_toolkit.workflow run prompt_workflows/user-story-to-code-test.workflow.yaml

# Example: Generate a content marketing campaign
python3 -m src.prompt_toolkit.workflow run prompt_workflows/content-marketing-campaign.workflow.yaml

3. Test Prompts (WIP)

The testing framework validates a prompt's output against a set of assertions using a real LLM. Tests are defined in .test.yaml files in the /tests directory.

LLM Configuration:

  1. Install LLM Libraries:

``bash pip install google-generativeai openai ``

  1. Set API Keys: For the tool to work, you must set your LLM provider's API key as an environment variable.

``bash export GEMINI_API_KEY="YOUR_API_KEY" export OPENAI_API_KEY="YOUR_API_KEY" ``

  1. Configure Defaults (Optional): You can set a default LLM provider and model in a mcp_config.yaml file at the project root.

``yaml # mcp_config.yaml llm_config: default_provider: gemini default_model: gemini-pro ``

How to Run Tests:

Use the src/prompt_toolkit/testing.py script to run a test file.

# Run a test file using the default configured LLM
python3 -m src.prompt_toolkit.testing tests/unit_test_generator.test.yaml

# Override the LLM provider and model for a specific run
python3 -m src.prompt_toolkit.testing tests/unit_test_generator.test.yaml --llm-provider openai --llm-model gpt-4

4. Use as an MCP Server

The library includes a server that exposes its tools over the Model Context Protocol (MCP), allowing clients like the Gemini CLI to connect to it.

Running the Server:

Once you have installed dependencies and built the index, you can start the server:

python3 -m src.prompt_toolkit.mcp_server

Connecting with Gemini CLI:

To connect the Gemini CLI to the server, create a .gemini/settings.json file in the root of this project with the following content:

{
    "mcpServers": {
        "prompt-library": {
            "command": "python3",
            "args": [
                "-m",
                "src.prompt_toolkit.mcp_server"
            ],
            "transport": "stdio",
            "trust": "trusted"
        }
    }
}

With this file in place, running /mcp in the Gemini CLI from this directory will connect to the server and list its available tools.


Project Structure

prompt-library/
├── data/                   # CSV / JSON bulk exports
├── docs/                   # Website source code
├── prompts/                # Individual YAML prompts split by domain
├── prompt_workflows/       # Definitions for multi-step prompt sequences
├── schemas/                # YAML schemas for prompts, tests, and workflows
├── src/                    # Python source code for all tooling
│   └── prompt_toolkit/
└── tests/                  # Definitions for prompt test cases

Prompt Schema

All prompts adhere to a standard YAML format for consistency and machine readability.

| Field | Description | | --------------- | ----------------------------------------- | | role | Persona framing the assistant | | objective | One-sentence goal of the task | | requirements | Bullet list of must-haves | | placeholders | List of dynamic tokens like {topic} | | output_format | Expected structure (e.g., Markdown table) | | tags | Optional keywords for search |

The official schema is defined in [schemas/prompt.schema.yaml](schemas/prompt.schema.yaml).


Contributing

We love new prompts! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for style guidelines and open a PR. If you’re unsure, create a Discussion first.


License

MIT © Julius Brussee

If you use this library in academic work, please cite it.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.