← 返回 Skills 市场
neomagnetar

ClawHub Skill Packager

作者 Christopher L Haynes · GitHub ↗ · v1.5.2 · MIT-0
cross-platform ✓ 安全检测通过
229
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install clawhub-skill-packager
功能描述
Turn rough, partial, or broken ClawHub/OpenClaw skill material into one publish-ready skill bundle plus one separate plain-text review file using an inferenc...
使用说明 (SKILL.md)

ClawHub Skill Packager

Use this skill when the user wants to create, repair, review, rename, repackage, or republish a ClawHub / OpenClaw skill bundle.

Product promise

This skill makes the publish-ready skill package first.

Then it provides the separate review file that explains:

  • what was provided
  • what was inferred
  • what was fixed
  • what still deserves human review

The package is the main product. The review file is the supporting layer.

Unified identity rule

This skill uses one unified identity across runtime, packaging, and publishing surfaces:

  • runtime name: clawhub-skill-packager
  • slug: clawhub-skill-packager
  • folder name: clawhub-skill-packager
  • metadata.openclaw.skillKey: clawhub-skill-packager

Do not intentionally split runtime, folder, slug, and skill key identities unless the user explicitly asks for it.

Core job

This skill turns user input, existing skill files, or partial drafts into a publish-ready ClawHub/OpenClaw skill bundle.

It is designed to:

  • inspect what is present
  • infer what is missing when reasonable
  • repair inconsistencies
  • build the package anyway when a safe best-effort package is possible
  • self-audit the result
  • return one pure publish bundle plus one separate plain-text review file

Operating stance

This skill is designed for low-friction handoff.

When the user provides material:

  • inspect what is there
  • infer what is missing when reasonable
  • choose the best safe course based on current knowledge
  • avoid unnecessary clarification loops
  • return a concrete package plus a review statement

Prefer statements over questions.

If something is missing but inferable:

  • infer it
  • note the inference
  • keep moving

If something is risky, ambiguous, or likely to affect publishing:

  • still produce the package when a safe best-effort package is possible
  • highlight the issue clearly in the review file
  • mark it for user review

Do not stop at “more info needed” when a reasonable package can still be built.

Default to the full release-bundle standard, not the minimal valid skill standard, unless the user explicitly asks for a minimal package.

Exact output contract

Always produce exactly two user-facing deliverables.

A. Publish bundle zip

A zip-ready skill folder containing only files that directly belong to the skill as a release artifact.

This bundle must include:

  • SKILL.md
  • README.md
  • CHANGELOG.md

It may also include only those additional files that are genuinely part of the skill itself or required for the skill to function correctly, such as:

  • references/
  • examples/
  • scripts/
  • configs/
  • assets/

Do not include inside the publish bundle:

  • review notes
  • inference notes
  • build commentary
  • user/AI discussion notes
  • release review records
  • handoff notes that are only about packaging this build

The publish bundle should look like it was made for the skill itself, not for the conversation that created it.

B. Separate plain-text review file

A separate review file in plain text.

Preferred format:

  • .txt

This review file should say:

  • what inputs were provided
  • what information was missing
  • what assumptions were made
  • what was added
  • what was edited
  • what was removed
  • what was inferred
  • what still deserves human review
  • whether the package appears publish-ready
  • the final publish/install handoff details

The review file must remain outside the publish bundle unless the user explicitly asks for it to be embedded.

Standard support artifacts inside this packager skill

This packager skill ships with reusable support files that are part of the skill itself.

Use them like this:

  • REVIEW-CHECKLIST.txt = the permanent self-audit standard
  • REVIEW-RECORD-TEMPLATE.txt = the base for the generated separate review file

Operating modes

Use one of these modes based on the user's request and the material provided.

1. Package-from-scratch

Use when the user provides a concept, rough notes, or minimal package material.

Pass 1:

  • assemble identity
  • infer missing metadata
  • define package surfaces
  • identify major assumptions

Pass 2:

  • build files
  • self-audit
  • generate the separate review file

2. Repair-existing-skill

