usage

GitHub CLI 2.91.0

Tools and page contents
On this page

New 2

01

Skills install into more AI tools, with safer discovery and publishing

You can now use gh skills install to put one skill into multiple agent hosts, the apps that run AI agents, without copying it by hand to each one. Installation can allow hidden directories, and discovery recognizes nested skills/ directories. When a skill has been republished, the CLI can offer its upstream version for installation. Preview matches by install name, so you see the right skill. Documentation now includes gh and gh-skill agent skills. skills publish --fix now fixes issues without accidentally publishing, and misleading interface text has been removed. It is like fitting one master key to more doors: there are more doors, clearer labels, and fixing a lock does not also open it.

Original changelog

Add support for installation in multiple agent hosts in gh skills install by @tommaso-moro in https://github.com/cli/cli/pull/13209

Add --allow-hidden-dirs flag to gh skill install by @SamMorrowDrums in https://github.com/cli/cli/pull/13213

Make skill discovery less strict: support nested skills/ directories by @SamMorrowDrums in https://github.com/cli/cli/pull/13235

feat(skills): detect re-published skills and offer upstream install by @SamMorrowDrums in https://github.com/cli/cli/pull/13236

Fix skills publish --fix to not publish by @SamMorrowDrums in https://github.com/cli/cli/pull/13237

fix(skills): match skills by install name in preview command by @SamMorrowDrums in https://github.com/cli/cli/pull/13249

Remove misleading text by @tommaso-moro in https://github.com/cli/cli/pull/13203

docs(skills): add gh and gh-skill agent skills by @BagToad in https://github.com/cli/cli/pull/13244

02

Telemetry gets controls and context, while aliases stay private

You can use the new telemetry command to inspect or adjust telemetry settings, and it no longer needs an environment variable to be enabled. GitHub CLI now samples command use and records context for skills, official extensions, CI environments that run tests or deployments automatically, and AI-agent invocations. When there is no telemetry to send, it records that fact too. Your custom aliases, however, are not sent. This data helps show how features are used; it is not a ledger of every action. It is like a shop sampling which shelves people view, without copying the nicknames each shopper gives its products.

Original changelog

Add sampled command telemetry by @williammartin in https://github.com/cli/cli/pull/13191

Do not send telemetry for aliases by @williammartin in https://github.com/cli/cli/pull/13192

Add skills specific telemetry by @williammartin in https://github.com/cli/cli/pull/13204

Record CI context in telemetry by @williammartin in https://github.com/cli/cli/pull/13210

Record official extension telemetry by @williammartin in https://github.com/cli/cli/pull/13205

Add telemetry command by @williammartin in https://github.com/cli/cli/pull/13253

Log when there is no telemetry by @williammartin in https://github.com/cli/cli/pull/13255

Enable telemetry without env var by @williammartin in https://github.com/cli/cli/pull/13254