prompt-engineering

prompt-engineering is a skill for Claude Code from iradoweck/antigravity-awesome-skills. It costs 35 tokens per session (1,360 once invoked), scanned A, a copy of prompt-engineering, MIT.

A guide to writing instructions for large language models so their responses better match a task's format and constraints. It covers examples, reasoning requests, and ways to improve reliability without assuming one method always works.

In plain words
What is it for?
Use it to create or refine prompts, add useful input-output examples, control response formats, and investigate unexpected agent behavior. It is aimed at prompt design rather than model training.
Why use it?
It helps address inconsistent, vague, or poorly formatted model responses. It also encourages checking the effect of prompt changes rather than treating a prompting technique as universally effective.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-awesome-skills plugin — 197 skills, 2 plugins shipped together

Good fit Use it to create or refine prompts, add useful input-output examples, control response formats, and investigate unexpected agent behavior. It is aimed at prompt design rather than model training.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iradoweck/antigravity-awesome-skills/prompt-engineering
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.

Any agent
npx skills add iradoweck/antigravity-awesome-skills --skill prompt-engineering
Clone the repo
git clone --depth 1 https://github.com/iradoweck/antigravity-awesome-skills

Made for: Claude Code.

Or install agentic-awesome-skills, the plugin that ships this one along with the rest of its 197 skills, 2 plugins.

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-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/iradoweck/antigravity-awesome-skills/prompt-engineering/github.svg)](https://agentmods.dev/skills/iradoweck/antigravity-awesome-skills/prompt-engineering)
Your own site
<a href="https://agentmods.dev/skills/iradoweck/antigravity-awesome-skills/prompt-engineering"><img src="https://agentmods.dev/badge/skills/iradoweck/antigravity-awesome-skills/prompt-engineering/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prompt-engineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/iradoweck/antigravity-awesome-skills/prompt-engineering"><img src="https://agentmods.dev/badge/skills/iradoweck/antigravity-awesome-skills/prompt-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,360 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% 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.1 $0.00035 $0.01360
Opus 5.5 $0.00014 $0.00544
Sonnet 5.5 $0.00007 $0.00272
Haiku 4.5 $0.00003 $0.00136

Measured 3d ago against content hash f97124ccb20a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

Origin

This is a copy

100% identical to prompt-engineering — 0 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/aasb-aas-agent-mcp-builder/skills/prompt-engineering/SKILL.md · 189 lines

How it starts

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

Prompt Engineering Patterns

Advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.

Core Capabilities

1. Few-Shot Learning

Teach the model by showing examples instead of explaining rules. Include 2-5 input-output pairs that demonstrate the desired behavior. Use when you need consistent formatting, specific reasoning patterns, or handling of edge cases. Additional examples may help or hurt; evaluate their relevance and token cost.

Example:

Extract key information from support tickets:

Input: "My login doesn't work and I keep getting error 403"
Output: {"issue": "authentication", "error_code": "403", "priority": "high"}

Input: "Feature request: add dark mode to settings"
Output: {"issue": "feature_request", "error_code": null, "priority": "low"}

Now process: "Can't upload files larger than 10MB, getting timeout"

2. Chain-of-Thought Prompting

Ask for a concise rationale, assumptions, calculations or independently checkable evidence suitable for the task. Do not request hidden internal reasoning or assume a fixed percentage improvement; effects depend on model, task and evaluation.

Example:

Analyze this bug report and determine root cause.

Give a concise evidence-based diagnosis covering:

1. What is the expected behavior?
2. What is the actual behavior?
3. What changed recently that could cause this?
4. What components are involved?
5. What is the most likely root cause?

Bug: "Users can't save drafts after the cache update deployed yesterday"

3. Prompt Optimization

Systematically improve prompts through testing and refinement. Start simple, measure performance (accuracy, consistency, token usage), then iterate. Test on diverse inputs including edge cases. Use A/B testing to compare variations. Critical for production prompts where consistency and cost matter.

Example:

Version 1 (Simple): "Summarize this article"
→ Result: Inconsistent length, misses key points

Version 2 (Add constraints): "Summarize in 3 bullet points"
→ Result: Better structure, but still misses nuance

Version 3 (Add reasoning): "Identify the 3 main findings, then summarize each"
→ Result: Consistent, accurate, captures key information

Read the full file on GitHub · 189 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. 3d ago First seen · 189 lines · 35 tokens per session scan A f97124ccb20a

Subscribe to this mod's changes

prompt-engineering is a skill published in the GitHub repository iradoweck/antigravity-awesome-skills (31 stars, last pushed 4d ago), licensed MIT. It adds 35 tokens to every session and 1,360 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to prompt-engineering, differing in 0 lines, and is treated as a copy.

Related

prompt-engineering compared with skills from other repositories

prompt-engineering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prompt-engineeringiradoweck/antigravity-awesome-skillsSkill314d agoMITA35Claude Code
llm-app-patternsdavila7/claude-code-templatesSkill34ktodayMITA54Claude Code, Codex
enhance-promptgoogle-labs-code/stitch-skillsSkill14kyesterdayApache-2.0A41Claude Code
prompt-engineerJeffallan/claude-skillsSkill13ktodayMITA93Claude Code
prompt-optimizationlangwatch/langwatchSkill5.1ktodayApache-2.0A105Claude Code, Codex
prompt-library-for-startupsaws/agent-toolkit-for-awsSkill3.6ktodayApache-2.0A244Claude Code
hve-buildermicrosoft/hve-coreSkill1.6k4d agoMITA54Claude Code