Agent skill

Openai Prompt Engineer

by jamesrochabrun in jamesrochabrun/skills

Generate and improve prompts using best practices for OpenAI GPT-5 and other LLMs.

MITAuto-check passedAI & LLM Engineering

Install Openai Prompt Engineer

skills CLI
$ npx skills add jamesrochabrun/skills --skill openai-prompt-engineer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jamesrochabrun/skills openai-prompt-engineer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jamesrochabrun/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/openai-prompt-engineer .claude/skills/openai-prompt-engineer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openai-prompt-engineer
GitHub stars
216
Token cost
~4.2k tokens
SKILL.md length
803 words
Files
5 (incl. references)
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Generate and improve prompts using best practices for OpenAI GPT-5 and other LLMs.

  • Works in 9 steps: Be Clear and Specific → Provide Structure → Use Examples (Few-Shot) → …
  • Tasks that involve Prompt engineering
  • SKILL.md covers What This Skill Does, Why Prompt Engineering Matters, Supported Models & Approaches and Core Prompting Principles, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Openai Prompt Engineer is an agent skill from jamesrochabrun/skills. Generate and improve prompts using best practices for OpenAI GPT-5 and other LLMs. Apply advanced techniques like chain-of-thought, few-shot prompting, and progressive disclosure.

Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/claude_techniques.md`, `references/gpt5_techniques.md` and `references/optimization_strategies.md`).

It sits in AI & LLM Engineering, covering Prompt engineering. It works with OpenAI. The licence is MIT.

When your agent uses it

  • Tasks that involve Prompt engineering

Example prompts

  • “/openai-prompt-engineer”

Requirements

  • Python 3

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Be Clear and Specific
  2. Provide Structure
  3. Use Examples (Few-Shot)
  4. Enable Reasoning
  5. Define Output Format
  6. Define Your Goal
  7. Choose Your Technique
  8. Build Your Prompt
  9. Test and Iterate

What it can do on your machine

Read from SKILL.md and the folder at commit 2482c17. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are xml and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openai Prompt Engineer loads about 4.2k tokens when it runs, and up to ~21k if it reads all its reference files. Until then it costs about 51 tokens; SKILL.md has 803 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~4.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~21k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jamesrochabrun/skills at commit 2482c17, republished under its MIT licence (© jamesrochabrun). 803 words, ~4,226 tokens.

Download SKILL.mdSave it as .claude/skills/openai-prompt-engineer/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
openai-prompt-engineer
description
Generate and improve prompts using best practices for OpenAI GPT-5 and other LLMs. Apply advanced techniques like chain-of-thought, few-shot prompting, and progressive disclosure.

OpenAI Prompt Engineer

A comprehensive skill for crafting, analyzing, and improving prompts for OpenAI's GPT-5 and other modern Large Language Models (LLMs), with focus on GPT-5-specific optimizations and universal prompting techniques.

What This Skill Does

Helps you create and optimize prompts using cutting-edge techniques:

  • Generate new prompts - Build effective prompts from scratch
  • Improve existing prompts - Enhance clarity, structure, and results
  • Apply best practices - Use proven techniques for each model
  • Optimize for specific models - GPT-5, Claude-specific strategies
  • Implement advanced patterns - Chain-of-thought, few-shot, structured prompting
  • Analyze prompt quality - Identify issues and suggest improvements

Why Prompt Engineering Matters

Without good prompts:

  • Inconsistent or incorrect outputs
  • Poor instruction following
  • Wasted tokens and API costs
  • Multiple attempts needed
  • Unpredictable behavior

With optimized prompts:

  • Accurate, consistent results
  • Better instruction adherence
  • Lower costs and latency
  • First-try success
  • Predictable, reliable outputs

Supported Models & Approaches

GPT-5 (OpenAI)
  • Structured prompting (role + task + constraints)
  • Reasoning effort calibration
  • Agentic behavior control
  • Verbosity management
  • Prompt optimizer integration
Claude (Anthropic)
  • XML tag structuring
  • Step-by-step thinking
  • Clear, specific instructions
  • Example-driven prompting
  • Progressive disclosure
Universal Techniques
  • Chain-of-thought prompting
  • Few-shot learning
  • Zero-shot prompting
  • Self-consistency
  • Role-based prompting

Core Prompting Principles

1. Be Clear and Specific

Bad: "Write about AI" Good: "Write a 500-word technical article explaining transformer architecture for software engineers with 2-3 years of experience. Include code examples in Python and focus on practical implementation."

2. Provide Structure

Use clear formatting to organize instructions:

Role: You are a senior Python developer
Task: Review this code for security vulnerabilities
Constraints:
- Focus on OWASP Top 10
- Provide specific line numbers
- Suggest fixes with code examples
Output format: Markdown with severity ratings
3. Use Examples (Few-Shot)

Show the model what you want:

Input: "User clicked login"
Output: "USER_LOGIN_CLICKED"

Input: "Payment processed successfully"
Output: "PAYMENT_PROCESSED_SUCCESS"

Input: "Email verification failed"
Output: [Your turn]
4. Enable Reasoning

Add phrases like:

  • "Think step-by-step"
  • "Let's break this down"
  • "First, analyze... then..."
  • "Show your reasoning"
5. Define Output Format

Specify exactly how you want the response:

xml
<output_format>
  <summary>One sentence overview</summary>
  <details>
    <point>Key finding 1</point>
    <point>Key finding 2</point>
  </details>
  <recommendation>Specific action to take</recommendation>
</output_format>

Prompt Engineering Workflow

1. Define Your Goal
  • What task are you solving?
  • What's the ideal output?
  • Who's the audience?
  • What model will you use?
2. Choose Your Technique
  • Simple task? → Direct instruction
  • Complex reasoning? → Chain-of-thought
  • Pattern matching? → Few-shot examples
  • Need consistency? → Structured format + examples
3. Build Your Prompt

Use this template:

[ROLE/CONTEXT]
You are [specific role with relevant expertise]

[TASK]
[Clear, specific task description]

[CONSTRAINTS]
- [Limitation 1]
- [Limitation 2]

[FORMAT]
Output should be [exact format specification]

[EXAMPLES - if using few-shot]
[Example 1]
[Example 2]

[THINK STEP-BY-STEP - if complex reasoning]
Before answering, [thinking instruction]
4. Test and Iterate
  • Run the prompt
  • Analyze output quality
  • Identify issues
  • Refine and retry
  • Document what works

Advanced Techniques

Chain-of-Thought (CoT) Prompting

When to use: Complex reasoning, math, multi-step problems

How it works: Ask the model to show intermediate steps

Example:

Problem: A store has 15 apples. They sell 60% in the morning and
half of what's left in the afternoon. How many remain?

Please solve this step-by-step:
1. Calculate morning sales
2. Calculate remaining after morning
3. Calculate afternoon sales
4. Calculate final remaining

Result: More accurate answers through explicit reasoning

Few-Shot Prompting

When to use: Pattern matching, classification, style transfer

How it works: Provide 2-5 examples, then the actual task

Example:

Convert casual text to professional business tone:

Input: "Hey! Thanks for reaching out. Let's chat soon!"
Output: "Thank you for your message. I look forward to our conversation."

Input: "That's a great idea! I'm totally on board with this."
Output: "I appreciate your suggestion and fully support this initiative."

Input: "Sounds good, catch you later!"
Output: [Model completes]
Zero-Shot Chain-of-Thought

When to use: Complex problems without examples

How it works: Simply add "Let's think step by step"

Example:

Question: What are the security implications of storing JWTs
in localStorage?

Let's think step by step:

Magic phrase: "Let's think step by step" → dramatically improves reasoning

Structured Output with XML

When to use: Working with Claude or need parsed output

Example:

Analyze this code for issues. Structure your response as:

<analysis>
  <security_issues>
    <issue severity="high|medium|low">
      <description>What's wrong</description>
      <location>File and line number</location>
      <fix>How to fix it</fix>
    </issue>
  </security_issues>
  <performance_issues>
    <!-- Same structure -->
  </performance_issues>
  <best_practices>
    <suggestion>Improvement suggestion</suggestion>
  </best_practices>
</analysis>
Progressive Disclosure

When to use: Large context, multi-step workflows

How it works: Break tasks into stages, only request what's needed now

Example:

Stage 1: "Analyze this codebase structure and list the main components"
[Get response]

Stage 2: "Now, for the authentication component you identified,
show me the security review"
[Get response]

Stage 3: "Based on that review, generate fixes for the high-severity issues"

Model-Specific Best Practices

GPT-5 Optimization

Structured Prompting:

ROLE: Senior TypeScript Developer
TASK: Implement user authentication service
CONSTRAINTS:
- Use JWT with refresh tokens
- TypeScript with strict mode
- Include comprehensive error handling
- Follow SOLID principles
OUTPUT: Complete TypeScript class with JSDoc comments
REASONING_EFFORT: high (for complex business logic)

Control Agentic Behavior:

"Implement this feature step-by-step, asking for confirmation
before each major decision"

OR

"Complete this task end-to-end without asking for guidance.
Persist until fully handled."

Manage Verbosity:

"Provide a concise implementation (under 100 lines) focusing
only on core functionality"
Claude Optimization

Use XML Tags:

<instruction>
Review this pull request for security issues
</instruction>

<code>
[Code to review]
</code>

<focus_areas>
- SQL injection vulnerabilities
- XSS attack vectors
- Authentication bypasses
- Data exposure risks
</focus_areas>

<output_format>
For each issue found, provide:
1. Severity (Critical/High/Medium/Low)
2. Location
3. Explanation
4. Fix recommendation
</output_format>

Step-by-Step Thinking:

Think through this architecture decision step by step:
1. First, identify the requirements
2. Then, list possible approaches
3. Evaluate trade-offs for each
4. Make a recommendation with reasoning

Clear Specificity:

BAD: "Make the response professional"
GOOD: "Use formal business language, avoid contractions,
address the user as 'you', keep sentences under 20 words"
Show full SKILL.md (328 more words)Show less

Prompt Improvement Checklist

Use this checklist to improve any prompt:

  • Clear role defined - Is the AI's expertise specified?
  • Specific task - Is it unambiguous what to do?
  • Constraints listed - Are limitations clear?
  • Format specified - Is output structure defined?
  • Examples provided - Do you show what you want (if needed)?
  • Reasoning enabled - Do you ask for step-by-step thinking (if complex)?
  • Context included - Does the AI have necessary background?
  • Edge cases covered - Are exceptions handled?
  • Length specified - Is output length clear?
  • Tone/style defined - Is the desired voice specified?

Common Prompt Problems & Fixes

Problem: Vague Instructions

Before:

"Write some code for user authentication"

After:

"Write a TypeScript class called AuthService that:
- Accepts email/password credentials
- Validates against a User repository
- Returns a JWT token on success
- Throws AuthenticationError on failure
- Includes comprehensive JSDoc comments
- Follows dependency injection pattern"
Problem: No Examples (When Needed)

Before:

"Convert these variable names to camelCase"

After:

"Convert these variable names to camelCase:

user_name → userName
total_count → totalCount
is_active → isActive

Now convert:
order_status →
created_at →
max_retry_count →"
Problem: Missing Output Format

Before:

"Analyze this code for problems"

After:

"Analyze this code and output in this format:

## Security Issues
- [Issue]: [Description] (Line X)

## Performance Issues
- [Issue]: [Description] (Line X)

## Code Quality
- [Issue]: [Description] (Line X)

## Recommendations
1. [Priority 1 fix]
2. [Priority 2 fix]"
Problem: Too Complex (Single Shot)

Before:

"Build a complete e-commerce backend with authentication,
payments, inventory, and shipping"

After (Progressive):

"Let's build this in stages:

Stage 1: Design the authentication system architecture
[Get response, review]

Stage 2: Implement the auth service
[Get response, review]

Stage 3: Add payment processing
[Continue...]"

Using This Skill

Generate a New Prompt

Ask:

"Using the prompt-engineer skill, create a prompt for:
[Describe your task and requirements]"

You'll get:

  • Structured prompt template
  • Recommended techniques
  • Example few-shots if applicable
  • Model-specific optimizations
Improve an Existing Prompt

Ask:

"Using the prompt-engineer skill, improve this prompt:

[Your current prompt]

Goal: [What you want to achieve]
Model: [GPT-5 / Claude / Other]"

You'll get:

  • Analysis of current issues
  • Improved version
  • Explanation of changes
  • Expected improvement in results
Analyze Prompt Quality

Ask:

"Using the prompt-engineer skill, analyze this prompt:
[Your prompt]"

You'll get:

  • Quality score
  • Identified weaknesses
  • Specific improvement suggestions
  • Best practices violations

Real-World Examples

Example 1: Code Review Prompt

Task: Get thorough, consistent code reviews

Optimized Prompt:

ROLE: Senior Software Engineer conducting PR review

REVIEW THIS CODE:
[code block]

REVIEW CRITERIA:
1. Security vulnerabilities (OWASP Top 10)
2. Performance issues
3. Code quality and readability
4. Best practices compliance
5. Test coverage gaps

OUTPUT FORMAT:
For each issue found:
- Severity: [Critical/High/Medium/Low]
- Category: [Security/Performance/Quality/Testing]
- Location: [File:Line]
- Issue: [Clear description]
- Impact: [Why this matters]
- Fix: [Specific code recommendation]

At the end, provide:
- Overall assessment (Approve/Request Changes/Comment)
- Summary of critical items that must be fixed
Example 2: Technical Documentation

Task: Generate clear API documentation

Optimized Prompt:

ROLE: Technical writer with API documentation expertise

TASK: Generate API documentation for this endpoint

ENDPOINT DETAILS:
[code/specs]

DOCUMENTATION REQUIREMENTS:
- Target audience: Junior to mid-level developers
- Include curl and JavaScript examples
- Explain all parameters clearly
- Show example responses with descriptions
- Include common error cases
- Add troubleshooting section

FORMAT:
# [Endpoint Name]

## Overview
[One paragraph description]

## Endpoint
`[HTTP METHOD] /path`

## Parameters
| Name | Type | Required | Description |
|------|------|----------|-------------|

## Request Example
```bash
[curl example]

