360 Secure SkillHub
360 安全技能中心

cli-a2a

该 Skill 提供 OmniRoute A2A 相关 CLI 子命令,可查看服务器状态与 Agent Card、列出和调用技能、提交或取消任务,并通过 list/get/watch/stream/logs 跟踪任务与日志,便于测试 JSON-RPC 2.0 代理协作流程。

diegosouzapw
热度 0.00
最近更新 2026-10-19 02:16:20
分类:开发依赖:代码执行 / 第三方 API应用场景:API 集成 / 调试排错 / 工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add diegosouzapw/omniroute/cli-a2a
Metadata
name
cli-a2a
description
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.

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>