Chuyển đến nội dung
Skillpedia
Agent84k · #1396

cli-a2a

Skill này làm gì

Skill này chỉ cách dùng công cụ dòng lệnh OmniRoute để trao đổi với máy chủ agent-to-agent. Skill dành cho lập trình viên muốn gửi tác vụ đến các agent, theo dõi chúng và kiểm thử giao thức.

Khi nào nên dùng

  • ✓Khi người dùng muốn gửi một tác vụ đến agent OmniRoute từ dòng lệnh.
  • ✓Khi người dùng muốn kiểm tra trạng thái hoặc lịch sử các tác vụ của agent.
  • ✓Khi người dùng muốn kiểm thử giao thức JSON-RPC giữa các agent.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-a2a/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Gửi một tác vụ đến agent OmniRoute của tôi và hiển thị kết quả khi xong.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill liệt kê các lệnh dòng lệnh cho máy chủ A2A. Các lệnh này bao gồm kiểm tra trạng thái, xem agent card, gọi một skill với đầu vào JSON, theo dõi, truyền luồng hoặc hủy tác vụ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

<!-- 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>
Câu hỏi thường gặp

Tôi cài công cụ này bằng cách nào?

Skill gợi ý cài gói omniroute bằng npm, hoặc chạy bằng npx.

Tôi có thể chờ tác vụ hoàn thành không?

Có. Lệnh invoke có tùy chọn wait và một tham số timeout tính bằng mili giây.

Tôi có thể hủy một tác vụ không?

Có. Lệnh cancel sẽ hỏi xác nhận trừ khi bạn truyền cờ yes.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
84k
Vị trí xếp hạng
#1396
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự