agent-skill-manager 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agent-skill-manager
3
- Version: 0.2.0
3
+ Version: 0.2.1
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
@@ -199,8 +199,8 @@ sm agents # List all supported agents
199
199
  | `-a, --agent AGENT` | Target agent(s), can be specified multiple times |
200
200
  | `-t, --type TYPE` | Deployment type: `global` (default) or `project` |
201
201
  | `-d, --dest PATH` | Custom destination directory for downloads |
202
- | `--symlink` | Use symlinks instead of copying files |
203
- | `--discover` | Discover and install all skills in repository |
202
+ | `--no-symlink` | Disable symlinks, copy files instead (symlinks on by default) |
203
+ | `--no-discover` | Disable auto-discovery (on by default) |
204
204
  | `--no-deploy` | Download only, skip deployment |
205
205
  | `-y, --yes` | Skip confirmation prompts |
206
206
 
@@ -209,19 +209,21 @@ sm agents # List all supported agents
209
209
  ### Install all skills from a repository
210
210
 
211
211
  ```bash
212
- # Discover and install all skills from a repository
213
- sm install https://github.com/cloudflare/skills --discover -a windsurf -a cursor
212
+ # Install all skills from a repo (auto-discovery and symlinks enabled by default)
213
+ sm install https://github.com/cloudflare/skills -a windsurf -a cursor
214
214
 
215
- # Use symlinks to save disk space (single source, multiple agents)
216
- sm install https://github.com/cloudflare/skills --discover --symlink -a windsurf
217
- ```
218
-
219
- ### Install a single skill with CLI options
215
+ # Use symlinks to save disk space (enabled by default, use --no-symlink to disable)
216
+ sm install https://github.com/cloudflare/skills -a claude-code
220
217
 
221
- ```bash
222
218
  # Full CLI mode - no prompts
223
219
  sm install https://github.com/user/repo/tree/main/skills/my-skill -a claude-code -t global
224
220
 
221
+ # Disable auto-discovery to install only the specific path
222
+ sm install https://github.com/user/repo/tree/main/skills/my-skill --no-discover -a cursor
223
+
224
+ # Disable symlinks, copy files instead
225
+ sm install https://github.com/cloudflare/skills --no-symlink -a windsurf
226
+
225
227
  # Download to custom location
226
228
  sm install https://github.com/user/repo/tree/main/skills/my-skill -d ./my-skills -a cursor
227
229
  ```
@@ -275,8 +277,11 @@ sm restore
275
277
  Symlinks allow you to maintain a single copy of skills while deploying to multiple agents:
276
278
 
277
279
  ```bash
278
- # Download skills to a central location and symlink to agents
279
- sm install https://github.com/cloudflare/skills --discover -d ~/skills --symlink -a windsurf -a cursor -a claude-code
280
+ # Download skills to a central location and symlink to agents (default behavior)
281
+ sm install https://github.com/cloudflare/skills -d ~/skills -a windsurf -a cursor -a claude-code
282
+
283
+ # Disable symlinks if needed
284
+ sm install https://github.com/cloudflare/skills --no-symlink -a windsurf
280
285
  ```
281
286
 
282
287
  > [!NOTE]
@@ -1,12 +1,12 @@
1
- skill_manager/__init__.py,sha256=GrUMVTBjFlrDShb812PAYjFLsK4myiLv6DUXJcyjHZs,2137
1
+ skill_manager/__init__.py,sha256=l5Bfi0z6Vd5LEtgjsbP-zOYBifhKUWQGsj8DhzeTdFE,2137
2
2
  skill_manager/agents.py,sha256=fGdYBREM5Kw_Djx8z_0pbe2V_-mSYngZRdJ86s8W-PU,8157
3
- skill_manager/cli.py,sha256=eqI9qa9Iq4gzyqXRGfsT_uyxk3AajmTCSdN9indEqqY,55564
3
+ skill_manager/cli.py,sha256=4wbQFY0AUK81MFMQ7BXje2QPsJH7yMd12Y-rHgAvaDk,55647
4
4
  skill_manager/deployment.py,sha256=YitXCJO8tje2mq34qS9qyxDrfQJbth9GiM3-3UPWT8I,10878
5
5
  skill_manager/github.py,sha256=n2A6zId3T4lR-C5JKF9OTPQ9ptnnCWsWL2C8s2ziB2I,9232
6
6
  skill_manager/metadata.py,sha256=PZrKsGMyBDEqrV93lXlc5z9xXRxxI24FhSHmWCvXltU,3503
7
7
  skill_manager/removal.py,sha256=WeVdTszBVX8shnVP_ueuAAuZOYjoSHLNDfNCR1haakc,8042
8
8
  skill_manager/validation.py,sha256=fRUJDs4TiuKlH3doey31SPJfe671JJQcBFSAhJwoSIE,1970
9
- agent_skill_manager-0.2.0.dist-info/METADATA,sha256=LzXAjCX67GUeOwUErW7-YI9xoDijv5ENP3kFee4w5BA,12428
10
- agent_skill_manager-0.2.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
11
- agent_skill_manager-0.2.0.dist-info/entry_points.txt,sha256=ac3L07OC98p1llk259d9PUhDp-cl3ifV2nmYHGb3WO8,85
12
- agent_skill_manager-0.2.0.dist-info/RECORD,,
9
+ agent_skill_manager-0.2.1.dist-info/METADATA,sha256=HJLy4t8RMzAk4QJzO8slQ2zuE-iZnFjVIDOtLqn7Y_Q,12776
10
+ agent_skill_manager-0.2.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
11
+ agent_skill_manager-0.2.1.dist-info/entry_points.txt,sha256=ac3L07OC98p1llk259d9PUhDp-cl3ifV2nmYHGb3WO8,85
12
+ agent_skill_manager-0.2.1.dist-info/RECORD,,
skill_manager/__init__.py CHANGED
@@ -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.2.0"
8
+ __version__ = "0.2.1"
9
9
 
10
10
  from .agents import AGENTS, detect_existing_agents, get_agent_name, get_agent_path, supports_global_deployment
11
11
  from .deployment import (
skill_manager/cli.py CHANGED
@@ -88,8 +88,10 @@ def create_parser() -> argparse.ArgumentParser:
88
88
  "-t", "--type", choices=["global", "project"], default="global", help="Deployment type (default: global)"
89
89
  )
90
90
  install_parser.add_argument("-d", "--dest", type=Path, help="Destination directory for downloaded skills")
91
- install_parser.add_argument("--symlink", action="store_true", help="Use symlinks instead of copying")
92
- install_parser.add_argument("--discover", action="store_true", help="Discover and install all skills in a repository")
91
+ install_parser.add_argument("--no-symlink", action="store_true", help="Disable symlinks, copy files instead")
92
+ install_parser.add_argument(
93
+ "--no-discover", action="store_true", help="Disable auto-discovery, install only the specified path"
94
+ )
93
95
  install_parser.add_argument("--no-deploy", action="store_true", help="Download only, do not deploy")
94
96
  install_parser.add_argument("-y", "--yes", action="store_true", help="Skip confirmation prompts")
95
97
 
@@ -97,7 +99,9 @@ def create_parser() -> argparse.ArgumentParser:
97
99
  download_parser = subparsers.add_parser("download", help="Download skills from GitHub")
98
100
  download_parser.add_argument("url", nargs="?", help="GitHub URL of the skill or repository")
99
101
  download_parser.add_argument("-d", "--dest", type=Path, help="Destination directory")
100
- download_parser.add_argument("--discover", action="store_true", help="Discover all skills in a repository")
102
+ download_parser.add_argument(
103
+ "--no-discover", action="store_true", help="Disable auto-discovery, download only the specified path"
104
+ )
101
105
  download_parser.add_argument("-y", "--yes", action="store_true", help="Skip confirmation prompts")
102
106
 
103
107
  # Deploy command
@@ -105,7 +109,7 @@ def create_parser() -> argparse.ArgumentParser:
105
109
  deploy_parser.add_argument("skills", nargs="*", help="Skill names or paths to deploy")
106
110
  deploy_parser.add_argument("-a", "--agent", action="append", dest="agents", help="Target agent(s)")
107
111
  deploy_parser.add_argument("-t", "--type", choices=["global", "project"], default="global", help="Deployment type")
108
- deploy_parser.add_argument("--symlink", action="store_true", help="Use symlinks instead of copying")
112
+ deploy_parser.add_argument("--no-symlink", action="store_true", help="Disable symlinks, copy files instead")
109
113
  deploy_parser.add_argument("-y", "--yes", action="store_true", help="Skip confirmation prompts")
110
114
 
111
115
  # Discover command
@@ -1334,7 +1338,7 @@ def cmd_install_cli(args: argparse.Namespace) -> int:
1334
1338
 
1335
1339
  url = args.url
1336
1340
  deployment_type = args.type
1337
- use_symlink = args.symlink
1341
+ use_symlink = not args.no_symlink
1338
1342
  skip_deploy = args.no_deploy
1339
1343
  # auto_confirm = args.yes # Reserved for future use
1340
1344
 
@@ -1363,7 +1367,7 @@ def cmd_install_cli(args: argparse.Namespace) -> int:
1363
1367
  use_symlink = False
1364
1368
 
1365
1369
  # Discover skills if requested
1366
- if args.discover:
1370
+ if not args.no_discover:
1367
1371
  with Progress(
1368
1372
  SpinnerColumn(),
1369
1373
  TextColumn("[progress.description]{task.description}"),
@@ -1537,7 +1541,7 @@ def cmd_download_cli(args: argparse.Namespace) -> int:
1537
1541
  console.print(f"[dim]Download location: {dest_dir}[/dim]\n")
1538
1542
 
1539
1543
  # Discover skills if requested
1540
- if args.discover:
1544
+ if not args.no_discover:
1541
1545
  with Progress(
1542
1546
  SpinnerColumn(),
1543
1547
  TextColumn("[progress.description]{task.description}"),
@@ -1637,10 +1641,10 @@ def main() -> int:
1637
1641
  "[bold]CLI Options:[/bold]\n"
1638
1642
  " -a, --agent AGENT - Target agent(s)\n"
1639
1643
  " -t, --type TYPE - Deployment type (global/project)\n"
1640
- " --symlink - Use symlinks instead of copying\n"
1641
- " --discover - Discover all skills in repository\n"
1644
+ " --no-symlink - Disable symlinks, copy files instead\n"
1645
+ " --no-discover - Disable auto-discovery\n"
1642
1646
  " -y, --yes - Skip confirmation prompts\n\n"
1643
- "[dim]Example: sm install https://github.com/cloudflare/skills --discover -a windsurf --symlink[/dim]",
1647
+ "[dim]Example: sm install https://github.com/cloudflare/skills -a windsurf -a cursor[/dim]",
1644
1648
  border_style="cyan",
1645
1649
  )
1646
1650
  )