Skip to main content

Install curated AI agent skills into any repository

Project description

ag-skill logo

ag-skill

A command-line tool for installing and managing curated AI agent skills in any repository.

Python 3.11+ License: MIT


This README covers only how to install and use the CLI.

Table of Contents

What ag-skill Does

With ag-skill, you can:

  • List available skills
  • Install one or more skills into the current repository
  • Remove installed skills
  • Upgrade installed skills
  • Scaffold a custom skill
  • Validate installed skills

Requirements

  • Python 3.11 or later
  • One of uv, pipx, or pip
  • A local repository you want to work in

Install

ag-skill is published on PyPI. Install it with uv (recommended), pipx, or pip:

uv tool install ag-skill
pipx install ag-skill
pip install ag-skill

Install from source (latest unreleased changes)

To install directly from the GitHub repository instead of PyPI:

uv tool install ag-skill --from git+https://github.com/snk-learn/ag-skill.git@main

Verify installation

ag-skill --help

If the command is not recognized after installation, restart the terminal and try again.

Upgrading ag-skill

If installed from PyPI:

uv tool upgrade ag-skill
pip install --upgrade ag-skill

If installed from the GitHub repository, reinstall with --force:

uv tool install ag-skill --from git+https://github.com/snk-learn/ag-skill.git@main --force

Quick Start

Open a terminal in the repository where you want to use ag-skill.

1. List available skills

ag-skill list

2. Install a skill into the current repository

ag-skill install <skill-name>

Example:

ag-skill install testing

Usage

Run all commands from the root of the repository you want to update.

List skills

Show all skills available in the catalog.

ag-skill list

Help:

ag-skill list --help

Install skills

Install one or more catalog skills into the current repository.

ag-skill install <skill-name>

Install multiple skills:

ag-skill install <skill-one> <skill-two>

Install all available skills:

ag-skill install --all

Install for a specific target:

ag-skill install <skill-name> --target copilot

Force overwrite existing installed skills:

ag-skill install <skill-name> --force

Install everything at once (all skills, all targets, overwriting existing ones):

ag-skill install --all --target all --force

Help:

ag-skill install --help

Supported install targets:

  • copilot
  • claude
  • cursor
  • all
  • comma-separated target values

Remove skills

Remove one or more installed skills.

ag-skill remove <skill-name>

Remove multiple skills:

ag-skill remove <skill-one> <skill-two>

Remove from a specific target:

ag-skill remove <skill-name> --target all

Help:

ag-skill remove --help

Upgrade installed skills

Upgrade installed skills to the latest catalog version.

ag-skill upgrade

Upgrade a specific target:

ag-skill upgrade --target all

Help:

ag-skill upgrade --help

Add a custom skill

Scaffold a new custom skill in the repository.

ag-skill add <skill-name>

Example:

ag-skill add my-custom-skill

Specify a target:

ag-skill add my-custom-skill --target copilot

Help:

ag-skill add --help

Validate installed skills

Validate installed skills against the supported spec.

ag-skill doctor

Help:

ag-skill doctor --help

Show version

ag-skill version

Help:

ag-skill version --help

CLI Help

Top-level help

ag-skill --help

Command help

ag-skill list --help
ag-skill install --help
ag-skill remove --help
ag-skill upgrade --help
ag-skill add --help
ag-skill doctor --help
ag-skill version --help

Common Examples

List skills:

ag-skill list

Install a skill:

ag-skill install testing

Install multiple skills:

ag-skill install testing docs ci

Install all skills:

ag-skill install --all

Install all skills for all targets, overwriting existing ones:

ag-skill install --all --target all --force

Remove a skill:

ag-skill remove testing

Upgrade installed skills:

ag-skill upgrade

Validate installed skills:

ag-skill doctor

Notes

  • Run ag-skill inside the repository you want to update.
  • Use ag-skill --help or <command> --help to see the latest supported options.
  • The install command installs catalog skills into a repository.
  • The add command scaffolds a new custom skill.

Docs


License

ag-skill is open source, released under the MIT License. Any use, distribution, or derivative work must credit ag-skill and reference its repository URL: https://github.com/snk-learn/ag-skill

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ag_skill-0.1.4.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ag_skill-0.1.4-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

Details for the file ag_skill-0.1.4.tar.gz.

File metadata

  • Download URL: ag_skill-0.1.4.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ag_skill-0.1.4.tar.gz
Algorithm Hash digest
SHA256 06b495fbf86355b0d3e550195ef297ecafe69314e73a930c4d70ead764a45112
MD5 be5303ea33224a3ed204f1cb7c8a7bcc
BLAKE2b-256 f12e7b2b750239b2fddbcf91895d7a24065337ddceeac4b8a7afc956674f4515

See more details on using hashes here.

File details

Details for the file ag_skill-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: ag_skill-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 43.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ag_skill-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 26b94abb606de71727a12ed0444fa859728323b1ad802d46ac6b7c598f4828d0
MD5 74a4d56286df880585398470ed2e6da0
BLAKE2b-256 720a94f74f241694d2087539d0f86737f4a2f9cef9aeebce71d499a1a2b101ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page