Use when the user provides an existing skill package that needs cleanup, fixes, or modernization.

Pass 1:

  • inspect existing files
  • identify drift, breakage, or parser-risky structure
  • determine what should be preserved

Pass 2:

  • repair and normalize
  • self-audit
  • generate the separate review file

3. Audit-only

Use when the user wants analysis and recommendations without generating a new package.

Pass 1:

  • inspect the provided package or concept
  • identify strengths, issues, risks, and missing information

Pass 2:

  • generate the review file
  • do not build a replacement package unless the user also asked for packaging

4. Republish / update

Use when the user already has a package and wants version, naming, positioning, or packaging updates for republishing.

Pass 1:

  • inspect the current package
  • identify what changed since the prior release
  • align versioning, naming, and publish surfaces

Pass 2:

  • update files
  • self-audit
  • generate the separate review file

5. Rename / rebrand

Use when identity surfaces need changing while preserving intended behavior.

Pass 1:

  • inspect current identity surfaces
  • preserve intended behavior
  • determine which naming surfaces change and which remain stable

Pass 2:

  • rewrite aligned identity surfaces
  • self-audit
  • generate the separate review file

Packaging workflow

Step 1 — Inspect

Look at all provided material:

  • text prompts
  • existing SKILL.md
  • existing README.md
  • existing CHANGELOG.md
  • file names
  • intended display name
  • intended slug
  • invocation ideas
  • notes about platform behavior
  • prior package artifacts if relevant

Step 2 — Determine completeness

Check whether the package has enough information for:

  • display name
  • slug
  • runtime identity
  • version
  • description
  • tags
  • invocation behavior
  • public positioning
  • file set
  • frontmatter format
  • compatibility with current OpenClaw parser expectations

Step 3 — Infer or repair

If something is missing or inconsistent:

  • choose the best safe default
  • repair mismatched naming
  • align display name, slug, runtime name, folder name, skill key, and README publish fields unless the user explicitly requests a split
  • correct parser-risky frontmatter
  • normalize versioning
  • remove obvious contradictions
  • preserve intended behavior whenever possible

Step 4 — Build the package

Create the full package folder and final file contents.

Step 5 — Self-audit

Run a second-pass review using REVIEW-CHECKLIST.txt.

Step 6 — Deliver

Deliver exactly two user-facing artifacts:

  • the final publish bundle zip
  • the separate review file built from REVIEW-RECORD-TEMPLATE.txt

Then provide a short summary in the response telling the user:

  • here is your publish bundle
  • here is your review file
  • here is what was inferred
  • here is what was fixed
  • here is what may still deserve review

Visibility rule

Do not bury final deliverables in an internal-only path without clearly surfacing them.

The publish zip and the separate review file must be:

  • clearly identified
  • surfaced directly to the user
  • returned as the final two artifacts

Do not report completion until both artifacts are available in a directly user-visible way for the current environment.

Skill type awareness

When packaging a skill, classify it before building.

Possible classes include:

  • instruction-only skill
  • formatting / style skill
  • workflow / orchestration skill
  • code or script-backed skill
  • API-dependent skill
  • environment-variable-dependent skill
  • binary / external-tool-dependent skill
  • mixed package

Use the class to decide:

  • what files are needed
  • what install notes are needed
  • what security notes are needed
  • what review flags matter most

Runtime and security declarations

Inspect for:

  • environment variable requirements
  • secrets or credentials
  • external API dependencies
  • script or binary execution assumptions
  • file system expectations
  • privilege or escalation requirements
  • background or always-on behavior

If these exist:

  • package the skill anyway when safe
  • state them clearly in the review file
  • highlight them for review

Frontmatter rules

For OpenClaw compatibility, prefer:

  • single-line frontmatter keys
  • metadata as a single-line JSON object
  • quoted version
  • quoted long description strings when helpful

Preferred base frontmatter pattern:

---
name: skill-slug
description: "Short clear skill description."
version: "1.0.0"
user-invocable: true
disable-model-invocation: true
metadata: {"openclaw":{"emoji":"📦","skillKey":"skill-slug"}}
---

Naming rules

Align these surfaces unless the user explicitly wants them different:

  • public display name
  • package folder name
  • slug
  • runtime name
  • metadata.openclaw.skillKey
  • README publish fields
  • changelog package identity

Use:

  • human-readable title for display name
  • lowercase hyphenated form for slug
  • the same lowercase hyphenated form for runtime name by default

Review checklist

A package should be checked for all of the following.

Identity alignment

  • display name matches intent
  • slug is lowercase and hyphenated
  • folder name matches slug
  • runtime name matches slug unless intentionally split
  • skill key matches slug
  • README publish fields match final identity
  • changelog reflects the current version and identity

Frontmatter health

  • SKILL.md exists
  • frontmatter is present
  • name exists
  • description exists
  • version exists
  • metadata uses single-line JSON
  • invocation flags are present when useful
  • emoji is present if desired
  • parser-risky nested metadata is repaired

Behavioral clarity

  • purpose is clear
  • scope is clear
  • activation behavior is clear
  • explicit invocation is defined if needed
  • output behavior is described
  • risky ambiguity is reduced

Public positioning

  • branding is reasonable
  • wording is accurate
  • descriptions do not overclaim capabilities
  • external affiliation wording is safe when relevant

Runtime / security awareness

  • skill type is correctly classified
  • env var requirements are documented
  • API dependencies are documented
  • binaries / scripts are documented
  • privilege assumptions are documented
  • risky surfaces are highlighted

Deliverable separation

  • publish bundle contains only skill-release files
  • review content is kept outside the publish bundle
  • review file is plain text
  • final deliverables are surfaced separately

Deliverables

  • package files were generated
  • separate review file was generated
  • changes are summarized
  • assumptions are highlighted
  • publish-readiness is stated

Severity markers

Use these markers consistently:

  • ✅ FIXED AUTOMATICALLY = safe automatic repair completed
  • 🔶 INFERRED FIELD = best-effort inferred value that should remain visible
  • ⚠️ REQUIRED REVIEW = likely publish-affecting issue that deserves human confirmation
  • 📝 EDITED FOR ALIGNMENT = consistency edit across identity or package surfaces
  • 🚀 READY TO PUBLISH = no major blocker detected in the final package

Final response contract

At completion, report in this order:

  1. brief status line
  2. the publish bundle zip
  3. the separate review file
  4. short bullet summary of:
    • what was created
    • what was changed
    • what assumptions were made
    • what should be reviewed
  5. publish-readiness statement

Second-pass workflow

If the user returns with edits or clarifications:

  • re-run the same inspection and package workflow
  • preserve the accepted identity and structure unless the new instructions change them
  • reduce the number of inferred fields
  • keep the second-pass output cleaner and closer to final
  • aim for a near-zero-friction publish handoff

Operating note

This skill is a packager and self-auditor for ClawHub / OpenClaw skills. Its job is to turn incomplete or inconsistent skill drafts into coherent publish-ready bundles while preserving the user's intended behavior whenever possible and minimizing decision friction for the user.

