cli-anything-novita
Skill này làm gì
Skill này giúp agent AI sử dụng Novita AI, một dịch vụ chạy nhiều mô hình AI qua cùng một giao diện. Skill phù hợp với người muốn thử các mô hình khác ngoài những mô hình thường dùng.
Khi nào nên dùng
- ✓Khi bạn muốn gửi câu hỏi đến mô hình DeepSeek hoặc GLM qua Novita.
- ✓Khi bạn cần xem Novita đang cung cấp những mô hình AI nào.
- ✓Khi bạn muốn câu trả lời hiện ra từng chữ khi đang được viết.
Liên kết skill
https://github.com/HKUDS/CLI-Anything/blob/main/novita/agent-harness/cli_anything/novita/skills/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
“Tôi muốn hỏi mô hình DeepSeek qua Novita để giải thích thông báo lỗi này bằng lời đơn giản.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kết nối với Novita bằng API key của bạn và gửi yêu cầu đến mô hình bạn chọn. Agent có thể trả về toàn bộ câu trả lời một lần hoặc truyền theo từng phần.
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.
cli-anything-novita
A CLI harness for Novita AI - an OpenAI-compatible API service for AI models like DeepSeek, GLM, and others.
Installation
This CLI is installed as part of the cli-anything-novita package:
pip install cli-anything-novita
Prerequisites:
- Python 3.10+
- Novita API key from novita.ai
Usage
Basic Commands
# Show help
cli-anything-novita --help
# Start interactive REPL mode
cli-anything-novita
# Chat with model
cli-anything-novita chat --prompt "What is AI?" --model deepseek/deepseek-v3.2
# Streaming chat
cli-anything-novita stream --prompt "Write a poem about code"
# List available models
cli-anything-novita models
# JSON output (for agent consumption)
cli-anything-novita --json chat --prompt "Hello"
REPL Mode
When invoked without a subcommand, the CLI enters an interactive REPL session:
cli-anything-novita
# Enter commands interactively with tab-completion and history
Command Groups
Chat
Chat with AI models through the Novita API.
| Command | Description |
|---|---|
chat |
Chat with the Novita API |
stream |
Stream chat completion |
Session
Session management for chat history.
| Command | Description |
|---|---|
status |
Show session status |
clear |
Clear session history |
history |
Show command history |
Config
Configuration management.
| Command | Description |
|---|---|
set |
Set a configuration value |
get |
Get a configuration value (or show all) |
delete |
Delete a configuration value |
path |
Show the config file path |
Utility
| Command | Description |
|---|---|
test |
Test API connectivity |
models |
List available models |
Examples
Configure API Key
# Set API key via config file (recommended)
cli-anything-novita config set api_key "sk-xxx"
# Or use environment variable
export NOVITA_API_KEY="sk-xxx"
Chat with DeepSeek
# Simple chat
cli-anything-novita chat --prompt "Explain quantum computing" --model deepseek/deepseek-v3.2
# Streaming chat
cli-anything-novita stream --prompt "Write a Python function to calculate factorial"
Test Connectivity
# Verify API key and connectivity
cli-anything-novita test --model deepseek/deepseek-v3.2
# List all available models
cli-anything-novita models
Default Models
The Novita API supports multiple model providers:
| Model ID | Provider | Description |
|---|---|---|
deepseek/deepseek-v3.2 |
DeepSeek | DeepSeek V3.2 model (default) |
zai-org/glm-5 |
Zhipu AI | GLM-5 model |
minimax/minimax-m2.5 |
MiniMax | MiniMax M2.5 model |
Output Formats
All commands support dual output modes:
- Human-readable (default): Tables, colors, formatted text
- Machine-readable (
--jsonflag): Structured JSON for agent consumption
# Human output
cli-anything-novita chat --prompt "Hello"
# JSON output for agents
cli-anything-novita --json chat --prompt "Hello"
For AI Agents
When using this CLI programmatically:
- Always use
--jsonflag for parseable output - Check return codes - 0 for success, non-zero for errors
- Parse stderr for error messages on failure
- Use absolute paths for all file operations
- Verify outputs exist after export operations
More Information
- Full documentation: See README.md in the package
- Test coverage: See TEST.md in the package
- Methodology: See HARNESS.md in the cli-anything-plugin
Version
1.0.0
Câu hỏi thường gặp
Tôi có cần tài khoản Novita không?
Có. Bạn cần một API key từ novita.ai trước khi skill có thể kết nối.
Tôi có thể chọn mô hình để dùng không?
Có. Bạn có thể chỉ định mô hình trong từng yêu cầu, và có một lệnh để liệt kê các mô hình có sẵn.
Nó có nhớ các cuộc trò chuyện trước không?
Skill có các lệnh phiên để xem trạng thái, xem lịch sử và xóa lịch sử.
Chi tiết
Mô tả gốc của tác giả
Command-line interface for Novita AI - An OpenAI-compatible AI API client for DeepSeek, GLM, and other models.
repo: HKUDS/CLI-Anything
Độ phổ biến
- Sao GitHub
- 58k
- Vị trí xếp hạng
- #3229
- Giấy phép
- Apache-2.0
- Cập nhật
- 21/9/2026
Bình luận
- …
Thêm skill từ kho mã này
cli-anything-3mf
58kCho phép agent của bạn kiểm tra và sửa file in 3D, gồm tìm lỗ tròn, đổi kích thước chúng, sửa lưới và so sánh hai file.
cli-anything-qgis
58kCho phép agent của bạn mở, sửa và xuất dự án bản đồ QGIS từ terminal, gồm các lớp, đối tượng, bố cục in và công cụ xử lý.
cli-anything-adguardhome
58kCho phép agent của bạn quản lý AdGuard Home, một bộ chặn quảng cáo toàn mạng, gồm bộ lọc, DNS rewrite, thiết bị và nhật ký truy vấn.
cli-anything-anygen
58kCho phép agent của bạn tạo slide, tài liệu, website và sơ đồ từ một prompt bằng dịch vụ AnyGen.
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.