gh-skill
/gh-skill
Manage agent skills with gh skill. Use this skill to discover, preview, install, update, and publish Agent Skills so an agent can self-manage the skills available in its environment.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Manage agent skills with gh skill. Use this skill to discover, preview, install, update, and publish Agent Skills so an agent can self-manage the skills available in its environment.
Original author description
Manage agent skills with gh skill. Use this skill to discover, preview, install, update, and publish Agent Skills so an agent can self-manage the skills available in its environment.
How it works
- Search
- Preview before installing
- Install
- Update
- Publish
- Self-management pattern for agents
SKILL.md preview
--- name: gh-skill description: Manage agent skills with gh skill. Use this skill to discover, preview, install, update, and publish Agent Skills so an agent can self-manage the skills available in its environment. --- # Managing skills with `gh skill` `gh skill` installs, previews, searches, updates, and publishes [Agent Skills](https://agentskills.io). An agent can use it to keep its own skill set in sync with one or more GitHub repositories. The command is also aliased as `gh skills`. Prefer the canonical singular `gh skill` in scripts and docs. ## Search ```bash gh skill search <query> # free-text search gh skill search <query> --owner <org> # restrict to one owner gh skill search <query> --limit 20 --page 2 gh skill search <query> --json skillName,repo,description ``` ## Preview before installing ```bash gh skill preview <owner>/<repo> <skill-name> gh skill preview <owner>/<repo> <skill-name>@v1.2.0 # pin a version ``` ## Install ```bash gh skill install <owner>/<repo> <skill-name> gh skill install <owner>/<repo> <skill-name>@v1.2.0 gh skill install <owner>/<repo> skills/<scope>/<skill-name> # exact path, fastest gh skill install ./local-skills-repo --from-local ``` `<owner>/<repo>` and `<skill-name>` are both required. Useful flags: - `--agent <id>` - target host (e.g. `github-copilot`, `claude-code`, `cursor`, `codex`, `gemini-cli`). Repeat for multiple. Default is `github-copilot` when non-interactive. You should know what agent you are, so set this appropriately to install for yourself. - `--scope project|user` - `project` (default) writes inside the current git repo; `user` writes to the home directory and applies everywhere. - `--pin <ref>` - pin to a tag, branch, or commit SHA. Mutually exclusive with `--from-local` and with inline `@version` syntax. - `--allow-hidden-dirs` - also discover skills under dot-directories such as `.claude/skills/`. Don't use this unless you need to, it comes with risks. - `--force` - overwrite an existing install. ## Update ```bash gh skill update --all # update every installed skill gh skill update <skill> # update one gh skill update <skill> --force gh skill update --unpin # drop the pin and move to latest ``` ## Publish Publishing turns a repo into a discoverable skill source. Skills are discovered with these conventions: - `skills/<name>/SKILL.md` - `skills/<scope>/<name>/SKILL.md` - `<name>/SKILL.md` (root-level) - `plugins/<scope>/skills/<name>/SKILL.md` Each `SKILL.md` needs YAML frontmatter: ```yaml --- name: my-skill # must equal the directory name description: One sentence... # required, recommended <= 1024 chars license: MIT # optional but recommended --- ``` ### Validate, then publish ```bash gh skill publish --dry-run # validate only, no release gh skill publish --dry-run ./path/to/repo # validate a specific dir gh skill publish --fix # auto-strip install metadata gh skill publish --tag v1.0.0 # non-interactive publish gh skill publish # interactive publish flow ``` `--fix` and `--dry-run` are mutually exclusive. `--fix` only rewrites install-injected `metadata.github-*` keys and does not publish; commit the result and re-run `publish`. The publish flow will: 1. Add the `agent-skills` topic to the repo (so search can find it). 2. Use `--tag` (or prompt for one in a TTY). 3. Auto-push any unpushed commits. 4. Create a GitHub release with auto-generated notes. Always pass `--tag` so it doesn't fall through to the interactive flow. ## Self-management pattern for agents A reasonable loop: 1. `gh skill search <topic> --json skillName,repo,namespace` 2. `gh skill preview <repo> <skill>` to inspect the `SKILL.md`. 3. `gh skill install <repo> <skill> --agent <host> --pin <ref>` for a reproducible install. 4. Periodically `gh skill update --all` to refresh.
Versions
The database has no other skills named gh-skill.
Database snapshot: 13.11.2026 · package version b4980376ded4 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100manage-skills
Use when the user wants to find, install, or manage agent skills from skills.sh. Triggers on requests like "find a skill for", "install a skill", "browse skills", "what skills are available", or any mention of skills.sh. - 100skills
Manage agent skills using the npx skills CLI. Use when the user asks to "install a skill", "add a skill", "remove a skill", "list skills", "update skills", "find skills", "search for skills", or mentions "npx skills", skill management, or agent skill installation. Also trigger… - 90skillme
Find, install, and manage Skill Me skills from inside a conversation through the Skill Me connector. Use when the user asks for a Skill Me skill, asks what skills they have, wants skills suggested for a task, or wants to install or remove a skill or pack. - 100ov-skills
Load when an agent needs to manage, install, update, remove, or validate OpenViking skills via the `ov skills` CLI. Trigger on explicit user requests about skill management, when the user mentions `ov skills`, `install skill`, `update skill`, `delete skill`, `validate skill`, or… - 100managing-skills
Manage reusable agent skills with the installed skill-manager CLI. Invoke only when the user explicitly asks to "manage skills" or clearly asks for help managing their agent skills, or when the user invokes `$managing-skills`. Do not invoke for requests that merely mention a… - 100skill
Skill management and creation. Use for "create skill", "manage skills", "skill info", and "skill help".