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 CodeAlive-AI/ai-driven-development --skill prompt-engineeringgit clone --depth 1 https://github.com/CodeAlive-AI/ai-driven-developmentWrote 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/codealive-ai/ai-driven-development/prompt-engineering)<a href="https://agentmods.dev/skills/codealive-ai/ai-driven-development/prompt-engineering"><img src="https://agentmods.dev/badge/skills/codealive-ai/ai-driven-development/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.
<a href="https://agentmods.dev/skills/codealive-ai/ai-driven-development/prompt-engineering"><img src="https://agentmods.dev/badge/skills/codealive-ai/ai-driven-development/prompt-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
SkillSpector: 1 finding, up to low
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- low Excessive Agency · line 118 Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
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.00076 | $0.03724 |
| Opus 5.5 | $0.00030 | $0.01490 |
| Sonnet 5.5 | $0.00015 | $0.00745 |
| Haiku 4.5 | $0.00008 | $0.00372 |
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 1mo 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 — 321 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Prompt Engineering
Universal techniques for crafting effective prompts across any LLM.
Core Principles
1. Structure with XML Tags
Use XML tags to create clear, parseable prompts:
<context>Background information here</context>
<instructions>
1. First step
2. Second step
</instructions>
<examples>Sample inputs/outputs</examples>
<output_format>Expected structure</output_format>
Benefits:
- Clarity: Separates context, instructions, and examples
- Accuracy: Prevents model from mixing up sections
- Flexibility: Easy to modify individual parts
- Parseability: Enables structured output extraction
Best practices:
- Use consistent tag names throughout (
<instructions>, not sometimes<steps>) - Reference tags explicitly: "Using the data in
<context>tags..." - Nest tags for hierarchy:
<examples><example id="1">...</example></examples> - Combine with other techniques:
<thinking>for chain-of-thought,<answer>for final output
2. Control Output Shape
Specify explicit constraints on length, format, and structure:
<output_spec>
- Default: 3-6 sentences or ≤5 bullets
- Simple yes/no questions: ≤2 sentences
- Complex multi-step tasks:
- 1 short overview paragraph
- ≤5 bullets: What changed, Where, Risks, Next steps, Open questions
- Use Markdown with headers, bullets, tables when helpful
- Avoid long narrative paragraphs; prefer compact structure
</output_spec>
3. Prevent Scope Drift
Explicitly constrain what the model should NOT do:
<constraints>
- Implement EXACTLY and ONLY what is requested
- No extra features, components, or embellishments
- If ambiguous, choose the simplest valid interpretation
- Do NOT invent values, make assumptions, or add unrequested elements
</constraints>
4. Handle Ambiguity Explicitly
Prevent hallucinations and overconfidence:
<uncertainty_handling>
- If the question is ambiguous:
- Ask 1-3 precise clarifying questions, OR
- Present 2-3 plausible interpretations with labeled assumptions
- When facts may have changed: answer in general terms, state uncertainty
- Never fabricate exact figures or references when uncertain
- Prefer "Based on the provided context..." over absolute claims
</uncertainty_handling>
What ships with it
20 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.
- README.md 2.7 KB
- references/claude-fable5-prompting.md 6.1 KB
- references/claude-fable51-prompting.md 4.3 KB
- references/claude-family-prompting.md 36 KB
- references/evaluation-redteaming.md 5.6 KB
- references/failure-taxonomy.md 10 KB
- references/gemini3-family-prompting.md 15 KB
- references/gpt5-family-prompting.md 37 KB
- references/gpt5-prompting-guide.md 9.7 KB
- references/gpt56-sol-prompting.md 7.1 KB
- references/gpt6-astra-prompting.md 4.4 KB
- references/mistakes-context.md 4.0 KB
- references/mistakes-debt.md 4.8 KB
- references/mistakes-hallucinations.md 3.9 KB
- references/mistakes-security.md 5.5 KB
- references/mistakes-structure.md 5.5 KB
- references/prompt-audit-checklist.md 11 KB
- references/prompting-introduction.md 29 KB
- references/prompting-risks.md 24 KB
- references/prompting-techniques.md 64 KB
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.
- 1mo ago Changed · +2 lines c36c1ab55c00
- 1mo ago First seen · 319 lines · 76 tokens per session scan A 93d15d76f772
prompt-engineering is a skill published in the GitHub repository CodeAlive-AI/ai-driven-development (163 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 3,724 once invoked, about $0.0003 per session on Opus 5.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-30.
Other skills, from other repositories
agent-platform-prompt-management
Manages and orchestrates prompts in Agent Platform. Use when you need to create, list, retrieve, version, or delete managed prompts in Agent Platform. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform prompts.
compressed-system-prompts
Shorten repeated system-prompt wording while preserving task scope, requirements, and instruction priority.
token-saver
Minimize token consumption & maximize prompt cache hit rate. Use when user asks to save tokens, reduce cost, improve cache hit rate, or be more concise.
kimi-prompting
Guidelines for composing effective prompts for Kimi CLI.
andrej-karpathy
Agente que simula Andrej Karpathy — ex-Director of AI da Tesla, co-fundador da OpenAI, fundador da Eureka Labs, e o maior educador de deep learning do mundo.
ai-wrapper-product
You know AI wrappers get a bad rap, but the good ones solve real problems. You build products where AI is the engine, not the gimmick. You understand prompt engineering is product development. You balance costs with user experience. You create AI products people actually pay for and use daily.