Response

Success (200)
json
[example with inline comments]
Errors
  • 400: [Description and fix]
  • 401: [Description and fix]

Common Issues

[Troubleshooting guide]


### Example 3: Data Analysis

**Task:** Analyze data and provide insights

**Optimized Prompt:**

ROLE: Data analyst with expertise in business metrics

DATA: [dataset]

ANALYSIS REQUEST: Analyze this data step-by-step:

  1. FIRST: Identify key metrics and trends
  2. THEN: Calculate:
    • Growth rate (month-over-month)
    • Average values
    • Anomalies or outliers
  3. NEXT: Draw business insights
  4. FINALLY: Provide actionable recommendations

OUTPUT FORMAT:

Executive Summary

[2-3 sentences]

Key Metrics

| Metric | Value | Change | Trend |

Insights

  1. [Insight with supporting data]
  2. [Insight with supporting data]

Recommendations

  1. [Action]: [Expected impact]
  2. [Action]: [Expected impact]

Methodology

[Brief explanation of analysis approach]


## Best Practices Summary

### DO ✅

- **Be specific** - Exact requirements, not vague requests
- **Use structure** - Organize with clear sections
- **Provide examples** - Show what you want (few-shot)
- **Request reasoning** - "Think step-by-step" for complex tasks
- **Define format** - Specify exact output structure
- **Test iteratively** - Refine based on results
- **Match to model** - Use model-specific techniques
- **Include context** - Give necessary background
- **Handle edge cases** - Specify exception handling
- **Set constraints** - Define limitations clearly

