// 13 tips tagged "agents"
Use the --agent flag with custom markdown files in .claude/agents/ to launch purpose-built Claude sessions with restricted tools and scoped system prompts.
Claude Code isn't just a CLI — it's also an SDK you can import into your own scripts and tools. Build custom agents that read code, make edits, and run commands programmatically, creating AI-powered workflows tailored to your team's exact needs.
Describe subagent configuration in plain English — model, mode, background execution, worktree isolation, and role — without memorising any formal parameter names.
The Claude Agent SDK gives you Claude Code's full tool suite as a Python or TypeScript library. Build autonomous agents with built-in file, bash, and search tools.
Define specialised subagents inline with JSON when launching Claude Code, perfect for quick experiments and CI pipelines that need custom agents without config files.
The --channels flag lets MCP channel servers forward Claude's permission prompts to your phone, so long-running sessions don't stall while you're away from the keyboard.
When running multiple Claude sessions in parallel, a shared plan.md acts as the source of truth — each agent reads it to understand what's in progress, what's done, and what to pick up next.
Open multiple terminal windows and run separate Claude Code sessions simultaneously to work on several tasks at once.
Feed your PRD into Taskmaster to get a structured task list before writing any code — then work through it with Claude one task at a time.
Let Claude spawn parallel subagents to tackle multiple tasks simultaneously — like having a team of junior devs on demand.
Keep your context window focused and uncluttered — use subagents for research, .claudeignore to hide noise, and /clear when switching tasks.
Claude Code agents can work in isolated git worktrees so they don't interfere with your current branch.