Claude Agents Explained: Subagents, Agent SDK, Managed
Claude agents come in four forms: Claude Code subagents, the Agent SDK, Managed Agents and the API tool runner. See how each works and which to pick.
Intermediate guides for Claude, curated and kept up to date by Claudekit. Browse all 23 intermediate entries with summaries, sources and related resources.
Claude agents come in four forms: Claude Code subagents, the Agent SDK, Managed Agents and the API tool runner. See how each works and which to pick.
Build an AI agent with Claude: compare subagents, the Agent SDK, Managed Agents and the API tool loop, then run a Python agent with a custom tool and a budget.
Set up Claude Code GitHub Actions: /install-github-app, secrets, @claude mentions, automated PR review, scheduled jobs, claude_args and cloud providers.
Four ways to get Claude to review code: the managed Code Review app, /code-review in your terminal, the GitHub Action or a kit you own. Cost and setup compared.
A Claude Code security checklist for teams: permission modes, secret deny rules, the Bash sandbox, guard hooks, MCP and plugin review, CI and managed settings.
Show your Claude Code 5-hour and weekly limit usage in the status line: a tested bash script using the documented rate_limits fields, with setup and fixes.
A practical guide to Claude Code subagents: built-in agents, .claude/agents files, frontmatter, tool limits, models, memory and patterns that save context.
Documented ways to cut Claude token usage: /clear and /compact, model and effort choice, a lean CLAUDE.md, subagents, MCP hygiene, and prompt caching on the API.
What the Agent Skills open standard is, the SKILL.md fields the spec allows, how progressive disclosure works, and what Claude Code adds on top of the standard.
Build your first MCP server in TypeScript with the v2 SDK: setup, a tool, a resource and a prompt, testing in MCP Inspector, then connecting it to Claude Code.
Claude API pricing for every current model: input, output and cache prices per million tokens, Batch API discounts, tool fees and four worked cost examples.
Claude Code best practices and tips from the official guide and daily use: verification loops, plan mode, lean CLAUDE.md, context hygiene and parallel work.
Manage the Claude Code context window: what loads at startup, when to use /context, /compact and /clear, how compaction works, and habits that keep it lean.
Stop rm -rf, curl | sh, force-pushes and DROP TABLE before they run: a tested PreToolUse hook for Claude Code, deny rules, onFailure and the limits to know.
What --dangerously-skip-permissions does in Claude Code, what still stops it, and how to run it safely in a container as a non-root user. Checked October 2026.
How Claude Code hooks work: lifecycle events, matchers, exit codes and JSON output, plus ready-made hooks for formatting, alerts and blocking risky edits.
Run Claude Code headless with claude -p: output formats, JSON schema, streaming, tool allowlists, bare mode, resuming sessions and copy-paste CI scripts.
How Claude Code plugins work: installing from marketplaces, install scopes, the best official plugins, and building your own with skills, agents, hooks and MCP.
Every Claude Code permission mode explained: Manual, acceptEdits, plan, auto, dontAsk and bypass, plus allow/ask/deny rules and safe defaults for local and CI.
Turn on the Claude Code sandbox with /sandbox: what it blocks, auto-allow vs regular mode, allowWrite, allowedDomains, credentials and strict mode explained.
Learn what Claude Code skills are, where SKILL.md files live, the key frontmatter fields, and how to write, test and share skills, with copy-paste examples.
Run Claude Code sessions in parallel with git worktrees: the --worktree flag, .worktreeinclude, subagent isolation, /batch, cleanup rules and manual setup.
Skills vs subagents vs hooks in Claude Code, answered: what each one does, context cost, when to pick which, how they combine, plus CLAUDE.md, MCP and plugins.