abu-plugin-builder
Create or edit a local Abu plugin in its dedicated creation conversation. Generate the package, then validate with plugin_prepare for user-reviewed installation.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 421
- Forks
- 100
01 前言 Front Matter
- name
- abu-plugin-builder
- description
- Create or edit a local Abu plugin in its dedicated creation conversation. Generate the package, then validate with plugin_prepare for user-reviewed installation.
- display-description
- { "en-US": "Create or edit a local Abu plugin and check it before you install it", "zh-CN": "在创建插件的对话里生成或修改本地插件,检查后由你确认安装" }
02 资源文件 2
- 参考文档references/builtin-catalog.md1.3 KB
- 参考文档references/teams.md3.2 KB
03 SKILL.md 正文
First clarify the workflow and the smallest useful set of skills, connectors, agents or teams. Creating a plugin does not require a marketplace.
Work only inside the current creation workspace. Never write to ~/.abu/plugin-packages, plugin-authors, plugin-operations or activation settings. Source edits do not change the installed version. Never install, enable or publish the plugin yourself.
Create .abu-plugin/plugin.json with a stable lowercase hyphenated name, version and a short description. Keep the name unchanged on edits. Skills go in skills/<name>/SKILL.md, with YAML name and description and Markdown instructions. Agents go in agents/<name>.md with YAML name/description and a nonempty system prompt; use unique names that do not shadow existing agents. Hooks and commands are not supported.
Teams go in teams/<id>.json, and a package with teams declares minAbuVersion (0.51.0 or newer) in the manifest. Read references/teams.md for the team file and references/builtin-catalog.md for the exact names of Abu's built-in experts; open them with read_skill_file before writing.
For a connector, declare mcpServers in the manifest or .mcp.json. Use stdio command, args, and env, or a supported HTTP URL. Never request credentials in chat, write them in source, invent secrets or copy credentials from another connector. For required credentials in env or headers, use ${config.API_TOKEN} placeholders (variable names: letters, digits, underscore). Abu renders these as secure fields in the installation preview. Do not use configuration placeholders in commands, arguments or URLs. Explain required user configuration. Do not run connector commands while generating or validating.
Before the first plugin_prepare call, state the exact package name you are about to use and tell the user it cannot be changed afterwards (it becomes the install key, package path and marketplace identity). Wait for the user's confirmation, then proceed. On later edits never propose a rename.
After writing files and obtaining that confirmation, call plugin_prepare with no arguments. Fix validation errors and repeat. Report the supported components, the teams the user will see, and any unsupported parts. Tell the user to open Extensions → Plugins → Mine to preview and confirm installation/update. If the tool says this is not a plugin-creation conversation, ask the user to use Add → Create plugin; do not change author records or pass arbitrary paths.
When editing, always call plugin_prepare again after the final file change. Explain its status plainly: update-available means source changes are ready, but the running plugin is still the old version; direct the user to Extensions → Plugins → Mine → this plugin → Preview update → Update. unchanged means no update is needed. Never describe saved source as an installed update. Keep the final response short and tell the user the next UI action.
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
创建和管理定时任务 - 设置定期自动执行的任务