Skills Manager

repository·main·Indexed 25 days ago

https://github.com/xingkongliang/skills-manager

A unified management application for AI agent skills (v1.28.3) that allows developers to centralize, sync, and deploy skills across tools like Cursor, Claude Code, GitHub Copilot, and Windsurf. It features a Git-backed synchronization system, support for global and project-local workspaces, and a CLI for managing skill libraries and presets. Users can install skills from local folders, Git repositories, or the skills.sh marketplace, and synchronize data across devices via GitHub.

Tokens
20.7K
Snippets
28
Records
183
Agent score
67%

What's inside skills-manager

  1. Overview of Skills Manager

    main
    Skills Manager is a unified application for managing 'Skills' across various AI coding tools. It provides a centralized library, allows grouping skills into reusable Presets, and supports multi-device synchronization via Git. It manages skills for both global Agent directories and project-specific local directories.
  2. Manage Skill Workspaces

    main

    Skills Manager organizes skills into different scopes:

    • Library: The central repository of all installed skills (defaults to ~/.skills-manager).
    • Global Workspace: Manages per-agent global skills (e.g., ~/.claude/skills/). It shows all skills currently visible to the agent, including those installed outside of Skills Manager.
    • Project Workspace: Manages skills located within a specific project directory (e.g., <project>/.claude/skills/). These skills are scoped only to that project.
    • Linked Workspace: Allows you to point to any arbitrary directory as a skills root. These act as standalone workspaces and do not participate in global preset sync.
  3. Optimize application startup and scanning performance

    main

    Version 1.28.2 introduced performance improvements to reduce startup lag and UI stuttering:

    • Background Scanning: Skill directory scanning for agents is now performed in the background after the window appears, rather than blocking the initial startup.
    • Efficient Traversal: Project and workspace scanning now performs a single recursive traversal per skill instead of two.
    • Reduced File Monitoring Overhead: The file monitor uses a monotonic clock and content hashing to prevent redundant full refreshes caused by the application's own write operations.
  4. Manage Custom Agents and Path Overrides

    main
    Version 1.11.0 introduced support for Custom Agents. You can add, configure, and remove user-defined Agents, including setting custom skills directories. Additionally, you can use built-in Agent path overrides to assign a custom skills directory to any existing built-in Agent.
  5. Install and manage skills via skills-manager-cli

    main

    The skills-manager-cli manages a central skill library at ~/.skills-manager/skills/ that is shared across all installed agents (e.g., Claude Code, Cursor, Gemini CLI).

    Core Lifecycle:

    1. Install a skill into the central library.
    2. Add the skill to a Preset (a named group of skills).
    3. Sync the preset to all enabled agents (via symlink or copy).

    Shortcut: Use skills install <ref> --sync to perform all three steps at once (install + add to active preset + sync).

    Important for Automation:

    • Always use the --json flag when parsing output.
    • Errors are returned as {"ok": false, "error": "..."} on stderr with a non-zero exit code.
    • Verify installations using skills list or skills show <name>.
  6. Connect via GitHub Login

    main

    The preferred method for connecting a backup is using GitHub login, which eliminates the need for manual repository creation or Personal Access Tokens (PAT).

    1. Navigate to the Backup page.
    2. Select the GitHub login option.
    3. Enter the 8-digit code provided in the application into your browser.
    4. The application will automatically create a private repository named skills-manager-backup (this name is configurable) and handle the rest.

    Credentials are stored securely in your system's keychain and are never exposed in files or to the application itself.

  7. Manage skills via Presets in CLI

    main

    In version 1.20.0, skill activation and deactivation moved from individual skill flags to preset membership. Instead of using skills enable or skills disable (which are now deprecated), use the following commands to manage which skills are synced to an Agent via a preset:

    • presets add-skill: Add a skill to a preset.
    • presets remove-skill: Remove a skill from a preset.
    • presets deactivate: Deactivate a preset and revoke its sync targets. (Aliases: close, stop, off, disable).

    If you deactivate the currently active preset, the system will automatically apply an alternative preset. If a different preset is deactivated, the system will re-sync the currently active preset to ensure shared skills remain in the Agent directory.

  8. Use Presets to Group and Activate Skills

    main

    A Preset is a named collection of Skills. You can use Presets to quickly activate or deactivate a group of skills for a specific Agent or workspace:

    • Activate: Adds all Skills in the Preset to the selected Agent.
    • Deactivate: Removes all Skills in the Preset from the selected Agent.

    Note: Applying a Preset is a one-time copy operation, not a real-time continuous sync.

  9. Manage Scenarios and Sync Settings

    main

    Introduced in version 1.0.0, the following management features are available:

    • Scenario Management: Create, rename, delete, and switch between different scenarios.
    • Sync Configuration: Configure sync modes and enable automatic scenario synchronization on startup.
    • Theme Support: Light and dark themes that follow system preferences.
  10. Use Symlink or Junction Mode on Windows

    main

    In version 1.23.1 and later, Windows users can use efficient linking modes without needing Administrator privileges or Developer Mode enabled.

    If the system cannot create a true symbolic link, Skills Manager will automatically fall back to using a Directory Junction instead of performing a full file copy. Junctions provide real-time synchronization with the central library similar to symlinks but do not require special permissions on NTFS volumes.

    Note: If a skill was previously synced using the 'copy' method (due to older versions or WSL paths), you must manually trigger a re-sync or update the skill to switch it to the junction/symlink mode.

  11. Use Personal Access Tokens (PAT) for Advanced Backup Configuration

    main

    If you prefer using a Personal Access Token or require an alternative network setup, you can use the '高级' (Advanced) section in the Backup panel.

    • Setup: Provide your PAT in the advanced settings.
    • Automation: The application will automatically complete the repository setup.
    • Support: A link to create a token with the required permissions is provided within the interface. This is recommended if you encounter network errors during standard GitHub login.
  12. Enable Long Path support on Windows

    main
    Starting with version 1.28.3, the application includes a custom app manifest that enables 'Long Path Awareness' on Windows. This allows installing skills located in deeply nested directory structures without encountering path too long errors, provided that LongPathsEnabled is enabled in the Windows OS.