zai-cli
CommunityZAI CLI: Vision, search, and code in one tool.
Authornumman-ali
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Streamline AI task automation by unifying vision, search, page reading, and code operations under one CLI.
Core Features & Use Cases
- Vision: image and video analysis, OCR, UI-to-code assistance.
- Search & Reader: real-time web search with domain/recency filtering; web page to Markdown extraction.
- Repo & Tools: GitHub code search and reading via ZRead; MCP tool discovery and raw calls; TypeScript tool chaining.
- Use Case: Imagine quickly diagnosing UI issues in a screenshot, then searching the web for fixes, reading docs, and examining related code in a single session.
Quick Start
Export your API key and try basic commands: export Z_AI_API_KEY="your-api-key" npx zai-cli vision analyze ./screenshot.png "What errors do you see?" npx zai-cli search "React 19 new features" --count 5 npx zai-cli read https://docs.example.com/api npx zai-cli repo tree openai/codex --path codex-rs --depth 2
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: zai-cli Download link: https://github.com/numman-ali/n-skills/archive/main.zip#zai-cli Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.