Example Agent

Example Agent is an agent for Claude Code from stbenjam/claude-marketplace-template. It costs 11 tokens per session (298 once invoked), scanned A, original, MIT.

An autonomous software agent handles multi-step workflows by planning actions, making decisions, using tools, and responding to errors.

In plain words
What is it for?
It is for project analysis, automated refactoring, and other workflows that involve several decisions or operations.
Why use it?
It reduces the need to guide every step of a complex or exploratory task.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the example-plugin plugin — 1 skill, 1 command, 1 agent, 1 MCP server shipped together

Good fit It is for project analysis, automated refactoring, and other workflows that involve several decisions or operations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/stbenjam/claude-marketplace-template/example-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/stbenjam/claude-marketplace-template

Made for: Claude Code.

Or install example-plugin, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Example Agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/stbenjam/claude-marketplace-template/example-agent/github.svg)](https://agentmods.dev/agents/stbenjam/claude-marketplace-template/example-agent)
Your own site
<a href="https://agentmods.dev/agents/stbenjam/claude-marketplace-template/example-agent"><img src="https://agentmods.dev/badge/agents/stbenjam/claude-marketplace-template/example-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Example Agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/stbenjam/claude-marketplace-template/example-agent"><img src="https://agentmods.dev/badge/agents/stbenjam/claude-marketplace-template/example-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 298 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.00298
Opus 5.5 $0.00004 $0.00119
Sonnet 5.5 $0.00002 $0.00060
Haiku 4.5 $0.00001 $0.00030

Measured 4d ago against content hash c449ca17f7e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Example Agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/example-plugin/agents/example-agent.md · 68 lines

What it actually says

Example Agent

An autonomous agent that handles multi-step workflows independently.

Purpose

This agent is designed to:

  • Execute complex sequences of operations
  • Make decisions based on intermediate results
  • Handle errors and retry logic automatically

When to Use

Invoke this agent when you need to:

  • Perform exploratory tasks
  • Execute workflows with multiple decision points
  • Handle tasks that require adaptive behavior

Capabilities

The agent has access to:

  • File system operations
  • Search and analysis tools
  • External API calls

Usage

Use the Task tool to launch this agent:
- subagent_type: "example-agent"
- prompt: Detailed task description

Implementation Details

The agent will:

  1. Analyze the task requirements
  2. Create an execution plan
  3. Execute steps sequentially
  4. Handle errors gracefully
  5. Return a comprehensive report

Examples

Example 1: Analysis Task

subagent_type: "example-agent"
prompt: "Analyze the project structure and identify optimization opportunities"

Example 2: Automation Task

subagent_type: "example-agent"
prompt: "Refactor all components to use new API pattern"

Best Practices

  • Provide clear, specific task descriptions
  • Set appropriate scope boundaries
  • Review agent output before applying changes
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 68 lines · 11 tokens per session scan A c449ca17f7e1

Subscribe to this mod's changes

Example Agent is an agent published in the GitHub repository stbenjam/claude-marketplace-template (7 stars, last pushed 1y ago), licensed MIT. It adds 11 tokens to every session and 298 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

Example Agent compared with agents from other repositories

Example Agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Example Agentstbenjam/claude-marketplace-templateAgent71y agoMITA11Claude Code
playwright-test-generatormicrosoft/playwrightAgent100ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79k4d agoMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent41ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent41ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent41ktodayMITA19Claude Code
Context7-Expertgithub/awesome-copilotAgent41ktodayMITA22Claude Code