cli-anything-novita
できること
このスキルは、複数のAIモデルを一つのインターフェースで動かすサービスNovita AIを、エージェントが使えるようにします。いつものモデル以外も試したい人向けです。
使う場面
- ✓Novita経由でDeepSeekやGLMのモデルに質問したいとき。
- ✓Novitaで提供されているAIモデルを確認したいとき。
- ✓返答が書かれるのに合わせて、一語ずつ表示されるようにしたいとき。
スキルのリンク
https://github.com/HKUDS/CLI-Anything/blob/main/novita/agent-harness/cli_anything/novita/skills/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Novita経由でDeepSeekモデルに、このエラーメッセージを分かりやすく説明してもらってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、APIキーを使ってNovitaに接続し、選んだモデルにプロンプトを送ります。完全な答えを一度に返すことも、少しずつストリーミングすることもできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
Novitaのアカウントが必要ですか?
はい。novita.aiで取得したAPIキーが必要です。
使うモデルを選べますか?
はい。リクエストごとにモデル名を指定できます。利用可能なモデルを一覧表示するコマンドもあります。
以前のチャットを覚えていますか?
セッションのコマンドがあり、状態の確認、履歴の表示、履歴の消去ができます。
詳細
作者による元の説明
Command-line interface for Novita AI - An OpenAI-compatible AI API client for DeepSeek, GLM, and other models.
repo: HKUDS/CLI-Anything
人気
- GitHubのスター
- 58k
- ランキング
- #3229
- ライセンス
- Apache-2.0
- 更新日
- 2026/9/21
コメント
- …
このリポジトリの他のスキル
cli-anything-3mf
58kエージェントが3Dプリントのファイルを調べて直せるようにします。丸い穴を見つける、そのサイズを変える、メッシュを修復する、2つのファイルを比べることができます。
cli-anything-qgis
58kエージェントがターミナルからQGISのマッププロジェクトを開き、編集し、書き出せるようにします。レイヤー、フィーチャー、印刷レイアウト、処理ツールを含みます。
cli-anything-adguardhome
58kエージェントがAdGuard Homeを管理できるようにします。AdGuard Homeはネットワーク全体で広告を遮断するツールで、フィルター、DNSの書き換え、クライアント、クエリのログを扱います。
cli-anything-anygen
58kエージェントが、AnyGenのサービスを使って、書かれたプロンプトからスライド、文書、ウェブサイト、図を生成できるようにします。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。