cli-anything-novita — скилл для Claude Code: как установить
Даёт агенту команды для работы с Novita API: чат, потоковые ответы и список моделей. Нужен, когда запросы к DeepSeek или GLM запускают из CLI.
npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a claude-codeЧто делает cli-anything-novita
Скилл работает с cli-anything-novita, клиентом Novita API с совместимым OpenAI интерфейсом. Через chat можно отправлять промпты выбранной модели, а stream выводит ответ потоком. Команда models показывает доступные модели; по умолчанию используется deepseek/deepseek-v3.2.
Запуск cli-anything-novita без подкоманды открывает интерактивный REPL с историей и автодополнением. Для истории чата есть status, clear и history; настройки ключа доступны через группу config. Флаг --json переключает вывод в структурированный JSON, который агент может разобрать.
Сам CLI устанавливается командой pip install cli-anything-novita. Нужны Python 3.10+ и ключ Novita API: без них команды не заработают. Ключ задают через cli-anything-novita config set api_key или переменную NOVITA_API_KEY.
Какие задачи решает
- отправить запрос к модели через Novita API
- получить потоковый ответ в терминале
- вывести доступные модели Novita
- проверить подключение и ключ API
- передать результат команды агенту в JSON
Примеры запросов агенту
- Запусти
cli-anything-novita modelsи покажи доступные модели. - Проверь подключение командой
cli-anything-novita test --model deepseek/deepseek-v3.2. - Отправь мой вопрос через
cli-anything-novita --json chat --prompt "Hello"и разберёшь JSON-ответ.
Как установить cli-anything-novita
1Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a claude-code2Вручную: положить файлы
~/.claude/skills/cli-anything-novita/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/cli-anything-novita/
1Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a codex2Вручную: положить файлы
.agents/skills/cli-anything-novita/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a cursor2Вручную: положить файлы
.cursor/skills/cli-anything-novita/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install HKUDS/CLI-Anything cli-anything-novita2Вручную: положить файлы
.github/skills/cli-anything-novita/SKILL.md1Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a gemini-cli2Командой платформы
gemini skills install https://github.com/HKUDS/CLI-Anything --path skills/cli-anything-novitaВручную: положить файлы
.devin/skills/cli-anything-novita/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора55
Похожие
Рядом в теме «ИИ и ML»
Всё по теме «ИИ и ML» →Вопросы о cli-anything-novita
Как установить cli-anything-novita в Claude Code?
Выполните npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a claude-code, затем повторите npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a claude-code. Файл скилла находится в ~/.claude/skills/cli-anything-novita/SKILL.md.
Что делает cli-anything-novita?
Скилл даёт агенту доступ к CLI-клиенту Novita API. Он поддерживает чат, потоковые ответы, просмотр моделей, управление сессией и вывод JSON.
Что нужно для работы cli-anything-novita?
Установите пакет командой pip install cli-anything-novita, используйте Python 3.10+ и настройте ключ Novita API. Ключ можно сохранить через config set api_key или передать в NOVITA_API_KEY.
Исходный текст
SKILL.md · Apache-2.0
--- name: "cli-anything-novita" description: >- Command-line interface for Novita AI - An OpenAI-compatible AI API client for DeepSeek, GLM, and other models. --- # 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: ```bash pip install cli-anything-novita ``` **Prerequisites:** - Python 3.10+ - Novita API key from [novita.ai](https://novita.ai) ## Usage ### Basic Commands ```bash # 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: ```bash 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 ```bash # 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 ```bash # 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 ```bash # 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** (`--json` flag): Structured JSON for agent consumption ```bash # 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: 1. **Always use `--json` flag** for parseable output 2. **Check return codes** - 0 for success, non-zero for errors 3. **Parse stderr** for error messages on failure 4. **Use absolute paths** for all file operations 5. **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
© HKUDS · Apache-2.0 · HKUDS/CLI-Anything