agent-skill-manager 0.1.2__tar.gz → 0.1.3__tar.gz
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.
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/PKG-INFO +34 -12
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/README.md +33 -11
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/pyproject.toml +1 -1
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/src/skill_manager/__init__.py +1 -1
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/src/skill_manager/cli.py +10 -3
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/uv.lock +1 -1
- agent_skill_manager-0.1.2/SKILL.md +0 -378
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/.gitignore +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/.pre-commit-config.yaml +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/.python-version +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/examples/.gitkeep +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/scripts/.gitkeep +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/src/skill_manager/agents.py +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/src/skill_manager/deployment.py +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/src/skill_manager/github.py +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/src/skill_manager/metadata.py +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/src/skill_manager/removal.py +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/src/skill_manager/validation.py +0 -0
- {agent_skill_manager-0.1.2 → agent_skill_manager-0.1.3}/tests/.gitkeep +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agent-skill-manager
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: CLI tool for managing AI agent skills across multiple platforms
|
|
5
5
|
Project-URL: Homepage, https://github.com/ackness/skill-manager
|
|
6
6
|
Project-URL: Repository, https://github.com/ackness/skill-manager
|
|
@@ -25,6 +25,8 @@ Description-Content-Type: text/markdown
|
|
|
25
25
|
|
|
26
26
|
# Agent Skill Manager
|
|
27
27
|
|
|
28
|
+
ALL codes are written by Claude Code.
|
|
29
|
+
|
|
28
30
|
A comprehensive CLI tool for managing AI agent skills across multiple platforms. Download, deploy, update, and manage skills for AI coding assistants like Claude Code, Cursor, Windsurf, and more.
|
|
29
31
|
|
|
30
32
|
[](https://pypi.org/project/agent-skill-manager/)
|
|
@@ -59,31 +61,50 @@ A comprehensive CLI tool for managing AI agent skills across multiple platforms.
|
|
|
59
61
|
|
|
60
62
|
## Installation
|
|
61
63
|
|
|
62
|
-
###
|
|
64
|
+
### Recommended: Install with uv tool
|
|
63
65
|
|
|
64
|
-
|
|
66
|
+
The best way to install is using `uv tool`:
|
|
65
67
|
|
|
66
68
|
```bash
|
|
69
|
+
# Install from PyPI
|
|
67
70
|
uv tool install agent-skill-manager
|
|
68
|
-
|
|
71
|
+
|
|
72
|
+
# Verify installation
|
|
73
|
+
sm --version
|
|
74
|
+
|
|
75
|
+
# Start using
|
|
76
|
+
sm install
|
|
69
77
|
```
|
|
70
78
|
|
|
71
|
-
|
|
79
|
+
**Why uv tool?**
|
|
80
|
+
- Isolated environment (no package conflicts)
|
|
81
|
+
- Easy updates: `uv tool upgrade agent-skill-manager`
|
|
82
|
+
- Clean uninstall: `uv tool uninstall agent-skill-manager`
|
|
83
|
+
- Works across all projects
|
|
84
|
+
|
|
85
|
+
### Alternative: Run Without Installing
|
|
86
|
+
|
|
87
|
+
For one-time use or testing:
|
|
72
88
|
|
|
73
89
|
```bash
|
|
74
|
-
#
|
|
75
|
-
|
|
90
|
+
# Run directly with uvx (no installation needed)
|
|
91
|
+
uvx agent-skill-manager
|
|
92
|
+
|
|
93
|
+
# Or run specific commands
|
|
94
|
+
uvx --from agent-skill-manager sm install
|
|
95
|
+
uvx --from agent-skill-manager sm list
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Other Installation Methods
|
|
76
99
|
|
|
100
|
+
```bash
|
|
77
101
|
# Using pip
|
|
78
102
|
pip install agent-skill-manager
|
|
79
103
|
|
|
80
|
-
# Using pipx (isolated
|
|
104
|
+
# Using pipx (isolated like uv tool)
|
|
81
105
|
pipx install agent-skill-manager
|
|
82
|
-
```
|
|
83
106
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
```bash
|
|
107
|
+
# From source (for development)
|
|
87
108
|
git clone https://github.com/ackness/skill-manager.git
|
|
88
109
|
cd skill-manager
|
|
89
110
|
uv sync
|
|
@@ -126,6 +147,7 @@ sm uninstall # Uninstall a skill (safe delete)
|
|
|
126
147
|
| `sm update` | Update selected skills from GitHub |
|
|
127
148
|
| `sm update --all` | Update all GitHub-sourced skills |
|
|
128
149
|
| `sm list` | Show installed skills with versions |
|
|
150
|
+
| `sm --version` / `sm -v` | Show version information |
|
|
129
151
|
|
|
130
152
|
## Usage Examples
|
|
131
153
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Agent Skill Manager
|
|
2
2
|
|
|
3
|
+
ALL codes are written by Claude Code.
|
|
4
|
+
|
|
3
5
|
A comprehensive CLI tool for managing AI agent skills across multiple platforms. Download, deploy, update, and manage skills for AI coding assistants like Claude Code, Cursor, Windsurf, and more.
|
|
4
6
|
|
|
5
7
|
[](https://pypi.org/project/agent-skill-manager/)
|
|
@@ -34,31 +36,50 @@ A comprehensive CLI tool for managing AI agent skills across multiple platforms.
|
|
|
34
36
|
|
|
35
37
|
## Installation
|
|
36
38
|
|
|
37
|
-
###
|
|
39
|
+
### Recommended: Install with uv tool
|
|
38
40
|
|
|
39
|
-
|
|
41
|
+
The best way to install is using `uv tool`:
|
|
40
42
|
|
|
41
43
|
```bash
|
|
44
|
+
# Install from PyPI
|
|
42
45
|
uv tool install agent-skill-manager
|
|
43
|
-
|
|
46
|
+
|
|
47
|
+
# Verify installation
|
|
48
|
+
sm --version
|
|
49
|
+
|
|
50
|
+
# Start using
|
|
51
|
+
sm install
|
|
44
52
|
```
|
|
45
53
|
|
|
46
|
-
|
|
54
|
+
**Why uv tool?**
|
|
55
|
+
- Isolated environment (no package conflicts)
|
|
56
|
+
- Easy updates: `uv tool upgrade agent-skill-manager`
|
|
57
|
+
- Clean uninstall: `uv tool uninstall agent-skill-manager`
|
|
58
|
+
- Works across all projects
|
|
59
|
+
|
|
60
|
+
### Alternative: Run Without Installing
|
|
61
|
+
|
|
62
|
+
For one-time use or testing:
|
|
47
63
|
|
|
48
64
|
```bash
|
|
49
|
-
#
|
|
50
|
-
|
|
65
|
+
# Run directly with uvx (no installation needed)
|
|
66
|
+
uvx agent-skill-manager
|
|
67
|
+
|
|
68
|
+
# Or run specific commands
|
|
69
|
+
uvx --from agent-skill-manager sm install
|
|
70
|
+
uvx --from agent-skill-manager sm list
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Other Installation Methods
|
|
51
74
|
|
|
75
|
+
```bash
|
|
52
76
|
# Using pip
|
|
53
77
|
pip install agent-skill-manager
|
|
54
78
|
|
|
55
|
-
# Using pipx (isolated
|
|
79
|
+
# Using pipx (isolated like uv tool)
|
|
56
80
|
pipx install agent-skill-manager
|
|
57
|
-
```
|
|
58
81
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
```bash
|
|
82
|
+
# From source (for development)
|
|
62
83
|
git clone https://github.com/ackness/skill-manager.git
|
|
63
84
|
cd skill-manager
|
|
64
85
|
uv sync
|
|
@@ -101,6 +122,7 @@ sm uninstall # Uninstall a skill (safe delete)
|
|
|
101
122
|
| `sm update` | Update selected skills from GitHub |
|
|
102
123
|
| `sm update --all` | Update all GitHub-sourced skills |
|
|
103
124
|
| `sm list` | Show installed skills with versions |
|
|
125
|
+
| `sm --version` / `sm -v` | Show version information |
|
|
104
126
|
|
|
105
127
|
## Usage Examples
|
|
106
128
|
|
|
@@ -5,7 +5,7 @@ This package provides functionality to download, deploy, and manage
|
|
|
5
5
|
skills across different AI agent platforms.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
__version__ = "0.1.
|
|
8
|
+
__version__ = "0.1.3"
|
|
9
9
|
|
|
10
10
|
from .agents import AGENTS, detect_existing_agents, get_agent_name, get_agent_path
|
|
11
11
|
from .deployment import (
|
|
@@ -27,6 +27,7 @@ from rich.panel import Panel
|
|
|
27
27
|
from rich.progress import Progress, SpinnerColumn, TextColumn
|
|
28
28
|
from rich.table import Table
|
|
29
29
|
|
|
30
|
+
from . import __version__
|
|
30
31
|
from .agents import AGENTS, detect_existing_agents, get_agent_name, get_agent_path
|
|
31
32
|
from .deployment import (
|
|
32
33
|
deploy_multiple_skills,
|
|
@@ -1128,10 +1129,15 @@ def main() -> int:
|
|
|
1128
1129
|
Returns:
|
|
1129
1130
|
Exit code
|
|
1130
1131
|
"""
|
|
1132
|
+
# Handle version flag
|
|
1133
|
+
if len(sys.argv) > 1 and sys.argv[1] in ("--version", "-v", "version"):
|
|
1134
|
+
console.print(f"[cyan]agent-skill-manager[/cyan] version [bold]{__version__}[/bold]")
|
|
1135
|
+
return 0
|
|
1136
|
+
|
|
1131
1137
|
if len(sys.argv) < 2:
|
|
1132
1138
|
console.print(
|
|
1133
1139
|
Panel.fit(
|
|
1134
|
-
"[bold cyan]Skill Manager[/bold cyan]\n\n"
|
|
1140
|
+
f"[bold cyan]Skill Manager[/bold cyan] [dim]v{__version__}[/dim]\n\n"
|
|
1135
1141
|
"Usage:\n"
|
|
1136
1142
|
" sm download - Download a skill from GitHub\n"
|
|
1137
1143
|
" sm deploy - Deploy local skills to agents\n"
|
|
@@ -1140,7 +1146,8 @@ def main() -> int:
|
|
|
1140
1146
|
" sm restore - Restore deleted skills from trash\n"
|
|
1141
1147
|
" sm update - Update skills from GitHub\n"
|
|
1142
1148
|
" sm update --all - Update all skills from GitHub\n"
|
|
1143
|
-
" sm list - List installed skills and versions\n
|
|
1149
|
+
" sm list - List installed skills and versions\n"
|
|
1150
|
+
" sm --version - Show version information\n\n"
|
|
1144
1151
|
"[dim]Note: You can also use 'skill-manager' instead of 'sm'[/dim]",
|
|
1145
1152
|
border_style="cyan",
|
|
1146
1153
|
)
|
|
@@ -1166,7 +1173,7 @@ def main() -> int:
|
|
|
1166
1173
|
return cmd_list()
|
|
1167
1174
|
else:
|
|
1168
1175
|
console.print(f"[red]Unknown command: {command}[/red]")
|
|
1169
|
-
console.print("Available commands: download, deploy, install, uninstall, restore, update, list")
|
|
1176
|
+
console.print("Available commands: download, deploy, install, uninstall, restore, update, list, --version")
|
|
1170
1177
|
return 1
|
|
1171
1178
|
except KeyboardInterrupt:
|
|
1172
1179
|
console.print("\n[yellow]Cancelled[/yellow]")
|
|
@@ -1,378 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: skill-manager
|
|
3
|
-
description: Manage AI agent skills - download from GitHub, deploy to multiple agents, update, uninstall with safe deletion, and track versions. Use when users want to install, manage, or update skills for AI coding assistants like Claude Code, Cursor, Windsurf, etc.
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: Requires Python 3.13+, uv or rye package manager, internet access for GitHub downloads
|
|
6
|
-
metadata:
|
|
7
|
-
author: ackness
|
|
8
|
-
version: "0.1.0"
|
|
9
|
-
repository: https://github.com/ackness/skill-manager
|
|
10
|
-
pypi: agent-skill-manager
|
|
11
|
-
platforms:
|
|
12
|
-
- windows
|
|
13
|
-
- linux
|
|
14
|
-
- macos
|
|
15
|
-
allowed-tools: Bash(uv:*) Bash(git:*) Read Write
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
# Skill Manager
|
|
19
|
-
|
|
20
|
-
A comprehensive CLI tool for managing AI agent skills across multiple platforms. Supports downloading skills from GitHub, deploying to various AI agents, version tracking, safe deletion with recovery, and automatic updates.
|
|
21
|
-
|
|
22
|
-
## Supported AI Agents
|
|
23
|
-
|
|
24
|
-
- Claude Code
|
|
25
|
-
- Cursor
|
|
26
|
-
- Windsurf
|
|
27
|
-
- OpenCode
|
|
28
|
-
- Copilot
|
|
29
|
-
- Goose
|
|
30
|
-
- Gemini CLI
|
|
31
|
-
- Roo Code
|
|
32
|
-
- Kilo Code
|
|
33
|
-
- Amp
|
|
34
|
-
- Codex
|
|
35
|
-
- Antigravity
|
|
36
|
-
- Clawdbot
|
|
37
|
-
- Droid
|
|
38
|
-
|
|
39
|
-
## Installation
|
|
40
|
-
|
|
41
|
-
### Quick Run (No Installation Required)
|
|
42
|
-
|
|
43
|
-
Run directly with uvx without installing (perfect for one-time use or testing):
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
# Show help menu
|
|
47
|
-
uvx agent-skill-manager
|
|
48
|
-
|
|
49
|
-
# Run specific commands
|
|
50
|
-
uvx --from agent-skill-manager sm install
|
|
51
|
-
uvx --from agent-skill-manager sm list
|
|
52
|
-
uvx --from agent-skill-manager sm update --all
|
|
53
|
-
|
|
54
|
-
# Create a shell alias for convenience
|
|
55
|
-
alias sm="uvx --from agent-skill-manager sm"
|
|
56
|
-
# Now use it like: sm install, sm list, etc.
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
**Benefits of uvx:**
|
|
60
|
-
- No installation needed
|
|
61
|
-
- Always uses the latest version from PyPI
|
|
62
|
-
- Isolated environment (no conflicts)
|
|
63
|
-
- Perfect for CI/CD or automated scripts
|
|
64
|
-
|
|
65
|
-
### Permanent Installation
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
# Install from PyPI with uv (recommended)
|
|
69
|
-
uv tool install agent-skill-manager
|
|
70
|
-
|
|
71
|
-
# Install from PyPI with pip
|
|
72
|
-
pip install agent-skill-manager
|
|
73
|
-
|
|
74
|
-
# Or install from source
|
|
75
|
-
git clone https://github.com/ackness/skill-manager.git
|
|
76
|
-
cd skill-manager
|
|
77
|
-
uv sync
|
|
78
|
-
uv pip install -e .
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
After installation, the `sm` command will be available globally.
|
|
82
|
-
|
|
83
|
-
## Commands Overview
|
|
84
|
-
|
|
85
|
-
### Download Skills
|
|
86
|
-
```bash
|
|
87
|
-
sm download
|
|
88
|
-
```
|
|
89
|
-
Downloads a skill from GitHub to local storage. Saves metadata for version tracking and future updates.
|
|
90
|
-
|
|
91
|
-
**When to use:** When you want to save a skill locally without deploying it yet.
|
|
92
|
-
|
|
93
|
-
**Interactive prompts:**
|
|
94
|
-
- GitHub URL of the skill
|
|
95
|
-
- Whether to save to local skills/ directory
|
|
96
|
-
- Category for organization (optional)
|
|
97
|
-
|
|
98
|
-
### Deploy Skills
|
|
99
|
-
```bash
|
|
100
|
-
sm deploy
|
|
101
|
-
```
|
|
102
|
-
Deploys skills from your local `skills/` directory to selected AI agents.
|
|
103
|
-
|
|
104
|
-
**When to use:** When you have local skills ready to deploy to agents.
|
|
105
|
-
|
|
106
|
-
**Interactive prompts:**
|
|
107
|
-
- Deployment location (global/project)
|
|
108
|
-
- Target agents
|
|
109
|
-
- Skills to deploy
|
|
110
|
-
|
|
111
|
-
### Install Skills
|
|
112
|
-
```bash
|
|
113
|
-
sm install
|
|
114
|
-
```
|
|
115
|
-
Combined operation: downloads from GitHub and deploys to agents in one step.
|
|
116
|
-
|
|
117
|
-
**When to use:** When you want to quickly install a skill from GitHub to your agents.
|
|
118
|
-
|
|
119
|
-
**Interactive prompts:**
|
|
120
|
-
- GitHub URL
|
|
121
|
-
- Whether to save locally
|
|
122
|
-
- Category (if saving locally)
|
|
123
|
-
- Whether to deploy
|
|
124
|
-
- Target agents and deployment location
|
|
125
|
-
|
|
126
|
-
### Update Skills
|
|
127
|
-
```bash
|
|
128
|
-
# Update selected skills
|
|
129
|
-
sm update
|
|
130
|
-
|
|
131
|
-
# Update all skills with GitHub metadata
|
|
132
|
-
sm update --all
|
|
133
|
-
```
|
|
134
|
-
Updates skills from their GitHub sources. Only works for skills installed via `sm install` or with saved metadata.
|
|
135
|
-
|
|
136
|
-
**When to use:** When you want to get the latest version of installed skills.
|
|
137
|
-
|
|
138
|
-
**Features:**
|
|
139
|
-
- Automatic backup before update
|
|
140
|
-
- Rollback on failure
|
|
141
|
-
- Updates metadata timestamps
|
|
142
|
-
- Shows version information
|
|
143
|
-
|
|
144
|
-
### Uninstall Skills
|
|
145
|
-
```bash
|
|
146
|
-
sm uninstall
|
|
147
|
-
```
|
|
148
|
-
Removes skills from agents with two deletion modes:
|
|
149
|
-
- **Safe delete (default):** Moves to `.trash` with timestamp for recovery
|
|
150
|
-
- **Hard delete:** Permanent removal
|
|
151
|
-
|
|
152
|
-
**When to use:** When you want to remove skills from agents.
|
|
153
|
-
|
|
154
|
-
**Interactive prompts:**
|
|
155
|
-
- Deployment type
|
|
156
|
-
- Target agents
|
|
157
|
-
- Skills to remove
|
|
158
|
-
- Deletion type (safe/hard)
|
|
159
|
-
|
|
160
|
-
### Restore Skills
|
|
161
|
-
```bash
|
|
162
|
-
sm restore
|
|
163
|
-
```
|
|
164
|
-
Restores previously deleted skills from trash.
|
|
165
|
-
|
|
166
|
-
**When to use:** When you accidentally deleted a skill or want to recover it.
|
|
167
|
-
|
|
168
|
-
**Interactive prompts:**
|
|
169
|
-
- Deployment type
|
|
170
|
-
- Target agents
|
|
171
|
-
- Skills to restore (shows deletion timestamp)
|
|
172
|
-
|
|
173
|
-
### List Skills
|
|
174
|
-
```bash
|
|
175
|
-
sm list
|
|
176
|
-
```
|
|
177
|
-
Shows all installed skills with version information across agents.
|
|
178
|
-
|
|
179
|
-
**When to use:** When you want to see what skills are installed and their versions.
|
|
180
|
-
|
|
181
|
-
**Displays:**
|
|
182
|
-
- Skill names
|
|
183
|
-
- Version/update timestamp
|
|
184
|
-
- Source (GitHub/Local)
|
|
185
|
-
- GitHub URL (for updatable skills)
|
|
186
|
-
- Organized by agent
|
|
187
|
-
|
|
188
|
-
## Directory Structure
|
|
189
|
-
|
|
190
|
-
### Global Installation
|
|
191
|
-
Skills installed globally are available to all projects:
|
|
192
|
-
```
|
|
193
|
-
~/.claude/skills/ # Claude Code
|
|
194
|
-
~/.cursor/skills/ # Cursor
|
|
195
|
-
~/.codeium/windsurf/skills/ # Windsurf
|
|
196
|
-
# ... other agents
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
### Project Installation
|
|
200
|
-
Skills installed at project level are only available in that project:
|
|
201
|
-
```
|
|
202
|
-
project-root/
|
|
203
|
-
.claude/skills/
|
|
204
|
-
.cursor/skills/
|
|
205
|
-
# ... other agents
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### Metadata Storage
|
|
209
|
-
Each skill installed from GitHub includes metadata:
|
|
210
|
-
```
|
|
211
|
-
skill-name/
|
|
212
|
-
SKILL.md
|
|
213
|
-
.skill_metadata.json # Contains GitHub source, timestamps
|
|
214
|
-
# ... skill files
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
### Trash Storage
|
|
218
|
-
Safely deleted skills are stored with timestamps:
|
|
219
|
-
```
|
|
220
|
-
~/.claude/
|
|
221
|
-
skills/ # Active skills
|
|
222
|
-
.trash/ # Deleted skills
|
|
223
|
-
20260120_143052/ # Timestamp directory
|
|
224
|
-
skill-name/
|
|
225
|
-
.trash_metadata # Deletion info
|
|
226
|
-
# ... skill files
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
## Version Tracking
|
|
230
|
-
|
|
231
|
-
The tool uses two methods for version identification:
|
|
232
|
-
|
|
233
|
-
1. **GitHub Metadata** (for installed skills):
|
|
234
|
-
- Tracks installation and update timestamps
|
|
235
|
-
- Stores repository information
|
|
236
|
-
- Enables automatic updates
|
|
237
|
-
- Format: ISO 8601 timestamp
|
|
238
|
-
|
|
239
|
-
2. **File Modification Time** (for local skills):
|
|
240
|
-
- Uses SKILL.md modification time
|
|
241
|
-
- Fallback for skills without metadata
|
|
242
|
-
- Format: YYYY-MM-DD HH:MM:SS
|
|
243
|
-
|
|
244
|
-
## Examples
|
|
245
|
-
|
|
246
|
-
### Install a skill from GitHub
|
|
247
|
-
|
|
248
|
-
With uvx (no installation needed):
|
|
249
|
-
```bash
|
|
250
|
-
uvx --from agent-skill-manager sm install
|
|
251
|
-
# Enter URL: https://github.com/user/repo/tree/main/skills/example-skill
|
|
252
|
-
# Save locally? Yes
|
|
253
|
-
# Category: productivity
|
|
254
|
-
# Deploy? Yes
|
|
255
|
-
# Select agents: Claude Code, Cursor
|
|
256
|
-
# Deployment: Global
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
Or with installed version:
|
|
260
|
-
```bash
|
|
261
|
-
sm install
|
|
262
|
-
# Follow the same prompts as above
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
### Update all skills
|
|
266
|
-
```bash
|
|
267
|
-
sm update --all
|
|
268
|
-
# Selects all agents with GitHub-sourced skills
|
|
269
|
-
# Downloads latest versions
|
|
270
|
-
# Updates metadata timestamps
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
### List installed skills
|
|
274
|
-
```bash
|
|
275
|
-
sm list
|
|
276
|
-
# Shows table for each agent:
|
|
277
|
-
# Skill Name | Version/Updated | Source | GitHub URL
|
|
278
|
-
```
|
|
279
|
-
|
|
280
|
-
### Uninstall with safe delete
|
|
281
|
-
```bash
|
|
282
|
-
sm uninstall
|
|
283
|
-
# Select skills to remove
|
|
284
|
-
# Choose "Safe delete"
|
|
285
|
-
# Skills moved to .trash with timestamp
|
|
286
|
-
# Can be restored later with sm restore
|
|
287
|
-
```
|
|
288
|
-
|
|
289
|
-
## Best Practices
|
|
290
|
-
|
|
291
|
-
1. **Use safe delete by default** - You can always restore if needed
|
|
292
|
-
2. **Update regularly** - Run `sm update --all` periodically for bug fixes and improvements
|
|
293
|
-
3. **Save skills locally** - Keep a local copy in `skills/` for backup
|
|
294
|
-
4. **Organize with categories** - Use categories when saving locally for better organization
|
|
295
|
-
5. **Check versions** - Use `sm list` to see what's installed and outdated
|
|
296
|
-
|
|
297
|
-
## Troubleshooting
|
|
298
|
-
|
|
299
|
-
### Command not found: sm
|
|
300
|
-
Reinstall the package:
|
|
301
|
-
```bash
|
|
302
|
-
uv pip install -e .
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
### GitHub download fails
|
|
306
|
-
- Check internet connection
|
|
307
|
-
- Verify the GitHub URL is correct
|
|
308
|
-
- Ensure the URL points to a directory, not a file
|
|
309
|
-
- Check if the repository is public
|
|
310
|
-
|
|
311
|
-
### Skill not showing in agent
|
|
312
|
-
- Verify the agent is running
|
|
313
|
-
- Check deployment location (global vs project)
|
|
314
|
-
- Ensure the skill has a valid SKILL.md file
|
|
315
|
-
- Restart the agent if necessary
|
|
316
|
-
|
|
317
|
-
### Update fails
|
|
318
|
-
- The tool automatically restores from backup
|
|
319
|
-
- Check if the GitHub repository still exists
|
|
320
|
-
- Verify internet connection
|
|
321
|
-
- Try reinstalling: `sm uninstall` then `sm install`
|
|
322
|
-
|
|
323
|
-
## Technical Details
|
|
324
|
-
|
|
325
|
-
### Metadata Format
|
|
326
|
-
```json
|
|
327
|
-
{
|
|
328
|
-
"source": "github",
|
|
329
|
-
"github_url": "https://github.com/...",
|
|
330
|
-
"owner": "user",
|
|
331
|
-
"repo": "repo-name",
|
|
332
|
-
"branch": "main",
|
|
333
|
-
"path": "skills/skill-name",
|
|
334
|
-
"installed_at": "2026-01-20T14:30:52.123456+00:00",
|
|
335
|
-
"updated_at": "2026-01-20T14:30:52.123456+00:00"
|
|
336
|
-
}
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
### Agent Configuration
|
|
340
|
-
Each agent has defined paths for:
|
|
341
|
-
- **project**: Skills directory within current project
|
|
342
|
-
- **global**: User-wide skills directory
|
|
343
|
-
- See `src/skill_manager/agents.py` for complete mapping
|
|
344
|
-
|
|
345
|
-
### Update Process
|
|
346
|
-
1. Read skill metadata to get GitHub source
|
|
347
|
-
2. Download updated version to temporary location
|
|
348
|
-
3. Create backup of current version
|
|
349
|
-
4. Remove current version
|
|
350
|
-
5. Move updated version to skill location
|
|
351
|
-
6. Update metadata timestamp
|
|
352
|
-
7. Clean up temporary files
|
|
353
|
-
8. On failure: restore from backup
|
|
354
|
-
|
|
355
|
-
## Development
|
|
356
|
-
|
|
357
|
-
To add support for a new AI agent:
|
|
358
|
-
|
|
359
|
-
1. Edit `src/skill_manager/agents.py`
|
|
360
|
-
2. Add agent configuration:
|
|
361
|
-
```python
|
|
362
|
-
"agent-id": {
|
|
363
|
-
"name": "Agent Name",
|
|
364
|
-
"project": ".agent/skills/",
|
|
365
|
-
"global": "~/.agent/skills/",
|
|
366
|
-
}
|
|
367
|
-
```
|
|
368
|
-
3. Test with `sm list` to verify detection
|
|
369
|
-
|
|
370
|
-
## Related Resources
|
|
371
|
-
|
|
372
|
-
- Agent Skills Specification: https://agentskills.io/specification
|
|
373
|
-
- Report Issues: https://github.com/ackness/skill-manager/issues
|
|
374
|
-
- Skill Registry: https://agentskills.io
|
|
375
|
-
|
|
376
|
-
## License
|
|
377
|
-
|
|
378
|
-
MIT License - See LICENSE file for details
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|