@@ -330,12 +330,6 @@ def _install_to(skills_dir: Path, skill_name: str, force: bool) -> Path:
330330 raise CLIError (f"{ exc } \n Re-run with --force to overwrite." ) from exc
331331
332332
333- _CLAUDE_FLAG_DEPRECATED = (
334- "`--claude` is deprecated and will be removed in a future release:"
335- " skills are always installed for Claude Code too."
336- )
337-
338-
339333def _create_symlink (agent_skills_dir : Path , skill_name : str , central_skill_path : Path , force : bool ) -> Path :
340334 """Create a relative symlink from agent directory to the central skill location."""
341335 agent_skills_dir = agent_skills_dir .expanduser ().resolve ()
@@ -429,10 +423,6 @@ def skills_add(
429423 str ,
430424 Argument (help = "Marketplace skill name." , show_default = False ),
431425 ] = DEFAULT_SKILL_ID ,
432- claude : Annotated [
433- bool ,
434- Option ("--claude" , help = "(Deprecated) No longer needed: skills are always installed for Claude Code too." ),
435- ] = False ,
436426 global_ : Annotated [
437427 bool ,
438428 Option (
@@ -463,8 +453,6 @@ def skills_add(
463453 The skill is also symlinked into Claude Code's skills directory (`.claude/skills` or `~/.claude/skills`,
464454 honoring `CLAUDE_CONFIG_DIR` when set), unless `--dest` is used.
465455 """
466- if claude :
467- out .warning (_CLAUDE_FLAG_DEPRECATED )
468456 if dest is not None :
469457 if global_ :
470458 raise CLIError ("--dest cannot be combined with --global." )
@@ -496,10 +484,6 @@ def skills_update(
496484 str | None ,
497485 Argument (help = "Optional installed skill name to update." , show_default = False ),
498486 ] = None ,
499- claude : Annotated [
500- bool ,
501- Option ("--claude" , help = "(Deprecated) No longer needed: skills are always installed for Claude Code too." ),
502- ] = False ,
503487 global_ : Annotated [
504488 bool ,
505489 Option (
@@ -516,8 +500,6 @@ def skills_update(
516500 ] = None ,
517501) -> None :
518502 """Update installed Hugging Face marketplace skills."""
519- if claude :
520- out .warning (_CLAUDE_FLAG_DEPRECATED )
521503 roots = _resolve_update_roots (global_ = global_ , dest = dest )
522504
523505 results = _skills .update_skills (roots , selector = name , hf_cli_content = build_skill_md ())
0 commit comments