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

cli-models

Skill này làm gì

Skill này chỉ cách duyệt và quản lý danh mục model AI từ dòng lệnh. Skill dành cho những ai muốn tìm một model, xem chi tiết hoặc thêm một model mới.

Khi nào nên dùng

  • ✓Khi người dùng muốn tìm một model AI theo nhà cung cấp hoặc từ khóa.
  • ✓Khi người dùng muốn thêm một model mới vào danh mục.
  • ✓Khi người dùng muốn kiểm tra alias hoặc các biến thể tên của model.

Liên kết skill

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-models/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-models/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

“Những model nào từ nhà cung cấp của tôi có thể xử lý tài liệu dà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 để duyệt danh mục, tìm theo nhà cung cấp hoặc truy vấn, xem chi tiết model thủ công, và thêm hoặc thử một model trên một kết nối đã chọn, có tùy chọn chạy thử (dry-run).

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

Query available AI models, list model aliases, and browse the full model catalog from the CLI. Filter by provider, search by capability, and resolve model name variants.

Quick install

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

Subcommands

models test-add <model>

Validate an OpenAI-compatible model on one strict connection, then add it after a synthetic tool round-trip

Flags:

  • --provider <id>
  • --connection <id>
  • --name <name>
  • --max-input-tokens <count>
  • --max-output-tokens <count>
  • --api-format <format>
  • --context <name>
  • --base-url <url>
  • --allow-inference
  • --yes
  • --dry-run
  • --json

Example:

omniroute models test-add example-model --provider example-provider --connection example-connection --dry-run

models [provider]

Flags:

  • --search <query>
  • --json

Example:

omniroute models [provider]

models manual <provider>

List manual model metadata from the selected server

Example:

omniroute models manual <provider>

models add <provider> <model-id>

Add an unverified manual model, then verify persistence

Flags:

  • --name <name>
  • --api-format <format>
  • --context-window <tokens>
  • --max-output-tokens <tokens>
  • --dry-run

Example:

omniroute models add <provider> <model-id>

models edit <provider> <model-id>

Edit manual model metadata, then verify persistence

Flags:

  • --name <name>
  • --api-format <format>
  • --context-window <tokens>
  • --clear-context-window
  • --dry-run

Example:

omniroute models edit <provider> <model-id>

models remove <provider> <model-id>

Remove only a manual model override, then verify persistence

Flags:

  • --yes
  • --dry-run

Example:

omniroute models remove <provider> <model-id>
Câu hỏi thường gặp

Tôi có thể thử một model trước khi thêm không?

Có. Lệnh test-add kiểm tra một model và có tùy chọn dry-run.

Có đầu ra JSON không?

Có. Lệnh liệt kê danh mục có tùy chọn JSON.

Những tùy chọn nào điều khiển việc kiểm tra?

Các tùy chọn như dry-run, yes và allow-inference điều khiển cách một model được kiểm tra và thêm vào.

Chi tiết

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

Query available AI models, list model aliases, and browse the full model catalog from the CLI. Filter by provider, search by capability, and resolve model name variants.

repo: cheaper-inference/OmniRoute

Độ phổ biến

Sao GitHub
84k
Vị trí xếp hạng
#1407
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ự