用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/johnalbertini14-glitch/openclaw-skills --skill zhipu-image命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use this skill to create a Polymarket wallet for your agent and trade on prediction markets. Browse markets, place bets, manage positions — all without exposing private keys.
ClawSec suite manager with embedded advisory-feed monitoring, cryptographic signature verification, approval-gated malicious-skill response, and guided setup for additional security skills.
Automated daily security audits for OpenClaw agents with email reporting. Runs deep audits and sends formatted reports.
基于 SOC 职业分类
正在显示 SKILL.md
| name | zhipu-image |
| description | Generate images using Zhipu AI's CogView model |
| allowed-tools | Bash(curl:*) Bash(jq:*) |
| env | ["ZHIPU_API_KEY"] |
Generate images using Zhipu AI's CogView model.
This skill requires ZHIPU_API_KEY environment variable to be set before use.
export ZHIPU_API_KEY="your_api_key"
Get your API key from: https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys
export ZHIPU_API_KEY="your_key"
curl -s -X POST "https://open.bigmodel.cn/api/paas/v4/images/generations" \
-H "Authorization: Bearer $ZHIPU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "cogview-4", "prompt": "your description"}'
export ZHIPU_API_KEY="your_key"
./generate.sh "A beautiful Chinese girl in white dress"
ps aux| Feature | Implementation |
|---|---|
| JSON escaping | jq prevents injection |
| Input validation | Prompt length ≤1000 chars |
| TLS | Force TLS 1.2+ |
| Timeout | 60 second curl timeout |
| Error handling | Generic messages only |
Uses CogView-4 model from Zhipu AI.
Official: https://open.bigmodel.cn/api/paas/v4/images/generations