a2a-java: Skill for Claude Code

.agents/skills/update-a2a-proto/SKILL.md

update-a2a-proto is a skill for Claude Code from a2aproject/a2a-java. It costs 60 tokens per session (737 once invoked), scanned A, original, Apache-2.0.

A maintenance workflow for updating an A2A Protocol Buffer file and regenerating its Java sources. A2A is a protocol for communication between AI agents, while Protocol Buffers define structured messages and services.

In plain words
What is it for?
Use it when the A2A specification changes, when syncing from the upstream repository, or when a new protocol version needs to be reflected in the Java SDK.
Why use it?
It provides a repeatable way to sync protocol changes while preserving the previous version and showing what changed.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is a2aproject/a2a-java's own configuration. It tells Claude Code how to work on a2a-java itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything a2a-java configures →

Reuse

Borrowing it

Nothing to install: this file belongs to a2aproject/a2a-java. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/a2aproject/a2a-java/main/.agents/skills/update-a2a-proto/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/a2aproject/a2a-java

Made for: Claude Code.

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 update-a2a-proto

README.md
[![agentmods](https://agentmods.dev/badge/skills/a2aproject/a2a-java/update-a2a-proto/github.svg)](https://agentmods.dev/skills/a2aproject/a2a-java/update-a2a-proto)
Your own site
<a href="https://agentmods.dev/skills/a2aproject/a2a-java/update-a2a-proto"><img src="https://agentmods.dev/badge/skills/a2aproject/a2a-java/update-a2a-proto/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 update-a2a-proto

Your own site · 80×15
<a href="https://agentmods.dev/skills/a2aproject/a2a-java/update-a2a-proto"><img src="https://agentmods.dev/badge/skills/a2aproject/a2a-java/update-a2a-proto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 737 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00060 $0.00737
Opus 5.5 $0.00024 $0.00295
Sonnet 5.5 $0.00012 $0.00147
Haiku 4.5 $0.00006 $0.00074

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

Security

Grade A, and why

update-a2a-proto scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires curl
.agents/skills/update-a2a-proto/SKILL.md · 86 lines

How it starts

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

Update a2a.proto

Update the A2A gRPC proto file from the upstream specification repository and regenerate Java sources.

Step 1: Capture the current state

Before updating, record what we have now so we can diff later.

  1. Read spec-grpc/src/main/proto/a2a.proto to note the current commit hash (located at the top of the file in a comment)
  2. Save a copy of the file for diffing:

Step 2: Download the updated specification

  1. Ask the user if they want to update from the main branch or pass a tag or a commit cheksum
  2. Download the latest a2a.proto from the upstream A2A repository at https://github.com/a2aproject/A2A/blob/main/specification/a2a.proto and save it to spec-grpc/src/main/proto/a2a.proto.
  3. Update the java_package option in the downloaded proto file to:
    option java_package = "org.a2aproject.sdk.grpc";
    
  4. Update the comment tracking the upstream commit hash (line starting with // From commit) to the commit hash / tag of the downloaded proto file.

Step 3: Analyze specification changes

Compare the old and new versions of the specification to identify changes:

  1. Diff specification/a2a.proto with the backup to find:
    • New or changed message types
    • New or changed RPC methods
    • New or changed fields

Step 4: Regenerate gRPC classes

  1. Delete all the generated gRPC Java classes (in case of resources removed from the Protobuf definitions):

    find spec-grpc/src/main/java/org/a2aproject/sdk/grpc -maxdepth 1 -name "*.java" -delete```
    
  2. Regenerate gRPC Java classes by running:

    mvn generate-sources -pl spec-grpc -Dskip.protobuf.generate=false
    

Step 5: Update the code

Based on the spec diff, update the relevant files

Summarize the changes for the user before proceeding.

Step 6: Validate

Run the tests on all modules to verify the update

mvn clean install

Fix any issues before proceeding.

Step 7: Audit changes

Before committing, audit all code changes.

Read the full file on GitHub · 86 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. 2mo ago First seen · 86 lines · 60 tokens per session scan A 5fa2b7f041e4

Subscribe to this mod's changes

update-a2a-proto is a skill published in the GitHub repository a2aproject/a2a-java (509 stars, last pushed yesterday), licensed Apache-2.0. It adds 60 tokens to every session and 737 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

update-a2a-proto compared with skills from other repositories

update-a2a-proto next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-a2a-protoa2aproject/a2a-javaSkill509yesterdayApache-2.0A60Claude Code
frankfurtera2aproject/a2a-samplesSkill1.8k17d agoApache-2.0A14Claude Code, Codex
searxng-settings-editorKnuckles-Team/searxng-mcpSkill3yesterdayMITA152Claude Code, Codex
jellyfin-mcp-developmentKnuckles-Team/jellyfin-mcpSkill3yesterdayMITA60Claude Code, Codex
searxng-kg-ingestionKnuckles-Team/searxng-mcpSkill3yesterdayMITA126Claude Code, Codex
searxng-web-searchKnuckles-Team/searxng-mcpSkill3yesterdayMITA138Claude Code, Codex
jellyfin-kg-ingestionKnuckles-Team/jellyfin-mcpSkill3yesterdayMITA158Claude Code, Codex