Token导航 LogoToken导航

Agent Skill · 研究检索

zai-coding(在编码)

zai-coding 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

zai-coding 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 27,791。

总安装 3,336周安装 139GitHub Stars 公开资料未说明下载 1,112核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:zai-coding(在编码)
来源仓库:https://github.com/nelmaz/zai-coding
安装命令:
openclaw skills install zai-coding
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install zai-coding

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

配置 OpenClaw 使用 Z.AI GLM 编码计划模型。支持区域选择、API 密钥设置与模型切换。提供 MCP 工具增强开发流程中的代码生成能力。需提前配置有效的 API 密钥并确认计费账户状态。建议参考官方文档了解模型配额与使用边界。

zai-coding 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install zai-coding;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

zai-coding 怎么安装?

在终端执行 openclaw skills install zai-coding。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

zai-coding 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

zai-coding 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

zai-coding 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

zai-coding 用的人多吗?

公开数据是累计安装 3,336 次,近一周安装 139 次,下载 1,112 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

zai-coding 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
zai-coding

在编码 · 本页

3,336—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
zai-coding
description
Configure OpenClaw to use Z.AI GLM Coding Plan models for all coding-related tasks. Set up optimal configuration for development workflows with steps: (1) Verify OpenClaw is running, (2) Choose region (international: zai-coding-global, China: zai-coding-cn), (3) Configure via onboard or manual edit of openclaw.json with ZAI_API_KEY env var, (4) Set optimal model (zai/glm-5, glm-4.7, glm-4.6), (5) Optionally enable tool_stream and adjust context tokens, (6) Restart gateway and validate, (7) Install Z.AI MCP Tools (web-search-prime, web-reader, zread). Use when configuring Z.AI Coding Plan, switching models, or optimizing coding workflows.

Z.AI Coding Plan Setup

Overview

Configure OpenClaw to use Z.AI GLM Coding Plan models for optimal coding performance. Z.AI provides multiple GLM models optimized for development tasks with varying context windows and performance characteristics.

Prerequisites

Before configuring Z.AI Coding Plan:

  1. OpenClaw installed - Verify with openclaw gateway status
  2. Z.AI API Key - Available from https://z.ai/subscribe (international) or https://bigmodel.cn (China)
  3. Docker environment - API key available as ZAI_API_KEY environment variable

Available Models

Model IDContextBest For
glm-5205K tokensLatest flagship, best overall performance
glm-5-turbo200K tokensFast responses, quick iterations
glm-4.7205K tokensBalanced performance, strong reasoning
glm-4.7-flash200K tokensQuick iterations, prototyping
glm-4.7-flashx200K tokensOptimized speed
glm-4.6205K tokensStable, excellent coding
glm-4.6v128K tokensVision + coding (UI work)
glm-4.5131K tokensEfficient coding
glm-4.5-air131K tokensLightweight operations
glm-4.5-flash131K tokensFast coding, cost-effective

Configuration Steps

Step 1: Verify OpenClaw Status

openclaw gateway status

Step 2: Choose Configuration Method

Option A: Interactive Setup (Recommended)

International users:

openclaw onboard --auth-choice zai-coding-global

China region users:

openclaw onboard --auth-choice zai-coding-cn

This prompts for the API key and configures everything automatically.

Option B: Manual Configuration

Edit ~/.openclaw/openclaw.json:

{
  "env": {
    "ZAI_API_KEY": "sk-your-api-key-here"
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "zai/glm-5"
      }
    }
  }
}

Important: Model format is zai/<model-name>.

Step 3: Configure Coding-Specific Settings

For optimal coding performance:

# Enable tool streaming (better for coding workflows)
openclaw config set agents.defaults.models."zai/glm-5".params.tool_stream true --json

# Set higher context for complex projects (optional)
openclaw config set agents.defaults.maxContextTokens 150000

Step 4: Optional - Create Coding-Focused Agent

For dedicated coding agents:

openclaw agents create coding-assistant

Configure in ~/.openclaw/openclaw.json:

{
  "agents": {
    "coding-assistant": {
      "model": {
        "primary": "zai/glm-5"
      },
      "systemPrompt": "You are an expert software developer. Focus on writing clean, efficient, and well-documented code. Always explain your reasoning and provide best practices.",
      "tools": ["filesystem", "shell", "browser"]
    }
  }
}

