Agent Skillsvixues/LeAgent › skill-packager

skill-packager

GitHub

用于创建、打包和安装 Agent Skills v1.0 技能包。支持将文档或代码封装为合规 zip,并通过 URL、注册表或本地文件安装技能,实现技能的便携化与复用。

backend/leagent/skills/builtin/skill-packager/SKILL.md vixues/LeAgent

Trigger Scenarios

用户希望将现有文档或代码封装为可复用的技能包 用户通过链接或上传文件安装第三方技能 用户需要将技能导出为 zip 以便导入 Cursor 等编辑器

Install

npx skills add vixues/LeAgent --skill skill-packager -g -y
More Options

Non-standard path

npx skills add https://github.com/vixues/LeAgent/tree/main/backend/leagent/skills/builtin/skill-packager -g -y

Use without installing

npx skills use vixues/LeAgent@skill-packager

指定 Agent (Claude Code)

npx skills add vixues/LeAgent --skill skill-packager -a claude-code -g -y

安装 repo 全部 skill

npx skills add vixues/LeAgent --all -g -y

预览 repo 内 skill

npx skills add vixues/LeAgent --list

SKILL.md

Frontmatter
{
    "name": "skill-packager",
    "license": "Apache-2.0",
    "metadata": {
        "tags": [
            "skills",
            "skill",
            "zip",
            "pack",
            "install",
            "export",
            "cursor",
            "agentskills"
        ],
        "version": "1.0.0",
        "category": "platform"
    },
    "description": "Authors Agent Skills v1.0 packages (SKILL.md plus references\/scripts), runs package_skill to produce a standards-compliant zip, and uses install_skill to add skills from HTTPS, registry, workspace, or an uploaded archive. Use when the user wants to turn documentation, workflows, or code into a portable skill, export a skill zip, or install a skill from a link or file without leaving the chat."
}

Skill packager

Help the user create, package, and install Agent Skills v1.0 bundles.

When to use

  • User finished a doc, workflow, or code and wants it reusable as a skill.
  • User pastes an https:// link to a .zip / .tar.gz skill bundle to install.
  • User wants a .zip to import into Cursor (~/.cursor/skills/ or .cursor/skills/) or another agent.

Authoring layout

  • One directory per skill: directory name must equal the name field in SKILL.md frontmatter (kebab-case).
  • Put long prose in references/ or assets/; keep SKILL.md concise with links to those files.
  • Optional scripts/ for helpers; script execution may require server env flags—document that.

Tools (LeAgent)

Goal Tool
Validate + zip a folder package_skill with skill_directory (optional output_path)
Install from URL install_skill with source_type: url, url, optional sha256
Install from registry install_skill with source_type: registry, registry_skill_name
Install from project folder install_skill with source_type: workspace, workspace_path, target_skill_name
Install from uploaded archive install_skill with source_type: uploaded_archive, file_id

After installation, use load_skill with the returned skill name to pull instructions.

Cursor / desktop import (manual)

If the user only needs Cursor (not LeAgent runtime): give them the zip from package_skill and instruct them to extract so one top-level folder skill-name/ contains SKILL.md, then copy that folder into %USERPROFILE%\.cursor\skills\ or the project’s .cursor/skills/. Do not place skills in ~/.cursor/skills-cursor/ (reserved for built-ins).

Quality checklist

  • description in frontmatter states what the skill does and when to use it (third person).
  • Directory name matches name in SKILL.md.
  • Run package_skill before sharing the zip; fix validation errors if any.

Version History

  • a3dbf81 Current 2026-07-06 00:03

Same Skill Collection

backend/leagent/skills/builtin/attendance-signin-sheet/SKILL.md
backend/leagent/skills/builtin/data-analyzer/SKILL.md
backend/leagent/skills/builtin/document-processor/SKILL.md
backend/leagent/skills/builtin/procurement-audit/SKILL.md
backend/leagent/skills/builtin/travel-expense-audit/SKILL.md
backend/leagent/skills/builtin/workflow-helper/SKILL.md

Metadata

Files
0
Version
1f16bad
Hash
fb9ace8c
Indexed
2026-07-06 00:03

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-05 16:46
浙ICP备14020137号-1 $방문자$