prompt-engineering-expert

prompt-engineering-expert is a skill for Codex from alecs5am/ralphy. It costs 76 tokens per session (1,104 once invoked), scanned A, original, Apache-2.0.

A guide for designing instructions for AI models and coding agents. It covers reusable prompts, system instructions, tool-use guidance, and ways to test whether instructions work.

In plain words
What is it for?
Use it to review, rewrite, debug, document, or test prompts and agent instructions.
Why use it?
It helps remove ambiguity, conflicting directions, missing context, and output requirements that can make AI responses unreliable.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to review, rewrite, debug, document, or test prompts and agent instructions.

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

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-engineering-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/alecs5am/ralphy/prompt-engineering-expert.svg)](https://agentmods.dev/skills/alecs5am/ralphy/prompt-engineering-expert)
Your own site
<a href="https://agentmods.dev/skills/alecs5am/ralphy/prompt-engineering-expert"><img src="https://agentmods.dev/badge/skills/alecs5am/ralphy/prompt-engineering-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,104 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00076 $0.01104
Opus 5 $0.00038 $0.00552
Sonnet 5 $0.00015 $0.00221
Haiku 4.5 $0.00008 $0.00110

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

Security

Grade A, and why

prompt-engineering-expert 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 5d 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.

notes/skills/prompt-engineering-expert/SKILL.md · 103 lines

How it starts

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

Prompt Engineering Expert

Use this skill to make prompts clearer, more reliable, easier to evaluate, and better matched to the model, task, tools, and operating context.

Workflow

Identify the prompt's job: task, audience, model or agent context, available tools, inputs, output consumers, and failure cost. Diagnose weaknesses before rewriting: ambiguity, missing context, conflicting instructions, brittle examples, unsafe scope, untestable success criteria, output format gaps, or token bloat. Choose the lightest effective technique: direct instructions first; add roles, examples, structured tags, staged reasoning, tool-use guidance, or prompt chaining only when they solve a concrete issue. Produce an improved prompt or instruction set with enough surrounding explanation for the user to evaluate the tradeoffs. Define validation: expected behaviors, edge cases, regression cases, and success criteria.

Response Pattern

For prompt reviews, prefer this structure:

  • Diagnosis: the highest-impact issues, ordered by severity.
  • Revision: a ready-to-use improved prompt.
  • Why It Works: concise rationale for major changes.
  • Tests: representative cases the user should run.

For prompt generation, prefer:

  • Ask for missing high-risk constraints only if they cannot be reasonably assumed.
  • Otherwise state assumptions and draft the prompt.
  • Include variables/placeholders when the prompt should be reusable.
  • Include a short evaluation checklist.

Core Principles

  • Make the task objective explicit.
  • Give only the context needed to perform the task.
  • State non-negotiable constraints separately from preferences.
  • Specify the expected output format when downstream use matters.
  • Use examples to teach patterns, not to smuggle one-off answers.
  • Avoid hidden contradictions between role, task, constraints, and format.
  • Prefer observable success criteria over subjective goals such as "high quality" or "good."
  • Preserve model flexibility where multiple valid answers exist.
  • Add safeguards for uncertainty: cite provided evidence, mark assumptions, and say what is unknown.

Read the full file on GitHub · 103 lines

Files

What ships with it

5 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.

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. 5d ago First seen · 103 lines · 76 tokens per session scan A ec81a7767660

Subscribe to this mod's changes

prompt-engineering-expert is a skill published in the GitHub repository alecs5am/ralphy (132 stars, last pushed 13d ago), licensed Apache-2.0. It adds 76 tokens to every session and 1,104 once invoked, about $0.0004 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

create-art-prompt

Fabric pattern: createartprompt.

bdmorin/the-no-shop · 11 tokens

histolab

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

synthetic-sciences/openscience · 62 tokens

torch-geometric

Graph Neural Networks (PyG). Node/graph classification, link prediction, GCN, GAT, GraphSAGE, heterogeneous graphs, molecular property prediction, for geometric deep learning.

synthetic-sciences/openscience · 41 tokens

zarr-python

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

synthetic-sciences/openscience · 42 tokens

glycobiology

Glycosylation site prediction and glycobiology analysis. N-glycosylation motif finding, O-glycosylation hotspot prediction, glycan structure resources. Lightweight, pure Python. For protein function queries use uniprot-database; for structure analysis use alphafold-database.

synthetic-sciences/openscience · 67 tokens

pyhealth

Comprehensive healthcare AI toolkit for developing, testing, and deploying machine learning models with clinical data. This skill should be used when working with electronic health records (EHR), clinical prediction tasks (mortality, readmission, drug recommendation), medical coding systems (ICD, NDC, ATC)…

synthetic-sciences/openscience · 109 tokens