# do parallel

> Accelerate complex repository tasks using dependency-aware agent hierarchies and concurrent execution.

do parallel is a free AI agent skill on Agensi by Nader Nmds, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Nader Nmds](https://www.agensi.io/creators/nader-nmds)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-17
- Security: scan passed (2026-11-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/do-parallel
- Tags: ai-agents, orchestration, git, concurrency, task-automation

## About this skill

### do-parallel

A [Claude Code](https://claude.com/claude-code) skill that runs a plan with the
most useful safe parallelism and low CPU use.

- **Hierarchical agent tree**: root → managers → workers (max 2 levels below the root), scheduled by dependency readiness, not fixed waves.
- **One serialized test agent**: finished tasks are queued to a single tester that runs checks one at a time, so only one heavy test process runs at once. Busy ports/resources are skipped and retried, not waited on.
- **CPU budget**: 3-4 writing workers by default, throttled test processes, tiered checks (related tests per task, full suite only at integration gates).
- **Resumable**: state is saved to `.do-parallel/` in your repo, so you can continue after a pause or usage limit ("do parallel resume").
- **Git-safe**: explicit file ownership, optional worktrees, never discards your changes.
- **Token-aware**: briefs passed by file path, compact worker reports, filtered command output, capped retries.
- **No model switching**: every agent inherits the model of your session.

#### Supported tools

| Tool | Install folder | Guide |
|---|---|---|
| Claude Code | `~/.claude/skills/do-parallel` | this README |
| Cursor | `~/.cursor/skills/do-parallel` | CURSOR.md |
| GitHub Copilot | `.github/skills/do-parallel` or `~/.copilot/skills/do-parallel` | GITHUB-COPILOT.md |

Cursor and Copilot also read `~/.claude/skills/`, so one install may cover all three.
Nested agents and agent-to-agent messaging depend on the tool; the skill falls back to a flat tree when they are missing.

#### Install

```bash
git clone https://github.com/nadernmds/do-parallel.git ~/.claude/skills/do-parallel
```

Then, in Claude Code, give it a plan and say **"do parallel"**.

#### Requirements

- Claude Code with the Agent tool. Managers that spawn workers need a
  `general-purpose` agent that can itself spawn agents; the skill checks this at
  run time and falls back to a flat tree if nesting is unavailable.
- Git is optional but recommended (worktree isolation).

#### License

Apache-2.0

## Requires

- Git

## Known limitations

Requires environment support for the Agent tool. Parallelism is capped at 3-4 writers by default to prevent CPU thrashing. Does not support concurrent edits to the same file.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the do parallel skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Which AI agents or IDEs are compatible with 'do parallel'?

The skill is platform-agnostic and works with any agentic environment that supports sub-agent spawning and file system access. It is particularly effective in IDE-integrated environments where it can utilize Git worktrees for isolated task execution.

### How does this prevent different agents from overwriting each other's work?

Unlike a standard prompt, this skill uses a formal state machine and a .do-parallel ledger to track file ownership. This prevents agents from overwriting each other's code or creating import conflicts by enforcing dependency-aware scheduling.

### What exactly is included in the skill package upon purchase?

You receive the core orchestration logic, the dependency-graphing engine, and the state-management protocols. It includes templates for the different agent roles—Root, Manager, and Worker—required to execute the hierarchical tree.

### Do I need to manually map out dependencies before running the skill?

The skill automatically analyzes your repository's Git state and architecture to build its own dependency graph. It respects existing constraints found in your project's documentation, such as CLAUDE.md or other contribution guidelines.

### Can I pause or resume a large-scale task if I hit API usage limits?

Yes, the skill is designed with a persistence layer that maintains a task ledger. If you hit rate limits or the environment crashes, you can resume the orchestration from the last verified state without losing progress or duplicating work.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
