cli-providers
Skill này làm gì
Skill này chỉ cách thiết lập và kiểm tra kết nối nhà cung cấp AI từ dòng lệnh. Skill dành cho quản trị viên kết nối các nhà cung cấp model và muốn xác nhận chúng hoạt động.
Khi nào nên dùng
- ✓Khi người dùng muốn thêm hoặc liệt kê một kết nối nhà cung cấp AI.
- ✓Khi người dùng muốn kiểm tra xem một kết nối nhà cung cấp có hoạt động không.
- ✓Khi người dùng cần luân chuyển API key của một nhà cung cấp.
Liên kết skill
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-providers/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra tất cả kết nối nhà cung cấp AI đang hoạt động của tôi và cho biết kết nối nào lỗi.”
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 để hiển thị nhà cung cấp có sẵn và đã cấu hình, thêm và kiểm tra kết nối, xác thực cài đặt cục bộ mà không gọi nhà cung cấp upstream, luân chuyển key và xem số liệu của từng nhà cung cấp.
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.
Overview
Manage provider connections from the CLI: list available/configured providers, add, test, test-all, validate, rotate API keys, and view per-provider metrics.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
provider-cmd provider [subcommand]
Manage provider connections (use
Example:
omniroute provider-cmd provider [subcommand]
providers
Example:
omniroute providers
providers available
Show available providers in the OmniRoute catalog
Flags:
--json--search <query>-q, --q <query>--category <category>
Example:
omniroute providers available
providers list
List configured provider connections
Flags:
--json
Example:
omniroute providers list
providers test <idOrName>
Test a configured provider connection
Flags:
--json
Example:
omniroute providers test <idOrName>
providers test-all
Test all active provider connections
Flags:
--json
Example:
omniroute providers test-all
providers validate
Validate local provider configuration without calling upstream
Flags:
--json
Example:
omniroute providers validate
providers rotate <idOrName>
Flags:
--new-key <key>--from-env <VAR>--oauth--yes--skip-test--dry-run
Example:
omniroute providers rotate <idOrName>
providers status
Flags:
--provider <name>--json
Example:
omniroute providers status
providers metrics
Flags:
--provider <id>--connection-id <id>--period <p>--metric <m>--sort-by <field>--limit <n>--watch--compare <list>
Example:
omniroute providers metrics
providers metric <connectionId> <metric>
Flags:
--period <p>
Example:
omniroute providers metric <connectionId> <metric>
test-provider test [provider] [model]
Flags:
--all-providers--json--latency--repeat <n>--compare <models>--save <path>
Example:
omniroute test-provider test [provider] [model]
<!-- skill:custom-start -->
<!-- Migrated from skills/omniroute-cli-providers/SKILL.md (preserved curated content) -->
OmniRoute — CLI Providers & Keys
Requires the omniroute CLI. See CLI entry-point skill for install + global flags.
Provider catalog (available providers)
omniroute providers available # Full OmniRoute provider catalog
omniroute providers available --search openai # Filter by id, name, alias
omniroute providers available --category api-key # Filter by category
omniroute providers available --json # Machine-readable JSON
Categories: api-key, oauth, free, local, combo.
Configured provider connections
omniroute providers list # Connections in your DB
omniroute providers list --json
Testing connections
omniroute providers test <id|name> # Test one configured connection
omniroute providers test-all # Test every active connection (TUI progress)
omniroute providers validate # Local-only structural validation (no HTTP)
test-all opens an interactive TUI that shows live pass/fail per connection. Use --json to get a machine-readable result:
omniroute providers test-all --json
API key management (OmniRoute keys)
These manage the OmniRoute API keys issued under API Manager — not provider credentials.
omniroute keys list # List all OmniRoute API keys
omniroute keys add <provider> [apiKey] # Add an API key for a provider
omniroute keys remove <provider> # Remove an API key
omniroute keys regenerate <id> # Regenerate (rotate) a key
omniroute keys revoke <id> # Revoke a key (disables it)
omniroute keys reveal <id> # Show the full key value
omniroute keys usage <id> # Show usage
Câu hỏi thường gặp
Việc xác thực có gọi nhà cung cấp không?
Không. Lệnh validate kiểm tra cấu hình cục bộ mà không gọi nhà cung cấp upstream.
Tôi có thể kiểm tra mọi kết nối cùng lúc không?
Có. Lệnh test-all kiểm tra tất cả kết nối đang hoạt động.
Tôi có xem được số liệu của nhà cung cấp không?
Có. Skill có hướng dẫn xem số liệu cho từng nhà cung cấp.
Chi tiết
Mô tả gốc của tác giả
Manage provider connections from the CLI: list available/configured providers, add, test, test-all, validate, rotate API keys, and view per-provider metrics.
Độ phổ biến
- Sao GitHub
- 84k
- Vị trí xếp hạng
- #1410
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
cli-a2a
84kChạy công cụ dòng lệnh OmniRoute cho các tác vụ giữa các agent, giúp bạn gửi công việc, xem lịch sử tác vụ và kiểm thử skill.
cli-backup-sync
84kChạy sao lưu dữ liệu OmniRoute từ dòng lệnh, gồm bản chụp, đồng bộ đám mây, lịch sao lưu và khôi phục từ file lưu trữ.
cli-batches
84kGửi các tác vụ AI hàng loạt từ dòng lệnh, theo dõi tiến độ và lưu kết quả hoặc lỗi, kể cả cho các pipeline CI.
cli-chat
84kGửi yêu cầu trò chuyện đến các model AI từ dòng lệnh, với câu trả lời theo luồng, system prompt và phiên tương tác.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.