prompt-engineer · qdhenry — Claude Code subagent: features and setup
The prompt-engineer subagent for Claude Code designs prompts, agent workflows, and structured outputs. It helps clarify instructions and safety constraints.
no license ★ 1,357 updated 2026-03-01
.claude/agents/prompt-engineer.mdWhat prompt-engineer does
The subagent breaks down a goal, selects a prompting approach, and shapes instructions around context, output format, and examples. It can also help plan tool use, review model responses, and coordinate work across multiple agents.
Its tools cover file reading and editing, search, and terminal work, alongside context7 and sequential-thinking integrations. These can support documentation research and multi-step reasoning tasks. For Claude Code, place the agent file at .claude/agents/prompt-engineer.md; MCP features depend on those integrations being connected.
What it helps with
- design a prompt that returns structured output
- turn a complex goal into agent tasks
- plan how an agent should use tools
- add safeguards against malicious prompt instructions
Example prompts for the agent
- Design a prompt for an agent that accepts a request and returns JSON.
- Break this task into steps and specify which tools the agent should use.
- Review my prompt for ambiguity and add safeguards against malicious instructions.
How to install prompt-engineer
Manually: put the files in place
.claude/agents/prompt-engineer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/prompt-engineer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/prompt-engineer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about prompt-engineer
How do I install prompt-engineer in Claude Code?
Place the agent file at .claude/agents/prompt-engineer.md.
What does prompt-engineer do?
It helps design prompts, agent workflows, and output formats. It can also plan tool use and safety constraints.
Which integrations does prompt-engineer use?
It uses context7 for documentation research and sequential-thinking for multi-step reasoning. The MCP integrations need to be connected in Claude Code.
Similar subagents
Subagents catalog →prompt-engineer by other authors comes first.