Step 5: Restart and Verify

# Validate configuration
openclaw config validate

# Restart gateway
openclaw gateway restart

# Check status
openclaw status

Step 6: Test Configuration

Test with a simple coding task:

openclaw chat "Write a Python function to calculate the fibonacci sequence"

Model Selection Guide

Use the right model based on your needs:

  • General coding → zai/glm-5 - Best overall performance
  • Quick prototyping → zai/glm-5-turbo - Fast responses
  • Complex refactoring → zai/glm-4.7 - Strong reasoning
  • Code review → zai/glm-4.6 - Stable, thorough
  • UI/Frontend work → zai/glm-4.6v - Vision capabilities
  • Simple scripts → zai/glm-4.5-flash - Cost-effective

Region Configuration

  • International: zai-coding-global endpoint → https://api.z.ai/api/coding/paas/v4
  • China: zai-coding-cn endpoint → https://api.bigmodel.cn/api/coding/paas/v4

Troubleshooting

Authentication Error (1001)

API key missing or invalid:

openclaw config get env.ZAI_API_KEY

Model Not Found

Ensure correct endpoint:

# International
https://api.z.ai/api/coding/paas/v4

# China
https://api.bigmodel.cn/api/coding/paas/v4

Rate Limiting

GLM Coding Plan has usage limits based on subscription tier:

  • Lite: 120 prompts per 5-hour cycle
  • Pro: 600 prompts per 5-hour cycle
  • Max: Higher limits

Gateway Won't Start

# Check logs
openclaw gateway logs

# Validate config
openclaw config validate

# Reset if needed
openclaw config reset

Switching Models

To change the default model:

# Set new model
openclaw config set agents.defaults.model.primary "zai/glm-4.7"

# Restart to apply
openclaw gateway restart

Integration with Channels

This configuration works with all OpenClaw channels:

  • Feishu: Coding model used for all coding requests
  • DingTalk: Same model configuration
  • WeCom: Compatible with coding workflows
  • CLI: Direct access via openclaw chat

Useful Commands

CommandDescription
openclaw config get agents.defaults.modelCheck current model
openclaw config set agents.defaults.model.primary "zai/glm-5"Change model
openclaw gateway restartApply changes
openclaw statusVerify configuration

Z.AI MCP Tools Configuration

GLM Coding Plan includes powerful MCP tools for web access and code research. These tools are exclusive to Coding Plan subscribers.

Available MCP Tools

ToolDescriptionUse Case
Web SearchSearch the web for real-time informationFinding documentation, news, tutorials
Web ReaderExtract full content from any webpageReading articles, docs, extracting data
ZreadAccess GitHub repositories documentation & codeUnderstanding open-source projects

MCP Quotas by Plan

PlanWeb Searches + Readers + Zread
Lite100 total
Pro1,000 total
Max4,000 total

Step 7: Install Z.AI MCP Tools

After configuring the model, add the MCP tools to enhance your coding agent.

Tool 1: Web Search (web-search-prime)

Provides real-time web search capabilities.

One-click install (OpenClaw):

openclaw mcp add web-search-prime --type http --url "https://api.z.ai/api/mcp/web_search_prime/mcp" --header "Authorization: Bearer YOUR_API_KEY"

Manual configuration - Add to ~/.openclaw/openclaw.json:

{
 "mcpServers": {
 "web-search-prime": {
 "type": "http",
 "url": "https://api.z.ai/api/mcp/web_search_prime/mcp",
 "headers": {
 "Authorization": "Bearer YOUR_API_KEY"
 }
 }
 }
}

Available tool: webSearchPrime - Search web information with titles, URLs, summaries


Tool 2: Web Reader (web-reader)

Extracts complete content from any webpage.

One-click install (OpenClaw):

openclaw mcp add web-reader --type http --url "https://api.z.ai/api/mcp/web_reader/mcp" --header "Authorization: Bearer YOUR_API_KEY"

Manual configuration - Add to ~/.openclaw/openclaw.json:

{
 "mcpServers": {
 "web-reader": {
 "type": "http",
 "url": "https://api.z.ai/api/mcp/web_reader/mcp",
 "headers": {
 "Authorization": "Bearer YOUR_API_KEY"
 }
 }
 }
}

Available tool: webReader - Fetch page title, main content, metadata, links


Tool 3: Zread (zread)

Access GitHub repositories for documentation and code analysis.

One-click install (OpenClaw):

openclaw mcp add zread --type http --url "https://api.z.ai/api/mcp/zread/mcp" --header "Authorization: Bearer YOUR_API_KEY"

Manual configuration - Add to ~/.openclaw/openclaw.json:

{
 "mcpServers": {
 "zread": {
 "type": "http",
 "url": "https://api.z.ai/api/mcp/zread/mcp",
 "headers": {
 "Authorization": "Bearer YOUR_API_KEY"
 }
 }
 }
}

Available tools:

ToolDescription
search_docSearch documentation in GitHub repositories
get_repo_structureGet directory structure and file list
read_fileRead complete code content of files

Complete MCP Configuration Example

Here's a complete ~/.openclaw/openclaw.json with all three MCP tools:

{
 "env": {
 "ZAI_API_KEY": "sk-your-api-key-here"
 },
 "agents": {
 "defaults": {
 "model": {
 "primary": "zai/glm-5"
 }
 }
 },
 "mcpServers": {
 "web-search-prime": {
 "type": "http",
 "url": "https://api.z.ai/api/mcp/web_search_prime/mcp",
 "headers": {
 "Authorization": "Bearer sk-your-api-key-here"
 }
 },
 "web-reader": {
 "type": "http",
 "url": "https://api.z.ai/api/mcp/web_reader/mcp",
 "headers": {
 "Authorization": "Bearer sk-your-api-key-here"
 }
 },
 "zread": {
 "type": "http",
 "url": "https://api.z.ai/api/mcp/zread/mcp",
 "headers": {
 "Authorization": "Bearer sk-your-api-key-here"
 }
 }
 }
}

Step 8: Verify MCP Tools Installation

After adding the MCP tools, restart and verify:

# Restart gateway to load MCP servers
openclaw gateway restart

# Check MCP status
openclaw mcp list

# Verify tools are available
openclaw status

Step 9: Test the MCP Tools

Test each tool to ensure proper configuration:

Test Web Search:

openclaw chat "Search for the latest Python 3.12 features"

Test Web Reader:

openclaw chat "Read and summarize the content from https://docs.python.org/3/whatsnew/3.12.html"

Test Zread:

openclaw chat "Explain the structure of the fastapi/fastapi repository on GitHub"

MCP Tools Troubleshooting

Invalid API Key
Error: Invalid access token

Solutions:

  1. Verify API key is correctly copied (no extra spaces)
  2. Check API key is activated at https://z.ai/manage-apikey/apikey-list
  3. Ensure sufficient balance on your account
  4. Verify Authorization: Bearer format is correct
Connection Timeout

Solutions:

  1. Check network connection
  2. Verify firewall allows HTTPS connections
  3. Increase client timeout settings
  4. Try again later (server may be busy)
Repository Access Failed (Zread)

Solutions:

  1. Confirm repository exists and is public
  2. Check repository name format: owner/repo
  3. Visit https://zread.ai to verify repository is indexed
Quota Exceeded
Error: Rate limit exceeded

Solution: Wait for the next 5-hour cycle or upgrade your plan


MCP Tools Use Cases

ScenarioTools to UseExample Prompt
Research a libraryZread + Web Search"Research the React hooks API and find best practices"
Debug an issueWeb Search + Web Reader"Search for solutions to 'Python asyncio CancelledError'"
Learn a new frameworkZread"Explain the architecture of the Next.js repository"
Stay updatedWeb Search"What are the latest updates in TypeScript 5.4?"
Read documentationWeb Reader"Read the FastAPI authentication documentation"

References

  • Z.AI Coding Plan: https://z.ai/subscribe
  • OpenClaw Z.AI Provider: https://docs.openclaw.ai/providers/zai
  • GLM Models Overview: https://docs.openclaw.ai/providers/glm
  • Web Search MCP: https://docs.z.ai/devpack/mcp/search-mcp-server
  • Web Reader MCP: https://docs.z.ai/devpack/mcp/reader-mcp-server
  • Zread MCP: https://docs.z.ai/devpack/mcp/zread-mcp-server

平台分布

OpenClaw

96.12%
按下载量换算1,069

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills