delegate-task-4-lane-workaround
Work around delegate_task batch concurrency cap when the user wants four parallel review lanes.
Best use case
delegate-task-4-lane-workaround is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Work around delegate_task batch concurrency cap when the user wants four parallel review lanes.
Teams using delegate-task-4-lane-workaround should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/delegate-task-4-lane-workaround/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How delegate-task-4-lane-workaround Compares
| Feature / Agent | delegate-task-4-lane-workaround | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Work around delegate_task batch concurrency cap when the user wants four parallel review lanes.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Delegate Task 4-Lane Workaround Use when the user explicitly wants 4 parallel subagent lanes, but a single `delegate_task(tasks=[...])` batch fails because the environment is capped at `delegation.max_concurrent_children=3`. ## Problem In this environment, sending 4 tasks in one `delegate_task(tasks=[...])` call can fail with an error like: `Too many tasks: 4 provided, but max_concurrent_children is 3.` This happens before any task starts, so you do not get an automatic queue or partial execution. ## Reliable workaround To preserve true 4-lane parallelism: 1. Put 3 tasks into one batched `delegate_task(tasks=[...])` call. 2. Put the 4th task into a separate single-task `delegate_task(goal=...)` call. 3. Launch those two delegate calls in parallel from the parent agent. - If available, use `multi_tool_use.parallel`. 4. Keep delegated tasks read-only when possible (`terminal`, `file`) and have the parent session do all persistent writes, GitHub comments, and artifact creation. ## Best fit This pattern is especially useful for: - adversarial plan-review sweeps - issue triage across multiple independent items - read-only repo audits where each lane produces a verdict or checklist ## Example pattern Parent launches in parallel: - Call A: `delegate_task(tasks=[task1, task2, task3])` - Call B: `delegate_task(goal=task4)` Then the parent: - aggregates the returned summaries - writes canonical review artifacts - posts GitHub comments - updates local tracking docs ## Why this is better than serial fallback If the user asked for "4 at a time," dropping to 3 serially changes throughput and intent. Splitting into `3 + 1` preserves the requested concurrency without requiring config changes. ## Cautions - Do not use delegated children for repo writes you need to persist. - Be explicit about paths, issue numbers, and output schema because child summaries are compressed. - If the task is data-gathering-heavy rather than reasoning-heavy, prefer `execute_code` instead of more subagents. - Treat subagent timeouts as recoverable orchestration failures, not task failure. If one or more read-only lanes time out, immediately continue in the parent with direct `gh`/git/search/read-file grounding for the missing facts, then record which lanes timed out in the handoff. Do not let a timed-out research lane block obvious safe closeout actions that have been independently verified in the parent session.
Related Skills
tax-pdf-download-workaround
Handle FreeTaxUSA PDF download popups that block automation by capturing structured data and manual download workflow
handle-blocked-financial-sites-workaround
Workflow for accessing financial account data when browser automation is blocked on brokerage sites
planning-lane-cross-review-permission-fallback
Handle overnight planning-only lanes where plan revision/editing works but real cross-provider review dispatch is permission-blocked.
Codex-quota-failover-to-codex-for-overnight-plan-lanes
Recover an overnight multi-worktree planning wave when some Codex lanes hit quota by relaunching only the failed lanes with Codex in the same isolated worktrees and prompt files.
Codex-delegated-issue-tree-expansion
Use Codex subagents for read-only gap analysis to expand an umbrella GitHub issue into a layered tree of focused child issues, then create the issues locally and update the issue map/docs.
task-management
Simple task management using a shared TASKS.md file for tracking commitments and action items.
skill-creator-task-category-1
Sub-skill of skill-creator: [Task Category 1] (+1).
core-context-management-windows-task-scheduler
Sub-skill of core-context-management: Windows Task Scheduler (+2).
agent-teams-agent-types-for-common-tasks
Sub-skill of agent-teams: Agent Types for Common Tasks.
github-swarm-pr-tasks-for-swarm
Sub-skill of github-swarm-pr: Tasks for Swarm.
github-swarm-issue-swarm-task-breakdown
Sub-skill of github-swarm-issue: Swarm Task Breakdown.
sphinx-task-lists
Sub-skill of sphinx: Task Lists.