Aller au contenu
Skillpedia
Agents58k · #3229

cli-anything-novita

Ce qu’il fait

Cette compétence permet à un agent d'IA d'utiliser Novita AI, un service qui fait fonctionner plusieurs modèles d'IA via une seule interface. Elle convient à ceux qui veulent essayer d'autres modèles que les modèles habituels.

Quand l’utiliser

  • ✓Quand vous voulez poser une question à un modèle DeepSeek ou GLM via Novita.
  • ✓Quand vous voulez voir quels modèles d'IA Novita propose.
  • ✓Quand vous voulez une réponse qui s'affiche mot après mot au fur et à mesure de sa rédaction.

Lien du skill

https://github.com/HKUDS/CLI-Anything/blob/main/novita/agent-harness/cli_anything/novita/skills/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/HKUDS/CLI-Anything/blob/main/novita/agent-harness/cli_anything/novita/skills/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Je veux demander au modèle DeepSeek, via Novita, d'expliquer ce message d'erreur en termes simples.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent se connecte à Novita avec votre clé API et envoie votre requête au modèle que vous choisissez. Il peut renvoyer la réponse complète d'un coup ou la diffuser par morceaux.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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:

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 (--json flag): 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:

  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

Questions fréquentes

Ai-je besoin d'un compte Novita ?

Oui. Vous avez besoin d'une clé API obtenue sur novita.ai avant que la compétence puisse se connecter.

Puis-je choisir le modèle à utiliser ?

Oui. Vous pouvez nommer le modèle à chaque requête, et une commande liste les modèles disponibles.

Garde-t-elle en mémoire les échanges précédents ?

La compétence dispose de commandes de session pour afficher son état, consulter l'historique et l'effacer.

Détails

Description originale de l’auteur

Command-line interface for Novita AI - An OpenAI-compatible AI API client for DeepSeek, GLM, and other models.

repo: HKUDS/CLI-Anything

Popularité

Étoiles GitHub
58k
Position au classement
#3229
Licence
Apache-2.0
Mis à jour
21/09/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires