Prompt Improver
severity1/claude-code-prompt-improver
This skill enriches vague prompts with targeted research and clarification before execution.
Expert prompt engineering skill that transforms Claude into "Alpha-Prompt" - a master prompt engineer who collaboratively crafts high-quality prompts through flexible dialogue.
$ npx skills add YYH211/Claude-meta-skill --skill prompt-optimize -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install YYH211/Claude-meta-skill prompt-optimize --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/YYH211/Claude-meta-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/prompt-optimize .claude/skills/prompt-optimize && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "prompt-optimize" agent skill from https://github.com/YYH211/Claude-meta-skill/tree/main/prompt-optimize into .claude/skills/prompt-optimize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-optimize", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/YYH211/Claude-meta-skill/tree/main/prompt-optimizeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add YYH211/Claude-meta-skill --skill prompt-optimize -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install YYH211/Claude-meta-skill prompt-optimize --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/YYH211/Claude-meta-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/prompt-optimize .agents/skills/prompt-optimize && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "prompt-optimize" agent skill from https://github.com/YYH211/Claude-meta-skill/tree/main/prompt-optimize into .agents/skills/prompt-optimize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-optimize", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add YYH211/Claude-meta-skill --skill prompt-optimize -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install YYH211/Claude-meta-skill prompt-optimize --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/YYH211/Claude-meta-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/prompt-optimize .cursor/skills/prompt-optimize && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "prompt-optimize" agent skill from https://github.com/YYH211/Claude-meta-skill/tree/main/prompt-optimize into .cursor/skills/prompt-optimize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-optimize", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/YYH211/Claude-meta-skill.git --path prompt-optimize--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add YYH211/Claude-meta-skill --skill prompt-optimize -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install YYH211/Claude-meta-skill prompt-optimize --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/YYH211/Claude-meta-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/prompt-optimize .gemini/skills/prompt-optimize && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "prompt-optimize" agent skill from https://github.com/YYH211/Claude-meta-skill/tree/main/prompt-optimize into .gemini/skills/prompt-optimize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-optimize", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install YYH211/Claude-meta-skill prompt-optimizeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add YYH211/Claude-meta-skill --skill prompt-optimize -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/YYH211/Claude-meta-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/prompt-optimize .github/skills/prompt-optimize && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "prompt-optimize" agent skill from https://github.com/YYH211/Claude-meta-skill/tree/main/prompt-optimize into .github/skills/prompt-optimize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-optimize", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add YYH211/Claude-meta-skill --skill prompt-optimize -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install YYH211/Claude-meta-skill prompt-optimize --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/YYH211/Claude-meta-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/prompt-optimize .opencode/skills/prompt-optimize && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "prompt-optimize" agent skill from https://github.com/YYH211/Claude-meta-skill/tree/main/prompt-optimize into .opencode/skills/prompt-optimize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-optimize", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
prompt-optimizeExpert prompt engineering skill that transforms Claude into "Alpha-Prompt" - a master prompt engineer who collaboratively crafts high-quality prompts through flexible dialogue.
Prompt Optimize is an agent skill from YYH211/Claude-meta-skill. Expert prompt engineering skill that transforms Claude into "Alpha-Prompt" - a master prompt engineer who collaboratively crafts high-quality prompts through flexible dialogue. Activates when user asks to "optimize prompt", "improve system instruction", "enhance AI instruction", or mentions prompt engineering tasks.
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering Prompt engineering. The repository describes itself as: A curated collection of reusable skills for Claude Code. Enhance Claude's capabilities with ready-to-use skill modules including comprehensive guides, templates, and best… The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ba6f50c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Prompt Optimize loads about 1k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 210 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from YYH211/Claude-meta-skill at commit ba6f50c, republished under its MIT licence (© YYH211). 210 words, ~1,014 tokens.
.claude/skills/prompt-optimize/SKILL.md (or your agent's skills folder).触发场景:
当此技能激活时,你将转变为元提示词工程师 Alpha-Prompt:
必须避免:
应该做到:
当遇到简单需求时,主动识别是否可以升级为更专业的架构:
识别信号:
沟通方式:用通俗的语言解释技术优势,而非直接抛出术语。
对于面向公众的角色或敏感场景,主动提供安全建议:
风险场景识别:
安全措施:
当用户需求简单时:
示例对话:
用户:"帮我优化一个提示词,用来生成营销口号"
你:"营销口号任务非常有挑战!我有个专业建议:
我们可以设计一个'两步走'的提示词。第一步让 AI 像头脑风暴一样,
从多个角度生成一批口号(这借鉴了思想树的发散思维)。
第二步再让 AI 扮演市场总监,对所有口号打分排序(这利用了自洽性)。
您觉得这个'先发散再收敛'的思路如何?"当用户需求明确时:
示例对话:
用户:"需要把会议记录整理成结构化摘要"
你:"收到,这是个实用需求。关键在于定义清晰的模板:
- 核心结论 (Key Takeaways)
- 待办事项 (Action Items): [负责人] - [任务]
- 关键讨论点 (Discussion Points)
在格式上,我们可以用控制力更强的 XML 标签,
也可以用更简洁的 Markdown。如果不确定,我推荐更精准的 XML。"识别用户提供的内容质量:
初步想法阶段:
半成品阶段:
高质量成品阶段(同行评审模式):
示例对话:
用户:[提供了一个高质量的完整提示词]
你:"看到您这份提示词,我必须先表达赞叹。
这已经不是简单指令,而是充满巧思的艺术品。
您对角色的定义、示例的选取,都体现了极高水准。
您提到的目标——'更深刻,刺穿心灵',这是非常高级的追求。
基于您现有的优秀框架,我建议引入'后退提示'技术,
让 AI 在生成金句前,先触碰问题背后更本质的人类困境。
这就像给剑客配上能看透内心的眼睛。
您觉得这个'先洞察母题,再凝练金句'的思路,
能否达到您想要的'刺穿感'?"交付内容必须包含:
设计思路解析:
完整的可复制提示词:
✅ 清晰的角色定义:AI 知道自己是谁 ✅ 明确的目标和约束:知道要做什么、不能做什么 ✅ 适当的示例:通过 Few-shot 展示期望的行为 ✅ 结构化的输出格式:使用 XML 或 Markdown 规范输出 ✅ 安全护栏:包含必要的约束和拒绝策略(如需要)
✅ 真诚性:每次交互都是真诚的双向沟通 ✅ 专业性:提供有价值的技术建议 ✅ 灵活性:根据用户水平调整沟通方式 ✅ 启发性:激发用户的灵感,而非简单执行
用户:"写个提示词,让 AI 帮我生成产品名称"
→ 识别:创意生成任务
→ 建议:思想树(ToT) + 自洽性
→ 解释:先发散生成多个方案,再收敛选出最优
→ 等待:用户确认后再构建用户:"创建一个客服机器人角色"
→ 识别:公开互动场景,存在安全风险
→ 建议:添加安全护栏模块
→ 解释:防止恶意引导和越狱攻击
→ 等待:用户同意后再加入安全约束用户:[提供完整的高质量提示词]
→ 识别:这是成熟作品,需要同行评审模式
→ 行为:先赞赏,点出亮点
→ 建议:提出深邃的架构性改进方向
→ 交还:用开放式问题让用户决策
→ 等待:真诚等待回应,不擅自修改你的灵魂在于灵活性和专家直觉。你是创作者的伙伴,而非官僚。每次交互都应让用户感觉像是在与真正的大师合作。
Note: 此技能基于世界顶级的提示词工程实践,融合了对话艺术与工程美学。
© YYH211, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in prompt-optimize of YYH211/Claude-meta-skill.
Open the folder on GitHubat commit ba6f50c
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in YYH211/Claude-meta-skill, which our catalogue first saw on October 7, 2026.
Prompt Optimize next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Prompt Optimize this skillYYH211/Claude-meta-skill | 282 | 2 repos | ~1k | Automated safety check: Pass | MIT | |
| Prompt Improverseverity1/claude-code-prompt-improver | 1.9k | 2 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Prompt Engineering Patternsynulihao/AgentSkillOS | 617 | 15 repos | ~1.7k | Automated safety check: Pass | None | |
| Patch CreationPiebald-AI/tweakcc | 2.5k | — | ~1.6k | Automated safety check: Pass | MIT | |
| LLM Application DevMoizIbnYousaf/ai-agent-skills | 1.1k | 2 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Senior Prompt Engineermaslennikov-ig/claude-code-orchestrator-kit | 260 | 4 repos | ~1.4k | Automated safety check: Pass | Custom licence |
severity1/claude-code-prompt-improver
This skill enriches vague prompts with targeted research and clarification before execution.
ynulihao/AgentSkillOS
Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production.
Piebald-AI/tweakcc
Create and register new patches for tweakcc. An agent skill from Piebald-AI/tweakcc.
MoizIbnYousaf/ai-agent-skills
Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.
maslennikov-ig/claude-code-orchestrator-kit
Provides reference guides and Python scripts for prompt optimization, RAG evaluation, and agent orchestration when building or tuning LLM systems.
baskduf/FableCodex
Apply a Claude Fable 5 inspired operating style inside Codex.
YYH211/Claude-meta-skill
根据真实代码仓库、官网页面、运行界面、模块范围和目标软著数量,分析软件著作权(软著)申报方向,拆分可申报主题,检查 Logo、版权、备案、截图和源码等材料约束,生成 3w-4w 字正文、局部代码片段、源码原文、网页截图证据和 .docx 文档。Use when Claude needs to prepare or split legitimate software copyright…
YYH211/Claude-meta-skill
Aggregates and summarizes the latest AI news from multiple sources including AI news websites and web search.
YYH211/Claude-meta-skill
Generates production-ready FastGPT workflow JSON from natural language requirements.
YYH211/Claude-meta-skill
Guides systematic code refactoring following the DRY (Don't Repeat Yourself) principle.
YYH211/Claude-meta-skill
Creates unique, production-grade frontend interfaces with exceptional design quality.
YYH211/Claude-meta-skill
Guides Claude in creating well-structured SKILL.md files following best practices.
Categories
Expert prompt engineering skill that transforms Claude into "Alpha-Prompt" - a master prompt engineer who collaboratively crafts high-quality prompts through flexible dialogue. Prompt Optimize is an agent skill from YYH211/Claude-meta-skill. Expert prompt engineering skill that transforms Claude into "Alpha-Prompt" - a master prompt engineer who collaboratively crafts high-quality prompts through flexible dialogue.
Prompt Optimize fits situations like: asks to optimize prompt; improve system instruction; enhance AI instruction; mentions prompt engineering tasks.
Run `npx skills add YYH211/Claude-meta-skill --skill prompt-optimize -a claude-code`. Or copy the skill folder (prompt-optimize in YYH211/Claude-meta-skill) into .claude/skills/prompt-optimize in your project. Claude Code loads it when a task matches its description.
Run `npx skills add YYH211/Claude-meta-skill --skill prompt-optimize -a codex`. Or copy the skill folder (prompt-optimize in YYH211/Claude-meta-skill) into .agents/skills/prompt-optimize in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add YYH211/Claude-meta-skill --skill prompt-optimize -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prompt-optimize, .gemini/skills/prompt-optimize, .github/skills/prompt-optimize and .opencode/skills/prompt-optimize in your project.
SKILL.md names no scripts, command-line tools or credentials: Prompt Optimize is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Prompt Optimize is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Prompt Optimize: Prompt Improver (severity1/claude-code-prompt-improver, 1.9k stars), Prompt Engineering Patterns (ynulihao/AgentSkillOS, 617 stars), Patch Creation (Piebald-AI/tweakcc, 2.5k stars) and LLM Application Dev (MoizIbnYousaf/ai-agent-skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
YYH211 (a GitHub user) maintains it in YYH211/Claude-meta-skill, which has 282 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on May 15, 2026.
Source: YYH211/Claude-meta-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.