claude-mastery-expert

Solid

This skill should be activated when the user wants to build an agent, design tools for an agent, write skills, structure a CLAUDE.md, optimize prompt caching, set up worktrees, use subagents, design verification loops, write hooks, structure a project for Claude Code, or improve their Claude Code workflow. Relevant when the user says "how should I structure this", "write a skill for", "design this agent", "optimize for caching", "set up verification", "use subagents", "parallel development", "write a CLAUDE.md", "improve my workflow", "design tools", "build an agent", "context engineering", or "autonomous research".

AI & Automation 11 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Claude Code Mastery Build better agents, skills, and workflows with Claude Code. Battle-tested patterns from building Claude Code itself, used daily at Anthropic with hundreds of skills in production. ## The Three Laws of Agent Design Before anything else, internalize these: 1. **The filesystem is how agents think.** Write to disk, grep, process. Don't stuff 100 items into context. 2. **Prompt caching is architecture, not optimization.** Design your entire system around prefix stability. 3. **Give Claude a way to verify its work.** This alone 2-3x the quality of output. ## When Building an Agent ### Action Space Design > *Consult [tool-design reference](references/tool-design.md) for the complete tool design framework.* Most agent failures are **tool design problems**, not model problems. Design tools by imagining yourself solving the problem: - **Paper** = minimal (just text output). Limited but safe. - **Calculator** = specific tools (custom tool_use). More capable but rigid. - **Computer** = bash + filesystem. Most powerful, most flexible. **Start with bash.** Claude Code started with 4 tools: read, write, edit, bash. That covers 80% of tasks. Add custom tools only when bash genuinely can't do the job. **Anti-pattern:** 50 custom tools, one for each operation. This creates a "needle in haystack" problem — the model's reasoning degrades as tool count increases. **The right question:** "What permissions and environment should I provide?" — not "What should I as...

Details

Author
johnkozaris
Repository
johnkozaris/jko-claude-plugins
Created
4 months ago
Last Updated
today
Language
Rust
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category