Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds, deploys and manages Miaoda (Spark) apps, including design prototypes, logs and automation triggers.
26% 87%+61 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 6 of 23 without it.
This test ran on v10. v11 is the current version and hasn’t been tested on gemini-3.8-flash yet.
3 of 3 safety checks passed
Not used yet
适用:用户希望让云端妙搭 Agent 生成或迭代应用,而不是把代码拉到本地开发。
整个开发在云端进行:本地只负责「发消息 + 轮询状态」,不拉源码、不产出代码、不启动本地 dev server。所有 session/chat 命令都以用户身份执行(--as user)。
三层父子关系,下层都挂在上层之下:
+create 创建并拿到 app_id。云端生成应用类型用 full_stack。+session-create 创建并拿到 session_id。一个 app 可有多个 session;is_active 表示该 session 当前是否可写(可发起对话)。+chat 发一条消息就发起一轮;轮的句柄是 turn_id,状态看 latest_turn.status。+chat 把消息入队后立即返回、不等生成完成,响应不带 turn_id;本轮状态与轮询节奏全靠 +session-get 读 latest_turn.status / is_streaming / next_poll_after_ms。
+session-get 关键字段:
is_streaming:当前是否有一轮正在跑(true=还在生成)。latest_turn.status:最近一轮的状态,只有 running / completed / failed / cancelled。latest_turn.turn_id:最近一轮的句柄(+session-stop --turn-id 用它)。latest_turn.user_message:本轮用户发的消息。latest_turn.messages:这一轮里妙搭 Agent 执行产生的消息列表,按时序排列、每条带 role(用户消息、模型回复、工具调用等都在内,role 取值如 user / assistant / tool)。要回看本轮做了什么、结果如何,读这个列表。queued_messages / queued_count:还没开始跑、排在后面的消息。next_poll_after_ms:建议的下次轮询间隔(毫秒,固定值);非空时优先用它。轮询规则:
next_poll_after_ms 非空时用它。is_streaming=true、building / running / streaming 表示仍在生成,继续轮询,不傻等也不提前放弃;初始化阶段单次 sleep 拉到 60-120 秒,进入 streaming 或属增量修改时切回 5-10 秒。is_streaming=false 且 latest_turn.status=completed 表示本轮完成,可发下一条。failed / cancelled 时转述错误字段或 hint,由用户决定是否重试,不要静默重发。+session-list --app-id <id>,再选最近活跃的或让用户确认,别直接猜 session_id。+session-get 的 latest_turn.turn_id 取值,再调用 +session-stop --turn-id <turn_id>。Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.