Generate and build Pulse Apps using the Vibe Dev Flow API. Use this skill when the user wants to create, update, or generate code for Pulse Editor applications.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install pulse-editor或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install pulse-editor⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/pulse-editor/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: Pulse Editor Vibe Dev Flow description: Generate and build Pulse Apps using the Vibe Dev Flow API. Use this skill when the user wants to create, update, or generate code for Pulse Editor applications. ---
This skill enables you to interact with the Pulse Editor Vibe Dev Flow API to generate, build, and publish Pulse Apps using cloud-based AI coding agents. The API uses Server-Sent Events (SSE) streaming to provide real-time progress updates.
This skill provides significant advantages for AI agents:
appId and version, making it easy to iterate on applications without manual version management.
This API call is a long-running operation. The Vibe Dev Flow performs multiple steps including workspace creation, AI code generation, building, and publishing.
"streamUpdatePolicy": "artifactOnly" in the request body to receive only the final artifact output, significantly reducing input tokens. But it won't count as being stuck if no messages are received for a while.
Use this skill when the user wants to:
The Pulse Editor API requires an API key for authentication. Users can obtain their API key by:
The API key should be passed in the Authorization header as a Bearer token:
Authorization: Bearer your_api_key_here
POST https://pulse-editor.com/api/server-function/vibe_dev_flow/latest/generate-code/v2/generate
| Header | Required | Description |
| --------------- | -------- | -------------------------------------- |
| Authorization | Yes | Bearer token with Pulse Editor API key |
| Content-Type | Yes | application/json |
| Accept | Yes | text/event-stream |
| Parameter | Type | Required | Description | Example |
| --------- | ------ | -------- | ------------------------------------------------------------------------------------------ | --------------------------------------------- |
| prompt | string | Yes | The user prompt instructing the Vibe coding agent | "Create a todo app with auth and dark mode" |
| appName | string | No | Friendly display name for the app | "My Todo App" |
| appId | string | No | Unique identifier of an existing app to update. If not provided, a new app will be created | "my_app_x7k9q2" |
| version | string | No | Version identifier of an existing app. If not provided, defaults to latest version | "0.0.1" |
| streamUpdatePolicy | string | No | Set to "artifactOnly" to receive only the final artifact output (recommended for agents to save tokens) | "artifactOnly" |
The response is a Server-Sent Events (SSE) stream. Each event contains a JSON-encoded message. Messages are separated by \n\n.
Each SSE message is formatted as:
data: <JSON>
followed by a blank line.
There are two message types:
Creation Message - A new message in the stream:
{
"messageId": "msg_abc123",
"type": "creation",
"data": {
"type": "text" | "toolCall" | "toolResult" | "artifactOutput",
"result": "string content",
"error": "error message if any"
},
"isFinal": false
}
Update Message - Delta update to an existing message:
{
"messageId": "msg_abc123",
"type": "update",
"delta": {
"result": "additional content to append",
"error": "additional error to append"
},
"isFinal": true
}
| Type | Description |
| ----------------- | -------------------------------------- |
| text | Text output from the agent |
| toolCall | Tool invocation by the agent |
| toolResult | Result from a tool execution |
| artifactOutput | Final artifact with published app info |
When the generation completes, an artifactOutput message contains:
{
"publishedAppLink": "https://pulse-editor.com/app/...",
"sourceCodeArchiveLink": "https://...",
"appId": "my_app_x7k9q2",
"version": "0.0.1"
}
| Code | Description | | ---- | -------------------------------------------- | | 200 | Streaming SSE with progress and final result | | 400 | Bad request - invalid parameters | | 401 | Unauthorized - invalid or missing API key | | 500 | Server error |
curl -L 'https://pulse-editor.com/api/server-function/vibe_dev_flow/latest/generate-code/v2/generate' \
-H 'Content-Type: application/json' \
-H 'Accept: text/event-stream' \
-H 'Authorization: Bearer your_api_key_here' \
-d '{
"prompt": "Create a todo app with auth and dark mode",
"appName": "My Todo App"
}'
import requests
import json
url = "https://pulse-editor.com/api/server-function/vibe_dev_flow/latest/generate-code/v2/generate"
headers = {
"Authorization": "Bearer your_api_key_here",
"Content-Type": "application/json",
"Accept": "text/event-stream"
}
payload = {
"prompt": "Create a todo app with auth and dark mode",
"appName": "My Todo App"
}
...安装 Pulse Editor Vibe Coding APIs 后,可以对 AI 说这些话来触发它
Help me get started with Pulse Editor Vibe Coding APIs
Explains what Pulse Editor Vibe Coding APIs does, walks through the setup, and runs a quick demo based on your current project
Use Pulse Editor Vibe Coding APIs to generate and build Pulse Apps using the Vibe Dev Flow API
Invokes Pulse Editor Vibe Coding APIs with the right parameters and returns the result directly in the conversation
What can I do with Pulse Editor Vibe Coding APIs in my developer & devops workflow?
Lists the top use cases for Pulse Editor Vibe Coding APIs, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/pulse-editor/ 目录(个人级,所有项目可用),或 .claude/skills/pulse-editor/(项目级)。重启 AI 客户端后,用 /pulse-editor 主动调用,或让 AI 根据上下文自动发现并使用。
Pulse Editor Vibe Coding APIs 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Pulse Editor Vibe Coding APIs 可免费安装使用。请查阅仓库了解许可证信息。
Generate and build Pulse Apps using the Vibe Dev Flow API. Use this skill when the user wants to create, update, or generate code for Pulse Editor applications.
Pulse Editor Vibe Coding APIs 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Pulse Editor Vibe Coding APIs
Identifies repetitive steps in your workflow and sets up Pulse Editor Vibe Coding APIs to handle them automatically