Skills

Make Skill

Create a focused workspace Skill from reusable decisions, knowledge, templates, or...

Install

npx skills add agentscope-ai/QwenPaw --skill make-skill -g -a claude-code -y
Repository
agentscope-ai/QwenPaw37.1k
Category
Engineering
Updated
5d ago
License
Apache-2.0
Context cost
Mediumabout 2,307 tokens
Runs scripts
Yes, review before use

What it does

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.

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.

OperationScriptOther input fieldsSuccessful result
Create a plancreate_plan.pyplanplan_id, normalized plan
Revise that plancreate_plan.pyplan_id, complete new planSame plan_id, normalized plan
Initialize after approvalinit_draft.pyplan_iddraft_id, skill_dir
Validate a draftvalidate_skill.pydraft_iddigest
Publish a validated draftpublish_skill.pydraft_id, expected_digest from validationPublication 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

Read the whole SKILL.md on GitHub

More in Engineering