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

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.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-providers/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

“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.

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

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.

repo: cheaper-inference/OmniRoute

Độ 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

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ự