### DON'T ❌

- **Be vague** - "Write something about X"
- **Skip examples** - When patterns need to be matched
- **Assume format** - Model will choose unpredictably
- **Overload single prompt** - Break complex tasks into stages
- **Ignore model differences** - GPT-5 and Claude need different approaches
- **Give up too soon** - Iterate on prompts
- **Mix instructions** - Keep separate concerns separate
- **Forget constraints** - Specify ALL requirements
- **Use ambiguous terms** - "Good", "professional", "better" without definition
- **Skip testing** - Always validate outputs

## Quick Reference

### Prompt Template (Universal)

[ROLE] You are [specific expertise]

[CONTEXT] [Background information]

[TASK] [Clear, specific task]

[CONSTRAINTS]

  • [Limit 1]
  • [Limit 2]

[FORMAT] [Exact output structure]

[EXAMPLES - Optional] [2-3 examples]

[REASONING - Optional] Think through this step-by-step: [Thinking guidance]


### When to Use Each Technique

| Technique | Best For | Example Use Case |
|-----------|----------|------------------|
| Chain-of-Thought | Complex reasoning | Math, logic puzzles, multi-step analysis |
| Few-Shot | Pattern matching | Classification, style transfer, formatting |
| Zero-Shot | Simple, clear tasks | Direct questions, basic transformations |
| Structured (XML) | Parsed output | Data extraction, API responses |
| Progressive Disclosure | Large tasks | Full implementations, research |
| Role-Based | Expert knowledge | Code review, architecture decisions |

