Skip to content
Skill

Zai CLI

Z.AI CLI providing: - Vision: image/video analysis, OCR, UI-to-code, error diagnosis (GLM-4.6V) - Search: real-time web search with domain/r

Install
Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
111
Last commit
11 months ago
License
MIT
Listing updated
today

When your agent uses it

Z.AI CLI providing: - Vision: image/video analysis, OCR, UI-to-code, error diagnosis (GLM-4.6V) - Search: real-time web search with domain/recency filtering - Reader: web page to markdown extraction - Repo: GitHub code search and reading via ZRead - Tools: MCP tool discovery and raw calls - Code: TypeScript tool chaining Use for visual content analysis, web search, page reading, or GitHub exploration. Requires Z_AI_API_KEY.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (3 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Install

Copy the skill folder to ~/.claude/skills/zai-cli to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/numman-ali/zai-cli.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/zai-cli &&
cp -R "$tmp/skills/zai-cli" ~/.claude/skills/zai-cli &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/zai-cli inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/zai-cli to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/numman-ali/zai-cli.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/zai-cli &&
cp -R "$tmp/skills/zai-cli" ~/.agents/skills/zai-cli &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/zai-cli inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/zai-cli to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/numman-ali/zai-cli.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/zai-cli &&
cp -R "$tmp/skills/zai-cli" ~/.cursor/skills/zai-cli &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/zai-cli inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/numman-ali/zai-cli.git --path skills/zai-cli

Or copy the folder to ~/.gemini/skills/zai-cli yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/zai-cli:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/numman-ali/zai-cli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/zai-cli &&
cp -R "$tmp/skills/zai-cli" ~/.copilot/skills/zai-cli &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/zai-cli inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/numman-ali/zai-cli.git

Then copy zai-cli/skills/zai-cli into your agent's skills folder as zai-cli. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

Zai CLI FAQ

How do I install Zai CLI in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/zai-cli to use it in all your projects, or to .claude/skills/zai-cli in one project.

Does Zai CLI run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Zai CLI?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.