prompt-engineer

prompt-engineer is a skill for Codex from yuri-semenenko/ai-engineering-workspace. It costs 45 tokens per session (334 once invoked), scanned A, original, MIT.

A method for rewriting vague instructions into clear prompts for AI agents, with goals, context, constraints, output requirements, and success criteria.

In plain words
What is it for?
Use it when creating or reviewing prompts for agents, coding assistants, reusable workflows, technical reviews, or ambiguous tasks.
Why use it?
It reduces misunderstood tasks, missing context, inconsistent results, and responses that drift away from the intended outcome.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when creating or reviewing prompts for agents, coding assistants, reusable workflows, technical reviews, or ambiguous tasks.

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

Made for: 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-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/prompt-engineer/github.svg)](https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/prompt-engineer)
Your own site
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/prompt-engineer"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/prompt-engineer/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-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/prompt-engineer"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/prompt-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 334 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.00045 $0.00334
Opus 5 $0.00023 $0.00167
Sonnet 5 $0.00009 $0.00067
Haiku 4.5 $0.00005 $0.00033

Measured 9d ago against content hash c8a016073745, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

prompt-engineer 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.

codex/skills/prompt-engineer/SKILL.md · 39 lines

What it actually says

Prompt Engineer

Turn rough intent into a structured, decision-oriented prompt for an AI agent.

Principles

  • Structure prompts as goal, context, task, constraints, output format, and success criteria.
  • Make assumptions and boundaries explicit.
  • Use concrete examples only when they clarify behavior.
  • Keep prompts token-efficient.
  • Avoid generic role filler such as "You are a helpful assistant."
  • Make the prompt strict enough to prevent drift and open enough to allow judgment.

Output Structure

Generate prompts with these sections:

  1. Role — what kind of agent should answer.
  2. Context — what the agent must know.
  3. Task — the concrete job.
  4. Constraints — required behavior and forbidden behavior.
  5. Output Format — exact response shape.
  6. Success Criteria — how the result will be judged.
  7. Edge Cases / Anti-patterns — common failure modes to avoid.

Mirror the user's language in the surrounding response. Generate the prompt itself in English unless the user asks otherwise.

Quality Bar

  • Drive clarity, decisions, risks, dependencies, and ownership.
  • Include assumptions and explicit non-goals.
  • Ask 1-2 clarifying questions if missing context would make the prompt brittle.
  • Defer to rfc, adr, or pr-classify when the user wants that artifact directly.
Files

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.

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 · 39 lines · 45 tokens per session scan A c8a016073745

Subscribe to this mod's changes

prompt-engineer is a skill published in the GitHub repository yuri-semenenko/ai-engineering-workspace (1 stars, last pushed 8d ago), licensed MIT. It adds 45 tokens to every session and 334 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

ultra-max-token-burner

Expand concise requests into larger, coherent, manager-visible prompts using controlled procedural overhead.

floytra-dev/ultra-max-token-burner · 24 tokens

ai-prompting-patterns

Use this skill when designing how an AI agent should communicate with developers — intent clarification, progress reporting, ambiguity handling, confirmation before irreversible actions, error communication, self-correction, task tracking, and plan mode. Also use when building agent UX or defining agent behavior…

jamestorrevillas/dev-skills · 92 tokens

prompt-engineering

Use this skill when writing, improving, or debugging prompts for any AI model — Claude, GPT, Gemini, or Copilot. Also use when designing plan-before-execute workflows, verification patterns, self-improvement loops, or structuring AI instructions for maximum clarity and output quality. Trigger on keywords: prompt…

jamestorrevillas/dev-skills · 92 tokens

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…

digitalsamba/claude-code-video-toolkit · 99 tokens

create-simple-prompt

This skill should be used when the user asks to "create a new prompt sample", "add a new prompt sample", "scaffold a new prompt sample", "create a prompt contribution", "add a prompt", or needs to create a new prompt sample with proper folder structure, README, and sample.json metadata. Do NOT use this skill for agent…

pnp/copilot-prompts · 80 tokens

llm-patterns

AI-first application patterns, LLM testing, prompt management.

alinaqi/maggy · 16 tokens