Install & register
This page covers how to make a2acli’s skills available to your agent runtime —
either as the Agent Plugin package or as individual skills — and how to keep the
tool itself installed alongside them.
Register the Agent Plugin
Section titled “Register the Agent Plugin”A plugin-aware client can consume either of the two package shapes the repository
ships (both target Agent Plugins Specification 1.0.0, both are skills-only):
- Root package — the repository root itself: the root
plugin.jsonplus the fullskills/tree (all three skills with theirreferences/,scripts/, andassets/). This is the richer, canonical source. - Self-contained mirror — the
agent-plugin/directory: its ownplugin.jsonplus a singleskills/a2acli/skill that points back to the root copy. This mirrorsa2aproject/a2a-cli’s official layout.
Point your plugin-aware client at the
repository, or at the agent-plugin/
subdirectory for the self-contained shape.
Install individual skills
Section titled “Install individual skills”If you want one skill (or all three) rather than the whole plugin, use your runtime’s skills mechanism.
The Open Agent Skills CLI (npx skills) supports
OpenCode, Claude Code, Cursor, Cline, and 70+ agents.
# List the skills the repository shipsnpx skills add ghchinoy/a2acli --list
# Install one skill into the current project (saves under ./<agent>/skills/)npx skills add ghchinoy/a2acli --skill a2aclinpx skills add ghchinoy/a2acli --skill a2a-exposenpx skills add ghchinoy/a2acli --skill a2a-conformance
# Install all three at oncenpx skills add ghchinoy/a2acli --all
# Install all three globally, across every projectnpx skills add ghchinoy/a2acli --all -g# Install a specific skill globallygemini skills install https://github.com/ghchinoy/a2acli.git --path skills/a2a-conformance
# Or link the skills from a local clonegit clone https://github.com/ghchinoy/a2acli.gitcd a2acli && gemini skills linkCopy the skill folder(s) from skills/ directly into your workspace’s skill
directory:
- OpenCode:
.opencode/skill/ - Claude Code:
.claude/skills/ - General / Antigravity:
.agents/skills/or~/.agents/skills/
Verify the install
Section titled “Verify the install”After registering the skill(s) and installing the binary, confirm both are in place:
-
Confirm the binary is on
PATH:Terminal window a2acli version -
Trigger the skill from your agent with an explicit prompt, e.g.
"Use skill a2acli to discover the agent at http://localhost:9001". The agent should load thea2acliskill and runa2acli discover … --output json.
Single source of truth
Section titled “Single source of truth”The a2acli skill exists in two places on purpose, and they are not peers:
skills/a2acli/SKILL.md(repository root) is the canonical, maintained copy — command index, flag tables, determinism rules, and references all live here.agent-plugin/skills/a2acli/SKILL.mdis a deliberately thin pointer back to the root copy. It carries only a preflight note and a “defer to the root skill anda2acli --help” instruction, so there is nothing in it to drift.
If you are editing or vendoring the skill, change the root copy. Leave the
agent-plugin/ copy as a pointer.
- Skills reference — what each of the three skills does.
- Worked example — an agent driving
a2acliend to end.