cli-anything-novita
Command-line interface for Novita AI - An OpenAI-compatible AI API client for DeepSeek, GLM, and other models.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=hkuds-cli-anything-skills-cli-anything-novita-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
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: 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 ( --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: Always use --json flag 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
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |