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

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.

agentmods
npx agentmods add skills/opencue/cuecards/prompt-engineer
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00054 $0.00579
Opus 5 $0.00027 $0.00290
Sonnet 5 $0.00011 $0.00116
Haiku 4.5 $0.00005 $0.00058

Measured yesterday against content hash 73722e30e413, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 (5 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 579 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

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

ai-engineering

Building production features powered by LLMs — model selection, prompt design as engineering, structured output, RAG, evals, cost/latency budgets, and guardrails. Use when adding AI features to a product (chat, extraction, summarization, classification, search), designing prompts that ship to production, building RAG…

05-deepak-patidar/claude-skills · 104 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. This skill covers LLM integration patterns, RAG architecture, prompt ...

rootcastleco/rei-skills · 43 tokens

super-ai-ml-foundation

AI/ML foundations: model selection, prompt design, RAG, embeddings, and vector search. Use for core AI app design and build.

arpitexplores/skills-super · 36 tokens

dspy

DSPy: declarative LM programs, auto-optimize prompts, RAG.

NousResearch/hermes-agent · 19 tokens

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens