All Toolsโ€บClaude Skills Manager
๐Ÿ”ง Claude AI Code EnhancementsMay 15, 2026โœ… Tests passing

Claude Skills Manager

A CLI tool to manage and deploy custom automation Skills using Claude AI. It allows AI developers to define, edit, and upload Skills configurations to the Claude API, streamlining the automation workflow.

What It Does

  • Validate Skill Configuration: Ensure your YAML skill configuration files are properly structured.
  • Deploy Skill Configuration: Upload your skill configuration to the Claude API for deployment.

Installation

  • Python 3.7+
  • pyyaml
  • requests
  • pytest (for testing)

Usage

Validate Skill Configuration

To validate a skill configuration file:

python claude_skills_manager.py validate --skill <path_to_skill_yaml>

Deploy Skill Configuration

To deploy a skill configuration file:

python claude_skills_manager.py deploy --skill <path_to_skill_yaml> --api-url <claude_api_url>

Source Code

import argparse
import yaml
import requests
import os

def validate_skill_config(skill_config):
    """Validate the structure of the skill configuration."""
    required_keys = ["name", "description", "triggers", "actions"]
    for key in required_keys:
        if key not in skill_config:
            raise ValueError(f"Missing required key: {key}")
    return True

def load_skill_config(file_path):
    """Load a skill configuration from a YAML file."""
    if not os.path.exists(file_path):
        raise FileNotFoundError(f"File not found: {file_path}")
    with open(file_path, 'r') as file:
        return yaml.safe_load(file)

def deploy_skill(skill_config, api_url):
    """Deploy the skill configuration to the Claude API."""
    try:
        response = requests.post(f"{api_url}/deploy", json=skill_config)
        response.raise_for_status()
        return response.json()
    except requests.RequestException as e:
        raise ConnectionError(f"Failed to deploy skill: {e}")

def main():
    parser = argparse.ArgumentParser(description="Claude Skills Manager")
    subparsers = parser.add_subparsers(dest="command", required=True)

    # Subparser for the 'validate' command
    validate_parser = subparsers.add_parser("validate", help="Validate a skill configuration YAML file.")
    validate_parser.add_argument("--skill", required=True, help="Path to the skill YAML file.")

    # Subparser for the 'deploy' command
    deploy_parser = subparsers.add_parser("deploy", help="Deploy a skill configuration to Claude AI.")
    deploy_parser.add_argument("--skill", required=True, help="Path to the skill YAML file.")
    deploy_parser.add_argument("--api-url", required=True, help="Claude API base URL.")

    args = parser.parse_args()

    try:
        if args.command == "validate":
            skill_config = load_skill_config(args.skill)
            validate_skill_config(skill_config)
            print("Skill configuration is valid.")

        elif args.command == "deploy":
            skill_config = load_skill_config(args.skill)
            validate_skill_config(skill_config)
            result = deploy_skill(skill_config, args.api_url)
            print("Skill deployed successfully:", result)

    except Exception as e:
        print(f"Error: {e}")

if __name__ == "__main__":
    main()

Community

Downloads

ยทยทยท

Rate this tool

No ratings yet โ€” be the first!

Details

Tool Name
claude_skills_manager
Category
Claude AI Code Enhancements
Generated
May 15, 2026
Tests
Passing โœ…
Fix Loops
2

Quick Install

Clone just this tool:

git clone --depth 1 --filter=blob:none --sparse \
  https://github.com/ptulin/autoaiforge.git
cd autoaiforge
git sparse-checkout set generated_tools/2026-05-15/claude_skills_manager
cd generated_tools/2026-05-15/claude_skills_manager
pip install -r requirements.txt 2>/dev/null || true
python claude_skills_manager.py