Skillpedia
الوكلاء58k · #3229

cli-anything-novita

ما الذي تفعله

تتيح هذه المهارة لوكيل الذكاء الاصطناعي استخدام Novita AI، وهي خدمة تشغّل عدة نماذج ذكاء اصطناعي عبر واجهة واحدة. وهي مناسبة لمن يريد تجربة نماذج غير المعتادة.

متى تستخدمها

  • ✓عندما تريد إرسال سؤال إلى نموذج DeepSeek أو GLM عبر Novita.
  • ✓عندما تحتاج إلى معرفة نماذج الذكاء الاصطناعي التي تقدمها Novita.
  • ✓عندما تريد رداً يظهر كلمة بكلمة أثناء كتابته.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/HKUDS/CLI-Anything/blob/main/novita/agent-harness/cli_anything/novita/skills/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أريد أن أسأل نموذج DeepSeek عبر Novita أن يشرح لي رسالة الخطأ هذه بكلمات بسيطة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يتصل الوكيل بـ Novita باستخدام مفتاح API الخاص بك، ويرسل أمرك إلى النموذج الذي تختاره. يمكنه إعادة الإجابة كاملة دفعة واحدة أو عرضها على أجزاء.

المحتوى التقني (ملف 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:

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

الأسئلة الشائعة

هل أحتاج إلى حساب في Novita؟

نعم. تحتاج إلى مفتاح API من novita.ai قبل أن تتمكن المهارة من الاتصال.

هل يمكنني اختيار النموذج الذي أستخدمه؟

نعم. يمكنك تسمية النموذج مع كل طلب، ويعرض أمر خاص النماذج المتاحة.

هل تتذكر المهارة المحادثات السابقة؟

لدى المهارة أوامر للجلسة، لعرض حالتها وسجل المحادثة ومسحه.

التفاصيل

الوصف الأصلي من المؤلف

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
آخر تحديث
21‏/9‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة