openbot-skill-creator
GitHub用于创建或修订本地 OpenBot 技能,将用户工作流保存为可复用技能。通过检查现有技能、编写 SKILL.md 及资源文件,并调用工具注册或更新技能包,实现技能的持久化管理与安装。
Trigger Scenarios
Install
npx skills add nightly-labs/openbot --skill openbot-skill-creator -g -y
SKILL.md
Frontmatter
{
"name": "openbot-skill-creator",
"description": "Create or revise a reusable local OpenBot skill when the user asks to save a workflow as a skill. Use the local skill tools to register it. Do not use for ordinary one-off tasks."
}
Create a local skill
Clarify the skill's purpose and when it should apply from the user's request. Ask only for missing information that changes the result. Keep the instructions focused on knowledge or decisions the agent would otherwise miss.
- Call
list_local_skillsto check for an existing skill. For a revision, callread_local_skilland keep its ID, name, andversion(the revision number used asexpectedRevision). Its archivePath points to the saved bundle; extract a working copy inside your workspace, never edit the library directly. - Prepare a separate folder inside your current workspace. Do not edit installed copies in
.agents/skillsor.claude/skillsto publish a revision. - Write
SKILL.mdwith YAML frontmatter containingname(up to 80 characters) anddescription(up to 500). The description says what the skill does and when to use it. Optionalexample-promptcontains a sample user request up to 1,000 characters. - Write concise Markdown instructions: intended outcome, useful workflow, constraints specific to the task, and how to verify success. Preserve user intent. Creating a skill does not authorize publishing, sending messages, or other external actions.
- Add
scripts/,references/, orassets/only when needed. Link references from the entrypoint and explain when to read them. A PNG atassets/icon.png(up to 512 KB) supplies the preview logo. Do not include secrets, environment files, dependencies, symlinks, or archives. Limit the bundle to 200 files and 10 MB expanded. - Check the instructions against a representative request. Inspect scripts for safety and test them only within the user's authorized scope. Registration does not execute scripts.
- Call
create_skillwith the workspace-relative folder path, orrevise_skillwith the ID, expectedRevision, and folder path. Report the returned ID and revision.
Creation saves to the shared library and installs for the current agent. Other agents must explicitly add it. Revisions preserve previous versions and do not change installed copies. Use install_local_skill with an exact revision only when the user asks to add or update the skill. If a revision conflict occurs, read the latest version and reconcile the changes before retrying. If creation saved successfully but installation failed, retry installation by ID; do not create a duplicate.
Version History
- ac99196 Current 2026-11-02 08:42


