a2a-task-operations

a2a-task-operations is a skill for Claude Code, OpenCode from oaslananka/a2amesh. It costs 32 tokens per session (645 once invoked), scanned A, original, Apache-2.0.

A controlled toolkit for A2A tasks, meaning messages and work items exchanged between software agents. It can send, inspect, monitor, retrieve artifacts from, and cancel known tasks after endpoint validation and approval.

In plain words
What is it for?
Use it to send an approved message, monitor a task, inspect its status history, retrieve its results, or cancel a known task.
Why use it?
It adds explicit checks, bounded retries, and evidence around agent-to-agent operations. This reduces the risk of sending work to an unverified endpoint or losing track of task state.

Skill for Claude CodeOpenCode

Written for Claude Code and OpenCode: shipped in a Claude Code plugin, but also installed under .opencode/.

Part of the a2amesh plugin — 3 skills, 1 MCP server shipped together

Good fit Use it to send an approved message, monitor a task, inspect its…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oaslananka/a2amesh/a2a-task-operations
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.

Any agent
npx skills add oaslananka/a2amesh --skill a2a-task-operations
Clone the repo
git clone --depth 1 https://github.com/oaslananka/a2amesh

Made for: Claude Code, OpenCode.

Or install a2amesh, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

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 a2a-task-operations

README.md
[![agentmods](https://agentmods.dev/badge/skills/oaslananka/a2amesh/a2a-task-operations.svg)](https://agentmods.dev/skills/oaslananka/a2amesh/a2a-task-operations)
Your own site
<a href="https://agentmods.dev/skills/oaslananka/a2amesh/a2a-task-operations"><img src="https://agentmods.dev/badge/skills/oaslananka/a2amesh/a2a-task-operations.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 645 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.00032 $0.00645
Opus 5 $0.00016 $0.00322
Sonnet 5 $0.00006 $0.00129
Haiku 4.5 $0.00003 $0.00064

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

Security

Grade A, and why

a2a-task-operations 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 6d 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.

.opencode/skills/a2a-task-operations/SKILL.md · 78 lines

How it starts

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

A2A Task Operations

Use this skill for controlled A2A message and task lifecycle operations after endpoint validation is complete.

When to use

Use this skill when the user asks to:

  • send a text message to a validated A2A endpoint;
  • inspect or monitor an existing task;
  • retrieve task artifacts or status history; or
  • cancel a known task with explicit approval.

Do not use this skill for unrestricted bulk dispatch, credential management, deployment, merge, publish, terminal, or destructive infrastructure operations.

Required context

Confirm:

  • the exact validated endpoint and tenant boundary;
  • the intended message, task ID, or context ID;
  • the authentication mechanism without exposing the credential value;
  • whether the requested action is read-only or state-changing;
  • the user's explicit approval for send or cancel operations; and
  • the timeout, retry, and artifact-size expectations.

Workflow

  1. Reuse recent endpoint-validation evidence or run the a2a-endpoint-validation skill first.
  2. For a send, restate the endpoint and bounded message purpose, then obtain explicit approval.
  3. Run pnpm dlx @a2amesh/cli send <endpoint> <message> with only documented options.
  4. Do not retry a non-idempotent send automatically. Use an Idempotency-Key only when the caller and endpoint contract support it.
  5. Inspect a task with task status or monitor it with a bounded cycle count.
  6. Retrieve and summarize artifacts without writing binary or secret-bearing content into chat.
  7. For cancellation, confirm the exact task ID and obtain explicit approval immediately before the action.
  8. Report the task ID, state transitions, artifacts, failures, and any unverified outcome.

Safety boundaries

  • Send and cancel are state-changing and require explicit approval.
  • Keep tenant, audience, scope, and endpoint identity checks authoritative.
  • Do not retry ordinary message-send requests automatically.
  • Do not follow task-provided URLs outside the configured outbound policy.
  • Bound message length, response size, operation time, monitor cycles, and artifact output.
  • Redact credentials, authorization headers, query values, and secret-like task output.
  • Do not claim completion unless a terminal task state or equivalent evidence was observed.

Read the full file on GitHub · 78 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. 6d ago First seen · 78 lines · 32 tokens per session scan A bfcc8f629cdf

Subscribe to this mod's changes

a2a-task-operations is a skill published in the GitHub repository oaslananka/a2amesh (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 32 tokens to every session and 645 once invoked, about $0.0002 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-31.