ZAI CLI provides access to Z.AI capabilities including image/video analysis, real-time web search, web page extraction, and GitHub code exploration. It integrates with Claude Code via MCP protocol for seamless AI-powered content analysis.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: jeremylongshore-claude-code-plugins-plus-skills-zai-cli3description: Zai Cli4---5# Zai Cli67## Overview89ZAI CLI provides access to Z.AI capabilities including image/video analysis, real-time web search, web page extraction, and GitHub code exploration. It integrates with Claude Code via MCP protocol for seamless AI-powered content analysis.1011## Prerequisites1213- Node.js 18+ installed14- Z_AI_API_KEY environment variable set15- API key from https://z.ai/manage-apikey/apikey-list16- Network access to Z.AI API endpoints1718## Instructions19201. Obtain an API key from Z.AI platform212. Export your API key: `export Z_AI_API_KEY="your-key"`223. Run `npx zai-cli doctor` to verify setup234. Use `npx zai-cli --help` to see available commands245. Try basic commands like vision, search, read, or repo256. Use `--help` on any subcommand for detailed options2627Access Z.AI capabilities via `npx zai-cli`. The CLI is self-documenting - use `--help` at any level.2829## Output3031Default: **data-only** (raw output for token efficiency).32Use `--output-format json` for `{ success, data, timestamp }` wrapping.3334## Error Handling3536See `${CLAUDE_SKILL_DIR}/references/errors.md` for comprehensive error handling.3738## Examples3940See `${CLAUDE_SKILL_DIR}/references/examples.md` for detailed examples.4142## Resources4344- [Z.AI Platform](https://z.ai/)45- [Z.AI API Key Management](https://z.ai/manage-apikey/apikey-list)46- [zai-cli npm Package](https://www.npmjs.com/package/zai-cli)47- [Z.AI Documentation](https://docs.z.ai/)48- [MCP Protocol Reference](https://modelcontextprotocol.io/)4950---51> Converted and distributed by [TomeVault](https://tomevault.io/claim/jeremylongshore) — claim your Tome and manage your conversions.52<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/jeremylongshore-claude-code-plugins-plus-skills-zai-cli in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Zai Cli It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.