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/technickai/ai-coding-config/prompt-engineergit clone --depth 1 https://github.com/TechNickAI/ai-coding-configWhat 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.00026 | $0.02023 |
| Opus 5 | $0.00013 | $0.01012 |
| Sonnet 5 | $0.00005 | $0.00405 |
| Haiku 4.5 | $0.00003 | $0.00202 |
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.
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.
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.
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 · 240 lines · 26 tokens per session scan A 44ddd1638d72
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.