The 10 Claude Code وكلاء فرعيون we actually use to ship software in 2026
- Claude Code's
/agentscommand lets you define named وكلاء فرعيون with isolated system prompts that the orchestrator can spin up mid-task — per the official docs, each وكيل "operates with full tool access in a separate context." - Every وكيل below has a single, narrow job. Narrow jobs mean cheaper runs, easier debugging, and lower رمز burn when one وكيل misbehaves.
- The full 10-وكيل pack — prompts, CLAUDE.md wiring, and trigger rules — is available as a $49 download. Link mid-post.
Why bother with وكلاء فرعيون at all
A single Claude Code session that handles architecture, مراجعة الكود, test generation, التوثيق, and security scanning in one context window is expensive, slow, and prone to context contamination — earlier decisions bleed into later ones in ways that are hard to trace.
وكلاء فرعيون fix this by giving each concern its own context. According to Anthropic's Claude Code التوثيق, وكلاء فرعيون are "spawned by an orchestrator and run tools independently." That independence is the point: the Reviewer وكيل never sees the Architect's deliberation. The Tester never sees the Debugger's half-formed hypotheses. Each وكيل gets a clean slate, a tight prompt, and one job.
The /agents command in Claude Code manages this. You define وكيلs in .claude/agents/ as Markdown files. The orchestrator picks which to fire based on context, or you call them explicitly. Scope creep from an وكيل that was "just going to check one thing" is the main failure mode — which is why every وكيل below has an explicit "do not" clause in its prompt.
The 10 وكيلs
When to fire: Before any new feature that touches more than two files. Before a refactor that crosses module boundaries. Never mid-implementation — at that point it's too late to influence structure without rewriting.
When to fire: After any commit-ready change. The Reviewer sees only the diff, not the broader codebase — this is intentional. Scope creep into unrelated files wastes its context and produces noise.
When to fire: After implementation is done, before the PR is مفتوحed. Firing Tester before the code stabilizes produces tests that get thrown away. One function, one وكيل invocation — don't batch five modules into one run.
When to fire: When a test fails or a production error surfaces. Separating diagnosis from fixing prevents the وكيل from reaching for the nearest plausible fix rather than the correct one. Read the diagnosis, then decide whether to fix it yourself or fire a second وكيل.
When to fire: After a function or module is merged and stable. Writing docs before the API is settled means rewriting them. التوثيق is the cheapest وكيل to run — short context, deterministic output — so it's fine to fire it on small functions.
Want all 10 وكيل files, pre-wired?
The Septim وكيلs Pack is a $49 download: 10 .md وكيل definition files, a CLAUDE.md orchestrator config, trigger rules, and a رمز-budget دليل for each وكيل. Drop the folder into .claude/agents/ and you're running in under خمس دقائق.
When to fire: Any time a database schema change is needed. Migrator's constraint — touch nothing outside the migration file — prevents it from "helpfully" updating ORM models or API handlers, which belong to separate review cycles.
When to fire: Before any PR that touches auth, user input handling, or external API calls. Security's value is in the report, not the fix — if it patches in the same pass, it can paper over the finding rather than surface it for review.
When to fire: When you're about to pick a dependency or third-party API and you're not certain which option fits your constraints. Researcher doesn't decide — it structures the decision so you or another وكيل can.
When to fire: At the start of any feature that will take more than one session. Planner's output becomes the orchestrator's task list. A feature that starts with a numbered list from Planner rarely gets scope-crept mid-session, because the boundary is visible.
When to fire: Always — run this as a PreToolUse hook on every session, not on demand. التكلفة Guard is the one وكيل that should be invisible when things are going well and loud when they aren't. Without it, a runaway multi-وكيل session compounds رمز spend before you notice the bill.
How to wire these in Claude Code
Each وكيل lives as a Markdown file at .claude/agents/<agent-name>.md. The file format is straightforward:
---
name: reviewer
description: Reviews code diffs for correctness and edge cases
---
Review the diff for correctness, readability, and edge cases — do not rewrite, only comment.
The orchestrator (your main CLAUDE.md session) references وكيلs by name. Per Anthropic's التوثيق, the orchestrator "delegates tasks to وكلاء فرعيون" automatically when the description matches the context, or you can call them explicitly with /agents reviewer.
A few wiring rules that وفّر you from the common failure modes:
- Put a hard رمز budget in each وكيل's Markdown file. An وكيل with no budget will use everything available.
- Give every وكيل a "do not" clause. وكيلs without explicit constraints drift toward helpfulness — which means touching things they weren't asked to touch.
- Log وكيل outputs to a file, not just the terminal. When a session crashes, the terminal is gone. The file isn't.
What this الإعداد التكلفةs per working session
Running all 10 وكيلs across a full feature build — architecture through security review — التكلفةs roughly 80,000–140,000 رمزs on a medium-complexity feature with Claude Sonnet. At current API rates that's approximately $0.40–$0.70 per feature cycle. The variance comes almost entirely from how tightly the individual وكيل prompts are scoped. A Tester with a vague prompt that decides to also check adjacent modules can triple its رمز usage on a single run.
The وكيلs Pack includes a per-وكيل رمز budget recommendation based on what we've seen in production. التكلفة Guard enforces it.
The one thing most sub-وكيل الإعدادs get wrong
Most developers build وكيلs that can do anything the orchestrator can do, then wonder why the orchestrator isn't actually delegating. The fix is counterintuitive: make each وكيل less capable, not more. An وكيل that can only read files and report findings will be called for exactly that. An وكيل with full tool access gets treated as a backup orchestrator, which means it handles things it shouldn't, consumes more context, and produces noisier output.
Narrow tools get used precisely. Wide tools get used hopefully. Every وكيل above has one job, stated in a single sentence.
Need a custom team built for your codebase?
If your repo has constraints that don't fit a generic pack — specific frameworks, compliance requirements, a monorepo with unusual patterns — we'll build a custom وكيل team for your stack. One working session, we design and wire the وكيلs together, and you get the files at the end.
Further reading
- Claude Code invisible رمز burn (April 2026) — what happens when وكيلs run without a التكلفة Guard hook.
- The Tokenocalypse: why your Claude وكلاء فرعيون burned $47K — real numbers from a multi-وكيل session gone wrong.
- Anthropic: Claude Code وكلاء فرعيون التوثيق — the canonical reference for the
/agentscommand and وكيل file format.