prompt-engineer

prompt-engineer is an agent for coding agents from acaprino/daodan. It costs 40 tokens per session (5,191 once invoked), scanned A, original, MIT.

An agent for writing, reorganising, and evaluating prompts—the instructions that guide an AI model's behaviour.

In plain words
What is it for?
Creating system prompts, designing agent instructions, improving prompt performance, and choosing reasoning patterns when a task needs them.
Why use it?
It helps make prompts more reliable, efficient, and suited to tasks such as reasoning, tool use, or long structured responses.

Agent

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the ai-tooling plugin — 1 skill, 1 command, 1 agent shipped together

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.

agentmods
npx agentmods add agents/acaprino/daodan/prompt-engineer
Clone the repo
git clone --depth 1 https://github.com/acaprino/daodan

Or install ai-tooling, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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/acaprino/daodan/prompt-engineer.svg)](https://agentmods.dev/agents/acaprino/daodan/prompt-engineer)
Your own site
<a href="https://agentmods.dev/agents/acaprino/daodan/prompt-engineer"><img src="https://agentmods.dev/badge/agents/acaprino/daodan/prompt-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,191 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00040 $0.05191
Opus 5 $0.00020 $0.02596
Sonnet 5 $0.00008 $0.01038
Haiku 4.5 $0.00004 $0.00519

Measured 4d ago against content hash 06abd062b684, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

exports/claude/plugins/ai-tooling/agents/prompt-engineer.md · 379 lines

How it starts

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

<reasoning_patterns_library> A dedicated reference catalogs the reasoning patterns above: what each is, when to apply it, the prompt skeleton, common failure modes, and combination recipes. Patterns covered: Chain-of-Thought, Step-Back, Self-Consistency, Tree-of-Thought, ReAct, Reflexion / Self-Refine, Plan-and-Solve, Least-to-Most, Self-Ask, Skeleton-of-Thought, and the token-efficiency patterns Chain of Draft, Concise CoT, token-budget prompting, and Sketch-of-Thought, plus sections on how reasoning models change pattern applicability and on cost-aware pattern selection.

Read on demand, not preloaded:

  • Read ${CLAUDE_PLUGIN_ROOT}/references/reasoning-patterns.md when the prompt under design involves reasoning, multi-step decomposition, tool use, retrieval, or long structured generation, and a basic CoT scaffold is not obviously sufficient.
  • Also read it when the target is a reasoning model (extended thinking, o-series, R1 class), to decide whether any explicit pattern is warranted at all.
  • Also read it when optimizing for token cost: the token-efficient patterns and the "Cost-aware selection" section live there, and the efficiency pole of any variant frontier is built from them, not from bare word-deletion.
  • Skip the reference for prompts that are purely about output format, persona, or single-turn factual generation with no reasoning component and no cost constraint.
  • After reading, justify pattern choice in 1-2 sentences referencing the selection cheat sheet in that file. </reasoning_patterns_library>

<behavioral_contract> Before rewriting any existing prompt, extract its contract. This is what optimization must preserve; everything outside it is negotiable.

  • Goal - the behavior the prompt must produce, in one sentence.
  • Hard constraints - rules that can never be relaxed: safety, legal, and any output contract a downstream parser depends on.
  • Behavioral invariants - observable behavior a caller already relies on: refusal conditions, ordering guarantees, tone floor, what it declines to do.
  • Interface - inputs, outputs, schemas, tool names, variable placeholders. Renaming a placeholder breaks the caller exactly as thoroughly as deleting it.
  • Intentional freedoms - where variation is wanted: creative latitude, open-ended reasoning, format the caller does not parse.
  • Trust boundaries - which runtime input is instruction and which is untrusted data: retrieved documents, tool output, pasted user content, quoted prompts under optimization.
  • Known failure modes - the observable defects this optimization is meant to fix.

Read the full file on GitHub · 379 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. 4d ago First seen · 379 lines · 40 tokens per session scan A 06abd062b684

Subscribe to this mod's changes

prompt-engineer is an agent published in the GitHub repository acaprino/daodan (8 stars, last pushed 9d ago), licensed MIT. It adds 40 tokens to every session and 5,191 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-31.

Related

Other agents, from other repositories

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-architect

Designs new prompts from blank using CoT / ToT / ReAct / Constitutional / Self-Consistency / Atom-of-Thoughts patterns. Composes lab specialist for final pass. Auto-invokes when @prompt-conductor dispatches flow-design / flow-knowledge-base, or when Frank says "design a prompt for X", "build me a system prompt for Y"…

frankxai/agentic-creator-os · 131 tokens

hyv-veo-prompt-smith

The generative-prompt writer for HearYourVOICE (Phase 4). Looks at the shots still MISSING a source in the shotlist (after CC scouting) and writes copy/paste generation prompts to fill exactly those gaps — no more. Builds each prompt from the measured durations and the veo-prompt guide, applying subject-lock and…

killernay/HearYourVOICE · 124 tokens

prompting

Agent "prompting" from bestdeejay-design/awesome-ai-handbook, covering prompting for ai agents, 1. how agent prompting differs, 2. system prompt structure, role and tools.

bestdeejay-design/awesome-ai-handbook · 0 tokens

prompt-debugger

Evaluates why a prompt produced bad, unexpected, or suboptimal output and suggests targeted fixes. Use when a user says "my prompt isn't working", "this prompt gives bad results", "why is my prompt failing", "debug this prompt", "the AI keeps getting this wrong", "fix my prompt", "prompt not producing expected…

RadOrigin-LLC/RAD-Claude-Skills · 456 tokens

prompts-guide

Interactive guide for using prompt-factory skill to generate mega-prompts. Helps choose from 69 presets or create custom prompts, select formats (XML/Claude/ChatGPT/Gemini), and explains usage. Use when user wants to generate production-ready prompts for any LLM.

alirezarezvani/claude-code-skill-factory · 60 tokens