Multi-tool prompt optimizer (ZCode, Claude Code, Codex, DSH, MimoCode, OpenCode, Reasonix): /optimize command and optimize_prompt MCP tool
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"prompt-optimizer-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# prompt-optimizer-mcp v1.1.1 > **作者 / Author:** goodie1972 > **GitHub:** https://github.com/goodie1972/prompt-optimizer > **PyPI:** https://pypi.org/project/prompt-optimizer-mcp/1.1.1/ --- ## 简介 / Introduction **中文:** 一个 ZCode 提示词优化 MCP 工具包,提供 `optimize_prompt` MCP 工具和 `/optimize` 命令,通过 LLM 优化提示词,使其更清晰、更具体、更可执行。 **English:** A ZCode prompt optimizer MCP package that provides the `optimize_prompt` MCP tool and `/optimize` command. It uses LLM to refine prompts, making them clearer, more specific, and more actionable. --- ## 安装 / Installation ### 中文 ```bash pip install prompt-optimizer-mcp ``` ### English ```bash pip install prompt-optimizer-mcp ``` --- ## 在 ZCode 中使用 / Usage in ZCode ### 中文 安装后在 ZCode 的 MCP 配置中添加: ### English After installation, add the following to your ZCode MCP configuration: ```json { "mcpServers": { "prompt-optimizer": { "command": "prompt-optimizer-mcp", "env": {} } } } ``` --- ## 配置 / Configuration ### 中文 在 `~/.zcode/mcp/prompt-optimizer/.env` 中设置 API Key: ```env OPTIMIZE_API_KEY=你的key OPTIMIZE_BASE_URL=https://你的地址/v1 OPTIMIZE_MODEL=模型名 ``` 或直接设置环境变量: ```env AGNES_API_KEY=... # 或 / or OPENAI_API_KEY=... ``` ### English Set your API Key in `~/.zcode/mcp/prompt-optimizer/.env`: ```env OPTIMIZE_API_KEY=your-api-key OPTIMIZE_BASE_URL=https://your-endpoint/v1 OPTIMIZE_MODEL=model-name ``` Or set environment variables directly: ```env AGNES_API_KEY=... # or OPENAI_API_KEY=... ``` --- ## 使用 / Usage ### 中文 **作为 MCP 工具:** AI 在对话中自动调用 `optimize_prompt` 工具: ```python optimize_prompt(prompt="写一个Python脚本读取CSV") # 返回:写一个Python脚本,读取指定路径的CSV文件... ``` **作为命令行工具:** 启动 MCP 服务器: ```bash prompt-optimizer-mcp ``` ### English **As an MCP tool:** The AI automatically invokes the `optimize_prompt` tool during conversations: ```python optimize_prompt(prompt="Write a Python script to read a CSV file") # Returns: Write a Python script that reads a CSV file from a specified path... ``` **As a CLI tool:** …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.