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 skills/stellarshenson/claude-code-plugins/prompt-engineeringnpx skills add stellarshenson/claude-code-plugins --skill prompt-engineeringgit clone --depth 1 https://github.com/stellarshenson/claude-code-pluginsWrote 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/stellarshenson/claude-code-plugins/prompt-engineering)<a href="https://agentmods.dev/skills/stellarshenson/claude-code-plugins/prompt-engineering"><img src="https://agentmods.dev/badge/skills/stellarshenson/claude-code-plugins/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 | $0.00041 | $0.00360 |
| Opus 5 | $0.00020 | $0.00180 |
| Sonnet 5 | $0.00008 | $0.00072 |
| Haiku 4.5 | $0.00004 | $0.00036 |
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 3d 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.
What it actually says
Prompt Engineering Techniques
Research-backed techniques. Each has a reference - paper, template, usage. Read reference before applying.
Techniques
| # | Technique | Best for | Reference |
|---|---|---|---|
| 1 | Psychological Prompting | Complex tasks, max effort (+45-115%) | references/psychological-prompting.md |
| 2 | Chain of Thought | Math, logic, debugging (+46%) | references/chain-of-thought.md |
| 3 | Chain of Draft | Token-limited reasoning (7.6% token cost) | references/chain-of-draft.md |
| 4 | Tree of Thought | Design decisions, architecture | references/tree-of-thought.md |
| 5 | Few-Shot | Structured output, classification | references/few-shot.md |
| 6 | Self-Refine | Code, documents, iterative quality | references/self-refine.md |
| 7 | Rephrase and Respond | Ambiguous requirements | references/rephrase-and-respond.md |
How to use
- Pick from table
- Read reference for template + examples
- Apply template
- Techniques stack - psychological + chain-of-thought + self-refine for max effect
When auto-triggered
System prompts, agent definitions, orchestrator templates, claude -p prompts, evaluation criteria.
What ships with it
7 files 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.
- 3d ago First seen · 32 lines · 41 tokens per session scan A 35a27bc02669
prompt-engineering is a skill published in the GitHub repository stellarshenson/claude-code-plugins (3 stars, last pushed 4d ago), licensed MIT. It adds 41 tokens to every session and 360 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-31.
Other skills, from other repositories
enhance-prompt
Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.
prompt-optimization
Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…
prompt-engineer
Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot…
prompt-master
Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other…
ideogram4
Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors, or controlled spatial layout. Triggers…
seedance-antislop
This skill should be used when a Seedance 2.0 prompt contains generic AI filler, hollow superlatives, vague cinematic language, bloated adjectives, weak verbs, or needs sharper production-specific wording.