delegate

delegate is a command for Claude Code from vinnie357/claude-skills. It costs 15 tokens per session (784 once invoked), scanned A, original, MIT.

A command that sends one task to a named Altana AI agent setup and returns its structured result. It can also run long tasks in the background and show their status and logs.

In plain words
What is it for?
Use it to delegate a coding or analysis task to one configured agent and inspect the returned answer, duration, status, and log path.
Why use it?
It removes the manual work of starting an agent, waiting for completion, reading its output, and finding failure details.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the altana plugin — 1 skill, 3 commands shipped together

Good fit Use it to delegate a coding or analysis task to one configured agent and inspect the returned answer, duration, status, and log path.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vinnie357/claude-skills/delegate
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/vinnie357/claude-skills

Made for: Claude Code.

Or install altana, the plugin that ships this one along with the rest of its 1 skill, 3 commands.

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 delegate

README.md
[![agentmods](https://agentmods.dev/badge/commands/vinnie357/claude-skills/delegate.svg)](https://agentmods.dev/commands/vinnie357/claude-skills/delegate)
Your own site
<a href="https://agentmods.dev/commands/vinnie357/claude-skills/delegate"><img src="https://agentmods.dev/badge/commands/vinnie357/claude-skills/delegate.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 784 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.00015 $0.00784
Opus 5 $0.00008 $0.00392
Sonnet 5 $0.00003 $0.00157
Haiku 4.5 $0.00002 $0.00078

Measured 5d ago against content hash 54a26cf4b71d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

delegate 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 5d 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/tools/altana/commands/delegate.md · 64 lines

What it actually says

Run altana delegate to send a task to a single named harness preset and return the structured result.

What it does:

  1. Invokes altana delegate <harness> "<task>" with any supplied flags via Bash.
  2. For long-running agents (timeout_s > 300 or when --write is present) runs the command in the background and streams the result when complete.
  3. Parses the JSON object from stdout.
  4. Surfaces a human-readable summary: harness name, status, duration, response text (trimmed to key sections), and log path for debugging.
  5. On non-done status, explains the failure mode and points to the log file.

Arguments:

  • <harness> — name of a configured harness preset (see altana list to enumerate presets).
  • <task> — the prompt string to delegate. Wrap in quotes if it contains spaces.
  • --prompt <template> — optional named prompt template from [prompt.<name>] in config; wraps the task before dispatch.
  • --write — grant the agent write access to the working directory inside the container (awman executor only).

JSON result fields:

Field Type Description
harness string Harness name used
status string done | timeout | crash | missing_sentinel
duration_s float Wall-clock seconds
log_path string Full subprocess log path
response string or null Agent response (sentinel stripped); null on non-done

Status meanings:

  • done — agent exited 0 and emitted the completion sentinel; response is populated.
  • missing_sentinel — agent exited 0 but did not emit the sentinel; check log_path.
  • crash — agent exited non-zero or failed to spawn; check log_path.
  • timeout — agent exceeded the configured timeout_s; check log_path for partial output.

If altana is not installed:

Install altana (see its README — it is a Zig CLI built with zig 0.16). After building, place the binary on your PATH or invoke via mise exec -- zig-out/bin/altana.

Examples:

/delegate my-claude "explain the failing test in src/parser_test.zig"
/delegate critique-harness "review src/main.zig" --prompt critique
/delegate coding-agent "add error handling to the fetch function" --write

Task instructions:

Resolve the argument string: the first positional token is <harness>, the remaining text up to the first -- flag is <task>. Reconstruct any --prompt <template> or --write flags from the parsed argument, using space-separated form.

Run: altana delegate "<harness>" "<task>" [flags]

Parse the JSON result. Present:

  • A one-line status line: harness: <name> | status: <status> | duration: <duration_s>s
  • If status == "done": the response content (show ## Answer, ## Evidence, ## Confidence sections).
  • If status != "done": the failure mode explanation and the log_path to inspect.

Load /altana:altana for protocol and config reference before running.

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. 5d ago First seen · 64 lines · 15 tokens per session scan A 54a26cf4b71d

Subscribe to this mod's changes

delegate is a command published in the GitHub repository vinnie357/claude-skills (25 stars, last pushed 2d ago), licensed MIT. It adds 15 tokens to every session and 784 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-09-03.