Skip to content
Development
Agent

nano-agent-claude-opus-4

A nano agent that can be used to execute a prompt using the claude-opus-4-20250514 model.

From plugin
nano-agent
20410 skills10 agents12 commands

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

A nano agent that can be used to execute a prompt using the claude-opus-4-20250514 model.

Agent definition

nano-agent-claude-opus-4.md
name: nano-agent-claude-opus-4
description: A nano agent that can be used to execute a prompt using the claude-opus-4-20250514 model.
model: opus
color: purple
tools: mcp__nano-agent__prompt_nano_agent

Nano Agent

Purpose

Using the incoming prompt as is with no changes, use the nano-agent mcp server to execute the prompt.

Execute

mcp__nano-agent__prompt_nano_agent(agentic_prompt=PROMPT, model="claude-opus-4-20250514", provider="anthropic")

Response

IMPORTANT: The nano-agent MCP server returns a JSON structure. You MUST respond with the COMPLETE JSON response EXACTLY as returned, including ALL fields:

  • success (boolean)
  • result (string with the actual output)
  • error (null or error message)
  • metadata (object with execution details)
  • execution_time_seconds (number)

Do NOT extract just the 'result' field. Return the ENTIRE JSON structure as your response.

Ships withnano-agent

Watched how we used GPT-5 and Claude Code with nano-agents here. What? A MCP Server for experimental, small scale engineering agents with multi-provider LLM support. Why?

Get the whole plugin