Skip to main content
skill CX Codex

cli-anything-novita — Claude Code skill: install and use

Gives an agent CLI commands for Novita API chat, streamed replies, and model discovery. Use it when calling DeepSeek or GLM models from a terminal.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a claude-code
Open on GitHub

What cli-anything-novita does

The skill works with cli-anything-novita, a Novita API client with an OpenAI-compatible interface. Use chat to send a prompt to a selected model, while stream returns a completion as it is generated. models lists available models, and deepseek/deepseek-v3.2 is the default.

Running cli-anything-novita without a subcommand opens an interactive REPL with history and tab completion. Session commands include status, clear, and history; the config group manages saved values. Add --json when an agent needs structured output to parse.

Install the CLI with pip install cli-anything-novita. Python 3.10+ and a Novita API key are required, so this is a dependency to check before using the skill. Set the key with cli-anything-novita config set api_key or through NOVITA_API_KEY.

What it helps with

  • send a prompt through the Novita API
  • stream a model completion in the terminal
  • list models available from Novita
  • test API connectivity and the API key
  • return CLI results as JSON for an agent

Example prompts for the agent

  • Run cli-anything-novita models and show the available models.
  • Check the connection with cli-anything-novita test --model deepseek/deepseek-v3.2.
  • Send my request with cli-anything-novita --json chat --prompt "Hello" and parse the JSON response.

How to install cli-anything-novita

1Skills CLI (Vercel)

npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a claude-code

2Manually: put the files in place

~/.claude/skills/cli-anything-novita/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cli-anything-novita/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cli-anything-novita

How do I install cli-anything-novita in Claude Code?

Run npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a claude-code, then run npx skills add HKUDS/CLI-Anything --skill cli-anything-novita -a claude-code again. The skill file is at ~/.claude/skills/cli-anything-novita/SKILL.md.

What does cli-anything-novita do?

The skill gives an agent access to a CLI client for the Novita API. It supports chat, streamed completions, model listing, session controls, and JSON output.

What is required to use cli-anything-novita?

Install the package with pip install cli-anything-novita, use Python 3.10+, and configure a Novita API key. The key can be stored with config set api_key or passed through NOVITA_API_KEY.

Source text

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

Similar skills

Everything for AI and ML →

From the same set55

cli-anything-mubu A skill that hands your agent a command line for Mubu: it finds documents in local backups, reads node trees and edits them through the live API. CX Codex +1 467installs cli-anything-cloudanalyzer Runs CloudAnalyzer checks for point clouds, trajectories, and ground segmentation. Use it when an agent needs QA thresholds or point-cloud processing from the terminal. CX Codex +1 464installs cli-anything-zoom A skill that puts a Zoom CLI into your project: create meetings, register attendees from a CSV, pull cloud recordings, all without leaving the terminal. CX Codex +1 462installs cli-anything-eth2-quickstart Automates Ethereum node provisioning through canonical eth2-quickstart shell scripts. It sets up consensus clients and inspects node health without exposing private keys. CX Codex +1 456installs cli-anything-unimol-tools CLI skill for training and running Uni-Mol molecular property prediction models. It handles experiment tracking, inference, and storage cleanup for chemistry workflows. CX Codex +1 457installs cli-anything-seaclip A stateless CLI for managing tasks, pipelines, and schedules on the SeaClip-Lite board. It allows AI agents to inspect and update issues using structured JSON output. CX Codex +1 452installs cli-anything-rms Gives your coding agent a command line for Teltonika RMS, so it can list routers, gateways and IoT devices, read alerts and pull reports. CX Codex +1 451installs cli-anything-unrealinsights This skill controls Unreal Engine trace capture, Trace Store inspection, and Unreal Insights, then exports timing and counter data. It fits agent-driven profiling. CX Codex +1 434installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor