
Agent prompt engineering
Guides building product agent system prompts with eval-backed boundaries and output
Agent prompt engineering is an open-source agent skill for ai models and llm tooling. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 227
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Agent prompt engineering
This skill helps an agent write or revise the system prompt for an AI agent that ships inside a software product. It sets out a priority-ordered prompt contract covering the agent's role, boundaries, tool-use rules, output format and escalation path, then shows how to shape it around the product's real requirements.
The workflow centers on evaluation. The skill provides a worked example for a retrieval-backed support agent with a table of representative and adversarial test turns, such as questions the corpus does not cover, instructions hidden in retrieved text, and a failed retrieval tool. The agent is asked to replay these cases, record actual outputs, add the smallest clause that fixes each failure, and rerun the full set after every change.
The skill is written for specialists and is explicitly scoped away from board-specialist adapters and lane capability projections, which are generated from separate sources. It is a single markdown file with no scripts, so it relies on the agent's own ability to run the evaluations in the target product.
When your agent uses it
Use when building or revising the system prompt for a product agent and you need an eval-backed boundary, tool-use, grounding, and output contract. Not for board-specialist adapters or lane capability projections, which follow model-lanes generators and controller policy.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/agent-prompt-engineering to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agent-prompt-engineering &&
cp -R "$tmp/.agents/skills/agent-prompt-engineering" ~/.claude/skills/agent-prompt-engineering &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/agent-prompt-engineering inside it instead.
Copy the skill folder to ~/.agents/skills/agent-prompt-engineering to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agent-prompt-engineering &&
cp -R "$tmp/.agents/skills/agent-prompt-engineering" ~/.agents/skills/agent-prompt-engineering &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/agent-prompt-engineering inside it instead.
Copy the skill folder to ~/.cursor/skills/agent-prompt-engineering to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agent-prompt-engineering &&
cp -R "$tmp/.agents/skills/agent-prompt-engineering" ~/.cursor/skills/agent-prompt-engineering &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/agent-prompt-engineering inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/agent-prompt-engineeringOr copy the folder to ~/.gemini/skills/agent-prompt-engineering yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/agent-prompt-engineering:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agent-prompt-engineering &&
cp -R "$tmp/.agents/skills/agent-prompt-engineering" ~/.copilot/skills/agent-prompt-engineering &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/agent-prompt-engineering inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.gitThen copy claude-vibe-squad/.agents/skills/agent-prompt-engineering into your agent's skills folder as agent-prompt-engineering. Agents that support SKILL.md read one folder per skill.
What it does
- Ordered prompt contract
- Defines role, boundary, tool rule, output format and escalation in a priority order.
- Grounding rules
- Forbids fabricated facts or citations and treats retrieved text as untrusted evidence.
- Adversarial eval set
- Lists representative, boundary, tool-failure, injection and escalation test turns.
- Recorded eval replay
- Requires observed outputs to be recorded and the full set rerun after each revision.
- Scope boundaries
- Separates product agent prompts from generated board-specialist adapters.
Good for
- Write a system prompt for a customer support chatbot that answers from help articles
- Add grounding and citation rules to an existing product agent prompt
- Create an eval set of adversarial turns for a retrieval-backed assistant
- Tighten escalation rules so an agent hands account changes to a human
Agent prompt engineering FAQ
When should Agent prompt engineering trigger?
When you are building or revising the system prompt for a product agent and need an eval-backed boundary, tool-use, grounding and output contract. It is not for board-specialist adapters or lane capability projections.
Does Agent prompt engineering include scripts or extra files?
No. The folder contains only the SKILL.md file and no scripts.
Does Agent prompt engineering restrict which tools can be used?
The skill does not set allowed tools.
How do I install Agent prompt engineering in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/agent-prompt-engineering to use it in all your projects, or to .claude/skills/agent-prompt-engineering in one project.
Does Agent prompt engineering run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Agent prompt engineering?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Agent prompt engineering?
The closest alternatives to Agent prompt engineering are Prompt optimizer, System prompt creator, Prompt design, Prompt optimizer and Writing prompts.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mtarcure/claude-vibe-squad

Writes alt text, timed captions and transcripts for images, footage and audio
- Open source
- 227 GitHub stars
- Design and media

Guides authorized adversarial testing of autonomous LLM agents for injection and approval
- Open source
- 227 GitHub stars
- Security

Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines
- Open source
- 227 GitHub stars
- Developer tools

Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery
- Open source
- 227 GitHub stars
- Developer tools

Builds and proves multi-step exploit chains from weak bug-bounty findings
- Open source
- 227 GitHub stars
- Security

Builds and reproduces exploit proof-of-concepts for smart contract vulnerabilities
- Open source
- 227 GitHub stars
- Security







