LegendaryTeam_For_Claude: Command for Claude Code

.claude/commands/approve-task.md

approve-task is a command for Claude Code from RegardV/LegendaryTeam_For_Claude. It costs 0 tokens per session (387 once invoked), scanned A, original, MIT.

A command that approves a task waiting in a human review queue and starts its assigned execution. A review queue is a list of tasks paused until a person makes an approval decision.

In plain words
What is it for?
Use it with a task ID from `/review-queue`, optionally adding notes about the approval or requested changes.
Why use it?
It turns a human approval into the recorded action that removes the task from the queue and alerts the coordinating agent to begin work.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is RegardV/LegendaryTeam_For_Claude's own configuration. It tells Claude Code how to work on LegendaryTeam_For_Claude itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything LegendaryTeam_For_Claude configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/review-queue-manager.js approve {{TASK_ID}} "{{NOTES}}".

Reuse

Borrowing it

Nothing to install: this file belongs to RegardV/LegendaryTeam_For_Claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/RegardV/LegendaryTeam_For_Claude/main/.claude/commands/approve-task.md
Clone the repo
git clone --depth 1 https://github.com/RegardV/LegendaryTeam_For_Claude

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 approve-task

README.md
[![agentmods](https://agentmods.dev/badge/commands/regardv/legendaryteam_for_claude/approve-task/github.svg)](https://agentmods.dev/commands/regardv/legendaryteam_for_claude/approve-task)
Your own site
<a href="https://agentmods.dev/commands/regardv/legendaryteam_for_claude/approve-task"><img src="https://agentmods.dev/badge/commands/regardv/legendaryteam_for_claude/approve-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 approve-task

Your own site · 80×15
<a href="https://agentmods.dev/commands/regardv/legendaryteam_for_claude/approve-task"><img src="https://agentmods.dev/badge/commands/regardv/legendaryteam_for_claude/approve-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 387 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.00000 $0.00387
Opus 5 $0.00000 $0.00193
Sonnet 5 $0.00000 $0.00077
Haiku 4.5 $0.00000 $0.00039

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

Security

Grade A, and why

approve-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 9d 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.

.claude/commands/approve-task.md · 61 lines

What it actually says

Approve Queued Task

Approve a task from the human review queue and trigger its execution.

Usage

When you see a task ID from /review-queue, use this command to approve it:

/approve-task [task-id] [optional notes]

What this command does

  1. Runs the approval command via the review queue manager
  2. Removes task from the review queue
  3. Notifies @chief to spawn the appropriate team
  4. Logs the approval decision for future confidence learning
  5. Updates statistics (approval rate, wait time)

Implementation

Execute the following:

node scripts/review-queue-manager.js approve {{TASK_ID}} "{{NOTES}}"

Where:

  • {{TASK_ID}} is the review queue task ID (e.g., "review-001")
  • {{NOTES}} are optional approval notes/modifications

After approval:

  1. Display confirmation message
  2. Show which team will handle the task
  3. Provide estimated completion time
  4. Notify that @chief will coordinate execution

Example output:

✅ Task Approved: OAuth 2.0 Integration

Details:
 • Task ID: review-001
 • Confidence: 45% → Upgraded to APPROVED
 • Wait time: 15 minutes
 • Approval notes: "Use Stripe Checkout, not raw API"

Next Steps:
🚀 Spawning Team 6: @SecurityAgent + @APIAgent
⏱️  Estimated completion: 25 minutes
📝 Decision logged for future confidence learning

@chief will now coordinate the execution and report back when complete.

Then notify @chief:

"@chief: Task review-001 has been approved by human. Please spawn the appropriate team and execute according to the plan at thoughts/shared/plans/[plan-file].md with the following approval notes: [notes]"

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. 9d ago First seen · 61 lines · 0 tokens per session scan A 3e8f52dfc673

Subscribe to this mod's changes

approve-task is a command published in the GitHub repository RegardV/LegendaryTeam_For_Claude (19 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 387 tokens. 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.