by minipuft
Provides hot‑reloadable prompt templates with chainable steps, quality gates, and structured reasoning frameworks for Claude and compatible MCP clients.
Claude Prompts enables developers to manage, edit, and execute AI prompt templates directly from MCP‑compatible clients. Prompts can be hot‑reloaded, combined into multi‑step chains, wrapped with methodological frameworks, and guarded by quality gates, allowing autonomous or assisted AI workflows.
{
"mcpServers": {
"claude-prompts": {
"command": "npx",
"args": ["-y", "claude-prompts@latest"]
}
}
}
Add the JSON to the MCP configuration file of your client (Claude Desktop, Cursor, Zed, etc.) and restart the client./plugin marketplace add minipuft/minipuft-plugins # first‑time only
/plugin install claude-prompts@minipuft
>>tech_evaluation_chain library:'zod' context:'API validation'
>>prompt_name – execute a prompt.--> – pipe output to the next step (chain).@Framework – inject a reasoning framework (e.g., @CAGEERF).:: – attach a quality gate.%modifier – toggle behavior such as %judge.MCP_RESOURCES_PATH=/my/prompts.npm install && npm run build, then point the MCP config to server/dist/index.js.--> with automatic data passing.@CAGEERF, @ReACT, etc.).:: 'cite sources') that Claude self‑validates.%judge lets Claude pick the most appropriate tools for a task.npm test) until they pass.Q: Do I need Node.js installed? A: Yes, Node.js (v14+ recommended) is required for the NPX installation and for building from source.
Q: Can I use Claude Prompts with other LLM providers? A: The server is model‑agnostic; it works with any MCP‑compatible client, including Gemini via a separate extension.
Q: How do I add my own prompt files?
A: Place them under a directory and set MCP_RESOURCES_PATH (or the more specific MCP_PROMPTS_PATH) in the server’s environment.
Q: What if a gate fails? A: The server can automatically retry, pause for user input, or abort based on the gate’s severity configuration.
Q: Is there a way to see prompt version history?
A: Yes, use resource_manager(action:"history", id:"<prompt_id>") and resource_manager(action:"rollback", ...) to navigate versions.
Q: How do I contribute?
A: Clone the repo, run npm install && npm run build && npm test. Submit pull requests following the CONTRIBUTING guidelines.
Hot-reloadable prompts with chains, gates, and structured reasoning for AI assistants.
Quick Start • Features • Syntax • Docs
Step 1: Add the plugin marketplace (first time only)
/plugin marketplace add minipuft/minipuft-plugins
Step 2: Install the plugin
/plugin install claude-prompts@minipuft
Step 3: Try it
>>tech_evaluation_chain library:'zod' context:'API validation'
The plugin adds hooks that fix common issues:
| Problem | Hook Fix |
|---|---|
Model ignores >>analyze |
Detects syntax, suggests correct MCP call |
| Chain step forgotten | Injects [Chain] Step 2/5 - continue |
| Gate review skipped | Reminds GATE_REVIEW: PASS|FAIL |
Raw MCP works, but models sometimes miss the syntax. The hooks catch that. → hooks/README.md
User Data: Custom prompts stored in ~/.local/share/claude-prompts/ persist across updates.
The Gemini CLI extension is maintained in a separate repository for cleaner distribution:
# Install from the dedicated Gemini extension repo
gemini extensions install https://github.com/minipuft/gemini-prompts
The extension provides the same tools (prompt_engine, resource_manager, system_control) with Gemini-optimized hooks and context files.
→ Repository: github.com/minipuft/gemini-prompts
Works with the same prompts, gates, and methodologies as Claude Code. See the gemini-prompts README for hooks setup.
| Method | Best For | Updates |
|---|---|---|
| GitHub Release (.mcpb) | Quick install, offline use | Manual download |
| NPX | Auto-updates, always latest | Automatic |
GitHub Release (recommended):
1. Download claude-prompts-{version}.mcpb from:
→ github.com/minipuft/claude-prompts/releases/latest
2. Drag into Claude Desktop Settings → MCP Servers
3. Done. Set custom prompts folder when prompted (optional).
The .mcpb bundle is self-contained (~5MB)—no npm install or node_modules required.
NPX (auto-updates):
// ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
// %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"claude-prompts": {
"command": "npx",
"args": ["-y", "claude-prompts@latest"]
}
}
}
The npm package is also self-contained—all dependencies bundled, no postinstall required.
Restart Claude Desktop. Test it:
>>research_chain topic:'remote team policies' purpose:'handbook update'
| Method | When to Use |
|---|---|
| 1-Click Install | From Cursor or local README preview |
| Manual Config | From GitHub web (deeplinks blocked) |
1-Click Install (from Cursor):
Note: The button above uses
cursor://protocol which works in Cursor's README preview but not on GitHub's web interface.
Manual Config (works everywhere):
~/.cursor/mcp.json){
"mcpServers": {
"claude-prompts": {
"command": "npx",
"args": ["-y", "claude-prompts@latest"]
}
}
}
resource_manager(resource_type:"prompt", action:"list")Add to your MCP configuration file:
{
"mcpServers": {
"claude-prompts": {
"command": "npx",
"args": ["-y", "claude-prompts@latest"]
}
}
}
For contributing or customizing the server itself:
git clone https://github.com/minipuft/claude-prompts.git
cd claude-prompts/server
npm install
npm run build # Creates bundled dist/index.js (~4.5MB)
npm test # Verify everything works
Point your MCP config to server/dist/index.js. The esbuild bundle is self-contained—no node_modules required at runtime.
Note: server/dist/ is not committed to git. You must run npm run build after cloning.
Transport options: --transport=stdio (default), --transport=streamable-http (for HTTP clients).
Use your own prompts without cloning:
{
"mcpServers": {
"claude-prompts": {
"command": "npx",
"args": ["-y", "claude-prompts@latest"],
"env": {
"MCP_RESOURCES_PATH": "/path/to/your/resources"
}
}
}
}
Your resources directory can contain: prompts/, gates/, methodologies/, styles/.
| Override Method | Example |
|---|---|
| All resources | MCP_RESOURCES_PATH=/path/to/resources |
| Just prompts | MCP_PROMPTS_PATH=/path/to/prompts |
| CLI flag (dev) | --prompts=/path/to/prompts |
Priority: CLI flags > individual env vars > MCP_RESOURCES_PATH > package defaults.
See CLI Configuration for all options.
Edit prompts, test immediately. Better yet—ask Claude to fix them:
User: "The code_review prompt is too verbose"
Claude: resource_manager(action:"update", id:"code_review", ...)
User: "Test it"
Claude: prompt_engine(command:">>code_review") # Uses updated version instantly
Break complex tasks into steps with -->:
analyze code --> identify issues --> propose fixes --> generate tests
Each step's output flows to the next. Add quality gates between steps.
Inject structured thinking patterns:
@CAGEERF Review this architecture # Context → Analysis → Goals → Execution → Evaluation → Refinement
@ReACT Debug this error # Reason → Act → Observe loops
Quality criteria Claude self-checks:
Summarize this :: 'under 200 words' :: 'include key statistics'
Failed gates can retry automatically or pause for your decision.
Let Claude pick the right tools:
%judge Help me refactor this codebase
Claude analyzes available frameworks, gates, and styles, then applies the best combination.
Every update is versioned. Compare, rollback, undo:
resource_manager(action:"history", id:"code_review")
resource_manager(action:"rollback", id:"code_review", version:2, confirm:true)
Save working directory state before risky changes. Restore instantly if something breaks:
# Checkpoint before refactoring
resource_manager(resource_type:"checkpoint", action:"create", name:"pre-refactor")
# Something broke? Rollback to checkpoint
resource_manager(resource_type:"checkpoint", action:"rollback", name:"pre-refactor", confirm:true)
# List all checkpoints
resource_manager(resource_type:"checkpoint", action:"list")
Uses git stash under the hood. Pairs with verification gates for safe autonomous loops.
Ground-truth validation via shell commands—Claude keeps trying until tests pass:
# You say this:
>>implement-feature :: verify:"npm test" loop:true
# Claude does this:
# 1. Implements feature
# 2. Runs npm test → FAIL
# 3. Reads error, fixes code
# 4. Runs npm test → FAIL
# 5. Tries again...
# 6. Runs npm test → PASS ✓
# You get working code.
Context Isolation: After 3 failed attempts, spawns a fresh Claude instance with session context—no context rot, fresh perspective, automatic handoff.
| Preset | Max Tries | Timeout | Use Case |
|---|---|---|---|
:fast |
1 | 30s | Quick iteration |
:full |
5 | 5 min | CI validation |
:extended |
10 | 10 min | Large test suites |
See Ralph Loops Guide for autonomous verification patterns and cost tracking.
| Symbol | Name | What It Does | Example |
|---|---|---|---|
>> |
Prompt | Execute template | >>code_review |
--> |
Chain | Pipe to next step | step1 --> step2 |
@ |
Framework | Inject methodology | @CAGEERF |
:: |
Gate | Add quality criteria | :: 'cite sources' |
% |
Modifier | Toggle behavior | %clean, %judge |
# |
Style | Apply formatting | #analytical |
Modifiers:
%clean — No framework/gate injection%lean — Gates only, skip framework%guided — Force framework injection%judge — Claude selects best resources# Inline (quick)
Research AI :: 'use recent sources' --> Summarize :: 'be concise'
# With framework
@CAGEERF Explain React hooks :: 'include examples'
# Programmatic
prompt_engine({
command: ">>code_review",
gates: [{ name: "Security", criteria: ["No hardcoded secrets"] }]
})
| Severity | Behavior |
|---|---|
| Critical/High | Must pass (blocking) |
| Medium/Low | Warns, continues (advisory) |
See Gates Guide for full schema.
Customize via server/config.json:
| Section | Setting | Default | Description |
|---|---|---|---|
prompts |
directory |
prompts |
Prompts directory (hot-reloaded) |
frameworks |
injection.systemPrompt |
enabled | Auto-inject methodology guidance |
gates |
definitionsDirectory |
gates |
Quality gate definitions |
execution |
judge |
true |
Enable %judge resource selection |
| Tool | Purpose |
|---|---|
prompt_engine |
Execute prompts with frameworks and gates |
resource_manager |
CRUD for prompts, gates, methodologies, checkpoints |
system_control |
Status, analytics, health checks |
prompt_engine(command:"@CAGEERF >>analysis topic:'AI safety'")
resource_manager(resource_type:"prompt", action:"list")
resource_manager(resource_type:"checkpoint", action:"create", name:"backup")
system_control(action:"status")
The feedback loop: Command with operators → Parse and inject methodology/gates → Claude executes and self-evaluates → Route: next step (PASS), retry (FAIL), or return result (done).
cd server
npm install
npm run build # esbuild bundles to dist/index.js
npm test # Run test suite
npm run validate:all # Full CI validation
The build produces a self-contained bundle (~4.5MB). server/dist/ is gitignored—CI builds fresh from source.
See CONTRIBUTING.md for workflow details.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
{
"mcpServers": {
"claude-prompts": {
"command": "npx",
"args": [
"-y",
"claude-prompts@latest"
],
"env": {}
}
}
}claude mcp add claude-prompts npx -y claude-prompts@latest