prompt-engineering

prompt-engineering is a skill for Claude Code, Codex from desilokesh1/antigravity-fullstack-hq. It costs 35 tokens per session (533 once invoked), scanned A, original, MIT.

A structured method for creating, reviewing, and improving instructions for language models. It starts by defining the task, user, success criteria, and constraints, then tests and refines the wording.

In plain words
What is it for?
Use it to write new prompts, optimize existing ones, investigate poor results, add examples and constraints, and choose formats for creative, analytical, or structured tasks.
Why use it?
It helps remove vague or conflicting instructions so an AI system is more likely to produce the intended kind of answer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write new prompts, optimize existing ones, investigate poor results, add examples and constraints, and choose formats for creative, analytical, or structured tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desilokesh1/antigravity-fullstack-hq/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 desilokesh1/antigravity-fullstack-hq --skill prompt-engineering
Clone the repo
git clone --depth 1 https://github.com/desilokesh1/antigravity-fullstack-hq

Made for: Claude Code, Codex.

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/desilokesh1/antigravity-fullstack-hq/prompt-engineering/github.svg)](https://agentmods.dev/skills/desilokesh1/antigravity-fullstack-hq/prompt-engineering)
Your own site
<a href="https://agentmods.dev/skills/desilokesh1/antigravity-fullstack-hq/prompt-engineering"><img src="https://agentmods.dev/badge/skills/desilokesh1/antigravity-fullstack-hq/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/desilokesh1/antigravity-fullstack-hq/prompt-engineering"><img src="https://agentmods.dev/badge/skills/desilokesh1/antigravity-fullstack-hq/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 533 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 original No closer match found 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.00533
Opus 5 $0.00017 $0.00267
Sonnet 5 $0.00007 $0.00107
Haiku 4.5 $0.00003 $0.00053

Measured 9d ago against content hash 1933f208cc2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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.

skills/prompt-engineering/SKILL.md · 127 lines

How it starts

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

Prompt Engineering

Workflow

User Request
|
+-- "Create a prompt" --> EXPLORATION PHASE
+-- "Optimize this prompt" --> OPTIMIZATION PHASE
+-- "Fix this issue" --> ANALYSIS PHASE

Phase 1: Exploration

Before creating any prompt, understand:

  • What task will this prompt accomplish?
  • Who will use it?
  • What does success look like?
  • What are the constraints?

Phase 2: Analysis

Task Classification

Dimension Options
Complexity Simple vs multi-step
Output Creative vs analytical vs structured
Stakes High vs experimental

Strategy Selection

Task Type Approach
Simple Direct instructions
Complex Chain-of-thought
Creative Role setting
Structured Format specs + examples

Phase 3: Implementation

Version 1 - Minimal

  • Core instructions only
  • Test basic functionality

Version 2 - Enhanced

  • Add examples
  • Clarify ambiguities
  • Add constraints

Version 3+ - Optimized

  • Refine wording
  • Remove redundancy

Key Techniques

Role Setting

As an experienced code reviewer, analyze...

Chain-of-Thought

Think step-by-step:
1. First, identify...
2. Then, analyze...
3. Finally, conclude...

Few-Shot Learning

Example 1:
Input: "Great product"
Output: { "sentiment": "positive" }

Now analyze: "It was okay"

Explicit Constraints

- Limit to 3 paragraphs
- Focus on technical aspects only
- Do not include pricing

Prompt Template

## Context
[Background information]

## Role (Optional)
You are a [ROLE] with expertise in [DOMAIN].

## Task
[Clear instruction]

## Constraints
- Constraint 1
- Constraint 2

## Output Format
[Format specification]

## Examples (Optional)
[Input/Output examples]

Common Mistakes

Mistake Fix
Vague instructions Be specific
No examples Add 1-2 examples
Too many rules Simplify
No format spec Define output structure

Read the full file on GitHub · 127 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. 9d ago First seen · 127 lines · 35 tokens per session scan A 1933f208cc2e

Subscribe to this mod's changes

prompt-engineering is a skill published in the GitHub repository desilokesh1/antigravity-fullstack-hq (2 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 533 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.

Related

Other skills, from other repositories

ai-engineering-toolkit

6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

ai-wrapper-product

Expert in building products that wrap AI APIs (OpenAI, Anthropic, etc. ) into focused tools people will pay for. Not just "ChatGPT but different" - products that solve specific problems with AI.

sickn33/agentic-awesome-skills · 47 tokens

ai-product

Every product will be AI-powered. The question is whether you'll build it right or ship a demo that falls apart in production.

sickn33/agentic-awesome-skills · 28 tokens

ai-wrapper-product-v2

AI Wrapper Product workflow skill. Use this skill when the user needs Expert in building products that wrap AI APIs (OpenAI, Anthropic, and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 55 tokens

ai-engineering-toolkit

AI Engineering Toolkit workflow skill. Use this skill when the user needs 6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching and the operator…

diegosouzapw/awesome-omni-skills · 81 tokens

prompt-triwizard

Use when writing, refactoring, or evaluating LLM prompts (system prompts, user prompts, few-shot examples, or tool-call schemas) for agent pipeline nodes or stages. Triggers on: "write a system prompt for this agent", "improve this LLM instruction", "evaluate this prompt", "add few-shot examples to this node". Does…

HiMyNameIsDavidKim/prompt-triwizard-skill · 93 tokens