run-an-agent-team

run-an-agent-team is a cursor rule for Cursor from mohitagw15856/pm-claude-skills. It costs 131 tokens per session (1,154 once invoked), scanned A, original, MIT.

A plan for a small team of specialised AI agents working on one complex task. It defines each agent’s role, how work is combined, what context is shared, and where review happens.

In plain words
What is it for?
Use it to design parallel or sequential agent workflows for research, drafting, critique, integration, and other tasks that benefit from focused roles.
Why use it?
It prevents one overloaded agent from handling every step serially with muddled context and no independent quality check.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions subagents; mentions Claude Code.

Good fit Use it to design parallel or sequential agent workflows for research, drafting, critique, integration, and other tasks that benefit from focused roles.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mohitagw15856/pm-claude-skills/run-an-agent-team
About the project

PM Skills is a collection of plain-Markdown instructions that teach AI assistants structured methods for handling professional, personal, and life-admin tasks. People use it with Claude, ChatGPT, Gemini, Cursor, Codex, and other supported agents for work such as writing product requirements, reviewing documents, or planning difficult situations.

mohitagw15856/pm-claude-skills · 1,352 stars · on GitHub · mohitagw15856.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for run-an-agent-team

README.md
[![agentmods](https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/run-an-agent-team/github.svg)](https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/run-an-agent-team)
Your own site
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/run-an-agent-team"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/run-an-agent-team/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for run-an-agent-team

Your own site · 80×15
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/run-an-agent-team"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/run-an-agent-team.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,154 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.01154
Opus 5 $0.00066 $0.00577
Sonnet 5 $0.00026 $0.00231
Haiku 4.5 $0.00013 $0.00115

Measured 8d ago against content hash cc55fc473d7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

run-an-agent-team scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

exports/cursor/pm-ai-native/run-an-agent-team/run-an-agent-team.mdc · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Run an Agent Team

Complex tasks overwhelm a single AI agent — the context gets muddy, quality drops, and it does everything serially. A small team of specialized agents, each with a focused role and clean context, can tackle it in parallel and check each other's work. This designs that team for your task: the roles, how they coordinate and hand off, what context each needs (and what to isolate), and the guardrails — turning "one agent doing everything" into a coordinated effort.

What This Skill Produces

  • The task decomposition — the task broken into distinct agent roles, each with a focused responsibility (researcher, drafter, critic, integrator, etc.)
  • A coordination pattern — whether agents run in parallel or sequence, how their outputs combine, and where the hand-offs are
  • Context design — what each agent needs to know, and (crucially) what to keep isolated so one agent's context doesn't muddy another's (the key to why teams beat one agent)
  • A review/quality step — a separate agent or pass to critique and integrate, so quality is checked, not assumed
  • Guardrails — how to keep the team on track (clear objectives, defined outputs, a human checkpoint) and avoid runaway loops or drift
  • A right-sized recommendation — including when a single agent is genuinely better (not everything needs a team)

Required Inputs

Ask for these if not provided:

  • The task — the complex thing you want a team to tackle
  • Your setup — the AI tool/framework you're using (Claude Code sub-agents, an agent framework, or manual multi-chat)
  • The subtasks — the natural pieces, if you can see them
  • Quality bar & stakes — how much the output matters (drives the review rigor)
  • Constraints — cost, time, and how much human oversight you want

Framework: Decompose, Isolate, Coordinate, Review

  1. Check it needs a team. Not every task does — if it's simple or highly sequential with shared context, one agent is better. Use a team when parts are genuinely parallel or benefit from distinct, isolated perspectives.
  2. Decompose into roles. Break the task into focused responsibilities, each an agent — a researcher, a builder, a critic, an integrator — so each has one clear job.
  3. Isolate context deliberately. The power of a team is clean, separate context per agent — decide what each needs and what to keep apart, so perspectives stay distinct and context stays sharp.
  4. Choose the coordination pattern. Parallel (independent then combine), sequential (hand-offs), or a mix — and define exactly how outputs pass between agents and merge.
  5. Add a review pass. A separate critic/integrator step catches errors and combines the work — don't trust unreviewed parallel output.
  6. Guardrail it. Clear objectives, defined output formats, iteration limits, and a human checkpoint keep the team from drifting or looping.

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 76 lines · 131 tokens per session scan A cc55fc473d7a

Subscribe to this mod's changes

run-an-agent-team is a cursor rule published in the GitHub repository mohitagw15856/pm-claude-skills (1,352 stars, last pushed 3d ago), licensed MIT. It adds 131 tokens to every session and 1,154 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.