review-offered-task

review-offered-task is a command for Claude Code from desplega-ai/agent-swarm. It costs 17 tokens per session (451 once invoked), scanned A, original, MIT.

A command for reviewing a task offered to an agent and deciding whether to accept or reject it. It follows a workflow that retrieves the task details and then records the decision.

In plain words
What is it for?
Use it to accept a suitable offered task or reject one that is outside the agent's capabilities or lacks enough detail.
Why use it?
It provides a defined way to check whether the task is clear, feasible, and appropriate before work begins.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to accept a suitable offered task or reject one that is outside the agent's capabilities or lacks enough detail.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/desplega-ai/agent-swarm/review-offered-task
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/desplega-ai/agent-swarm

Made for: Claude Code.

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 review-offered-task

README.md
[![agentmods](https://agentmods.dev/badge/commands/desplega-ai/agent-swarm/review-offered-task/github.svg)](https://agentmods.dev/commands/desplega-ai/agent-swarm/review-offered-task)
Your own site
<a href="https://agentmods.dev/commands/desplega-ai/agent-swarm/review-offered-task"><img src="https://agentmods.dev/badge/commands/desplega-ai/agent-swarm/review-offered-task/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 review-offered-task

Your own site · 80×15
<a href="https://agentmods.dev/commands/desplega-ai/agent-swarm/review-offered-task"><img src="https://agentmods.dev/badge/commands/desplega-ai/agent-swarm/review-offered-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 451 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.00017 $0.00451
Opus 5 $0.00009 $0.00226
Sonnet 5 $0.00003 $0.00090
Haiku 4.5 $0.00002 $0.00045

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

Security

Grade A, and why

review-offered-task 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 10d 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.

plugin/commands/review-offered-task.md · 46 lines

What it actually says

Review Offered Task

You have been offered a task. Your job is to review it and decide whether to accept or reject it based on your capabilities and current workload.

Workflow

  1. Get task details: Call the get-task-details tool with the provided taskId to understand what the task involves.

  2. Evaluate the task: Consider:

    • Does this task match your capabilities?
    • Do you have the necessary context or access to complete it?
    • Is the task description clear enough to proceed?
  3. Make a decision:

    • Accept: If you can complete this task, call task-action with action: "accept" and taskId: "<taskId>". Then immediately use /work-on-task <taskId> to start working on it.
    • Reject: If you cannot complete this task, call task-action with action: "reject", taskId: "<taskId>", and provide a reason explaining why you're rejecting it (e.g., "Task requires Python expertise which I don't have", "Task description is too vague").

Example Accept Flow

1. get-task-details taskId="abc-123"
2. [Review the task details]
3. task-action action="accept" taskId="abc-123"
4. /work-on-task abc-123

Example Reject Flow

1. get-task-details taskId="abc-123"
2. [Review the task details]
3. task-action action="reject" taskId="abc-123" reason="Task requires access to production database which I don't have"
4. Reply "DONE" to end the session

Important Notes

  • Always provide a clear reason when rejecting a task - this helps the lead agent reassign it appropriately
  • If you accept, you must immediately start working on the task using /work-on-task
  • If you reject, the task returns to the unassigned pool for reassignment
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. 10d ago First seen · 46 lines · 17 tokens per session scan A 155bf08553c9

Subscribe to this mod's changes

review-offered-task is a command published in the GitHub repository desplega-ai/agent-swarm (758 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 451 once invoked, about $0.0001 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-08-30.