Boris Cherny4/ Create Custom Agents
Source snapshot: 2026-11-09Independent editorial note
When this pattern helps
Use this as a pattern to evaluate, not a universal rule. Check the current Claude Code documentation and your own workflow constraints, then keep the parts that measurably improve reliability, clarity, or delivery time.
这是一种值得评估的实践,不是放之四海皆准的规则。结合当前 Claude Code 文档和自己的工作约束验证,只保留确实改善可靠性、清晰度或交付时间的部分。
Drop .md files in .claude/agents to create custom agents. Each agent can have a custom name, color, tool set, pre-allowed and pre-disallowed tools, permission mode, and model.
You can also set the default agent for the main conversation using the "agent" field in settings.json or the --agent flag.
Run /agents to get started.
Original source on X