Skip to main content

Declarative agent skill manager for GitHub CLI skills.

Project description

🛠️ skeel

Declarative agent skill management.

skeel reads a desired-state manifest and applies it through gh skill.

✨ Features

  • Desired state: declare skill sources in one YAML file
  • Inventory, dry run, and diff: list manifest skill status, preview commands, and compare managed skills against what's installed locally
  • Add, apply, and update: edit desired state, reconcile installed skills with live progress, and update declared installed skills
  • Target flags: choose local or global scope from the CLI
  • JSON output: pass --json for one machine-readable object on stdout

🚀 Quickstart

Run skeel directly with uvx:

uvx skeel

⚙️ Manifest

Default path: .agents/skills.yaml in project scope, ~/.agents/skills.yaml in user scope.

sources:
  anthropics/skills:
    - skill-creator
  mavam/quarto-brief:
  openclaw/gogcli:
    - gog
  tenzir/skills:
    pin: main
    skills:
      - tenzir-ecs

An empty value installs all skills from a source. A list is the common form for selected skills. Use a nested mapping only for source options, such as pin or custom install commands.

By default, skeel installs gh skill skills into .agents/skills in the current working directory. Use --scope user for global installs into ~/.agents/skills:

uvx skeel --scope user apply

Use --manifest (-m) for a non-default desired-state manifest:

uvx skeel --manifest ./skills.yaml apply --dry-run

Scope selects the base directory for the implicit manifest and managed skill directory: project scope uses the current working directory and user scope uses $HOME. If the implicit manifest does not exist, apply, diff, list, and update are no-ops; add creates the manifest. Use --manifest or SKEEL_MANIFEST to use a manifest from another path.

✨ Commands

By default, list, diff, apply, and update read both .agents/skills.yaml in the current working directory and ~/.agents/skills.yaml. Use --scope project or --scope user to operate on one scope. Human output uses the first column for the marker, the second column for the skill name, the third column for the source, and a muted suffix for versions or paths. User-scope skills include a muted suffix.

For scripts, pass --json to add, apply, diff, list, path, remove, or update to emit one machine-readable object on stdout.

list

Show manifest skills and whether they are installed. Sources declared without a skill list expand to the installed skills from that source instead of showing *.

uvx skeel list
✔︎ skill-creator anthropics/skills main@3cf9a8d ⌂
✔︎ wrangler cloudflare/skills main@45cc198 ⌂
✔︎ quarto-brief mavam/quarto-brief main@e89c555 ⌂
✔︎ tenzir-docs tenzir/skills main@a5d04ab
✘ gog openclaw/gogcli

diff

Compare desired state with installed skills. + rows would be installed by apply; - rows would be removed.

uvx skeel diff
+ wrangler cloudflare/skills
+ vectorize cloudflare/skills
- obsolete-skill installed
- old-experiment installed

apply

Reconcile installed skills with the manifest. Missing skills are installed and extra skills are removed. Use --reinstall to run every manifest installer without diffing first, or apply <source> [skill] to target one source. A selector that does not match the manifest exits with an error.

uvx skeel apply --dry-run
↳ gh skill install cloudflare/skills wrangler --allow-hidden-dirs --dir .agents/skills --force
↳ gh skill install cloudflare/skills vectorize --allow-hidden-dirs --dir .agents/skills --force
↳ rm -rf .agents/skills/obsolete-skill
uvx skeel apply
+ wrangler cloudflare/skills
+ vectorize cloudflare/skills
- obsolete-skill

update

Update installed skills that are represented by the manifest. Each installed skill is checked independently, and remote update checks run in parallel. Pass a source, or a source and skill, to update only that manifest selection. A selector that does not match the manifest exits with an error.

uvx skeel update
uvx skeel update tenzir/skills
uvx skeel update tenzir/skills tenzir-docs
✔︎ teach mattpocock/skills main@975430f
✔︎ tenzir-docs tenzir/skills main@f3842c1
✔︎ clacks downstairs-dawgs/clacks
✘ broken-skill broken/source

Pinned GitHub entries are updated by resolving the configured pin and refreshing installed files when the source changes. Skills installed by gh skill include provenance in SKILL.md frontmatter, so future updates can track them directly.

add

Upsert a source or source/skill entry into the manifest. Omit the skill to select all skills from the source. Pass --apply to reconcile immediately.

uvx skeel add tenzir/skills tenzir-docs@main
✔︎ tenzir-docs tenzir/skills .agents/skills.yaml
uvx skeel add mavam/quarto-brief --dry-run
↳ mavam/quarto-brief .agents/skills.yaml

remove

Remove an unambiguous skill name from the manifest. Pass --apply to reconcile immediately. A selector that does not match the manifest exits with an error.

add and remove are intentionally asymmetric: adding starts from a source because skeel needs to know where to install from, while removing starts from a skill because that is the common user intent. Use --source only to disambiguate or remove a whole source.

uvx skeel remove tenzir-docs
✔︎ tenzir-docs tenzir/skills .agents/skills.yaml

When multiple sources declare the same skill name, disambiguate with --source:

uvx skeel remove tenzir-docs --source tenzir/skills

Omit the skill to remove the whole source selected by --source:

uvx skeel remove --source mavam/quarto-brief --dry-run
↳ mavam/quarto-brief .agents/skills.yaml

path

Print the manifest path that skeel would use for the selected scope.

uvx skeel path
/Users/alice/project/.agents/skills.yaml

🧰 GitHub Skill Policy

When applying, skeel delegates placement to gh skill with:

gh skill install <repo> <skill> --dir .agents/skills --force

The target directory is derived from scope: project scope uses the current working directory and user scope uses $HOME. A bare GitHub source installs all skills from that repository:

sources:
  mavam/quarto-brief:

which runs:

gh skill install mavam/quarto-brief --all --dir .agents/skills --force

For installers that are not backed by gh skill, provide source-level install commands under the source key. Skeel runs those commands as the complete install command set:

sources:
  slack-clacks/clacks:
    skills:
      - clacks
    install:
      - uvx --from slack-clacks clacks skill --mode universal --force

To add a GitHub source from the CLI, use the same positional shape as gh skill install:

uvx skeel add tenzir/skills tenzir-docs@main
uvx skeel remove tenzir/skills tenzir-docs
uvx skeel add mavam/quarto-brief --apply

📄 License

MIT

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

skeel-0.7.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

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

skeel-0.7.0-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file skeel-0.7.0.tar.gz.

File metadata

  • Download URL: skeel-0.7.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skeel-0.7.0.tar.gz
Algorithm Hash digest
SHA256 352fddc73750b17d113ab08c50b5fe928f3c9c77e195002b12850e0284be5b68
MD5 a9a33613e090dbcbda27a9059f21d252
BLAKE2b-256 cce5bc89a614fe441d5c06f7b4cb7d854a2d803ac2d8fedc02c909c5261db061

See more details on using hashes here.

Provenance

The following attestation bundles were made for skeel-0.7.0.tar.gz:

Publisher: release.yaml on mavam/skeel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skeel-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: skeel-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for skeel-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 580ad1633cc8a06f8e25b1133932e0d5f3955991bfdbe49c00b11f5417679fbd
MD5 3242bee5bcce3edb59a9529edaf08878
BLAKE2b-256 71fbaba2868bb77d0bef2b6600b385d5fe08055b47f5bf509a9cc445a025a3e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for skeel-0.7.0-py3-none-any.whl:

Publisher: release.yaml on mavam/skeel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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