Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计通过

package-skill包装技巧

Agent Skill

package-skill 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,303

周安装

139

GitHub Stars

1

下载量

1,156
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:package-skill(包装技巧)
来源仓库:https://github.com/aiguozhi123456/package-skill
安装命令:
openclaw skills install package-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install package-skill

简介

创建和管理技能包,将相关技能组合为顶级技能。

  • 通过内部调度机制优化技能调用流程。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 支持技能模块化和复用提升开发效率。
  • 安装前需确认权限范围和维护状态。package-skill 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 建议参考原始文档了解包结构定义规范。

SKILL.md

name
package-skill
description
Create and manage skill packages — bundles of related skills merged into a single top-level skill with internal dispatch. A package skill's own description declares which sub-skills it contains. Trigger when you want to combine multiple skills into one package, reorganize your skill library, or scan a package's sub-skills. Also use when the user says 'package skills', 'bundle skills', 'merge skills', '打包技能', '合并技能', or '创建技能包'.

Skill Packager

Group related skills into a single package with internal dispatch. Reduces top-level skill count and trigger noise while preserving all capabilities.

When to Use

  • Multiple skills share similar trigger patterns (e.g., docx/pptx/xlsx/pdf all trigger on file extensions)
  • Skill count exceeds 25 and trigger accuracy degrades
  • User asks to consolidate or merge skills

When NOT to Use

  • Skills have fundamentally different trigger domains (e.g., "weather" and "github" — keep separate)
  • Only 1-2 skills are involved — not worth packaging overhead

Directory Structure

skills/
  package-skill/           ← This tool
    SKILL.md
    scripts/
      create.py            ← Create packages, add/remove sub-skills
      update.py            ← Scan sub-skills, update pack.md
  <package-name>/          ← Generated package (independent skill)
    SKILL.md               ← Trigger + sub-skill list + dispatch logic
    pack.md                ← Registry: auto-generated sub-skill inventory
    sub/
      <skill-a>/SKILL.md
      <skill-b>/SKILL.md

Workflow

1. Create a Package

python skills/package-skill/scripts/create.py create <package-name> -d "trigger description" <skill1> [skill2 ...]

This will:

  • Create <package-name>/ directory with sub/ and pack.md
  • Copy each named skill into sub/
  • Generate a SKILL.md with the provided trigger description and dispatch instructions
  • Generate a pack.md with all sub-skill descriptions for matching
  • Remove the original top-level skill directories

2. Update pack.md

python skills/package-skill/scripts/update.py <package-name>

Re-reads all sub/*/SKILL.md frontmatter and updates pack.md. Use after adding or removing sub-skills manually, or anytime you want to refresh the registry.

3. Add a Sub-Skill to Existing Package

python skills/package-skill/scripts/create.py add <package-name> <skill-name>

Copies a new skill into the package's sub/ and updates pack.md.

4. Remove a Sub-Skill

python skills/package-skill/scripts/create.py remove <package-name> <skill-name>

Removes a sub-skill from the package. If the sub-skill deserves to be top-level again, this command moves it back to skills/ root.

Package SKILL.md Template

The generated SKILL.md follows this structure:

---
name: <package-name>
description: "<user-provided trigger description>"
---

# <Package Title> Package

This is a skill package bundling N sub-skills: skill-a, skill-b, ...

## How to Use

1. Read [pack.md](pack.md) to determine which sub-skill matches the current task
2. Read the matching sub-skill: `read_file("skills/<package-name>/sub/<sub-skill>/SKILL.md")`
3. Follow that sub-skill's instructions

Description is concise and provided by the user at creation time. No sub-skill descriptions here — they live in pack.md.

pack.md Format

# <package-name> Registry

- **pdf** — Use this skill whenever the user wants to do anything with PDF files...
- **docx** — Use this skill whenever the user wants to create, read, edit Word documents...

Each entry is the name and description from the sub-skill's frontmatter. Auto-generated by create.py scan.

Guidelines for Writing Package Descriptions

A good package trigger description should:

  1. Cover all trigger keywords (file extensions, actions) from sub-skills
  2. Stay under 200 words — the description is loaded in every session
  3. Guide the agent to read pack.md for sub-skill matching

Design Principles

  • Sub-skills stay intact — no content is stripped, only relocated to sub/
  • Package is a normal skill — the agent treats it like any other skill
  • Dispatch is explicit — the agent reads the sub-skill SKILL.md on demand, not pre-loaded
  • Reversibleremove can promote a sub-skill back to top-level

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.19%
按下载量换算985

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills