Token导航 LogoToken导航TokenDH.com
待分类执行命令github未标认证来源可访问clear审计提醒

plugin-packaging插件包装

Agent Skill

plugin-packaging 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

367

周安装

15

GitHub Stars

182

下载量

118
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/glittercowboy/plugin-freedom-system --skill plugin-packaging

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态或代码变更进行整理。
  • 可通过 npx skills add 命令从指定仓库安装并使用。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。
  • 注意:该技能可能涉及命令执行,请确保运行环境安全可控。

SKILL.md

plugin-packaging Skill

Purpose: Create professional PKG installers for sharing plugins with others.

Overview

Generates macOS PKG installers with branded UI, automated plugin installation, and Gatekeeper bypass instructions.

Workflow

<critical_sequence enforcement="strict" blocking="true">

Track your progress:

Plugin Packaging Progress:
- [ ] 1. Prerequisites verified (plugin installed, binaries exist)
- [ ] 2. Metadata extracted (contracts read, version/description/parameters)
- [ ] 3. Branding files created (Welcome, ReadMe, Conclusion)
- [ ] 4. Base package built (pkgbuild complete)
- [ ] 5. Branded installer created (productbuild complete)
- [ ] 6. Distribution package output (dist/ created, committed, PLUGINS.md updated)

1. Verify Prerequisites

Check plugin is ready for packaging:

  • Read PLUGINS.md, verify status is 📦 Installed
  • Verify VST3 exists: ~/Library/Audio/Plug-Ins/VST3/[ProductName].vst3
  • Verify AU exists: ~/Library/Audio/Plug-Ins/Components/[ProductName].component

Blocking: If not installed, guide user to run /install-plugin [PluginName] first.

Preconditions verified in this step:

  • Plugin status is 📦 Installed
  • VST3 and AU binaries exist in system folders

2. Extract Plugin Metadata

Read multiple files in parallel using multiple Read tool calls:

  • PLUGINS.md entry for plugin (version, description, parameter list, use cases)
  • plugins/[PluginName]/CMakeLists.txt (for PRODUCT_NAME extraction)
  • plugins/[PluginName]/.ideas/parameter-spec.md (detailed parameter descriptions)
  • plugins/[PluginName]/.ideas/creative-brief.md (features, use cases, design rationale)

Extract PRODUCT_NAME using grep + sed (see Section 1.2 in references/pkg-creation.md).

Template variables to extract:

  • {{PLUGIN_NAME}}, {{VERSION}}, {{DESCRIPTION}}
  • {{PRODUCT_NAME}}, {{PARAM_COUNT}}, {{PARAMETERS}}
  • {{FEATURES}}, {{QUICK_START_PRESETS}}

3. Create Branding Files

Generate Welcome.txt, ReadMe.txt, and Conclusion.txt by reading templates from assets/ and replacing {{VARIABLE}} placeholders with metadata from contracts (.ideas/parameter-spec.md and creative-brief.md provide richer content than PLUGINS.md).

See Section 3 in references/pkg-creation.md for complete bash implementation.

4. Build Base Package

Create foundational PKG with installation logic:

4a. Create temp directory structure (see Section 4a in references/pkg-creation.md)

4b. Copy binaries to payload (see Section 4a in references/pkg-creation.md)

Validation: Verify binaries copied successfully. ONLY proceed to 4c when both files are present.

4c. Create postinstall script (see Section 4b in references/pkg-creation.md for complete script)

4d. Run pkgbuild (see Section 4c in references/pkg-creation.md for complete command)

Validation: Verify base PKG created. ONLY proceed to step 5 when PKG file exists.

5. Build Branded Installer

Wrap base package with branding:

5a. Create Distribution.xml (see Section 5a in references/pkg-creation.md for complete XML structure)

5b. Run productbuild (see Section 5b in references/pkg-creation.md for complete command)

Validation: Verify branded PKG created. ONLY proceed to step 6 when branded PKG exists.

6. Output Distribution Package

Finalize and present to user:

6a. Create dist directory (see Section 6a in references/pkg-creation.md)

6b. Copy installer (see Section 6b in references/pkg-creation.md)

6c. Generate install-readme.txt (see Section 6c in references/pkg-creation.md for complete template)

