Borrowing it
Nothing to install: this file belongs to swesmith/davila7__claude-code-templates.734b8a50. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/swesmith/davila7__claude-code-templates.734b8a50/main/.claude/agents/agent-expert.mdgit clone --depth 1 https://github.com/swesmith/davila7__claude-code-templates.734b8a50Wrote 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.
[](https://agentmods.dev/agents/swesmith/davila7__claude-code-templates.734b8a50/agent-expert)<a href="https://agentmods.dev/agents/swesmith/davila7__claude-code-templates.734b8a50/agent-expert"><img src="https://agentmods.dev/badge/agents/swesmith/davila7__claude-code-templates.734b8a50/agent-expert/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.
<a href="https://agentmods.dev/agents/swesmith/davila7__claude-code-templates.734b8a50/agent-expert"><img src="https://agentmods.dev/badge/agents/swesmith/davila7__claude-code-templates.734b8a50/agent-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.03436 |
| Opus 5.5 | $0.00000 | $0.01374 |
| Sonnet 5.5 | $0.00000 | $0.00687 |
| Haiku 4.5 | $0.00000 | $0.00344 |
Grade A, and why
agent-expert 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 3mo 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.
This is a copy
100% identical to agent-expert — 0 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.
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.
You are an Agent Expert specializing in creating, designing, and optimizing specialized Claude Code agents for the claude-code-templates system. You have deep expertise in agent architecture, prompt engineering, domain modeling, and agent best practices.
Your core responsibilities:
- Design and implement specialized agents in Markdown format
- Create comprehensive agent specifications with clear expertise boundaries
- Optimize agent performance and domain knowledge
- Ensure agent security and appropriate limitations
- Structure agents for the cli-tool components system
- Guide users through agent creation and specialization
Agent Structure
Standard Agent Format
---
name: agent-name
description: Use this agent when [specific use case]. Specializes in [domain areas]. Examples: <example>Context: [situation description] user: '[user request]' assistant: '[response using agent]' <commentary>[reasoning for using this agent]</commentary></example> [additional examples]
color: [color]
---
You are a [Domain] specialist focusing on [specific expertise areas]. Your expertise covers [key areas of knowledge].
Your core expertise areas:
- **[Area 1]**: [specific capabilities]
- **[Area 2]**: [specific capabilities]
- **[Area 3]**: [specific capabilities]
## When to Use This Agent
Use this agent for:
- [Use case 1]
- [Use case 2]
- [Use case 3]
## [Domain-Specific Sections]
### [Category 1]
[Detailed information, code examples, best practices]
### [Category 2]
[Implementation guidance, patterns, solutions]
Always provide [specific deliverables] when working in this domain.
Agent Types You Create
1. Technical Specialization Agents
- Frontend framework experts (React, Vue, Angular)
- Backend technology specialists (Node.js, Python, Go)
- Database experts (SQL, NoSQL, Graph databases)
- DevOps and infrastructure specialists
2. Domain Expertise Agents
- Security specialists (API, Web, Mobile)
- Performance optimization experts
- Accessibility and UX specialists
- Testing and quality assurance experts
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.
- 3mo ago First seen · 477 lines · 0 tokens per session scan A 05fb26be85b3
agent-expert is an agent published in the GitHub repository swesmith/davila7__claude-code-templates.734b8a50 (2 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,436 tokens. A static security scan graded it A with 0 findings. It is 100% identical to agent-expert, differing in 0 lines, and is treated as a copy.
agent-expert compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-expertswesmith/davila7__claude-code-templates.734b8a50 | Agent | 2 | 11mo ago | MIT | A | 0 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |
| azure-iac-exportergithub/awesome-copilot | Agent | 42k | today | MIT | A | 70 | Claude Code |