You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for kicking this off, but I think we need to iterate on this before merging.
"Use when" description I think should be selling the skill more, i.e. lis more concrete triggers: use when you need to delegate to a specialized agent, fetch an agent card, send a message to an agent at a URL, check or cancel an A2A task.
The core concepts like tasks and context are not introduced. I'd add a short bulleted statements list like:
* An A2A interaction starts with a client Message.
* The server responds with either a Message or a Task.
* Task represents a long running work, that can be cancelled or interrupted (eg. auth or user input required).
Server keeps track of Tasks and messages which relate to Tasks, while messages not related to a task are not stored.
* Tasks have server generated task and context-id.
* Task transition to an interrupted state when user input or auth credentials are required to proceed.
* A Message carrying a task-id can be used to resume a task in the interrupted state.
* A Message carrying a context-id allows the server to link it to previous interactions this client had. A Task created in response to such a Message will be created in the same context.
* Many Tasks can exist within a single Context, but a Task can't be referenced with a reference to the different context, i.e. ---task-id and --context-id must agree.
Too much focus on less important things: "Try it with a throwaway echo agent", "Exit code and task state answer different questions", "Recording requests and responses". Models are smart enough to come up with workflows and connect to real agents they need to connect from the start, I don't think these sections add value.
You're basically instructing to always read the SPEC.
Global flags and the output schema are defined in the a2a-cli specification (SPEC.md) — consult it rather than guessing.
It has too much information and it's now frozen, so the real cli mechanics will inevitably drift. Let's focus on cli help for flag and command discovery.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a single-file Agent Skill for the
a2aCLI (SPEC §14), plus a short install README.skills/a2a-cli/SKILL.md— how to use and learn the CLI, and record tasks for follow-upskills/a2a-cli/README.md— install and verifycloses: #4