Borrowing it
Nothing to install: this file belongs to a2aproject/a2a-tck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/a2aproject/a2a-tck/main/.agents/skills/a2a-java-sut/SKILL.mdgit clone --depth 1 https://github.com/a2aproject/a2a-tckWrote 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.
[](https://agentmods.dev/skills/a2aproject/a2a-tck/a2a-java-sut)<a href="https://agentmods.dev/skills/a2aproject/a2a-tck/a2a-java-sut"><img src="https://agentmods.dev/badge/skills/a2aproject/a2a-tck/a2a-java-sut/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.
<a href="https://agentmods.dev/skills/a2aproject/a2a-tck/a2a-java-sut"><img src="https://agentmods.dev/badge/skills/a2aproject/a2a-tck/a2a-java-sut.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.02089 |
| Opus 5.5 | $0.00021 | $0.00836 |
| Sonnet 5.5 | $0.00010 | $0.00418 |
| Haiku 4.5 | $0.00005 | $0.00209 |
Grade C, and why
a2a-java-sut scanned grade C with 2 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 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -s http://localhost:9999/.well-known/agent-card.json | python3 -m json.tool Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
allowed-tools: Bash(make:*) Bash(mvn:*) Bash(java:*) Bash(curl:*) Bash(kill:*) Bash(lsof:*) Bash(uv:*) Read Edit Write Glob Grep Agent How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Work with the a2a-java SUT
The a2a-java SUT is a Quarkus application that lives in the tck module of the a2a-java repository. The TCK code generator produces two CDI producer files (TckAgentCardProducer.java and TckAgentExecutorProducer.java) from Gherkin .feature files and copies them into the user's local clone of the a2a-java repo.
Architecture overview
scenarios/*.feature → codegen (parser + steps + java_emitter) → $A2A_JAVA_DIR/tck/
- Gherkin scenarios (
scenarios/*.feature) define SUT behavior via messageId prefix matching - Code generator (
codegen/) parses.featurefiles and emits Java sources - Jinja2 templates (
codegen/a2a-java/*.j2) produce the two CDI producer files - Generated output goes into the
tckmodule of the user's local a2a-java clone
Key generated files
| File | Template | Purpose |
|---|---|---|
TckAgentExecutorProducer.java |
TckAgentExecutorProducer.java.j2 |
CDI producer for AgentExecutor; routes by messageId prefix |
TckAgentCardProducer.java |
TckAgentCardProducer.java.j2 |
CDI producer for AgentCard with all three transports |
How the executor works
The generated AgentExecutor matches on the messageId prefix from incoming messages:
if (messageId.startsWith("tck-complete-task")) {
emitter.complete(A2A.toAgentMessage("Hello from TCK"));
return;
}
The TCK tests use tck_id("complete-task") which generates tck-complete-task-<session_hex>, matching the prefix.
Step 0: Set up the a2a-java clone
The A2A_JAVA_DIR environment variable must point to the root of a local clone of the a2a-java repository.
Check if the clone already exists as a sibling directory:
ls -d ../a2a-java 2>/dev/null && echo "Found at ../a2a-java"
If it exists, set:
export A2A_JAVA_DIR=$(cd ../a2a-java && pwd)
If not, clone it:
git clone https://github.com/a2aproject/a2a-java.git ../a2a-java
export A2A_JAVA_DIR=$(cd ../a2a-java && pwd)
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.
- 2mo ago First seen · 197 lines · 52 tokens per session scan C d31152f09866
a2a-java-sut is a skill published in the GitHub repository a2aproject/a2a-tck (56 stars, last pushed 8d ago), licensed Apache-2.0. It adds 52 tokens to every session and 2,089 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
java-affected-tests
Use before opening or updating an OpenMetadata PR that changes Java, a JSON schema, an index mapping, a SQL migration, seed data or a pom — PR CI no longer runs the Java integration tests (they run only in the merge queue) and the JavaUIIT/search-it suites run only nightly, so this selects the unit tests and…
dup-classes
Verify whether generated Java classes duplicate openai-java models by comparing fields/types (names may differ). Use when checking for duplicate model coverage.
java-unit-test
A code-generation guide for Java unit tests in Spring Boot projects. Unit tests check one small piece of code in isolation; Spring Boot is a Java framework for building web applications and services.
test-quality
Write high-quality JUnit 5 tests with AssertJ assertions. Use when user says "add tests", "write tests", "improve test coverage", or when reviewing/creating test classes for Java code.
112-java-maven-plugins
Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) …
JUnit 5 Testing
Production-grade Java unit and integration testing with JUnit 5 covering assertions, parameterized tests, lifecycle hooks, Mockito mocking, nested tests, and extensions.