### Model Selection Guide

**Use GPT-5 when:**
- Need strong reasoning
- Agentic behavior helpful
- Code generation focus
- Latest knowledge needed

**Use Claude when:**
- Very long context (100K+ tokens)
- Detailed instruction following
- Safety-critical applications
- Prefer XML structuring

## Resources

All reference materials included:
- GPT-5 specific techniques and patterns
- Claude optimization strategies
- Advanced prompting patterns
- Optimization and improvement frameworks

## Summary

Effective prompt engineering:
- **Saves time** - Get right results faster
- **Reduces costs** - Fewer API calls needed
- **Improves quality** - More accurate, consistent outputs
- **Enables complexity** - Tackle harder problems
- **Scales knowledge** - Capture best practices

Use this skill to create prompts that:
- Are clear and specific
- Use proven techniques
- Match your model
- Get consistent results
- Achieve your goals

---

**Remember:** A well-crafted prompt is worth 10 poorly-attempted ones. Invest time upfront for better results.

© jamesrochabrun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/openai-prompt-engineer of jamesrochabrun/skills.

  • SKILL.md
  • references/claude_techniques.md
  • references/gpt5_techniques.md
  • references/optimization_strategies.md
  • references/prompt_patterns.md

Open the folder on GitHubat commit 2482c17

