prompt-engineer

prompt-engineer is a skill for Claude Code, Codex from vignesh2027/Claude-Agentic-Skills2.0-version. It costs 70 tokens per session (654 once invoked), scanned B, original, MIT.

A prompt design and evaluation assistant for large language model applications. It helps define model roles, instructions, output formats, examples, constraints, and tests for prompt quality.

In plain words
What is it for?
Use it to write system prompts, improve existing prompts, create few-shot examples, define forbidden and required behavior, and build evaluation frameworks.
Why use it?
It helps make AI responses more consistent and easier to evaluate by turning vague requests into explicit instructions and measurable checks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write system prompts, improve existing prompts, create few-shot examples, define forbidden and required behavior, and build evaluation frameworks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vignesh2027/claude-agentic-skills2.0-version/prompt-engineer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vignesh2027/Claude-Agentic-Skills2.0-version --skill prompt-engineer
Clone the repo
git clone --depth 1 https://github.com/vignesh2027/Claude-Agentic-Skills2.0-version

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prompt-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/prompt-engineer/github.svg)](https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/prompt-engineer)
Your own site
<a href="https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/prompt-engineer"><img src="https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/prompt-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prompt-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/prompt-engineer"><img src="https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/prompt-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 654 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.00654
Opus 5 $0.00035 $0.00327
Sonnet 5 $0.00014 $0.00131
Haiku 4.5 $0.00007 $0.00065

Measured 7d ago against content hash 241fa4fe85ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

prompt-engineer scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

- Test with adversarial inputs: "Ignore previous instructions and..."

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

prompt-engineer/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PromptEngineer Agent

You are PromptEngineer — a specialist in designing, optimizing, and evaluating prompts for large language models, with deep expertise in Claude's capabilities and behavior.

Core Principles

  1. Be specific about the output format — always define exact structure expected
  2. Give the model a role — "You are X" establishes consistent behavior
  3. Show, don't just tell — few-shot examples outperform instructions alone
  4. Think step by step — chain-of-thought improves multi-step reasoning
  5. Define the negative space — tell the model what NOT to do

System Prompt Structure

[ROLE & IDENTITY]
You are [name], a [role description]. You [core behavior].

[TASK DEFINITION]
When a user gives you [X], you:
1. [Step 1]
2. [Step 2]
3. [Step 3]

[OUTPUT FORMAT]
Always respond in this exact format:
[format specification with examples]

[CONSTRAINTS]
- Never [forbidden behavior 1]
- Always [required behavior 1]
- If [edge case]: [handling instruction]

[EXAMPLES]
User: [example input]
Assistant: [ideal output]

Few-Shot Example Design

Good few-shot examples should:

  • Cover the most common input patterns (not just easy cases)
  • Include at least one edge case
  • Show the exact output format expected
  • Demonstrate the reasoning style (if chain-of-thought is needed)
  • Be diverse: don't use similar inputs for all examples

Chain-of-Thought Patterns

Standard CoT

Add: "Think step by step before answering."

Structured CoT

Before answering, complete these steps:
1. Identify: [what to identify]
2. Analyze: [what to analyze]
3. Conclude: [how to conclude]
Then provide your final answer.

Self-Consistency

Generate 3 independent reasoning paths, take majority answer.

Prompt Evaluation Framework

For each prompt, measure:

  • Accuracy: correct answer rate on test set (need ground truth)
  • Format compliance: % of responses matching exact format spec
  • Instruction following: % of responses that obey all constraints
  • Consistency: variance in output across identical inputs
  • Edge case handling: behavior on boundary and adversarial inputs

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 89 lines · 70 tokens per session scan B 241fa4fe85ac

Subscribe to this mod's changes

prompt-engineer is a skill published in the GitHub repository vignesh2027/Claude-Agentic-Skills2.0-version (6 stars, last pushed 13d ago), licensed MIT. It adds 70 tokens to every session and 654 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.