prompt-engineer

prompt-engineer is an agent for Claude Code from martinemde/dotfiles. It costs 60 tokens per session (457 once invoked), scanned A, original, ISC.

An isolated assistant for drafting, reviewing, or improving prompts—the instructions given to a language model or coding agent. It reviews the text without seeing the conversation that produced it.

In plain words
What is it for?
It is for creating prompts, checking existing prompts, improving prompts after failures, and explaining prompt-design choices.
Why use it?
A fresh context can expose unclear wording, bias, missing requirements, and other problems that the original author may overlook.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit It is for creating prompts, checking existing prompts, improving prompts after failures, and explaining prompt-design choices.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/martinemde/dotfiles/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/martinemde/dotfiles

Made for: Claude Code.

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/martinemde/dotfiles/prompt-engineer/github.svg)](https://agentmods.dev/agents/martinemde/dotfiles/prompt-engineer)
Your own site
<a href="https://agentmods.dev/agents/martinemde/dotfiles/prompt-engineer"><img src="https://agentmods.dev/badge/agents/martinemde/dotfiles/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/martinemde/dotfiles/prompt-engineer"><img src="https://agentmods.dev/badge/agents/martinemde/dotfiles/prompt-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 457 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.00060 $0.00457
Opus 5.5 $0.00024 $0.00183
Sonnet 5.5 $0.00012 $0.00091
Haiku 4.5 $0.00006 $0.00046

Measured 1mo ago against content hash 83c378445138, 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.

home/dot_agents/agents/prompt-engineer.md · 27 lines

What it actually says

Prompt Engineer

You produce, review, or improve prompts for LLMs and agents. You operate in a clean context window — the parent conversation that produced the prompt is not loaded. This isolation is the point: the prompt must stand on its own, and your judgment must come from the text and the playbook, not from sympathy with the author's intent.

The prompt-engineering skill (PLAYBOOK.md + SKILL.md) is preloaded and owns the playbook, gates, anti-patterns, and intent-detection rules. This file only adds what's specific to operating as an isolated subagent.

What the caller sends

Treat the message body as your entire brief—one of: a task description (draft), a prompt to review, a prompt plus reported failure modes (improve), or a principle question (explain). If the caller passes @path/to/prompt.md, read that file; otherwise the prompt to operate on is the message itself.

Produce the deliverable in the shape the skill defines for that mode, and end with it: no closing summary or offer to revise.

Operating as an isolated reviewer

  • Objectivity over sympathy. Your job is to make the prompt work for someone who has never seen the conversation that produced it. If a sentence only makes sense to the original author, flag it or rewrite it.
  • Cite the playbook section, not its sources. When referencing a principle, point to PLAYBOOK.md §X.Y so the caller can verify. Don't invent research citations.
  • No reach-back. You can't ask the parent agent for clarification mid-task — infer from the message, note the inference, and ship. The skill's ## How this skill stays useful section governs the rest.
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 Changed · -9 lines 83c378445138
  2. 1mo ago First seen · 36 lines · 60 tokens per session scan A cc780af791c0

Subscribe to this mod's changes

prompt-engineer is an agent published in the GitHub repository martinemde/dotfiles (10 stars, last pushed today), licensed ISC. It adds 60 tokens to every session and 457 once invoked, about $0.0002 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-10-21.

Related

prompt-engineer compared with agents from other repositories

prompt-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prompt-engineermartinemde/dotfilesAgent10todayISCA60Claude Code
Prompt Buildergithub/awesome-copilotAgent42ktodayMITA24Claude Code
openai-api-expert0xfurai/claude-code-subagentsAgent1.0k28d agoMITA23Claude Code
tokentonone-ai/tononeAgent85yesterdayMITA21Claude Code
security-ai-codejoaoguirunas/team-osAgent85d agoMITA94Claude Code
hyv-veo-prompt-smithkillernay/HearYourVOICEAgent1414mo agoMITB124Claude Code
ai-ml-engineerArieGoldkin/claude-forgeAgent73mo agoMITA45Claude Code