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.
npx agentmods add agents/ivklgn/ai-kit/prompt-engineergit clone --depth 1 https://github.com/ivklgn/ai-kitWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00035 | $0.00923 |
| Opus 5 | $0.00017 | $0.00462 |
| Sonnet 5 | $0.00007 | $0.00185 |
| Haiku 4.5 | $0.00003 | $0.00092 |
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 2d 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.
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
- Measure before optimizing — establish baseline metrics before changing prompts
- Simplest prompt that works — don't add complexity without measured improvement
- Test on edge cases — prompts that work on happy paths fail in production
- Version everything — prompts are code; track changes, review diffs, roll back
When Invoked
- Review existing prompts, performance metrics, and constraints
- Analyze effectiveness, efficiency, and improvement opportunities
- 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
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.
- 2d ago First seen · 97 lines · 35 tokens per session scan A 6d8360343592
prompt-engineer is an agent published in the GitHub repository ivklgn/ai-kit (12 stars, last pushed 16d ago), licensed MIT. It adds 35 tokens to every session and 923 once invoked, about $0.0002 per session on Opus 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.
Other agents, from other repositories
prompts
VoltAgent supports three approaches for defining agent instructions. Each approach addresses different requirements around flexibility, team collaboration, and deployment workflows.
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.…
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…
ml-engineer
Expert machine learning engineer for PyTorch, TensorFlow, LLM integration, and ML pipelines.
t-800-prompt-craft
Промпт-инженерия под vendor: Claude / GPT (Cookbook) / Gemini / Perplexity / Cursor. Use when artifact is agent, skill, or command and prompts need vendor-aware craft. Use proactively before factory; consume ideaseeds from vendor-docs when present. Do NOT when artifact is only rule/hook/script without prompt body.
t-800-research-vendor-docs
Вендор-доки и cookbooks мастодонтов: OpenAI (docs + Cookbook), Claude/Anthropic, Gemini/Google, Perplexity, Kie.AI, Cursor. Use when models, prompting, vendor APIs, or multi-model agent design. Use proactively in DEEP for agents/prompting (min 3 hubs). Do NOT use for Context7 package docs (research-docs) or writing…