abu-app-builder
Create an Abu app in its app-creation conversation — a home page with scenes, each handed to an expert or an expert team. Write the draft in the conversation folder, validate it with app_prepare, and let the user confirm the preview card.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 421
- Forks
- 100
01 前言 Front Matter
- name
- abu-app-builder
- description
- Create an Abu app in its app-creation conversation — a home page with scenes, each handed to an expert or an expert team. Write the draft in the conversation folder, validate it with app_prepare, and let the user confirm the preview card.
- display-description
- { "en-US": "Build an Abu app: a home page of scenes, each run by an expert", "zh-CN": "在创建应用的对话里生成应用:首页、场景和负责的专家" }
02 资源文件 3
- 参考文档references/app-config.md10.0 KB
- 参考文档references/builtin-catalog.md1.4 KB
- 参考文档references/teams.md2.6 KB
03 SKILL.md 正文
Work only inside the current conversation folder. The draft is .abu-app/app.json, plus agents/<name>.md for experts the app needs that do not exist yet and teams/<id>.json for new expert teams. Never write to ~/.abu, never create experts or teams with other tools, and never add the app yourself: nothing is created until the user confirms the preview card.
Before writing anything, call app_prepare with no arguments. It returns yours: the experts (by name) and expert teams (by id and name) the user already has.
Settle three things with the user, one question at a time and only where the answer is missing: who the app is for; which groups of scenes it offers (these become modes and scenes); who handles each scene. Offer a complete draft (modes, scenes, who handles each, the app prompt) and continue once the user agrees or tells you to decide.
Who handles a scene, in this order of preference:
- An expert or team the user already has, from
yours:{ "expert": "mine:<name>" },{ "team": "mine:<team id>" }. - One of Abu's built-in experts or teams:
{ "expert": "builtin:<name>" },{ "team": "builtin-team:<id>" }, names and ids inreferences/builtin-catalog.md. - An expert, team or skill of a plugin the user has installed:
plugin:<plugin>/<id>, with the plugin listed inplugins. - Only when none of these fits, a new expert or team in the draft. A new expert is
agents/<name>.mdwith YAMLnameanddescriptionand a nonempty system prompt; its name must not be taken. A new team isteams/<id>.json; its members are the draft's new experts (by name) and built-in experts (builtin:<name>). Reference them asmine:<name>andmine:<id>.
Read references/app-config.md for every field of the app file and a complete example, references/teams.md for the team file, and references/builtin-catalog.md for the built-in names; open them with read_skill_file before writing. Give every scene 3–6 templates whose prompts a user can send as they are. The app name is lowercase and hyphenated; minAbuVersion is 0.51.0. New expert names use letters, digits, underscores or hyphens, without spaces. Names must be unique among existing experts and the draft's experts. Set interface.displayName and interface.shortDescription; do not generate logo images unless the user provides them. When a navigation item uses url:, list every origin in allowedOrigins.
After writing, call app_prepare again. A validation error names the field, for example home.modes.items[0].scenes[0].run.team; correct that field and call again. When it returns status: "ready", the preview card appears below your message: tell the user they can confirm it to add the app, or say what to change. After every change, call app_prepare again so the card shows the current draft.
Once the user confirms, the app appears in the app switcher and Abu opens its home page; new experts and teams appear under Experts → Mine. The app of this conversation cannot be changed here afterwards, and app_prepare says so; tell the user plainly. If app_prepare says this is not an app-creation conversation, ask the user to start one from the app switcher → Create app. Keep the final response short.
04 同仓库更多 Skills
../../evil name
A name the installer would refuse to turn into a directory
product-listing
Write or rewrite an e-commerce product listing (title, selling points, spec table, FAQ) from product specs. Use when the user asks for listing copy, a product title, or a detail page.
trigger
创建和管理触发器 - 设置事件驱动的自动化任务
svg-diagram
用 SVG 生成精美的架构图、流程图、时序图、层级图、对比图等结构化图表。直接输出 ```html 代码块(内含 SVG),前端在沙箱 iframe 中渲染。效果比 Mermaid 更美观、布局更灵活。
skill-creator
创建、编辑、优化和测试 skills。当用户明确要求创建一个具体的新 skill、修改已有 skill 的内容或描述、运行 skill 评测,或优化 skill 触发准确率时使用。
schedule
创建和管理定时任务 - 设置定期自动执行的任务