Skip to content

Invalid gh skill preview command shows after gh skill install #13248

@eggplants

Description

@eggplants

Describe the bug

The suggested gh skill preview command after gh skill install does not work.

Affected version

gh version
gh version 2.90.0 (2026-04-16)
https://github.com/cli/cli/releases/tag/v2.90.0

Steps to reproduce the behavior

  1. gh skill install
gh skill install github.com/zxkane/aws-skills aws-mcp-setup --agent claude-code --scope project
Using ref main (e4ef2e21)
Note: found 5 skill(s) using the plugins/ convention

! Skills are not verified by GitHub and may contain prompt injections, hidden instructions, or malicious scripts. Always review skill contents before use.

✓ Installed aws-common/aws-mcp-setup (from zxkane/aws-skills@main) in .claude/skills

  aws-common/aws-mcp-setup/
  └── SKILL.md

! Skills may contain prompt injections or malicious scripts.
  Review installed content before use:

    gh skill preview zxkane/aws-skills aws-common/aws-mcp-setup@e4ef2e2147aa5d7b812af8970064dd822c7678ec
  1. Run suggested gh skill preview
gh skill preview zxkane/aws-skills aws-common/aws-mcp-setup@e4ef2e2147aa5d7b812af8970064dd822c7678ec
skill "aws-common/aws-mcp-setup" not found in zxkane/aws-skills

Expected vs actual behavior

suggest valid command like:

gh skill preview github.com/zxkane/aws-skills aws-mcp-setup
gh skill preview github.com/zxkane/aws-skills aws-mcp-setup@e4ef2e2147aa5d7b812af8970064dd822c7678ec

Logs

None anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gh-skillrelating to the gh skill command

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions