skill-authoring
GitHub用于将重复工作流或经验转化为可复用技能的操作指南。涵盖技能创建、更新、审查流程及工具扩展,强调安全与复用性。
Trigger Scenarios
Install
npx skills add QuixiAI/Hexis --skill skill-authoring -g -y
SKILL.md
Frontmatter
{
"name": "skill-authoring",
"aliases": [
"skill",
"skills",
"procedure",
"author",
"teach",
"learn"
],
"category": "system",
"contexts": [
"heartbeat",
"chat"
],
"requires": {
"tools": [
"propose_skill",
"author_skill",
"list_skill_proposals",
"review_skill_proposal"
]
},
"bound_tools": [
"propose_skill",
"author_skill",
"list_skill_proposals",
"review_skill_proposal",
"list_skills",
"use_skill",
"create_tool"
],
"description": "Author or revise reusable Hexis skills from repeated successful workflows"
}
Skill Authoring
Use this skill when a repeated workflow, hard-won lesson, or stable procedure should become reusable future behavior. A skill is not a memory note; it is an operational method that can be activated later and can unlock the tools it needs.
When to Use
- The same multi-step procedure has worked more than once.
- A user explicitly asks you to make a behavior reusable.
- A correction reveals a better standard operating procedure.
- A project develops a durable local convention that should guide future work.
- You notice a capability gap that should become an operator-reviewable skill, even before there is enough cross-session evidence for background review.
Method
- Check existing skills with
list_skillsbefore creating a new one. - Prefer updating an existing skill when the new behavior is a refinement of the same workflow.
- Write the skill as concise operating instructions:
- when to use it,
- what to do,
- what to avoid,
- which tools it should unlock.
- Bind only the tools the skill genuinely needs. Do not add broad filesystem, shell, or browser access unless the procedure requires it.
- Prefer
propose_skillfor on-demand growth. It creates a pending review item and writes no skill file. This is the normal path when you discover a reusable gap while working. - Use
author_skilldirectly only when the user has explicitly approved immediate skill-file creation/update in the current exchange. - Never try to replace a user-authored skill.
author_skillupdates only files carrying Hexis ownership provenance; if ownership cannot be verified, choose a new name or leave the exact manual-edit step to the user. - Use
list_skill_proposalsto inspect background or on-demand review results. Apply, reject, or reopen one only throughreview_skill_proposal; applying always requires explicit approval and preserves confidence plus source lineage.
Quality Guidelines
- Keep a skill focused. If it covers two unrelated workflows, split it.
- Do not encode secrets, credentials, private user data, or one-off facts in a skill.
- Do not directly author a live skill from a single unverified attempt unless the
user explicitly approves it. Use
propose_skillinstead. - Skills should make future behavior clearer and cheaper; if it would add more prompt weight than judgment, keep it as ordinary memory instead.
Growing New Tools (self-extension)
When a workflow needs a capability no existing tool provides, you can build
it yourself with create_tool: write a ToolHandler subclass; it is
validated, registered immediately (no restart), and persisted for future
sessions. Then complete the growth loop:
- Author the tool with
create_tool. - Bind it into one of your own skills with
author_skill(or by updating an existing agent-authored skill) — an unbound tool is a hand you cannot use next session. - Use it, and patch the skill when experience improves the method.
Your authored tools run with the same permissions as your other tools, and
every tool or skill you grow is visible to the operator (change journal +
inbox notice). tools.allow_dynamic is the operator's master switch for
this capability.
Version History
-
97f625f
Current 2026-08-29 01:32
修复审批门禁漏洞,防止未授权工具执行;增加技能别名支持以提升可达性;调整默认可用工具范围。
- 990da5f 2026-08-20 13:53


