claude-code-agents

Installation
SKILL.md

Claude Code Agents

Create and maintain Claude Code agents/subagents with predictable behavior, least-privilege tools, and explicit delegation contracts.

Quick Start

  1. Create an agent file at .claude/agents/<agent-name>.md (kebab-case filename).
  2. Add YAML frontmatter (required: name, description; optional: tools, model, permissionMode, skills, hooks).
  3. Write the agent prompt: responsibilities, workflow, and an output contract.
  4. Minimize tools: start read-only, then add only what the agent truly needs.
  5. Test on a real task and iterate.

Minimal template:

---
name: sql-optimizer
description: Optimize SQL queries, explain tradeoffs, and propose safe indexes
tools: Read, Grep, Glob
Related skills
Installs
33
GitHub Stars
60
First Seen
Jan 23, 2026