Compare with similar skills

Openai Prompt Engineer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openai Prompt Engineer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openai Prompt Engineer this skilljamesrochabrun/skills216—~4.2kAutomated safety check: PassMIT
Codex Fable5baskduf/FableCodex437—~1.6kAutomated safety check: PassAGPL-3.0
System Prompt Writing Guidecashew-labs/libretto904—~570Automated safety check: PassMIT
Prompt Engineering Guidetreylom/prompt-engineering-skills185—~485Automated safety check: PassCustom licence
Persona Designkangarooking/system-prompt-skills207—~956Automated safety check: PassMIT
AI Wrapper Productdavila7/claude-code-templates32k4 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Codex Fable5

    baskduf/FableCodex

    Apply a Claude Fable 5 inspired operating style inside Codex.

    437 GitHub stars~1.6k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed
  • System Prompt Writing Guide

    cashew-labs/libretto

    Lays out a minimal, iteration-first approach to writing system prompts for LLM agents, with model-specific notes for Claude, GPT, Gemini, and Codex.

    904 GitHub stars~570 tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Prompt Engineering Guide

    treylom/prompt-engineering-skills

    A skill your agent uses when generating research/factcheck/image/video/slide prompts that need base templates (IFCN·StructuredResearch 등) — 단일 통합 AI 프롬프트 엔지니어링 레퍼런스의 라우팅 인덱스.

    185 GitHub stars~485 tokensUpdated 13 days ago
    AI & LLM EngineeringAuto-check passed
  • Persona Design

    kangarooking/system-prompt-skills

    当需要为 AI 产品定义核心身份、角色声明和能力边界时调用此 skill。典型场景包括:设计新 AI 产品的 system prompt 首段、为不同场景创建差异化角色(如教学助手 vs 编程代理)、重新定义 AI 与用户的关系框架。

    207 GitHub stars~956 tokensUpdated 5 mo ago
    AI & LLM EngineeringAuto-check passed
  • AI Wrapper Product

    davila7/claude-code-templates

    Expert in building products that wrap AI APIs (OpenAI, Anthropic, etc.) into focused tools people will pay for.

    32k GitHub starsUsed in 4 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Cline Pin Timestamp

    OnlyTerp/prompt-cache-skills

    Cline's system prompt includes a timestamp that may be recomputed per request, invalidating the system-prompt cache.

    114 GitHub stars~751 tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed

