specialize

specialize is a skill for Claude Code from sharpdeveye/maestro. It costs 31 tokens per session (499 once invoked), scanned A, original, MIT.

A process for adapting a general AI workflow to a particular industry or field. It identifies the field’s terminology, rules, standards, expert expectations, and common mistakes before changing prompts and evaluation criteria.

In plain words
What is it for?
Use it to specialize an agent for areas such as legal, healthcare, finance, or another field with its own requirements.
Why use it?
It prevents a general assistant from giving domain-specific work that uses the wrong language, misses regulations, or fails expert review.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to specialize an agent for areas such as legal, healthcare, finance, or another field with its own requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sharpdeveye/maestro/specialize
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 sharpdeveye/maestro --skill specialize
Clone the repo
git clone --depth 1 https://github.com/sharpdeveye/maestro

Made for: Claude Code.

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 specialize

README.md
[![agentmods](https://agentmods.dev/badge/skills/sharpdeveye/maestro/specialize/github.svg)](https://agentmods.dev/skills/sharpdeveye/maestro/specialize)
Your own site
<a href="https://agentmods.dev/skills/sharpdeveye/maestro/specialize"><img src="https://agentmods.dev/badge/skills/sharpdeveye/maestro/specialize/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 specialize

Your own site · 80×15
<a href="https://agentmods.dev/skills/sharpdeveye/maestro/specialize"><img src="https://agentmods.dev/badge/skills/sharpdeveye/maestro/specialize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 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.00031 $0.00499
Opus 5.5 $0.00012 $0.00200
Sonnet 5.5 $0.00006 $0.00100
Haiku 4.5 $0.00003 $0.00050

Measured 1mo ago against content hash 65d7a876a7b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

specialize 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 1mo 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.

source/skills/specialize/SKILL.md · 63 lines

How it starts

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

MANDATORY PREPARATION

Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first.


Transform a general-purpose workflow into a domain expert.

Step 1: Domain Discovery

  • Terminology: What domain-specific language must the agent use?
  • Regulations: What compliance requirements apply? (HIPAA, SOC2, GDPR)
  • Standards: What industry standards govern output format or quality?
  • Expert expectations: What would a domain expert check first?
  • Common errors: What mistakes would a non-expert make?

Step 2: Specialize Prompts

## Generic: You are an assistant that analyzes documents.
## Specialized (legal): You are a senior legal analyst specializing in contract review.
   You understand common law jurisdictions, standard contract clauses, and the
   difference between representations and warranties. Always caveat that this
   is not legal advice.

Step 3: Specialized Evaluation

Domain Evaluation Criteria
Legal Clause completeness, regulatory compliance, jurisdiction accuracy
Medical Clinical accuracy, guideline adherence, contraindication checks
Financial Calculation accuracy, regulatory disclosure, risk assessment
Code Test coverage, security vulnerabilities, performance
Customer Support Tone, escalation accuracy, resolution completeness

Step 4: Domain Guardrails

  • Legal: "Not legal advice" disclaimer, jurisdiction limitations
  • Medical: "Not medical advice" disclaimer, emergency detection
  • Financial: Regulatory disclosures, suitability warnings
  • Code: Security scanning, dependency vulnerability checks

Recommended Next Step

After specialization, run /evaluate with domain-specific scenarios, then /guard to add domain-appropriate safety guardrails.

NEVER:

Read the full file on GitHub · 63 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. 1mo ago First seen · 63 lines · 31 tokens per session scan A 65d7a876a7b0

Subscribe to this mod's changes

specialize is a skill published in the GitHub repository sharpdeveye/maestro (591 stars, last pushed 5mo ago), licensed MIT. It adds 31 tokens to every session and 499 once invoked, about $0.0001 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-08-30.