跳到正文
Skillpedia
智能体84k · #1396

cli-a2a

它能做什么

这项技能展示如何使用 OmniRoute 命令行与智能体对智能体(A2A)服务器通信。适合想把任务发给智能体、跟踪任务并测试协议的开发者。

适用场景

  • ✓当用户想从命令行把任务发送给 OmniRoute 智能体的时候。
  • ✓当用户想查看智能体任务的状态或历史的时候。
  • ✓当用户想测试智能体对智能体的 JSON-RPC 协议的时候。

技能链接

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-a2a/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-a2a/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把任务发给我的 OmniRoute 智能体,完成后把结果显示给我。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能列出 A2A 服务器的命令行命令。这些命令可以查看状态、查看智能体卡片、用 JSON 输入调用技能,以及监视、流式输出或取消任务。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

a2a

Agent-to-Agent (A2A) server

Example:

omniroute a2a

a2a status

Show A2A server status

Flags:

  • --json

Example:

omniroute a2a status

a2a card

Print the Agent Card JSON

Example:

omniroute a2a card

a2a skills

Example:

omniroute a2a skills

a2a invoke <skill>

Flags:

  • --input <json>
  • --input-file <path>
  • --wait
  • --timeout <ms>

Example:

omniroute a2a invoke <skill>

a2a tasks

Example:

omniroute a2a tasks

a2a list

Flags:

  • --status <s>
  • --skill <s>
  • --limit <n>
  • --since <ts>

Example:

omniroute a2a list

a2a get <id>

Example:

omniroute a2a get <id>

a2a cancel <id>

Flags:

  • --yes

Example:

omniroute a2a cancel <id>

a2a watch <id>

Example:

omniroute a2a watch <id>

a2a stream <id>

Example:

omniroute a2a stream <id>

a2a logs <id>

Example:

omniroute a2a logs <id>
常见问题

这个工具怎么安装?

这项技能建议用 npm 安装 omniroute 包,或者用 npx 直接运行。

我可以等任务完成吗?

可以。调用命令有一个等待选项,还有以毫秒为单位的超时设置。

我可以取消任务吗?

可以。取消命令会先要求确认,除非你加上确认参数。

详情

作者的原始描述

Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively.

repo: cheaper-inference/OmniRoute

热度

GitHub 星标
84k
排名
#1396
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能