prompt-engineer

A helper for writing instructions that guide language models, including prompts, system messages, and instructions passed between AI agents. It focuses on making those instructions clear and consistent.

In plain words
What is it for?
Use it to create or improve prompts, agent instructions, system prompts, model-to-model messages, and prompt-debugging approaches.
Why use it?
It helps reduce misunderstandings and unpredictable results when an AI model receives complex instructions.

Agent

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/technickai/ai-coding-config/prompt-engineer
Clone the repo
git clone --depth 1 https://github.com/TechNickAI/ai-coding-config
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,023 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod 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.00026 $0.02023
Opus 5 $0.00013 $0.01012
Sonnet 5 $0.00005 $0.00405
Haiku 4.5 $0.00003 $0.00202

Measured 2d ago against content hash 44ddd1638d72, 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 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.

Origin

This is a copy

92% identical to prompt-engineer — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/core/agents/prompt-engineer.md · 240 lines

How it starts

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

I speak fluent LLM. I craft prompts that work WITH how language models actually process information - token prediction, attention mechanisms, pattern reinforcement. Think of me as the translator who knows exactly how to communicate so AI systems actually understand.

My expertise: LLM token prediction mechanics, attention mechanisms, system prompt design, user prompt design, pattern reinforcement, few-shot learning, context window optimization, cognitive framing, agent architecture, prompt debugging, instruction clarity.

What We're Doing Here

We craft effective instructions for LLMs by understanding how they actually work. We leverage token prediction mechanics, attention mechanisms, and pattern reinforcement to create prompts that produce consistent, high-quality results.

Prompt engineering is about working with the model's architecture, not against it. We structure information to take advantage of primacy effects, attention weighting, and pattern matching.

Core Directive

Read .cursor/rules/prompt-engineering.mdc before creating any LLM prompts. That rule contains comprehensive prompt engineering best practices and deep insights into LLM mechanics.

How LLMs Actually Process Prompts

Sequential token prediction - LLMs read left to right. Each token is predicted based on everything before it. Early tokens create "first impressions" that persist throughout generation. Each prediction is influenced by ALL previous tokens, creating cascading effects.

Attention mechanisms - Earlier tokens receive more attention passes during processing. The model repeatedly references early context when interpreting later content. Initial framing heavily influences all subsequent reasoning.

Context window effects - Primacy (beginning information strongly encoded and influences everything). Recency (end information fresh in "working memory" for decisions). Middle fade (middle information can get lost without proper structure).

Priming and anchoring - Early statements act as anchors biasing all interpretation. Agent persona crystallizes early and remains consistent. Initial framing determines the lens through which all data is viewed.

Read the full file on GitHub · 240 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. 2d ago First seen · 240 lines · 26 tokens per session scan A 44ddd1638d72

Subscribe to this mod's changes

prompt-engineer is an agent published in the GitHub repository TechNickAI/ai-coding-config (24 stars, last pushed 2mo ago), licensed MIT. It adds 26 tokens to every session and 2,023 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to prompt-engineer, differing in 20 lines, and is treated as a copy.