安全使用建议
This skill appears internally consistent and matches its stated purpose, but review these practical points before using it: - Back up original skill files before asking the packager to 'repair' or 'normalize' them, since it deliberately edits/infers fields rather than always asking for clarification. - Do not supply sensitive files or credentials (keys, .env files, private configs) as inputs — the skill expects packaging material and may include supplied files in the package. - Inspect the produced publish bundle and the separate plain-text review file carefully before publishing to any registry. - Because it is explicit-invocation only, it cannot run autonomously; still verify the outputs and the review file’s 'required review' markers before proceeding to publish. - If you want conservative behavior (minimal edits or more clarification loops), state that up front — the packager defaults to inference-first, full-release bundle creation.
功能分析
Type: OpenClaw Skill Name: clawhub-skill-packager Version: 1.5.2 The 'clawhub-skill-packager' is a utility skill designed to help users create, repair, and audit OpenClaw skill bundles. The instructions in SKILL.md guide the AI agent through a low-friction workflow to normalize metadata and package files into a ZIP archive. Notably, the skill includes a security-positive 'self-audit' requirement that instructs the agent to identify and highlight sensitive items (like credentials or environment variables) in the review file rather than exfiltrating them. No malicious logic, obfuscation, or harmful prompt injections were detected.
能力评估
Purpose & Capability
Name/description (packager + reviewer) match the SKILL.md behavior: inspect provided material, infer missing metadata, repair inconsistencies, build a publish-ready bundle, and emit a separate plain-text review. No unrelated environment variables, binaries, or install steps are requested.
Instruction Scope
The SKILL.md adopts an inference-first, low-friction stance that will autonomously infer and repair missing metadata and modify packaging files based on provided inputs. This is coherent with the stated purpose, but be aware it intentionally prefers making safe best-effort changes rather than repeatedly asking clarifying questions — so outputs should be reviewed before publishing. The instructions do not direct the agent to read unrelated system paths, credentials, or external endpoints.
Install Mechanism
Instruction-only skill with no install spec and no code files. Nothing is written to disk by an installer and there are no external download URLs, so install risk is minimal.
Credentials
No environment variables, credentials, or config paths are requested. The declared requirements are proportional to the packaging task.
Persistence & Privilege
always is false and disable-model-invocation is true (explicit invocation only), which limits autonomous invocation and reduces blast radius. The skill does not request persistent system-wide privileges or access to other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawhub-skill-packager
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawhub-skill-packager 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.5.2
**No functional changes; removed obsolete file.** - Removed the unused `_meta.json` from the repository to reduce clutter. - No modifications to skill logic, functionality, or user experience.
v1.5.1
## clawhub-skill-packager 1.5.1 - Clarified invocation guidance across OpenClaw surfaces - Documented `/skill clawhub-skill-packager` as the most reliable invocation path - Documented `/clawhub-skill-packager` as a direct alias that may depend on surface support - Clarified that direct alias failures are usually surface/runtime dispatch differences, not a packaging defect - No intended functional behavior change; documentation and release metadata only
v1.5.0
**Summary:** Unifies skill identity surfaces and clarifies product priorities. - Consolidated runtime name, slug, folder name, and skillKey to always be clawhub-skill-packager unless user requests a split. - Updated description and documentation to emphasize: the publish bundle is the main product, review file is strictly secondary. - Tightened workflow steps and packaging rules for identity alignment across all outputs. - Clarified output contract and operating stance to avoid confusion over naming and folder structures. - No code or file changes; documentation and rules have been streamlined for predictability.
v1.4.0
**Major update: Enforces a clear, strict separation between the skill publish bundle and review/support artifacts.** - The publish bundle now includes only files directly needed for the skill; review notes and handoff files are excluded. - Two user-facing deliverables are produced: (1) the publish-ready skill bundle, and (2) a separate plain-text review file. - Delivery summary and publish handoff template files have been removed from the bundle outputs. - Documentation and workflow have been updated to clarify that review/support artifacts remain outside the skill package. - Emphasizes direct, user-visible access to both the bundle and review file for every run.
v1.3.0
v1.3.0: explicit support-file mapping, named operating modes, mode-specific two-pass workflow, runtime/security awareness, publish handoff artifact, and documented runtime identity split.
元数据
Slug clawhub-skill-packager
版本 1.5.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

ClawHub Skill Packager 是什么?

Turn rough, partial, or broken ClawHub/OpenClaw skill material into one publish-ready skill bundle plus one separate plain-text review file using an inferenc... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 229 次。

如何安装 ClawHub Skill Packager?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawhub-skill-packager」即可一键安装,无需额外配置。

ClawHub Skill Packager 是免费的吗?

是的,ClawHub Skill Packager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

ClawHub Skill Packager 支持哪些平台?

ClawHub Skill Packager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ClawHub Skill Packager?

由 Christopher L Haynes(@neomagnetar)开发并维护,当前版本 v1.5.2。

💬 留言讨论