coral-task-author

coral-task-author is an agent for Claude Code from Human-Agent-Society/CORAL. It costs 110 tokens per session (987 once invoked), scanned A, original, Apache-2.0.

A helper for turning a rough request to optimize code with CORAL into a tested CORAL task, including its workspace and scoring program.

In plain words
What is it for?
Use it to inspect an existing project, infer what should be improved, write a grader, and run validation before you start the agent experiment.
Why use it?
It explores the repository and creates a measurable task, so multiple agents can work toward a clear optimization target.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the coral plugin — 4 skills, 2 agents, 1 hook shipped together

Good fit Use it to inspect an existing project, infer what should be improved, write a grader, and run validation before you start the agent experiment.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/human-agent-society/coral/coral-task-author
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/Human-Agent-Society/CORAL

Made for: Claude Code.

Or install coral, the plugin that ships this one along with the rest of its 4 skills, 2 agents, 1 hook.

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 coral-task-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/human-agent-society/coral/coral-task-author/github.svg)](https://agentmods.dev/agents/human-agent-society/coral/coral-task-author)
Your own site
<a href="https://agentmods.dev/agents/human-agent-society/coral/coral-task-author"><img src="https://agentmods.dev/badge/agents/human-agent-society/coral/coral-task-author/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 coral-task-author

Your own site · 80×15
<a href="https://agentmods.dev/agents/human-agent-society/coral/coral-task-author"><img src="https://agentmods.dev/badge/agents/human-agent-society/coral/coral-task-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 987 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.00110 $0.00987
Opus 5 $0.00055 $0.00494
Sonnet 5 $0.00022 $0.00197
Haiku 4.5 $0.00011 $0.00099

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

Security

Grade A, and why

coral-task-author 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/agents/coral-task-author.md · 30 lines

How it starts

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

You turn a user's optimization request into a single, validated CORAL task and hand it back ready to launch. Bias hard toward action. The user invoked you to get a task built, not to answer a questionnaire — so explore, decide, and build. Do NOT open with a multiple-choice menu or block on clarifying questions. Make the most reasonable assumption, proceed, and surface what you assumed so the user can correct it.

You stop at one boundary: after coral validate passes, you report and let the user launch. You do NOT run coral start — kicking off a real multi-agent run against a guessed objective wastes money, so the launch is the user's call.

Follow the creating-a-coral-task skill for grader patterns and the TaskGrader API, and coral-quickstart for the .coral_workspace/ layout. Read them if available.

Act in this order — don't pause between steps

  1. Explore first, infer the goal. Assume the current repo is the thing to optimize unless the user pointed elsewhere. Read the README, look for existing benchmark/eval/metric scripts, a main entry point, tests, anything that already produces a number. From that, infer the most likely optimization target and the metric that defines "better" (speedup, accuracy on a held-out set, pass-rate, a score the repo already computes). Only if you genuinely cannot find or construct any measurable objective after looking — then, and only then, ask the user one focused question.

  2. State your plan in one or two lines, then keep going. e.g. "Assuming you want to speed up sample() in saga/decode.py while keeping outputs identical; scoring = baseline_time / new_time, correctness-gated. Building the task now." Don't wait for approval to proceed — the user will stop you if it's wrong.

  3. Scaffold immediately. Create the workspace (prefer the bundled scripts/new-coral-workspace.sh from coral-quickstart; else gitignore .coral_workspace/, coral init inside it, copy the target code into seed/). Pick the right seed contents yourself — if the target is a function in a module, put that module (or a thin solution.py wrapper that imports and exercises it) in seed/.

  4. Write the brief. Set task.description to the goal + the exact program-file contract agents must honor. They read it verbatim.

  5. Write the grader. Subclass TaskGrader, implement evaluate(), run the agent's code via self.run_program / self.run_script(_json) (never sys.executable). Gate on correctness before scoring the target — never reward a fast or compact wrong answer. Hidden answer keys go under grader.private (read via self.private_dir) in a dir outside grader/, never under seed/ or anywhere inside the grader/ package — the whole grader/ source is surfaced read-only to agents at <shared_dir>/grader/ (so everything in it is visible), and coral validate errors on a grader.private path inside grader/. Task runtime deps → workspace.setup; grader-only deps → grader.setup. Set grader.direction to match the metric.

  6. Validate in a loop. Run coral validate .. On failure, read the error, fix the grader/seed, repeat. Don't stop until it prints a sensible score for the seed — that's the checkpoint proving the task works.

Read the full file on GitHub · 30 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. 10d ago First seen · 30 lines · 110 tokens per session scan A 7abb91fde5aa

Subscribe to this mod's changes

coral-task-author is an agent published in the GitHub repository Human-Agent-Society/CORAL (965 stars, last pushed yesterday), licensed Apache-2.0. It adds 110 tokens to every session and 987 once invoked, about $0.0006 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.

Related

Other agents, from other repositories

test-engineer

Test engineer agent for bug reproduction and verification. Spawn this agent to reproduce a user-reported bug end-to-end or to verify that a fix resolves the issue. It reads code and docs to understand the bug, then runs the CLI in headless or interactive mode to confirm the behavior. It can write test scripts as a…

QwenLM/qwen-code · 119 tokens

benchmark-reviewer

Reviews an evo benchmark in two modes. mode=audit -- pre-flight harness audit before the first run (per-task instrumentation, leakage, gates, plumbing); read-only. mode=review-experiment -- post-commit per-task failure analysis for a specific experiment; reads per-task traces and the eval-runner log, writes per-task…

evo-hq/evo · 112 tokens

iteration

The iteration agent of /auto. Runs the /auto-iteration-loop skill — an autonomous review loop that consumes /auto-verify's four-state output (PASS / FAIL / INCONCLUSIVE / ZEROELIGIBLEVARIANTS) plus the orthogonal deferred bucket and routes each claim to the right back-edge (① variant-only fix / ② baseline-script fix /…

zjunlp/Mechanist · 143 tokens

implementer-agent

Standard implementation worker for spec-driven development spawned by the speq-implement orchestrator. Executes untagged tasks.md tasks via TDD; [expert] tasks route to implementer-expert-agent instead.

marconae/speq-skill · 45 tokens

failing-test-writer

Test-first coding agent. Use in Step 2 of the development workflow after the plan file is ready. Receives the plan file path, implements test code from the Test Cases table (including any updates to existing tests indicated in the table), runs the tests to confirm they fail (production code does not yet exist).…

nowsprinting/unity-coding-skills · 85 tokens

verify

The verify agent of /auto. Runs the /auto-verify skill to stress-test claims (regardless of baseline verdict) via within-family method / dataset / model swaps. Two mandatory integrity gates — Phase 2 per-claim baseline audit (runs for every target claim) and Phase 9 per-claim variant audit on Phase 3 step 0's top-K…

zjunlp/Mechanist · 151 tokens