prompt-optimizer
MCP Server that offers high-performance prompt optimization server with real-time streaming, pattern-based enhancement, and comprehensive session management capabilities.
Install / Use
claude mcp add nivlewd1 -- npx -y github:nivlewd1/prompt-optimizerIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of prompt-optimizer
prompt-optimizer scores 76/100 on our quality scale, 3706th of 4,638 Development & Engineering skills we index.
Its MCP Server is 11 KB long, well organised into 19 sections with 2 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 3 days ago, so prompt-optimizer is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 85/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
prompt-optimizer compared with similar skills
All 4 of these similar skills score higher than prompt-optimizer; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| prompt-optimizer (this skill)by nivlewd1 | 76 | 10 | 3d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 105.7k | 4d ago | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 104.7k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.2k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 67.2k | 1d ago | CLAUDE.md |
Frequently asked questions
- How do I install prompt-optimizer?
- Run
claude mcp add nivlewd1 -- npx -y github:nivlewd1/prompt-optimizer. The install tabs above show the steps for each supported agent. - Which AI agents does prompt-optimizer work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is prompt-optimizer safe to use?
- It declares no license and scores 85/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is prompt-optimizer still maintained?
- The repository was last updated 3 days ago, so prompt-optimizer is actively maintained.
Skill content
View source on GitHubPrompt Optimizer: The Universal AI Architect & Scaffolding Platform
An MCP server, a web dashboard, a local rules-based package and a set of free Claude Code skills for prompt optimization and agentic scaffolding.
License split: the
skill/directory (Claude Code Skills) is free and open-source under MIT — no account, no signup. Everything else in this repo (backend, MCP packages, web dashboard) is Commercial — see the rootLICENSE.
🌟 The Four-Tier Ecosystem
Prompt Optimizer has four parts: a cloud MCP server, a local package, a web dashboard, and Claude Code skills.
1. ☁️ Cloud Pro (v3.8.6)
The cloud MCP server. Optimizes prompts through an LLM rewriting pipeline with context detection, a template library with version history, and streaming (AG-UI). Pro is a single-user plan; shared quotas and team features are Enterprise.
2. 🔒 Local Core (v4.1.10)
A rules-based version that optimizes prompts on your own machine using 129 built-in rules, with no prompt text sent to the backend. The free tier needs no key and makes no network calls; a Basic or Pro license key is validated against the backend.
3. 🖥️ Web Dashboard
The command center at promptoptimizer.xyz. Manage API keys, configure Personal Model Choice (via OpenRouter), track analytics, and run evaluations (quick evaluate, datasets, cross-model comparison).
4. ⚡ Claude Code Skills (MIT, zero-friction)
Free Claude Code Skills distilling this platform's methodology into pure in-context instructions. No npm install, no API key, no license key, no external process — copy the SKILL.md you want into .claude/skills/<name>/ and Claude Code loads it directly. Each is MIT-licensed, separate from this repo's Commercial license covering the backend and MCP packages — see skill/LICENSE. Install steps and a one-line summary of each skill: skill/README.md.
skill/prompt-optimizer/SKILL.md— this platform's optimization methodology (context classification, sophistication assessment, optimization moves, parameter preservation). A weaker sibling to Cloud Pro and Local Core (no LLM-based optimization tier, no persistent history/quota/templates), positioned as the zero-account entry point.skill/context-cartographer/SKILL.md— assembles high-signal repository context before non-trivial implementation, debugging, or review work.skill/empirical-diagnostician/SKILL.md— forces evidence-based debugging: mandatory log extraction, a Fast-Track bypass for unambiguous single-token defects, a hypothesis matrix for anything more complex, and a Root-Cause Contract before any edit. Validated against a fixed behavioral benchmark (6/6 disposable-repo runs, independent pytest oracle).skill/prompt-evaluation-engineer/SKILL.md— turns prompts into reproducible evaluation protocols: contracts, balanced test matrices, deterministic checks before semantic rubrics, evidence preservation, and regression-safe comparisons.skill/prompt-injection-guard/SKILL.md— detects, classifies, and responds to prompt-injection against an LLM application: input and output inspection, graded severity with a confidence factor, tiered response strategy, fail-mode and per-check latency budget, and outbound tool-argument hardening.skill/agent-prompt-architect/SKILL.md— architects the system prompt, context budget, and tool contract of an AI agent as one system: an agent contract, a cache-stable context budget, tool-contract engineering, explicit stop conditions split into prompt-side and harness-enforced, and evaluation-driven iteration.skill/prompt-complexity-triage/SKILL.md— decides how much to change a prompt before changing it: five consumer-anchored scoring dimensions plus a non-summed technical-density risk cap, fixed thresholds mapping to four tiers (leave as-is, light touch, structured rewrite, full rebuild), meaning-preservation guardrails with a mandatory pre-output preservation check, and a visible triage line every run so the tier decision is auditable.skill/subagent-dispatch-economics/SKILL.md— decides whether delegating work to a subagent is worth its cost: a four-question delegation test, a fork-vs-fresh-vs-inline shape selection with an explicit tiebreaker, a prompt-scoping contract for briefing zero-context fresh agents, wave-sizing rules for parallel dispatch, and a visible dispatch line every decision so the delegation call is auditable.skill/context-drift-auditor/SKILL.md— audits whether a long-running prompt or agent run has drifted from its original contract across turns, retrieved sources, edits, and version changes: a versioned context ledger, a unified drift-and-resolution table, field-scoped authority rules, a reconstructed context packet, per-item dispositions (including quarantining untrusted retrieved content), and a gate decision (proceed, ask first, revalidate, or stop) before the next side-effecting action.skill/eval-suite-auditor/SKILL.md— audits an existing evaluation pipeline (LLM judges, assertions, repair or regression gates) for silent failure by probing it: maps every score entry point and its consumers, probes 14 failure classes (dead or partial judge, unparseable replies, hidden aggregation failures, conflicting thresholds, judge noise against the decision margin, stored placeholder rows) with a positive control each, checks calibration honestly, and reports verified findings with real-data exposure.skill/ambition-calibrator/SKILL.md— decides whether a task request should be made more ambitious, then rewrites it deeper rather than bigger: a bypass for small or ceilinged tasks, a goal ladder (Altitude), the raw inputs and professional methods a top practitioner would use (Depth), lenses from adjacent fields that each run a concrete check (Range), a confirmation gate before anything widens scope or cost, and an outside judge whose unedited output is shown, or an explicit UNVERIFIED label when none exists. Based on Felix Rieseberg's post "How to be more ambitious".
🚀 Quick Start
Step 1: Install the MCP Package
# Install the cloud-connected version (recommended)
npm install -g mcp-prompt-optimizer
Step 2: Get Your API Key
- Visit promptoptimizer.xyz/pricing
- Choose your tier (Free tier includes 20 optimizations/month, no credit card required).
- API keys follow the format:
sk-opt-*,sk-team-*, orsk-local-*.
Step 3: Configure Your MCP Client
Run npx mcp-prompt-optimizer connect to have the package write this into your MCP client's config, or add it yourself. Claude Desktop reads ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/.config/Claude/claude_desktop_config.json (Linux):
{
"mcpServers": {
"prompt-optimizer": {
"command": "npx",
"args": ["mcp-prompt-optimizer"],
"env": {
"OPTIMIZER_API_KEY": "sk-o…[redacted]"
}
}
}
}
🧠 Intelligent Optimization Pipeline
The backend routes each prompt by complexity: a rules-based pass for simple prompts, LLM optimization for complex ones, and a hybrid tier in between. If the backend is unreachable, the npm package applies a structured local fallback (confidence 0.35 to 0.55).
🤖 Context Engineer (CE) Suite
Free accounts get a small monthly allowance: 3 basic SOPs and 1 full skill package, for the Claude Code and Ollama targets on the default model. Pro adds 3 full skill builds a month, advanced steps and the other agent targets. Enterprise allowances are custom.
Transform vague goals into production-ready agentic scaffolding directly in your IDE.
generate_agent_sop: Generate structured Standard Operating Procedures for AI agents.generate_skill_package: Create a complete skill package (SOP + SKILL.md + reference + examples).transform_for_framework: Convert SOPs into native code for LangChain, AutoGen, or Claude Code.
🛠️ Available MCP Tools
| Tool | Description |
|---|---|
| optimize_prompt | Optimize a prompt with context-aware techniques. |
| detect_ai_context | Automatically detect intent (Code, Image, Research, etc.). |
| search_templates | Browse your history and reusable optimization patterns. |
| get_quota_status | Monitor your real-time usage and subscription limits. |
| get_ce_quota_status | Check Context Engineer credits and workflow availability. |
🎨 AI Context Detection
Automatically applies specialized goals for:
- 💻 Code Generation: Technical accuracy, parameter preservation, precision.
- 🎨 Image Generation: Midjourney/DALL-E syntax, style boosters, camera settings.
- 📊 Structured Output: JSON/Schema integrity, YAML, CSV transformations.
- 💬 Human Communication: Tone adjustment, clarity, formal/informal shifts.
- 🧠 LLM Interaction: Research, analysis, and complex-explanation prompts. (Also detected: API automation, technical automation, data analysis.)
🎛️ Personal Model Choice
Don't be locked into one model. On Pro, configure your own OpenRouter key in the dashboard and choose the model used for your optimizations. Free accounts use the default model.
💰 Subscription Plans
| Plan | Price | Optimizations/mo | Features | |---|---|---|---| | Free | $0/mo | 20 | No credit card required; default model; 3 basic SOPs and 1 full skill package a month | | Pro | $19/mo | 500 | Model choice, 3 full skill builds a month, advanced Context Engineering steps | | Enterprise | Custom | Custom | Custom allowances; team features and shared quotas |
🔒 Security & Privacy
- Encrypted Transmission: All traffic uses HTTPS (TLS 1.2 or newer, with HSTS).
- Scoped Retention: Optimizations that produce a result are saved to your own template library, stored in Supabase Postgres (encrypted at rest by the provider). They are not shared across users or used to train models.
- Local Option:
mcp-prompt-optimizer-localprocesses prompts on your machine. The free tier needs no key and makes no network calls; with a license key, only the key is checked with the backend.
📞 Support & Resources
- Documentation: promptoptimizer.xyz/documentation
- Dashboard: promptoptimizer.xyz/dashboard
- Email: support@promptoptimizer.xyz
Transforming AI interactions through professional prompt engineering.
Related Skills
Agent-Reach
105.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
104.7kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
headroom
78.2kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
67.2kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
