用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mkurman/zorai --skill synthlabs-generation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | synthlabs-generation |
| description | Use when you need to drive SynthLabs generation through backend routes instead of the UI. |
| tags | ["synthlabs","synthlabs-generation"] |
Use this skill for repeatable, backend-first SynthLabs workflows such as listing sessions, creating sessions, and calling generation routes from a healthy local instance. This skill documents existing SynthLabs HTTP routes and zorai workflow guidance only. Do not assume dedicated zorai SynthLabs tools exist.
Use this skill when:
Do not use this skill when:
GET /api/sessions and POST /api/sessions for repeatable session discovery and session setup.synthlabs-ui-operator.synthlabs-ui-operator when the operator needs to inspect prompts, review generated rows, enter provider credentials, use DEEP mode, or confirm output visually.POST /api/ai/generate or POST /api/ai/generate/stream only when you already have a SynthLabs-compatible encrypted apiKey value.server/utils/keyEncryption.js decrypts apiKey with AES-256-CBC using a key derived from VITE_API_KEY_SALT or API_KEY_SALT.synthlabs-setup or the SynthLabs UI instead of guessing the encryption format.List recent sessions from a healthy local backend:
curl -fsS "http://localhost:8787/api/sessions?limit=20"
Create a minimal session shell before generation work:
curl -fsS -X POST "http://localhost:8787/api/sessions" \
-H "Content-Type: application/json" \
-d '{
"name": "zorai generation run",
"source": "zorai"
}'
If you know the running instance expects mode metadata, extend the payload with fields the backend stores such as appMode, engineMode, externalModel, or config.
Use a direct generation route only with an encrypted key value produced by a compatible SynthLabs client or UI flow:
curl -fsS -X POST "http://localhost:8787/api/ai/generate" \
-H "Content-Type: application/json" \
-d '{
"apiKey": "<encrypted iv:ciphertext value from SynthLabs-compatible flow>",
"provider": "openai",
"model": "gpt-4.1-mini",
"baseUrl": "https://api.openai.com/v1",
"systemPrompt": "You generate concise synthetic reasoning samples.",
"userPrompt": "Produce 3 algebra tutoring examples in SYNTH-style JSON.",
"outputFormat": "json"
}'
apiKey value.