agent-development

agent-development is a skill for Claude Code from mahmoud20138/Tradecraft. It costs 80 tokens per session (3,081 once invoked), scanned A, a copy of agent-identifier, MIT.

A guide for creating autonomous agents in Claude Code plugins. An agent is a subprocess that handles a multi-step task independently, while a command is started directly by the user.

In plain words
What is it for?
Use it when creating agents, writing their system prompts, setting triggering examples, choosing models or colors, and defining tool access.
Why use it?
It explains how to define an agent's role, when it should activate, which tools it can use, and how it should respond.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Part of the tradecraft plugin — 58 skills shipped together

Good fit Use it when creating agents, writing their system prompts, setting triggering examples, choosing models or colors, and defining tool access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mahmoud20138/tradecraft/agent-development
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.

Any agent
npx skills add mahmoud20138/Tradecraft --skill agent-development
Clone the repo
git clone --depth 1 https://github.com/mahmoud20138/Tradecraft

Made for: Claude Code.

Or install tradecraft, the plugin that ships this one along with the rest of its 58 skills.

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 agent-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/agent-development.svg)](https://agentmods.dev/skills/mahmoud20138/tradecraft/agent-development)
Your own site
<a href="https://agentmods.dev/skills/mahmoud20138/tradecraft/agent-development"><img src="https://agentmods.dev/badge/skills/mahmoud20138/tradecraft/agent-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,081 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 80% copy Near-identical to another mod 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.00080 $0.03081
Opus 5 $0.00040 $0.01541
Sonnet 5 $0.00016 $0.00616
Haiku 4.5 $0.00008 $0.00308

Measured 8d ago against content hash 143e55b92cdd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

agent-development 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 8d 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.

Origin

This is a copy

80% identical to agent-identifier — 84 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/tradecraft/skills/agent-development/SKILL.md · 477 lines

How it starts

The opening of the file, as written. The whole thing — 477 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Development for Claude Code Plugins

Overview

Agents are autonomous subprocesses that handle complex, multi-step tasks independently. Understanding agent structure, triggering conditions, and system prompt design enables creating powerful autonomous capabilities.

Key concepts:

  • Agents are FOR autonomous work, commands are FOR user-initiated actions
  • Markdown file format with YAML frontmatter
  • Triggering via description field with examples
  • System prompt defines agent behavior
  • Model and color customization

Agent File Structure

Complete Format

---
name: agent-identifier
description: Use this agent when [triggering conditions]. Examples:

<example>
Context: [Situation description]
user: "[User request]"
assistant: "[How assistant should respond and use this agent]"
<commentary>
[Why this agent should be triggered]
</commentary>
</example>

<example>
[Additional example...]
</example>

model: inherit
color: blue
tools: ["Read", "Write", "Grep"]
---

You are [agent role description]...

**Your Core Responsibilities:**
1. [Responsibility 1]
2. [Responsibility 2]

**Analysis Process:**
[Step-by-step workflow]

**Output Format:**
[What to return]

Frontmatter Fields

name (required)

Agent identifier used for namespacing and invocation.

Format: lowercase, numbers, hyphens only Length: 3-50 characters Pattern: Must start and end with alphanumeric

Good examples:

  • code-reviewer
  • test-generator
  • api-docs-writer
  • security-analyzer

Bad examples:

  • helper (too generic)
  • -agent- (starts/ends with hyphen)
  • my_agent (underscores not allowed)
  • ag (too short, < 3 chars)

description (required)

Defines when Claude should trigger this agent. This is the most critical field.

Must include:

  1. Triggering conditions ("Use this agent when...")
  2. Multiple <example> blocks showing usage
  3. Context, user request, and assistant response in each example
  4. <commentary> explaining why agent triggers

Read the full file on GitHub · 477 lines

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. 8d ago First seen · 477 lines · 80 tokens per session scan A 143e55b92cdd

Subscribe to this mod's changes

agent-development is a skill published in the GitHub repository mahmoud20138/Tradecraft (15 stars, last pushed 4mo ago), licensed MIT. It adds 80 tokens to every session and 3,081 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 80% identical to agent-identifier, differing in 84 lines, and is treated as a copy.

Related

Other skills, from other repositories

a0-development

Development guide for extending Agent Zero from current source and DOX. Use for framework architecture, tools, extensions, API/WebUI handlers, agent profiles, prompts, skills, projects, runtime boundaries, and contribution workflow. Load the focused reference files before giving implementation guidance.

agent0ai/agent-zero · 57 tokens

a0-development

Development guide for extending and building features for the Agent Zero AI framework. Covers architecture, tools, extensions, API endpoints, agent profiles, projects, prompts, and skills — with correct paths, imports, and patterns matching the current codebase.

Gen-Verse/PAST-Bench · 52 tokens

handoff-protocol

Transport-neutral Interaction Records and risk-class evidence bundles for agent-to-agent communication. Replaces ad-hoc handoffs with a single canonical artifact that works identically in Agent Teams mode (via SendMessage) and fallback mode (via Task prompts). Triggers: handoff, hand off, pass to, route to, transfer…

Chipagosfinest/enterprise-team · 104 tokens

runbooks

Pre-built scenario configurations for common multi-agent workflows. Quick-start templates for MVPs, features, campaigns, incidents, and audits. Triggers: runbook, playbook, scenario, launch, mvp, incident response, marketing campaign, security audit, feature build, startup.

Chipagosfinest/enterprise-team · 58 tokens

marketing-catchall

Routes marketing requests to the correct specialist across growth, content, brand, social, SEO, email, PR, events, video, and design. Covers campaigns, content strategy, community, and creative production. Triggers: marketing campaign, social media, content strategy, SEO, email marketing, press release, brand…

Chipagosfinest/enterprise-team · 96 tokens

engineering-catchall

Routes engineering requests to the correct specialist based on technology domain, task type, and stack involved. Covers backend, frontend, mobile, fullstack, embedded, blockchain, ML/AI, QA, architecture, and technical documentation. Triggers: build feature, write code, implement, develop, api, component, mobile app…

Chipagosfinest/enterprise-team · 109 tokens