Introduction¶
When working with GitHub in an Agent, common approaches include temporarily checking documentation, hand-writing curl commands, or letting the model “guess” repository APIs. When you need to coordinate Issue status, PR diffs, and CI run results, the context easily gets fragmented. The git Skill introduced below (coordinate @user_dd5c5538/gith-lyx, version 1.0.0) consolidates capabilities into the locally installed GitHub CLI (gh): the Agent calls gh issue, gh pr, gh run, and gh api according to the Skill’s guidance, covering Issues, Pull Requests, Actions run records, and advanced REST queries. SkillHub categorizes it as dev-programming, community-sourced, published by user_dd5c5538; the page marks requires_api_key=false (the Skill itself does not require separate API Key configuration, but in practice it still depends on the login state of your local gh).
What Is This¶
git is an Agent Skill on SkillHub, using the universal SKILL.md format. In one sentence: it teaches the Agent to interact with GitHub using gh, rather than replacing git version control commands or assembling undocumented HTTP calls. Maintained by community publisher user_dd5c5538; SkillHub display page: https://www.skillhub.cn/skills/user_dd5c5538/gith-lyx; resource address: https://api.skillhub.cn/user_dd5c5538/gith-lyx.
Core Functions¶
Based on the official introduction, the verified capability boundaries are as follows:
- Issue: View, create, or manage Issues via the
gh issuesubcommand (specific subcommands are subject to your localgh issue --help). - Pull Request: Handle PR list, details, creation, and review-related operations via
gh pr. - CI / Actions: View workflow runs, logs, and status via
gh run. - Advanced Queries: Call the GitHub REST API via
gh api, suitable for list filtering, field combinations, and other scenarios not directly wrapped by CLI subcommands.
The Skill does not claim to replace local repository operations such as git commit / git push; its value lies in unifying GitHub platform-side collaboration and automated queries into the Agent’s executable toolchain.
Installation and Activation¶
Method 1: Have the AI install according to SkillHub specifications¶
The installation prompt provided on the SkillHub page is: first read the installation instructions, then install the coordinate.
Please install `@user_dd5c5538/gith-lyx` according to https://skillhub.cn/install/skillhub.md.
Method 2: Use the skillhub CLI¶
If the CLI is not yet installed, you can first check the version; if not installed, follow the SkillHub documentation to run the official installation script (full installation or --cli-only for CLI only). When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise the default location ./skills/ may not be recognized.
command -v skillhub && skillhub --version
skillhub install @user_dd5c5538/gith-lyx --dir <your Agent skills directory>
Common directories (from the SkillHub installation documentation, choose the one matching your actual client):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, follow your Agent’s instructions to refresh or restart so the Skill is loaded. For loading details of Cursor, Codex CLI, and Claude Code, if they differ from the paths above, refer to their respective current documentation; this article only restates the general paths published by SkillHub.
Typical Usage¶
The following examples are consistent with the four entry points in the Skill’s introduction. They need to be executed in an environment where gh auth login has been completed and the correct repository context is present (or -R owner/repo is explicitly specified); after enabling this Skill, the Agent should prioritize calling gh through the Shell rather than fabricating APIs.
View Issues and PRs:
gh issue list
gh pr list
gh pr view 123
Monitor CI runs:
gh run list
gh run view <run-id> --log
Advanced REST queries (the example shows the form of a public endpoint; OWNER/REPO in the path needs to be replaced):
gh api repos/OWNER/REPO/issues --jq '.[].title'
For more complex filtering, pagination, and field selection, you can continue combining gh api with --jq; specific parameters are subject to the GitHub CLI manual.
Use Cases and Notes¶
Who it’s for: Developers who daily open Issues, follow PRs, and check Actions on GitHub; those who want the Agent to complete platform operations using reproducible CLI commands rather than re-interpreting REST paths every time.
Limitations and Notes:
- Depends on a properly installed and configured local
gh; the Skill marks that no additional API Key is required, but this does not mean GitHub authentication is not needed. - Community Skill (source: community); behavior is subject to SKILL.md and the
ghversion; before upgrading, check SkillHub for whether v1.0.0 has a newer version. - SkillHub page statistics (as of data capture): rating 100000, downloads 801; installation count displayed as 0, only for store reference, does not mean unavailable locally.
- For write operations (creating PRs, closing Issues, etc.), have the Agent summarize the commands and target repository before execution to avoid misoperations.
Conclusion¶
The git Skill consolidates GitHub platform-side work into four main lines: gh issue, gh pr, gh run, and gh api, suitable as a fixed playbook for the Agent when handling collaboration and CI queries. Installation and coordinates are subject to SkillHub: https://www.skillhub.cn/skills/user_dd5c5538/gith-lyx , resources: https://api.skillhub.cn/user_dd5c5538/gith-lyx .