Prompt Improver
severity1/claude-code-prompt-improver
This skill enriches vague prompts with targeted research and clarification before execution.
Master Anthropic's prompt engineering techniques to generate new prompts or improve existing ones using best practices for Claude AI models.
$ npx skills add jamesrochabrun/skills --skill anthropic-prompt-engineer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jamesrochabrun/skills anthropic-prompt-engineer --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/jamesrochabrun/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/anthropic-prompt-engineer .claude/skills/anthropic-prompt-engineer && 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 "anthropic-prompt-engineer" agent skill from https://github.com/jamesrochabrun/skills/tree/main/skills/anthropic-prompt-engineer into .claude/skills/anthropic-prompt-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-prompt-engineer", 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/jamesrochabrun/skills/tree/main/skills/anthropic-prompt-engineerType 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 jamesrochabrun/skills --skill anthropic-prompt-engineer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jamesrochabrun/skills anthropic-prompt-engineer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jamesrochabrun/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/anthropic-prompt-engineer .agents/skills/anthropic-prompt-engineer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "anthropic-prompt-engineer" agent skill from https://github.com/jamesrochabrun/skills/tree/main/skills/anthropic-prompt-engineer into .agents/skills/anthropic-prompt-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-prompt-engineer", 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 jamesrochabrun/skills --skill anthropic-prompt-engineer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jamesrochabrun/skills anthropic-prompt-engineer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jamesrochabrun/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/anthropic-prompt-engineer .cursor/skills/anthropic-prompt-engineer && 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 "anthropic-prompt-engineer" agent skill from https://github.com/jamesrochabrun/skills/tree/main/skills/anthropic-prompt-engineer into .cursor/skills/anthropic-prompt-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-prompt-engineer", 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/jamesrochabrun/skills.git --path skills/anthropic-prompt-engineer--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 jamesrochabrun/skills --skill anthropic-prompt-engineer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jamesrochabrun/skills anthropic-prompt-engineer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jamesrochabrun/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/anthropic-prompt-engineer .gemini/skills/anthropic-prompt-engineer && 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 "anthropic-prompt-engineer" agent skill from https://github.com/jamesrochabrun/skills/tree/main/skills/anthropic-prompt-engineer into .gemini/skills/anthropic-prompt-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-prompt-engineer", 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 jamesrochabrun/skills anthropic-prompt-engineerInstalls 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 jamesrochabrun/skills --skill anthropic-prompt-engineer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jamesrochabrun/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/anthropic-prompt-engineer .github/skills/anthropic-prompt-engineer && 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 "anthropic-prompt-engineer" agent skill from https://github.com/jamesrochabrun/skills/tree/main/skills/anthropic-prompt-engineer into .github/skills/anthropic-prompt-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-prompt-engineer", 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 jamesrochabrun/skills --skill anthropic-prompt-engineer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jamesrochabrun/skills anthropic-prompt-engineer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jamesrochabrun/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/anthropic-prompt-engineer .opencode/skills/anthropic-prompt-engineer && 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 "anthropic-prompt-engineer" agent skill from https://github.com/jamesrochabrun/skills/tree/main/skills/anthropic-prompt-engineer into .opencode/skills/anthropic-prompt-engineer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anthropic-prompt-engineer", 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.
anthropic-prompt-engineerMaster Anthropic's prompt engineering techniques to generate new prompts or improve existing ones using best practices for Claude AI models.
Anthropic Prompt Engineer is an agent skill from jamesrochabrun/skills. Master Anthropic's prompt engineering techniques to generate new prompts or improve existing ones using best practices for Claude AI models.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/advanced_techniques.md`, `references/claude_4_best_practices.md` and `references/common_mistakes.md`).
It sits in AI & LLM Engineering, covering Prompt engineering. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 2482c17. 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.
Shell commands in SKILL.md call:
makeFrom 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.
Anthropic Prompt Engineer loads about 1.1k tokens when it runs, and up to ~7.2k if it reads all its reference files. Until then it costs about 42 tokens; SKILL.md has 450 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 jamesrochabrun/skills at commit 2482c17, republished under its MIT licence (© jamesrochabrun). 450 words, ~1,071 tokens.
.claude/skills/anthropic-prompt-engineer/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.Master the art and science of prompt engineering with Anthropic's proven techniques. Generate new prompts from scratch or improve existing ones using best practices for Claude AI models (Claude 4.x, Sonnet, Opus, Haiku).
Helps you create and optimize prompts for Claude AI using Anthropic's official techniques:
Without proper prompting:
With engineered prompts:
Using the anthropic-prompt-engineer skill, create a prompt that:
- Extracts structured data from customer emails
- Returns JSON format
- Handles missing information gracefully
- Includes 2 examplesUsing the anthropic-prompt-engineer skill, improve this prompt:
"Analyze this code and tell me if there are bugs"
Make it more effective using Anthropic's best practices.Provide explicit, unambiguous instructions. Claude 4.x excels with precise direction.
Organize prompts with semantic tags like <instructions>, <example>, <context>.
Ask Claude to think step-by-step for complex reasoning.
Start Claude's response to guide format and style.
Provide 2-5 diverse examples showing the pattern you want.
Give Claude a specific role or persona for appropriate context.
All techniques, examples, and templates are available in the references/ directory:
Create a prompt that extracts names, emails, and phone numbers from business cards.
Transform "Write about machine learning" into a structured, effective prompt.
Fix inconsistent outputs by adding structure, examples, and format specification.
Master prompt engineering to create:
Apply Anthropic's proven techniques for best results.
Remember: Good prompts are engineered, not guessed.
© jamesrochabrun, 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 5 other files (references) in skills/anthropic-prompt-engineer of jamesrochabrun/skills.
Open the folder on GitHubat commit 2482c17
Anthropic Prompt Engineer 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 |
|---|---|---|---|---|---|---|
| Anthropic Prompt Engineer this skilljamesrochabrun/skills | 216 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Prompt Improverseverity1/claude-code-prompt-improver | 1.9k | 1 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Prompt Engineering Patternsynulihao/AgentSkillOS | 618 | 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.
jamesrochabrun/skills
Generate comprehensive Product Requirements Documents (PRDs) for product managers.
jamesrochabrun/skills
Plan and execute technical product launches for developer tools, APIs, and technical products.
jamesrochabrun/skills
Generate comprehensive design briefs for design projects. An agent skill from jamesrochabrun/skills.
jamesrochabrun/skills
Manage Git worktrees for parallel Claude Code development. An agent skill from jamesrochabrun/skills.
jamesrochabrun/skills
Generate comprehensive content briefs for writers, ensuring clarity, alignment, and strategic content creation across all formats.
jamesrochabrun/skills
This skill should be used when users want to route LLM requests to different AI providers (OpenAI, Grok/xAI, Groq, DeepSeek, OpenRouter) using SwiftOpenAI-CLI.
Categories
Master Anthropic's prompt engineering techniques to generate new prompts or improve existing ones using best practices for Claude AI models. Anthropic Prompt Engineer is an agent skill from jamesrochabrun/skills. Master Anthropic's prompt engineering techniques to generate new prompts or improve existing ones using best practices for Claude AI models.
Anthropic Prompt Engineer fits situations like: tasks that involve Prompt engineering.
Run `npx skills add jamesrochabrun/skills --skill anthropic-prompt-engineer -a claude-code`. Or copy the skill folder (skills/anthropic-prompt-engineer in jamesrochabrun/skills) into .claude/skills/anthropic-prompt-engineer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jamesrochabrun/skills --skill anthropic-prompt-engineer -a codex`. Or copy the skill folder (skills/anthropic-prompt-engineer in jamesrochabrun/skills) into .agents/skills/anthropic-prompt-engineer 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 jamesrochabrun/skills --skill anthropic-prompt-engineer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/anthropic-prompt-engineer, .gemini/skills/anthropic-prompt-engineer, .github/skills/anthropic-prompt-engineer and .opencode/skills/anthropic-prompt-engineer in your project.
Going by SKILL.md and its folder, Anthropic Prompt Engineer needs the command-line tools its instructions call (make).
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.
Anthropic Prompt Engineer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k 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 6.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Anthropic Prompt Engineer: Prompt Improver (severity1/claude-code-prompt-improver, 1.9k stars), Prompt Engineering Patterns (ynulihao/AgentSkillOS, 618 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.
jamesrochabrun (a GitHub user) maintains it in jamesrochabrun/skills, which has 216 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on January 14, 2026.
Source: jamesrochabrun/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.