Last verified
Agent SDK Dev Plugin
VerifiedScaffold, debug, and iterate on Claude agent builds without leaving the terminal
Add marketplace
/plugin marketplace add anthropics/claude-plugins-officialCommands
- /agent-new
- /agent-run
- /agent-trace
Hooks
- pre-tool-call
- post-tool-call
"From zero to a running agent loop in under two minutes: that is what /agent-new delivers."
What is the Agent SDK Dev Plugin?
The Agent SDK Dev Plugin is an official Claude Code plugin for developers building on the Anthropic Agents SDK. It adds three commands to the developer tools workflow: /agent-new, /agent-run, and /agent-trace, plus pre/post tool-call hooks that write runtime traces inline in the terminal.
How does it work?
Install it from the official marketplace with /plugin marketplace add anthropics/claude-plugins-official. The /agent-new command asks for a project name and language, then writes a scaffold to disk using the Filesystem MCP server if available, or directly via Claude Code’s file tools. The /agent-trace command reads the most recent run log and renders a step-by-step replay with inputs and outputs shown for each call.
When should you use it?
Use the Agent SDK Dev plugin during active agent development: scaffolding new tool definitions, re-running the agent against test inputs, and checking exactly which tools fired and in what order. Pair it with the Code Review plugin before committing agent code.
Frequently asked questions
What does /agent-new generate?
It writes a complete agent project directory: a main agent file, a tools directory with example tool definitions, a .env.example, and a README. The scaffold follows current Anthropic Agents SDK conventions and runs immediately with `python main.py` or `node main.js` depending on your chosen language.
How does /agent-trace help with debugging?
The trace command replays the most recent agent run in the terminal, showing each tool call, its inputs, and the returned output in order. That makes it practical to identify where an agent took the wrong branch or passed incorrect parameters to a tool.
Does the Agent SDK Dev plugin work with non-Anthropic agent frameworks?
The scaffolding and trace commands are built for the Anthropic Agents SDK. The pre/post tool-call hooks fire for any Claude Code tool invocation, so they're useful in any session, but `/agent-new` scaffolding assumes Anthropic SDK conventions.