Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)84k · #1414

cli-setup

Skill này làm gì

Skill này chỉ cách thiết lập OmniRoute từ dòng lệnh và quản lý các cài đặt chung. Skill dành cho quản trị viên muốn hoàn tất thiết lập, điều chỉnh cấu hình và để công cụ tự khởi động.

Khi nào nên dùng

  • ✓Khi người dùng đang thiết lập OmniRoute lần đầu.
  • ✓Khi người dùng muốn thay đổi cài đặt CLI toàn cục hoặc biến môi trường.
  • ✓Khi người dùng muốn OmniRoute tự khởi động cùng lúc máy tính khởi động.

Liên kết skill

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

“Thiết lập OmniRoute trên máy tính này và cho nó tự khởi động.”

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 để chạy thiết lập, xem và thay đổi cấu hình công cụ CLI, liệt kê và ghi cài đặt công cụ, và bật, tắt hoặc kiểm tra tự khởi động.

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

Run initial setup, configure global CLI settings, manage environment variables, check for updates, and configure autostart via the CLI setup and config commands.

Quick install

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

Subcommands

autostart

Example:

omniroute autostart

autostart enable

Flags:

  • --tray
  • --no-tray

Example:

omniroute autostart enable

autostart disable

Example:

omniroute autostart disable

autostart toggle

Flags:

  • --tray
  • --no-tray

Example:

omniroute autostart toggle

autostart status

Example:

omniroute autostart status

config

Show or update CLI tool configuration

Example:

omniroute config

config list

List all CLI tools and config status

Flags:

  • --json

Example:

omniroute config list

config get <tool>

Show current config for a tool

Flags:

  • --json

Example:

omniroute config get <tool>

config set <tool>

Write config for a tool

Flags:

  • --model <model>
  • --non-interactive
  • --yes
  • --allow-container-write

Example:

omniroute config set <tool>

config validate <tool>

Validate config format without writing

Flags:

  • --model <model>
  • --json

Example:

omniroute config validate <tool>

config opencode

Generate OpenCode config (alias for

Flags:

  • --model <model>
  • --non-interactive
  • --yes
  • --allow-container-write

Example:

omniroute config opencode

config lang

Example:

omniroute config lang

config get

Flags:

  • --json

Example:

omniroute config get

config set <code>

Flags:

  • --force

Example:

omniroute config set <code>

config list

Flags:

  • --json

Example:

omniroute config list

env

Show and manage environment variables

Example:

omniroute env

env show

Show current environment variables

Flags:

  • --json

Example:

omniroute env show

env get <key>

Get a single environment variable

Example:

omniroute env get <key>

env set <key> <value>

Set an environment variable (current session only)

Example:

omniroute env set <key> <value>

setup

Flags:

  • --password <value>
  • --add-provider
  • --provider <id>
  • --provider-name <name>
  • --api-key <value>
  • --default-model <model>
  • --provider-base-url <url>
  • --test-provider
  • --non-interactive
  • --list

Example:

omniroute setup

update

Flags:

  • --check
  • --apply
  • --changelog
  • --dry-run
  • --no-backup
  • --yes

Example:

omniroute update
Câu hỏi thường gặp

Nó có tự khởi động cùng máy tính không?

Có. Lệnh autostart enable bật tính năng này, và có tùy chọn biểu tượng khay hệ thống.

Tôi có thể xem cấu hình mà không thay đổi không?

Có. Các lệnh config list và config get hiển thị cài đặt hiện tại.

Nó có kiểm tra cập nhật không?

Skill nói nó có thể kiểm tra cập nhật như một phần của các lệnh thiết lập và cài đặt.

Chi tiết

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

Run initial setup, configure global CLI settings, manage environment variables, check for updates, and configure autostart via the CLI setup and config commands.

repo: cheaper-inference/OmniRoute

Độ phổ biến

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