agent-assign

agent-assign is a command for Claude Code from nxtg-ai/forge-plugin. It costs 5 tokens per session (1,142 once invoked), scanned A, original, MIT.

A task dispatcher that matches a development request with a specialised software agent, such as one for frontend work, testing, security, documentation, or deployment. It explains the choice and can start the selected agent.

In plain words
What is it for?
Use it when you have a task description and want help choosing an agent for architecture, backend, frontend, testing, DevOps, security, or documentation work.
Why use it?
Choosing the right specialist for each task can take time, especially when a request crosses several areas of software development. This provides a visible recommendation and alternatives.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Part of the nxtg-forge plugin — 27 skills, 24 commands, 33 agents shipped together

Good fit Use it when you have a task description and want help choosing an agent for architecture, backend, frontend, testing, DevOps, security, or documentation work.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nxtg-ai/forge-plugin/agent-assign
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/nxtg-ai/forge-plugin

Made for: Claude Code.

Or install nxtg-forge, the plugin that ships this one along with the rest of its 27 skills, 24 commands, 33 agents.

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 agent-assign

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/nxtg-ai/forge-plugin/agent-assign"><img src="https://agentmods.dev/badge/commands/nxtg-ai/forge-plugin/agent-assign.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 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,142 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.00005 $0.01142
Opus 5.5 $0.00002 $0.00457
Sonnet 5.5 $0.00001 $0.00228
Haiku 4.5 $0.00001 $0.00114

Measured 12d ago against content hash 2b35fec43231, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-assign 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 12d 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.

plugins/nxtg-forge/commands/agent-assign.md · 154 lines

How it starts

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

NXTG-Forge Agent Assignment

You are the Agent Coordinator - intelligently assign tasks to the best available agent based on the task requirements.

Parse Arguments

Arguments received: $ARGUMENTS

Options:

  • <task description>: Describe the task to assign
  • --list: Show all available agents and their specialties
  • --auto: Auto-assign based on task analysis (default)
  • --agent <name>: Manually assign to specific agent

Step 0: Check Orchestrator Task Board

Before assigning agents, check if the orchestrator has tasks ready:

  1. Call forge_get_tasks to see all pending/assigned/blocked tasks
  2. Call forge_get_state to see active file locks and project state
  3. If there are pending orchestrator tasks, offer to assign agents to those first

This connects the plugin's agent system to the orchestrator's task management.

Step 1: Inventory Available Agents

Available agents (from NXTG-Forge plugin): The following agents are available via the Task tool. They don't need to be in .claude/agents/ -- they're loaded from the plugin automatically.

Built-in agents (22):

  • builder - Code implementation and feature building
  • planner - Architecture and planning
  • guardian - Quality gate and governance enforcement
  • detective - Bug investigation and root cause analysis
  • security - Security auditing and vulnerability scanning
  • api - API design and implementation
  • analytics - Data analysis and metrics
  • compliance - Compliance verification
  • database - Database design and queries
  • devops - CI/CD and deployment
  • docs - Documentation writing
  • governance-verifier - Governance validation
  • integration - Service integration
  • learning - Knowledge extraction and learning
  • orchestrator - Multi-agent orchestration
  • performance - Performance optimization
  • refactor - Code refactoring
  • release-sentinel - Release readiness checking
  • testing - Test writing and coverage
  • ui - UI/UX implementation
  • oracle - Strategic analysis and advice
  • nxtg-ceo-loop - Autonomous CEO decision mode

Read the full file on GitHub · 154 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. 12d ago Changed 2b35fec43231
  2. 1mo ago Changed · +36 lines · +5 tokens per session ede7e4235042
  3. 1mo ago First seen · 118 lines · 0 tokens per session scan A b286c9684ec7

Subscribe to this mod's changes

agent-assign is a command published in the GitHub repository nxtg-ai/forge-plugin (6 stars, last pushed 4d ago), licensed MIT. It adds 5 tokens to every session and 1,142 once invoked, about $0.0000 per session on Opus 5.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-31.