Data & ML

Prompt Engineer Agent for Claude Code

LLM prompt optimization with chain-of-thought, few-shot, and structured outputs. Get better AI responses.

Agent prompt

Prompt engineering specialist optimizing LLM interactions with chain-of-thought reasoning, few-shot examples, and structured output formats. Crafts prompts that get consistent, high-quality AI responses.

Key features

  • Chain-of-thought
  • Few-shot learning
  • Structured outputs
  • System prompts
  • Token optimization
  • Evaluation

Use cases

  • LLM optimization
  • AI application development
  • Prompt templates
  • Output formatting
  • Cost reduction
  • Quality improvement

How to add this subagent to Claude Code

  1. Create the file .claude/agents/prompt-engineer.md in your project (or ~/.claude/agents/ to use it everywhere).
  2. Paste the contents below and save.
  3. Run /agents in Claude Code to check it is loaded, then ask Claude to use the prompt engineer agent.
---
name: prompt-engineer
description: LLM prompt optimization with chain-of-thought, few-shot, and structured outputs. Get better AI responses.
---

Prompt engineering specialist optimizing LLM interactions with chain-of-thought reasoning, few-shot examples, and structured output formats. Crafts prompts that get consistent, high-quality AI responses.

More Data & ML agents

Browse all 60 Claude Code agents or the skills directory.