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
About the project

CORAL is infrastructure for autonomous coding agents that run experiments on a codebase, have their work graded, share knowledge, and evolve solutions across repeated attempts. It is used for autoresearch workflows with agents such as Claude Code, OpenCode, Codex, Cursor Agent, and Kiro. The catalogue entries provide skills, agents, instructions, a plugin, and a hook for operating these workflows.

Human-Agent-Society/CORAL · 1,155 stars · on GitHub · coral.compounding-intelligence.ai

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.5 $0.00044 $0.00395
Sonnet 5.5 $0.00022 $0.00197
Haiku 4.5 $0.00011 $0.00099

Measured 3mo ago against content hash 7abb91fde5aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 (1,155 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 110 tokens to every session and 987 once invoked, about $0.0004 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-30.

Related

coral-task-author compared with agents from other repositories

coral-task-author next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coral-task-authorHuman-Agent-Society/CORALAgent1.2k1mo agoApache-2.0A110Claude Code
Explorerojim666/SztuCodeAgent11018d agoMITA0Claude Code
test-deduplicatornowsprinting/unity-coding-skillsAgent20yesterdayUnlicenseA83Claude Code
test-designernowsprinting/unity-coding-skillsAgent20yesterdayUnlicenseA161Claude Code
skill-reviewerneuradex/snaAgent26mo agononeA249Claude Code
FabricSolutionArchitectkimtth/ms-fabric-skills-dev-starterAgent26mo agononeA83Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code