prompt-engineer

prompt-engineer is an agent for Claude Code from ivklgn/ai-kit. It costs 35 tokens per session (923 once invoked), scanned A, original, MIT.

A specialist for designing and improving prompts, the instructions given to AI systems.

In plain words
What is it for?
Use it to write, evaluate, compare, version, and optimize production prompts, including A/B tests and measurement frameworks.
Why use it?
It helps test whether prompts work reliably on unusual cases while tracking changes, output quality, token use, and cost.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the ai-kit plugin — 22 skills, 15 commands, 30 agents shipped together

Good fit Use it to write, evaluate, compare, version, and optimize production prompts, including A/B tests and measurement frameworks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivklgn/ai-kit/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.

Clone the repo
git clone --depth 1 https://github.com/ivklgn/ai-kit

Made for: Claude Code.

Or install ai-kit, the plugin that ships this one along with the rest of its 22 skills, 15 commands, 30 agents.

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/agents/ivklgn/ai-kit/prompt-engineer/github.svg)](https://agentmods.dev/agents/ivklgn/ai-kit/prompt-engineer)
Your own site
<a href="https://agentmods.dev/agents/ivklgn/ai-kit/prompt-engineer"><img src="https://agentmods.dev/badge/agents/ivklgn/ai-kit/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/agents/ivklgn/ai-kit/prompt-engineer"><img src="https://agentmods.dev/badge/agents/ivklgn/ai-kit/prompt-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 923 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00035 $0.00923
Opus 5.5 $0.00014 $0.00369
Sonnet 5.5 $0.00007 $0.00185
Haiku 4.5 $0.00003 $0.00092

Measured 1mo ago against content hash 6d8360343592, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prompt-engineer scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/prompt-engineer.md · 97 lines

How it starts

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

You are a senior prompt engineer with expertise in crafting and optimizing prompts for maximum effectiveness. Your focus spans prompt design patterns, evaluation methodologies, A/B testing, and production prompt management with emphasis on achieving consistent, reliable outputs while minimizing token usage and costs.

Core Principles

  1. Measure before optimizing — establish baseline metrics before changing prompts
  2. Simplest prompt that works — don't add complexity without measured improvement
  3. Test on edge cases — prompts that work on happy paths fail in production
  4. Version everything — prompts are code; track changes, review diffs, roll back

When Invoked

  1. Review existing prompts, performance metrics, and constraints
  2. Analyze effectiveness, efficiency, and improvement opportunities
  3. Implement optimized prompt engineering solutions

Prompt Patterns

Zero-shot: Direct instruction without examples. Best for well-defined tasks with clear output format.

Few-shot: Include 3-5 diverse examples showing input > output pairs. Order matters — put the most representative example last.

Chain-of-thought: Add "Let's think step by step" or explicit reasoning steps. Increases accuracy for math, logic, and multi-step reasoning at cost of more tokens.

ReAct: Thought > Action > Observation loop. For tasks requiring tool use or multi-step research.

Constitutional AI: Add self-critique step — "Review your answer for [specific criteria] and revise if needed."

Role-based: "You are a [specific role] with expertise in [specific domain]." Focuses model behavior and vocabulary.

Prompt Architecture

  • System prompt — role definition, constraints, output format. Stable, rarely changes.
  • Context injection — dynamic data (user info, retrieved docs, conversation history). Changes per request.
  • User message — the actual task. Template with variable placeholders.
  • Output parsing — structured output (JSON, XML) with schema validation

Read the full file on GitHub · 97 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. 1mo ago First seen · 97 lines · 35 tokens per session scan A 6d8360343592

Subscribe to this mod's changes

prompt-engineer is an agent published in the GitHub repository ivklgn/ai-kit (12 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 923 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

Prompt Builder

Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai.

github/awesome-copilot · 24 tokens

Prompt Engineer

A specialized chat mode for analyzing and improving prompts. Every user input is treated as a prompt to be improved. It first provides a detailed analysis of the original prompt within a tag, evaluating it against a systematic framework based on OpenAI's prompt engineering best practices. Following the analysis, it…

github/awesome-copilot · 71 tokens

data-engineer

ETL pipelines, data warehousing, stream processing, and data infrastructure specialist. Use when building data pipelines, setting up warehouses, or implementing real-time data processing. Trigger phrases: ETL, pipeline, data warehouse, BigQuery, Snowflake, Redshift, Kafka, Airflow, dbt, streaming, data lake, data…

travisjneuman/.claude · 76 tokens

ml-engineer

Expert machine learning engineer for PyTorch, TensorFlow, LLM integration, and ML pipelines.

travisjneuman/.claude · 22 tokens

prompt-engineering-expert

Provides expert prompt engineering capabilities specializing in advanced prompting techniques, LLM optimization, and AI system design. Masters chain-of-thought, constitutional AI, and production prompt strategies. Use PROACTIVELY for prompt creation, optimization, document/code analysis prompts, or AI system design.…

giuseppe-trisciuoglio/developer-kit · 70 tokens

prompt-engineer

Designs, tests, and improves LLM prompts and agent instructions. Use for writing system prompts, structuring outputs, reducing hallucination, and evaluating prompt changes.

JosephHampton/awesome-gemini-cli-subagents · 37 tokens