Prompt Improver
severity1/claude-code-prompt-improver
This skill enriches vague prompts with targeted research and clarification before execution.
Prompt Engineering Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
The automated check flagged lines worth reading first. See the safety section below.
$ npx skills add diegosouzapw/awesome-omni-skills --skill prompt-engineering-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills prompt-engineering-patterns --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/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_omni/prompt-engineering-patterns .claude/skills/prompt-engineering-patterns && 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-engineering-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/prompt-engineering-patterns into .claude/skills/prompt-engineering-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-engineering-patterns", 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/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/prompt-engineering-patternsType 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 diegosouzapw/awesome-omni-skills --skill prompt-engineering-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills prompt-engineering-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills_omni/prompt-engineering-patterns .agents/skills/prompt-engineering-patterns && 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-engineering-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/prompt-engineering-patterns into .agents/skills/prompt-engineering-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-engineering-patterns", 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 diegosouzapw/awesome-omni-skills --skill prompt-engineering-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills prompt-engineering-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills_omni/prompt-engineering-patterns .cursor/skills/prompt-engineering-patterns && 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-engineering-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/prompt-engineering-patterns into .cursor/skills/prompt-engineering-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-engineering-patterns", 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/diegosouzapw/awesome-omni-skills.git --path skills_omni/prompt-engineering-patterns--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 diegosouzapw/awesome-omni-skills --skill prompt-engineering-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills prompt-engineering-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills_omni/prompt-engineering-patterns .gemini/skills/prompt-engineering-patterns && 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-engineering-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/prompt-engineering-patterns into .gemini/skills/prompt-engineering-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-engineering-patterns", 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 diegosouzapw/awesome-omni-skills prompt-engineering-patternsInstalls 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 diegosouzapw/awesome-omni-skills --skill prompt-engineering-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills_omni/prompt-engineering-patterns .github/skills/prompt-engineering-patterns && 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-engineering-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/prompt-engineering-patterns into .github/skills/prompt-engineering-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-engineering-patterns", 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 diegosouzapw/awesome-omni-skills --skill prompt-engineering-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install diegosouzapw/awesome-omni-skills prompt-engineering-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diegosouzapw/awesome-omni-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills_omni/prompt-engineering-patterns .opencode/skills/prompt-engineering-patterns && 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-engineering-patterns" agent skill from https://github.com/diegosouzapw/awesome-omni-skills/tree/main/skills_omni/prompt-engineering-patterns into .opencode/skills/prompt-engineering-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "prompt-engineering-patterns", 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-engineering-patternsPrompt Engineering Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
Prompt Engineering Patterns is an agent skill from diegosouzapw/awesome-omni-skills. Prompt Engineering Patterns workflow skill. Use this skill when the user needs advanced prompt engineering techniques to improve LLM performance, reliability, and controllability through clear instructions, grounded context, output contracts, examples, and eval-driven iteration.
Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 29 other files, including scripts, reference files and assets (for example `ATTRIBUTION.md`, `OMNI_ENHANCED.json` and `ORIGIN.md`).
It sits in AI & LLM Engineering, covering Prompt engineering. The repository describes itself as: Public repository of AI coding skills, curated improved best-practice skills, and runtime surfaces for CLI, API, MCP, and A2A. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c3af004. 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.
Ships 1 file in scripts/, which the agent can run.
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 Engineering Patterns loads about 4k tokens when it runs, and up to ~19k if it reads all its reference files. Until then it costs about 77 tokens; SKILL.md has 1,913 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 patterns that need a careful read before installing.
- you are trying to bypass safety policies or force disallowed behaviorAutomated 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); the scripts in this folder are not scanned.
The full file from diegosouzapw/awesome-omni-skills at commit c3af004, republished under its MIT licence (© diegosouzapw). 1,913 words, ~4,020 tokens.
.claude/skills/prompt-engineering-patterns/SKILL.md (or your agent's skills folder). This skill also uses 25 other files; get the full folder from GitHub.This skill curates the upstream prompt-engineering-patterns material into an execution-oriented workflow for designing, testing, and hardening prompts.
Use it when you need more than a clever prompt phrase. Modern prompt engineering is an iterative engineering loop:
Treat prompts as interfaces, not magic spells. Good prompts reduce ambiguity, make outputs easier to validate, and improve consistency, but they do not guarantee determinism. Use lightweight evals and acceptance thresholds before declaring a pattern production-ready.
For quick operator support, use:
references/domain-notes.md for a decision matrix and failure-mode mapexamples/worked-example.md for before/after prompt revisions across common task typesUse this skill when you are:
Do not use this skill as the primary solution when:
| Situation | Start here | Why it matters |
|---|---|---|
| You are drafting a prompt from scratch | ## Workflow | Gives the shortest safe sequence from goal definition to validation |
| You need to choose a prompting pattern | references/domain-notes.md | Provides a decision matrix for instructions, few-shot, decomposition, grounding, and structured outputs |
| You need examples that show real improvement | examples/worked-example.md | Shows weak vs improved prompts, expected outputs, and what changed |
| You need machine-readable results | ## Output contracts and structured outputs | Helps you prefer schemas or explicit JSON contracts over brittle prose-only formatting |
| The model is answering confidently without support | ## Grounded context patterns and ## Troubleshooting | Adds evidence boundaries and fallback behavior when context is missing or weak |
| The model follows examples but ignores your latest instruction | ## Few-Shot Learning and ## Troubleshooting | Helps identify instruction collisions and example overfitting |
| A prompt seems better but results are inconsistent | ## Success Metrics | Converts taste-based iteration into eval-backed comparison |
Define the objective
Define success before rewriting the prompt
Place instructions at the correct priority level
Choose the lightest pattern that fits
Write the first prompt with explicit boundaries
Test against a small eval set
Troubleshoot by failure mode
Freeze reusable patterns
Prompt quality depends on where instructions live.
Guidelines:
Use few-shot examples when the task is easier to learn from demonstrations than from abstract rules alone.
Best uses:
Best practices:
Avoid few-shot examples when:
Failure signal:
Older guidance often overused “think step by step.” Prefer reasoning controls that improve correctness and keep outputs auditable.
Use one of these patterns instead:
Prefer this:
Be careful with this:
Reasoning text is not a substitute for better instructions, examples, grounded evidence, or evals.
If another system must consume the result, define the output contract first.
Prefer, in order:
For machine-readable outputs, specify:
Example contract:
{
"decision": "approve | reject | needs_clarification",
"reasons": ["string"],
"missing_information": ["string"]
}Practical rules:
For factual, policy, or domain-sensitive tasks, make the evidence boundary explicit.
Recommended pattern:
Useful instructions:
insufficient_context and list what is missing.”This is stronger than generic anti-hallucination wording because it defines both the allowed evidence and the behavior when evidence is incomplete.
Optimize for reliability first, then token cost.
Measure prompt quality using explicit criteria, not intuition alone.
Suggested dimensions:
Minimum practical eval loop:
insufficient_context when support is missing.references/domain-notes.md - decision matrix, provider-aware notes, and failure-mode mappingexamples/worked-example.md - concrete before/after prompt revisions with expected outputsConsider a different or adjacent skill when the task shifts toward:
© diegosouzapw, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 25 other files (scripts, references, assets) in skills_omni/prompt-engineering-patterns of diegosouzapw/awesome-omni-skills.
Open the folder on GitHubat commit c3af004
Prompt Engineering Patterns 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 Engineering Patterns this skilldiegosouzapw/awesome-omni-skills | 159 | — | ~4k | Automated safety check: Warn | MIT | |
| Prompt Improverseverity1/claude-code-prompt-improver | 1.9k | 1 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Prompt Engineering Patternsynulihao/AgentSkillOS | 617 | 14 repos | ~1.7k | Automated safety check: Pass | None | |
| Patch CreationPiebald-AI/tweakcc | 2.5k | — | ~1.6k | Automated safety check: Pass | MIT | |
| Senior Prompt Engineermaslennikov-ig/claude-code-orchestrator-kit | 260 | 3 repos | ~1.4k | Automated safety check: Pass | Custom licence | |
| Codex Fable5baskduf/FableCodex | 437 | — | ~1.6k | Automated safety check: Pass | AGPL-3.0 |
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.
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.
wshobson/agents
Reference for designing and tuning production LLM prompts: few-shot examples, chain-of-thought, structured outputs, templates and system prompts.
diegosouzapw/awesome-omni-skills
Content Creator workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Helm Chart Scaffolding workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Prompt Engineering Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Prompt Engineering Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
📝 Prompt Library workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
diegosouzapw/awesome-omni-skills
Protocol Reverse Engineering workflow skill. An agent skill from diegosouzapw/awesome-omni-skills.
Categories
Prompt Engineering Patterns workflow skill. An agent skill from diegosouzapw/awesome-omni-skills. Prompt Engineering Patterns is an agent skill from diegosouzapw/awesome-omni-skills. Prompt Engineering Patterns workflow skill.
Prompt Engineering Patterns fits situations like: the user needs advanced prompt engineering techniques to improve LLM performance; controllability through clear instructions; grounded context; output contracts.
Run `npx skills add diegosouzapw/awesome-omni-skills --skill prompt-engineering-patterns -a claude-code`. Or copy the skill folder (skills_omni/prompt-engineering-patterns in diegosouzapw/awesome-omni-skills) into .claude/skills/prompt-engineering-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add diegosouzapw/awesome-omni-skills --skill prompt-engineering-patterns -a codex`. Or copy the skill folder (skills_omni/prompt-engineering-patterns in diegosouzapw/awesome-omni-skills) into .agents/skills/prompt-engineering-patterns 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 diegosouzapw/awesome-omni-skills --skill prompt-engineering-patterns -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-engineering-patterns, .gemini/skills/prompt-engineering-patterns, .github/skills/prompt-engineering-patterns and .opencode/skills/prompt-engineering-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: Prompt Engineering Patterns 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 flagged 1 warning(s): contains instruction-override wording (e.g. “without asking the user”). Read the flagged lines before installing; the check is not a guarantee either way. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Prompt Engineering Patterns is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Prompt Engineering Patterns: 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 Senior Prompt Engineer (maslennikov-ig/claude-code-orchestrator-kit, 260 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
diegosouzapw (a GitHub user) maintains it in diegosouzapw/awesome-omni-skills, which has 159 GitHub stars. The repository holds 39 skills in this directory. The repository was last updated on July 8, 2026.
Source: diegosouzapw/awesome-omni-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.