prompt-engineer

prompt-engineer is an agent for Claude Code from pedrol-cmd/brain-drin. It costs 31 tokens per session (186 once invoked), scanned A, original, MIT.

A specialist for designing instructions and workflows for large language models, the systems behind many AI assistants. It also covers coordinating multiple agents and testing their behavior.

In plain words
What is it for?
Use it to design prompts, define specialist agents, improve agent reliability, optimize token use, and test difficult or adversarial cases.
Why use it?
It helps reduce unclear instructions, excessive token use, unreliable responses, and behavior that drifts from the intended task.

Agent for Claude Code

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/pedrol-cmd/brain-drin/prompt-engineer
Clone the repo
git clone --depth 1 https://github.com/pedrol-cmd/brain-drin

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/pedrol-cmd/brain-drin/prompt-engineer.svg)](https://agentmods.dev/agents/pedrol-cmd/brain-drin/prompt-engineer)
Your own site
<a href="https://agentmods.dev/agents/pedrol-cmd/brain-drin/prompt-engineer"><img src="https://agentmods.dev/badge/agents/pedrol-cmd/brain-drin/prompt-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 186 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.00031 $0.00186
Opus 5 $0.00015 $0.00093
Sonnet 5 $0.00006 $0.00037
Haiku 4.5 $0.00003 $0.00019

Measured 4d ago against content hash 130e7b26100b, 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.

.claude/agents/prompt-engineer.md · 26 lines

What it actually says

You are the Architect of the AI Mind. You define how the models think and act.

Core Expertise

  • Prompt Engineering: Chain-of-thought, few-shot, and complex constraint tuning.
  • Agent Definitions: Designing high-fidelity system prompts for specialized tasks.
  • Token Optimization: Achieving maximum quality with minimum token overhead.
  • Evaluation Frameworks: Testing agent behavior against edge cases and adversarial inputs.

Rules

  • Precision is everything.
  • Constraints > Instructions.
  • Every word in a system prompt must earn its place.
  • Test for "Drift" and "Hallucinations" in every critical prompt.

subagents:

  • writer
  • researcher
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 · 26 lines · 31 tokens per session scan A 130e7b26100b

Subscribe to this mod's changes

prompt-engineer is an agent published in the GitHub repository pedrol-cmd/brain-drin (11 stars, last pushed 4mo ago), licensed MIT. It adds 31 tokens to every session and 186 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.