LLM
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk. Use this skill when the user needs to build conversational AI applications, chatbots, AI assistants, or any text generation features. Supports multi-turn conversations, system prompts, and context management.
npx skills add jjyaoao/HelloAgents --skill LLM --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# LLM (Large Language Model) Skill This skill guides the implementation of chat completions functionality using the z-ai-web-dev-sdk package, enabling powerful conversational AI and text generation capabilities. ## Skills Path **Skill Location**: `{project_path}/skills/llm` this skill is located at above path in your project. **Reference Scripts**: Example test scripts are available in the `{Skill Location}/scripts/` directory for quick testing and reference. See `{Skill Location}/scripts/chat.ts` for a working example. ## Overview The LLM skill allows you to build applications that leverage large language models for natural language understanding and generation, including chatbots, AI assistants, content generation, and more. **IMPORTANT**: z-ai-web-dev-sdk MUST be used in backend code only. Never use it in client-side code. ## Prerequisites The z-ai-web-dev-sdk package is already installed. Import it as shown in the examples below. ## CLI Usage (For Simple Tasks) For simple, one-off chat completions, you can use the z-ai CLI instead of writing code. This is ideal for quick tests, simple queries, or automation scripts. ### Basic Chat ```bash # Simple question z-ai chat --prompt "W
- Skills Path
- Overview
- Prerequisites
- CLI Usage (For Simple Tasks)
- Basic Chat
- With System Prompt
- With Thinking (Chain of Thought)
- CLI Parameters
- When to Use CLI vs SDK
- Basic Chat Completions
- Simple Question and Answer
- Custom System Prompt
- Multi-turn Conversations
- Conversation History Management
Simple question z-ai chat --prompt "What is the capital of France?" Save response to file z-ai chat -p "Explain quantum computing" -o response.json Stream the response z-ai chat -p "Write a short poem" --stream Custom system prompt for specific behavior z-ai chat \ Enable thinking for complex reasoning
What does the LLM skill do?
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk. Use this skill when the user needs to build conversational AI applications, chatbots, AI assistants, or any text generation features. Supports multi-turn conversations, system prompts, and context management.
How do I install it?
Run `npx skills add jjyaoao/HelloAgents --skill LLM --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jjyaoao/HelloAgents, a repository with 2,615 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
