跳到正文
Skillpedia
智能体37k · #7580

make-skill

它能做什么

这项技能把聊天中一个有用的流程保存为可复用的技能,供你的智能体日后使用。适合希望重复某个工作流、又不想每次重新解释的人。

适用场景

  • ✓当你刚梳理出一个可重复的工作流,并想把它保存下来的时候。
  • ✓当你想把本次聊天中的模板或一组决定转化为可复用技能的时候。
  • ✓当你输入类似“把这个工作流保存为技能”的请求的时候。

技能链接

https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/make-skill-en/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/agentscope-ai/QwenPaw/blob/main/src/qwenpaw/agents/skills/make-skill-en/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把我们刚刚用来撰写周报的步骤整理成一个我可以复用的技能。”

每周 5 个新技能,1 分钟读完。

工作原理

它会根据对话规划新技能,请你批准计划,然后在你的工作区中起草、检查并发布它。每个步骤都会保存在一个生命周期文件夹中。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Make Skill

Create one new workspace Skill from the current conversation through planning, user approval, draft authoring, validation, and publication.

Resolve <workspace> from the runtime directory context: use the current agent's absolute workspace path (also the working directory when no separate project is configured). Pass that same value throughout the lifecycle, independently of the task's project directory and the script cwd. Lifecycle artifacts belong under <workspace>/.qwenpaw/make-skill/; published Skills belong under <workspace>/skills/.

Script interface

Run <python> scripts/<script> through execute_shell_command, setting cwd to this Skill's <dir> from the available-skills entry. Use the executable path in QWENPAW_DESKTOP_PY_RUNTIME as <python> when set; otherwise use python.

Each script reads one JSON object from stdin (or --input <file>) and returns one JSON object. Every input includes workspace; the table lists the other top-level fields.

Operation Script Other input fields Successful result
Create a plan create_plan.py plan plan_id, normalized plan
Revise that plan create_plan.py plan_id, complete new plan Same plan_id, normalized plan
Initialize after approval init_draft.py plan_id draft_id, skill_dir
Validate a draft validate_skill.py draft_id digest
Publish a validated draft publish_skill.py draft_id, expected_digest from validation Publication result

plan_id identifies one editable plan; keep it across revisions, including renames. draft_id identifies the initialized draft for validation, testing, and publication; skill_dir is where its package files belong. Use the returned values unchanged, not IDs inferred from names or paths.

Plan

The focus in /make-skill <focus> is required. For a natural-language request, infer it from the request and current conversation. Later user corrections replace conflicting earlier rules. Preserve stable guidance, contracts, templates, and workflows that should change future behavior; exclude one-off data, temporary paths, secrets, and retry chatter.

Read primary type and package, then choose one primary type and only the files it needs. When the proposed test mode is not off, read behavior testing before defining its target.

Batch workflows

A stored batch is a parameterized run_tool_batch program bundled with a workflow Skill. Use batch: true when a reusable region's actions, branches, and success condition can be stated before execution and one stored entrypoint saves meaningful agent-tool round trips. The region may be the whole workflow, one substantial helper, or one semantic tool-native action; action count is not the criterion. Runtime data, observations, and a final agent review do not prevent batching when the rule for handling them is already known.

Use batch: false only when execution must invent the next action or success condition at runtime, or a shared entrypoint has no practical reuse value. If the user explicitly requests Batch, apply that choice to the plan without reopening eligibility.

Only after selecting batch: true, read run batch before finalizing the workflow and file tree. When batch: false, do not read it.

Save and review the plan

Planning is read-only except for saving the plan through create_plan.py: use conversation evidence and existing artifacts, but do not execute or probe the proposed workflow, create package files, or initialize a draft. For first creation, omit plan_id and pass a complete candidate:

{
  "workspace": "<workspace>",
  "plan": {
    "revision": 1,
    "focus": "One-sentence extraction scope",
    "name": "lowercase-hyphen-name",
    "goal": "Outcome for a future agent",
    "type": "workflow",
    "batch": true,
    "steps": ["A user-reviewable workflow step"],
    "package": ["SKILL.md", "scripts/run.batch.json"],
    "execution": "foreground",
    "test": {"mode": "off", "target": ""},
    "warnings": []
  }
}

To revise, add the returned plan_id to the top-level input above and replace plan with the complete revised candidate, not a partial patch. This updates the existing plan without creating a copy. If an update reports missing-plan, return to planning and approval instead of building. A saved plan is not

常见问题

它会保存一次性的摘要吗?

不会。它面向可复用的工作流,而不是一次性的摘要或普通的文件创建。

我必须批准计划吗?

需要。在起草技能文件之前,技能会等待你的批准。

新技能保存在哪里?

它会发布到你当前工作区的技能文件夹中。

详情

作者的原始描述

Create a focused workspace Skill from reusable decisions, knowledge, templates, or workflows in the current conversation. Use for /make-skill with a focus argument and requests such as save this workflow or turn this into a skill; do not use for one-off summaries or ordinary file creation.

repo: agentscope-ai/QwenPaw

热度

GitHub 星标
37k
排名
#7580
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能