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 skills add berekvolgyipeter/dotclaude --skill prompt-engineeringgit clone --depth 1 https://github.com/berekvolgyipeter/dotclaudeWrote 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.
[](https://agentmods.dev/skills/berekvolgyipeter/dotclaude/prompt-engineering)<a href="https://agentmods.dev/skills/berekvolgyipeter/dotclaude/prompt-engineering"><img src="https://agentmods.dev/badge/skills/berekvolgyipeter/dotclaude/prompt-engineering.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00127 | $0.01309 |
| Opus 5 | $0.00063 | $0.00655 |
| Sonnet 5 | $0.00025 | $0.00262 |
| Haiku 4.5 | $0.00013 | $0.00131 |
Grade A, and why
prompt-engineering 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Prompt Engineering
Start here: what are you doing?
| Task | Go to |
|---|---|
| Writing a prompt from scratch | Crafting prompts |
| Reviewing or debugging an existing prompt | Prompt review checklist |
| Building an agentic system or multi-step workflow | Agentic prompt patterns |
| Need deeper detail on a specific technique | Going deeper — pick a source doc and WebFetch it |
Crafting prompts
The one principle that matters most: explain why, not just what. Claude reasons better with context than rigid rules. Instead of NEVER use ellipses, write Your response will be read aloud by a text-to-speech engine, so never use ellipses since the TTS engine can't pronounce them. Claude generalizes from the reasoning.
Structure for any non-trivial prompt:
- Role/context — who is Claude, what's the situation
- Input — wrapped in descriptive XML tags (
<code>,<document>,<query>) - Task — what to do, with success criteria
- Output format — show one concrete example rather than describing the format in prose
- Use
{{variables}}for dynamic content to make prompts reusable and testable
When adding examples (few-shot): use 3–5 diverse examples wrapped in <example> tags. Cover edge cases. Ask yourself: would a pattern-matcher pick up unintended shortcuts from these examples?
Prompt review checklist
Run through this when reviewing or debugging a prompt:
- Over-constraining? — Too many MUST/NEVER/ALWAYS makes prompts brittle. If you see a wall of rigid rules, rewrite them as reasoned guidance. One explained rationale outperforms five shouted commands.
- Kitchen-sink? — If the prompt handles discovery, analysis, and output in one block, break it into a chain. Each stage should have a clear input and output.
- Missing examples? — One concrete input/output example beats a paragraph of format description. If the prompt describes a format without showing it, add an example.
- Telling what NOT to do? — Reframe as positive instructions. "Don't use markdown" → "Write in flowing prose paragraphs." Claude steers better toward a destination than away from one.
- Leftover aggressive language from older models? — Phrases like "CRITICAL: You MUST use this tool" or "If in doubt, use [tool]" cause overtriggering on current Claude models. Dial back to normal phrasing: "Use this tool when..."
- Prefills on the last assistant turn? — Deprecated in Claude 4.6. Use direct instructions, structured outputs, or XML output tags instead. See migration patterns in the prompting best-practices doc listed under Going deeper.
- Vague action language? — "Can you suggest changes?" makes Claude suggest rather than act. "Change this function to..." makes it act. Be explicit about whether you want analysis or action.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 67 lines · 127 tokens per session scan A eeff0adc6872
prompt-engineering is a skill published in the GitHub repository berekvolgyipeter/dotclaude (2 stars, last pushed 25d ago), licensed MIT. It adds 127 tokens to every session and 1,309 once invoked, about $0.0006 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.
Other skills, from other repositories
shipkit-prompt-audit
Audit LLM prompt pipeline architecture — decomposition, parallelization, chain integrity, schema validation, fallback paths. Finds structural issues no linter catches.
nativeprompt
A prompt editor that adapts a user's request to the rules of a selected coding model, such as Claude Code, Codex, Gemini CLI, or GPT-5.
software-ai-integration
Applies production AI integration patterns for chat, structured output, guardrails, provider routing, and AI UX. Use when adding LLM-powered features to an application.
ai-prompt-engineering
Prompt engineering for production LLMs — structured outputs, evals, RAG, tool workflows, multimodal prompting, and safety. Use when designing, debugging, or shipping prompts.
semantic-compress
Make an LLM-directed document smaller while preserving what it does. Two modes: a local span-level core->pointer pass, and an A/B-validated distill loop that produces the smallest document that behaves the same as the original. Point at core knowledge the model already holds (a concept name activates it); keep…
ai-observability-promptfoo
Testing and evaluation framework for LLM prompts and applications -- promptfooconfig.yaml, assertions, model-graded evals, red teaming, CI/CD integration, custom providers, and comparative evaluation.