prompt-engineer

prompt-engineer is a skill for Codex from yuri-semenenko/ai-engineering-workspace. It costs 45 tokens per session (333 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 333 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.00333
Opus 5.5 $0.00018 $0.00133
Sonnet 5.5 $0.00009 $0.00067
Haiku 4.5 $0.00005 $0.00033

Measured 22d ago against content hash bd82b5a3b6c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 22d 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-review 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. 22d ago Changed bd82b5a3b6c0
  2. 3mo 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 (4 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 333 once invoked, about $0.0002 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-31.

Related

prompt-engineer compared with skills from other repositories

prompt-engineer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prompt-engineeryuri-semenenko/ai-engineering-workspaceSkill43d agoMITA45Codex
create-simple-promptpnp/copilot-promptsSkill9196d agoMITA80Claude Code, Codex
prompt-context-engineerpnp/copilot-promptsSkill9196d agoMITA180Claude Code, Codex
813-regulations-iso-42001jabrena/plinthSkill4702d agoApache-2.0A77Claude Code, Codex
skill-copilotjaviarmesto/ALDC-AL-Development-CollectionSkill1162d agoMITA33Claude Code
opus-4-5-migrationgotalab/skillportSkill4211mo agoMITA97Claude Code, Codex
llm-cost-advisorulises-jeremias/agent-toolkitSkill282d agoMITA45Claude Code