A practical guide to creating effective agent skills in Claude Code. Key principles include keeping skills concise to avoid bloating the context window, using skills only for repetitive tasks (not one-off requests), and leveraging the Anthropic skill creator skill to auto-generate well-structured skills. The guide covers skill structure (skill.md with name and description), controlling agent degrees of freedom, using a references folder for detailed docs, and distributing skills publicly via a marketplace.json config in a GitHub repo. Testing skills across different Claude models (Haiku, Sonnet, Opus) is also recommended to balance cost and capability.

11m watch time

Sort: