LLM
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
Skill by v-yutianran
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/v-yutianran-llm
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/llm
What's inside
- Skill name
LLM- Description
- 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.
- License
- MIT
- Instructions
- 852 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- body: 852 lines (spec recommends under 500)
Files (3)
- LICENSE.txt
- SKILL.md
- chat.ts · scripts/
SKILL.md (first lines)
# 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 "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
```
### With System Prompt
```bash
# Custom system prompt for specific behavior
z-ai chat \
--prompt "Review this code: function add(a,b) { return a+b; }" \
--system "You are an expert code reviewer" \
-o review.json
```
### With Thinking (Chain of Thought)
```bash
# Enable thinking for complex reasoning
z-ai chat \
--prompt "Solve this math problem: If a train travels 120km in 2 hours, what's its speed?" \
--thinking \
-o solution.json
```
### CLI Parameters
- `--prompt, -p <text>`: **Required** - User message content
- `--system, -s <text>`: Optional - System prompt for custom behavior
- `--thinking, -t`: Optional - Enable chain-of-thought reasoning (default: disabled)
- `--output, -o <path>`: Optional - Output file path (JSON format)
- `--stream`: Optional - Stream the response in real-time
### When to Use CLI vs SDK
**Use CLI for:**
- Quick one-off questions
- Simple automation scripts
- Testing prompts
- Single-turn conversations
**Use SDK for:**
- Multi-turn conversations with context
- Custom conversation management
- Integration with web applications
- Complex chat workflows
- Production applications
## Basic Chat Completions
### Simple Question and Answer
```javascript
import ZAI from 'z-ai-web-dev-sdk';
async function askQuestion(question) {
const zai = await ZAI.create();
const completion = await zai.chat.completions.create({
messages: [
{
role: 'assistant',
content: 'You are a helpful assistant.'
},
{
role: 'user',
content: question
}
],
thinking: { type: 'disabled' }
});
const response = completion.choices[0]?.message?.content;
return response;
}
// Usage
const answer = await askQuestion('What is the capital of France?');
console.log('Answer:', answer);
```
### Custom System Prompt
```javascript
import ZAI from 'z-ai-web-dev-sdk';From v-yutianran/skills, MIT.
More from v-yutianran/skills
- 0.427score
design-reference
v-yutianran
Curated collection of 58 DESIGN.md files from real-world products.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
dida365
v-yutianran
Manage tasks and projects in Dida365 (滴答清单/TickTick) via Open API.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
cubox
v-yutianran
Save links, articles, and memos to Cubox (稍后读/书签收藏工具).
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
dream-interpreter
v-yutianran
AI 解梦大师。用户描述梦境,智能追问关键细节后,从三个视角(周公解梦/心理分析/赛博神棍)生成解读,输出结构化 JSON 供前端渲染"梦境解析卡"。
SkillDFreshness: D★ 1Claude Code +9 - 0.424score
VLM
v-yutianran
Implement vision-based AI chat capabilities using the z-ai-web-dev-sdk.
SkillDFreshness: D★ 1Claude Code +9 - 0.424score
ASR
v-yutianran
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillDFreshness: D★ 1Claude Code +9 - 0.423score
dida-cubox-sync
v-yutianran
Sync Dida365 inbox URLs to Cubox with AI summaries, report to Telegram.
SkillDFreshness: D★ 1Claude Code +9 - 0.421score
auto-target-tracker
v-yutianran
自动目标进度追踪器。在对话中检测到目标相关图片(笔记、进度、截图、记录)时,自动调用 VLM 识别关键信息并记录到目标日记。适用于学习管理、健身追踪、工作进度、习惯养成、创作记录等所有目标管理场景。
SkillDFreshness: D★ 1Claude Code +9 - 0.421score
coding-agent
v-yutianran
Coding workflow with planning, implementation, verification, and testing for clean software development.
SkillDFreshness: D★ 1Claude Code +9 - 0.419score
TTS
v-yutianran
Implement text-to-speech (TTS) capabilities using the z-ai-web-dev-sdk.
SkillDFreshness: D★ 1Claude Code +9 - 0.407score
docx
v-yutianran
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 8, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/v-yutianran/skills
- Website
- mist-story.vercel.app
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.310score
LLM
smnshzh
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillBFreshness: BClaude Code +9 - 0.310score
LLM
byebis
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillBFreshness: BClaude Code +9 - 0.310score
LLM
origin-labs-ai
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillBFreshness: BClaude Code +9 - 0.310score
LLM
kelvinzer0
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillBFreshness: BClaude Code +9 - 0.280score
LLM
lucioupro2025
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillCFreshness: CClaude Code +9 - 0.280score
LLM
roman-ryzenadvanced
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillCFreshness: CClaude Code +9 - 0.280score
LLM
jbreel77888
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillCFreshness: CClaude Code +9 - 0.241score
LLM
tmtgroupbot
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillDFreshness: DClaude Code +9 - 0.241score
LLM
devmonstr
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillDFreshness: DClaude Code +9 - 0.241score
LLM
mijsu
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillDFreshness: DClaude Code +9 - 0.241score
LLM
Mohabsmar
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillDFreshness: DClaude Code +9 - 0.230score
LLM
rahlplx
Implement large language model (LLM) chat completions using the z-ai-web-dev-sdk.
SkillDFreshness: DClaude Code +9
More from v-yutianran
- 0.427score
design-reference
v-yutianran
Curated collection of 58 DESIGN.md files from real-world products.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
dida365
v-yutianran
Manage tasks and projects in Dida365 (滴答清单/TickTick) via Open API.
SkillDFreshness: D★ 1Claude Code +9 - 0.427score
cubox
v-yutianran
Save links, articles, and memos to Cubox (稍后读/书签收藏工具).
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
dream-interpreter
v-yutianran
AI 解梦大师。用户描述梦境,智能追问关键细节后,从三个视角(周公解梦/心理分析/赛博神棍)生成解读,输出结构化 JSON 供前端渲染"梦境解析卡"。
SkillDFreshness: D★ 1Claude Code +9 - 0.424score
VLM
v-yutianran
Implement vision-based AI chat capabilities using the z-ai-web-dev-sdk.
SkillDFreshness: D★ 1Claude Code +9 - 0.424score
ASR
v-yutianran
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
LLM skill. Agent Mart. https://agentmart.dev/skills/v-yutianran-llm (last updated 2026-10-24)