6d. Commit distribution package:

git add plugins/[PluginName]/dist/
git commit -m "feat([PluginName]): create v[X.Y.Z] distribution package"

6e. Update PLUGINS.md with packaging metadata:

**Last Packaged:** YYYY-MM-DD
**Distribution:** plugins/[PluginName]/dist/[PluginName]-by-TACHES.pkg (X.X MB)

6f. Display summary:

✓ [PluginName] packaged successfully

Created: plugins/[PluginName]/dist/[PluginName]-by-TACHES.pkg (X.X MB)

Distribution package includes:
- [PluginName]-by-TACHES.pkg (branded installer)
- install-readme.txt (installation guide)

Send both files to your friend.

</critical_sequence>


Integration Points

Invoked by:

  • /package [PluginName] command
  • Natural language: "Create installer for TapeAge", "Package GainKnob"

Invokes:

  • None (terminal skill - does not invoke other skills)

Reads:

  • PLUGINS.md → Plugin metadata
  • plugins/[PluginName]/CMakeLists.txt → PRODUCT_NAME extraction
  • ~/Library/Audio/Plug-Ins/VST3/[Product].vst3 → Source binary
  • ~/Library/Audio/Plug-Ins/Components/[Product].component → Source binary

Creates:

  • plugins/[PluginName]/dist/[PluginName]-by-TACHES.pkg → Branded installer
  • plugins/[PluginName]/dist/install-readme.txt → Installation guide

Updates:

  • PLUGINS.md → Add Last Packaged: timestamp and Distribution: package path/size
  • Git repository → Commit dist/ folder with distribution package

Decision Menu

<decision_gate type="checkpoint" enforcement="strict">

After successful packaging, present this menu and WAIT for user response:

✓ [PluginName] packaged successfully

Created: plugins/[PluginName]/dist/[PluginName]-by-TACHES.pkg (X.X MB)

What's next?
1. Test installer (recommended) → Verify PKG works correctly
2. Package another plugin → /package [OtherPlugin]
3. View installation guide → Show install-readme.txt contents
4. Share distribution files → Instructions for sending to friend
5. Other

Choose (1-5): _

Option handlers:

  1. Test installer → Provide testing checklist (see Testing Checklist in references/pkg-creation.md Section 6)
  2. Package another → Prompt for plugin name, re-invoke skill
  3. View guide → Display install-readme.txt with cat command
  4. Share instructions → Explain what files to send, how to compress if needed
  5. Other → Open-ended response

</decision_gate>


Error Handling

For error scenarios and troubleshooting, see references/pkg-creation.md Section 6 (Error Scenarios).


Success Criteria

Packaging succeeds when:

  • ✅ Base PKG created with postinstall script
  • ✅ Branded PKG created with Welcome/ReadMe/Conclusion screens
  • ✅ Installer file copied to plugins/[PluginName]/dist/
  • ✅ Installation guide generated
  • ✅ File sizes reported (PKG should be 3-5 MB typically)
  • ✅ User knows what files to share

NOT required for success:

  • Actually testing installer (recommended but not blocking)
  • Signing/notarization (future enhancement)
  • Multi-format packages (DMG, ZIP - future modes)

Notes for Claude

When executing this skill:

  1. Extract PRODUCT_NAME carefully (may contain spaces, use quotes)
  2. Populate branding templates with actual plugin metadata (not placeholders)
  3. Postinstall script must handle user detection (can't assume /Users/[name])
  4. Clean up temp files after success (rm -rf /tmp/[PluginName]-installer)
  5. Report file size to user (helpful for sharing over email/Dropbox)

Branding consistency:

  • Always use "TÂCHES" in title, welcome, conclusion
  • Format: "[PluginName] by TÂCHES"
  • Include Gatekeeper steps in ReadMe (critical for unsigned plugins)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

28.57%
按下载量换算34

windsurf

22.06%
按下载量换算26

OpenCode

16.69%
按下载量换算20

Codex

11.52%
按下载量换算14

Antigravity

6.89%
按下载量换算8

Gemini CLI

3.41%
按下载量换算4

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/glittercowboy/plugin-freedom-system --skill plugin-packaging;npx skills add glittercowboy/plugin-freedom-system --skill "plugin-packaging" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills