Skip to main content

KDSkillHub Cli 重新实现

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Skillhub CLI

Skillhub CLI 是一个用于管理 Skillhub 商店技能的命令行工具,支持搜索、安装、更新和卸载技能,并可按 IDE/工具类型分发安装目录。

特性

  • 🔍 搜索远端 Skill
  • 📦 安装 Skill(支持多目标安装)
  • 📋 列出本地已安装 Skill
  • 🔄 更新 Skill(支持 --all 一键更新全部已安装 Skill)
  • 🗑️ 卸载 Skill
  • ⚙️ 可配置安装目标(如 codexqoderqoderworkkiroworkbuddy

安装

pip install skillhub-cli

快速开始

# (可选)配置后端地址
kdskillhub config set api.endpoint https://skills.kingdee.com/api

# 搜索 Skill
kdskillhub search pdf

# 安装 Skill
kdskillhub install pdf-processing

# 查看已安装
kdskillhub list

# 更新指定 Skill
kdskillhub update pdf-processing

# 一键更新所有已安装 Skill(现有能力)
kdskillhub update --all

# 卸载 Skill
kdskillhub remove pdf-processing

配置安装目标

可通过配置项选择技能分发到哪些安装目录:

# 方式 1:通用 set
kdskillhub config set install.targets codex,qoder

# 方式 2:快捷命令
kdskillhub config targets codex,qoder,qoderwork

# 查看当前配置
kdskillhub config list

默认支持的目标包括:

  • codex~/.codex/skills
  • qoder~/.qoder/skills
  • qoderwork~/.qoderwork/skills
  • kiro~/.kiro/skills
  • workbuddy~/.workbuddy/skills

常用命令

kdskillhub search [keyword]
kdskillhub install <skill-name|skill-name@version>
kdskillhub list
kdskillhub update <skill-name>
kdskillhub update --all
kdskillhub remove <skill-name>
kdskillhub config list
kdskillhub config get <key>
kdskillhub config set <key> <value>
kdskillhub config targets <ide1,ide2,...>

配置文件

默认路径:~/.config/skillhub/config.yaml

示例:

api:
  endpoint: https://skills.kingdee.com/api
  timeout: 30

storage:
  path: ~/.kdskillhub/skills

install:
  targets:
    - codex
    - qoder
    - qoderwork

Development with uv

uv sync --group dev
uv run kdskillhub --help
uv run pytest
uv build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kdskillhub_zack-1.0.1.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kdskillhub_zack-1.0.1-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file kdskillhub_zack-1.0.1.tar.gz.

File metadata

  • Download URL: kdskillhub_zack-1.0.1.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kdskillhub_zack-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2b03775ce40935874108a7b3470956ee9d99e006f8cfee1a96e2cecb0e2a8477
MD5 919b27ae82eac4dcf51bae1b9af868a0
BLAKE2b-256 e364d26a3240015f2555e1915e8b64fb775d7be791bb7bbf0457cf6a5747b554

See more details on using hashes here.

Provenance

The following attestation bundles were made for kdskillhub_zack-1.0.1.tar.gz:

Publisher: publish.yml on zack-zzq/kdskillhub-zack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kdskillhub_zack-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: kdskillhub_zack-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kdskillhub_zack-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f927f5d8280821116f28d4ae1860b5ed19861a3f3024d58ed24a3cbb533f7a26
MD5 8b4aefb2caf205116434adbd6079762f
BLAKE2b-256 ba31736a7d8cf32a10d381bca0c2721ec22ede59dd7c0a0ee0038e20ee4ada27

See more details on using hashes here.

Provenance

The following attestation bundles were made for kdskillhub_zack-1.0.1-py3-none-any.whl:

Publisher: publish.yml on zack-zzq/kdskillhub-zack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page