@skillshub-labs/cli 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 PotatoDog1669
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,190 @@
1
+ <p align="center">
2
+ <img src="docs/banner.svg" alt="Skills Hub" width="400">
3
+ </p>
4
+
5
+ <p align="center">
6
+ <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License">
7
+ <img src="https://img.shields.io/badge/Tauri-2.x-24C8D8" alt="Tauri">
8
+ <img src="https://img.shields.io/badge/TypeScript-5.0-blue" alt="TypeScript">
9
+ <img src="https://img.shields.io/badge/status-active-success" alt="Status">
10
+ </p>
11
+
12
+ <p align="center">
13
+ English | <a href="./README_zh.md">简体中文</a>
14
+ </p>
15
+
16
+ **Skills Hub** is a centralized management tool for AI Agent Skills, providing a unified workflow for discovery, management, and synchronization via **Tauri Desktop** and **CLI**.
17
+
18
+ | <img src="docs/dashboard.png" alt="Skills Hub Dashboard" width="100%"> |
19
+ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
20
+ | **Skills Hub Desktop UI** is your local control center for AI skills. It allows you to **visually discover and inspect** your skill library, **import new capabilities** directly from GitHub repositories, and **synchronize** them to your favorite coding agents (Antigravity, Claude, Cursor) with a single click—ensuring your agents always have the latest tools without leaving your local environment. It supports both **Copy** (stable) and **Symbolic Link** (live development) synchronization modes. |
21
+
22
+ ## Supported Agents
23
+
24
+ Skills Hub supports synchronization with a wide range of AI agents, including Antigravity, Claude Code, Cursor, Trae, and [many more](./docs/supported-agents.md).
25
+
26
+ 👉 **[View Full List of Supported Agents & Paths](./docs/supported-agents.md)**
27
+
28
+ ## Project Discovery
29
+
30
+ - Auto scan is **Git-only**: Scan Roots only add directories that are inside a Git work tree.
31
+ - Manual project add is also **Git-only**.
32
+ - Path inputs now support a system folder picker first, with manual path input as fallback.
33
+
34
+ ## Download & Installation
35
+
36
+ ### System Requirements
37
+
38
+ - Node.js 18+ (required for CLI and source builds)
39
+ - Rust toolchain (`rustup`) for Desktop (Tauri) source build
40
+ - Tauri platform prerequisites for your OS: [Tauri v2 prerequisites](https://v2.tauri.app/start/prerequisites/)
41
+
42
+ ### Option A: Homebrew CLI (macOS/Linux)
43
+
44
+ ```bash
45
+ brew tap PotatoDog1669/skillshub
46
+ brew install skills-hub
47
+ skills-hub --version
48
+ ```
49
+
50
+ Upgrade:
51
+
52
+ ```bash
53
+ brew update
54
+ brew upgrade skills-hub
55
+ ```
56
+
57
+ ### Option B: Homebrew Desktop App (macOS)
58
+
59
+ ```bash
60
+ brew tap PotatoDog1669/skillshub
61
+ brew install --cask skills-hub
62
+ ```
63
+
64
+ Upgrade:
65
+
66
+ ```bash
67
+ brew update
68
+ brew upgrade --cask skills-hub
69
+ ```
70
+
71
+ ### Option C: CLI via npm
72
+
73
+ Install globally:
74
+
75
+ ```bash
76
+ npm i -g @skillshub-labs/cli
77
+ skills-hub --help
78
+ ```
79
+
80
+ Run without global install:
81
+
82
+ ```bash
83
+ npx @skillshub-labs/cli --help
84
+ ```
85
+
86
+ Upgrade:
87
+
88
+ ```bash
89
+ npm i -g @skillshub-labs/cli@latest
90
+ ```
91
+
92
+ ### Option D: Build Desktop App from Source
93
+
94
+ ```bash
95
+ git clone https://github.com/PotatoDog1669/skills-hub.git
96
+ cd skills-hub
97
+ npm ci
98
+ npm run tauri:dev
99
+ ```
100
+
101
+ Create desktop bundles:
102
+
103
+ ```bash
104
+ npm run tauri:build
105
+ ```
106
+
107
+ Output directory:
108
+ - `src-tauri/target/release/bundle/`
109
+
110
+ ### Releases
111
+
112
+ - Latest releases: [GitHub Releases](https://github.com/PotatoDog1669/skills-hub/releases)
113
+ - Current releases include changelog + source archives (`zipball` / `tarball`).
114
+ - Desktop release assets include Homebrew cask-ready DMGs:
115
+ - `skills-hub_X.Y.Z_macos_aarch64.dmg`
116
+ - `skills-hub_X.Y.Z_macos_x64.dmg`
117
+
118
+ ## CLI Command Overview
119
+
120
+ | Command | Description |
121
+ | :---------------------------------------- | :------------------------------------------------------------------------------ |
122
+ | `skills-hub list` / `skills-hub ls` | List installed skills (project scope by default; supports `--global`, `--hub`) |
123
+ | `skills-hub remove` / `skills-hub rm` | Remove installed skills (supports `--all`, `--global`, `--hub`, `--agent`) |
124
+ | `skills-hub import <url>` | Import to Hub (supports `--branch`, install mode: `-a/-g/--copy`, and `--list`) |
125
+ | `skills-hub sync --all` | Sync Hub skills to all enabled agents (Antigravity, Claude, Cursor, etc.) |
126
+ | `skills-hub sync --target <name>` | Sync to a specific agent (e.g., `--target claude` syncs to `~/.claude/skills/`) |
127
+ | `skills-hub provider list` | List provider profiles (`claude`, `codex`, `gemini`) |
128
+ | `skills-hub provider add ...` | Add a provider with `--app --name --config-json` or `--config-file` |
129
+ | `skills-hub provider switch ...` | Switch current provider with backfill + backup + atomic write |
130
+ | `skills-hub provider restore ...` | Restore latest live config backup for an app |
131
+ | `skills-hub provider capture ...` | Capture current live config as an official account provider |
132
+ | `skills-hub provider universal-add ...` | Create one universal API provider and sync to multiple apps |
133
+ | `skills-hub provider universal-list` | List all universal providers |
134
+ | `skills-hub provider universal-apply ...` | Re-apply a universal provider to enabled apps |
135
+ | `skills-hub kit policy-*` | Manage AGENTS.md templates (`policy-list/add/update/delete`) |
136
+ | `skills-hub kit loadout-*` | Manage skill packages (`loadout-list/add/update/delete`) |
137
+ | `skills-hub kit add/update/delete/apply` | Compose Kit and apply it to target project + agent |
138
+
139
+ ### Import/List/Remove Quick Examples
140
+
141
+ ```bash
142
+ # Import to Hub only (backward compatible)
143
+ skills-hub import https://github.com/owner/repo
144
+
145
+ # List installable skills from remote source only
146
+ skills-hub import https://github.com/owner/repo --list
147
+
148
+ # Import + install to Codex in current project (default mode: symlink)
149
+ skills-hub import https://github.com/owner/repo -a codex
150
+
151
+ # Install globally and copy files instead of symlinks
152
+ skills-hub import https://github.com/owner/repo -g -a codex --copy
153
+
154
+ # Overwrite conflicts without prompt
155
+ skills-hub import https://github.com/owner/repo -y
156
+
157
+ # View global installation or Hub inventory
158
+ skills-hub ls --global
159
+ skills-hub list --hub
160
+
161
+ # Remove one installed skill or remove all in selected scope
162
+ skills-hub rm my-skill -a codex
163
+ skills-hub remove --all -g -a codex
164
+ skills-hub remove my-skill --hub
165
+ ```
166
+
167
+ ### Development
168
+
169
+ For contributors who want to modify the source code:
170
+
171
+ ```bash
172
+ git clone https://github.com/PotatoDog1669/skills-hub.git
173
+ cd skills-hub
174
+ npm ci
175
+ npm run tauri:dev
176
+ ```
177
+
178
+ For maintainers, a reusable release notes template is available at:
179
+ - `docs/release-notes-template.md`
180
+ - `docs/homebrew-tap-setup.md`
181
+
182
+ ## Contributing
183
+
184
+ We welcome contributions! Please see our [CONTRIBUTING.md](docs/CONTRIBUTING.md) for details on how to get started.
185
+
186
+ Please adhere to our [Code of Conduct](docs/CODE_OF_CONDUCT.md) in all interactions.
187
+
188
+ ## License
189
+
190
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.