prompt-engineer

prompt-engineer is a skill for Claude Code, Codex from opencue/cuecards. It costs 54 tokens per session (579 once invoked), scanned A, original, MIT.

A prompt-writing tool that turns rough instructions or ideas into structured prompts for AI models.

In plain words
What is it for?
Creating and refining prompts for chat, agents, retrieval-augmented generation (RAG), and multi-step workflows.
Why use it?
It helps when an AI prompt is unclear, incomplete, or difficult to reuse for a specific task.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Good fit Creating and refining prompts for chat, agents, retrieval-augmented generation (RAG), and multi-step workflows.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencue/cuecards/prompt-engineer/github.svg)](https://agentmods.dev/skills/opencue/cuecards/prompt-engineer)
Your own site
<a href="https://agentmods.dev/skills/opencue/cuecards/prompt-engineer"><img src="https://agentmods.dev/badge/skills/opencue/cuecards/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/opencue/cuecards/prompt-engineer"><img src="https://agentmods.dev/badge/skills/opencue/cuecards/prompt-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 579 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.00054 $0.00579
Opus 5.5 $0.00022 $0.00232
Sonnet 5.5 $0.00011 $0.00116
Haiku 4.5 $0.00005 $0.00058

Measured 1mo ago against content hash 73722e30e413, 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (cli.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/prompt-engineer/SKILL.md · 76 lines

How it starts

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

Prompt Engineer

Expert prompt engineering skill that transforms rough ideas into well-structured, production-ready prompts optimized for LLMs.

When to Activate

  • User provides a rough prompt/idea and wants it refined
  • User asks to create/design/optimize a prompt for any LLM
  • User needs prompt architecture for agents, RAG, or multi-step workflows
  • User asks about prompting techniques or best practices

Workflow

1. Analyze Input

Identify from user's request:

  • Target model (Codex, GPT, Llama, etc.) — default: Codex
  • Use case (agent system prompt, task prompt, RAG, chat, etc.)
  • Domain (technical, creative, business, etc.)
  • Constraints (token limits, output format, safety requirements)

2. Apply Techniques

Select appropriate techniques from references/techniques.md based on use case:

  • Complex reasoning → Chain-of-Thought, Tree-of-Thoughts
  • Safety-critical → Constitutional AI patterns
  • Data extraction → Structured output, JSON mode
  • Multi-step tasks → Prompt chaining, agent patterns
  • Knowledge-heavy → RAG optimization

3. Craft the Prompt

Follow model-specific guidelines from references/model-optimization.md:

  • Structure with clear sections (role, context, instructions, output format)
  • Include examples where beneficial (few-shot)
  • Add constraints and guardrails
  • Optimize for token efficiency

4. Deliver Output

MANDATORY format — always include ALL sections:

The Prompt

Display complete prompt in a single copyable code block.

Implementation Notes
  • Techniques used and rationale
  • Model-specific optimizations
  • Parameter recommendations (temperature, max_tokens)
  • Expected behavior and output format
Testing & Evaluation
  • 3-5 test cases to validate
  • Edge cases and failure modes
  • Optimization suggestions
Usage Guidelines
  • When/how to use effectively
  • Customization options
  • Integration considerations

Key Principles

  • Always show the complete prompt — never just describe it
  • Token efficiency — concise but comprehensive
  • Production-ready — reliable, safe, optimized
  • Model-aware — tailor to target model's strengths
  • Refer to references/techniques.md for advanced technique details
  • Refer to references/model-specific-optimization-guide.md for model-specific guidance
  • Refer to references/production-patterns-and-enterprise-templates.md for enterprise patterns

Read the full file on GitHub · 76 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. 1mo ago First seen · 76 lines · 54 tokens per session scan A 73722e30e413

Subscribe to this mod's changes

prompt-engineer is a skill published in the GitHub repository opencue/cuecards (6 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 579 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-09-03.