More from jamesrochabrun/skills

All 23 skills in this repo
  • Prd Generator

    jamesrochabrun/skills

    Generate comprehensive Product Requirements Documents (PRDs) for product managers.

    216 GitHub starsUsed in 2 repos~3.8k tokens
    Auto-check passed
  • Technical Launch Planner

    jamesrochabrun/skills

    Plan and execute technical product launches for developer tools, APIs, and technical products.

    216 GitHub starsUsed in 1 repo~3.8k tokens
    Auto-check passed
  • Design Brief Generator

    jamesrochabrun/skills

    Generate comprehensive design briefs for design projects. An agent skill from jamesrochabrun/skills.

    216 GitHub stars~3.3k tokensUpdated 8 mo ago
    Auto-check passed
  • Git Worktrees

    jamesrochabrun/skills

    Manage Git worktrees for parallel Claude Code development. An agent skill from jamesrochabrun/skills.

    216 GitHub stars~4.2k tokensUpdated 8 mo ago
    Auto-check passed
  • Content Brief Generator

    jamesrochabrun/skills

    Generate comprehensive content briefs for writers, ensuring clarity, alignment, and strategic content creation across all formats.

    216 GitHub starsUsed in 1 repo~2.9k tokens
    Auto-check passed
  • LLM Router

    jamesrochabrun/skills

    This skill should be used when users want to route LLM requests to different AI providers (OpenAI, Grok/xAI, Groq, DeepSeek, OpenRouter) using SwiftOpenAI-CLI.

    216 GitHub stars~3.3k tokensUpdated 8 mo ago
    Auto-check passed

Works with

Questions about Openai Prompt Engineer

What does Openai Prompt Engineer do?

Generate and improve prompts using best practices for OpenAI GPT-5 and other LLMs. Openai Prompt Engineer is an agent skill from jamesrochabrun/skills. Generate and improve prompts using best practices for OpenAI GPT-5 and other LLMs.

When should I use Openai Prompt Engineer?

Openai Prompt Engineer fits situations like: tasks that involve Prompt engineering.

How do I install Openai Prompt Engineer in Claude Code?

Run `npx skills add jamesrochabrun/skills --skill openai-prompt-engineer -a claude-code`. Or copy the skill folder (skills/openai-prompt-engineer in jamesrochabrun/skills) into .claude/skills/openai-prompt-engineer in your project. Claude Code loads it when a task matches its description.

How do I install Openai Prompt Engineer in Codex?

Run `npx skills add jamesrochabrun/skills --skill openai-prompt-engineer -a codex`. Or copy the skill folder (skills/openai-prompt-engineer in jamesrochabrun/skills) into .agents/skills/openai-prompt-engineer in your project. Codex loads it when a task matches its description.

Can I use Openai Prompt Engineer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jamesrochabrun/skills --skill openai-prompt-engineer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openai-prompt-engineer, .gemini/skills/openai-prompt-engineer, .github/skills/openai-prompt-engineer and .opencode/skills/openai-prompt-engineer in your project.

What does Openai Prompt Engineer need to run?

SKILL.md names no scripts, command-line tools or credentials: Openai Prompt Engineer is instructions for the agent only. Our summary lists: Python 3.

Does Openai Prompt Engineer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openai Prompt Engineer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Openai Prompt Engineer use?

Openai Prompt Engineer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openai Prompt Engineer use?

About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17k tokens, read only when the agent opens those files.

What are the alternatives to Openai Prompt Engineer?

Skills that share tags, products or a category with Openai Prompt Engineer: Codex Fable5 (baskduf/FableCodex, 437 stars), System Prompt Writing Guide (cashew-labs/libretto, 904 stars), Prompt Engineering Guide (treylom/prompt-engineering-skills, 185 stars) and Persona Design (kangarooking/system-prompt-skills, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openai Prompt Engineer?

jamesrochabrun (a GitHub user) maintains it in jamesrochabrun/skills, which has 216 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on January 14, 2026.

Source: jamesrochabrun/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.