github-cli
Skill3 starsChanged 3 months agoMITView on GitHub
Execute GitHub CLI (gh) commands for repository management, issues, pull requests, workflows, releases, and API interactions (REST & GraphQL). Use when working with GitHub repositories, managing issues and PRs, executing workflows, or querying the GitHub API.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- himkt/configtheir own version, first seen Oct 2, 2026
- jonhill90/skillstheir own version, first seen Sep 30, 2026
- kuailexiaozixin/githubtheir own version, first seen Sep 29, 2026
- danilolucasmd/skillstheir own version, first seen Sep 13, 2026
- kuju63/skillstheir own version, first seen Aug 1, 2026
- BlakeHastings/claude-code-artifactstheir own version, first seen Jun 13, 2026
Used with
Projects with it also use playwright-cli.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillplaywright-cli
Automate browser interactions, test web pages and work with Playwright tests.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- himkt/config★ 40same name
- georgekhananaev/claude-skills-vault★ 28same name
- sordi-ai/skill-everything★ 20same name
- doug-skinner/github-cli-claude-skill★ 10same name
- jonhill90/skills★ 9same name
- abdullahkhawer/devops-skills★ 8same name
- aaronflorey/agent-skills★ 2same name
- chief-builder/cli-vs-mcp★ 2same name
- Kubementat/ai_agent_skills★ 2same name
- magnusrodseth/dotfiles★ 2same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adrSkill
- adzic-bddSkill
- agent-md-refactorSkill
- agent-muxSkill
- agent-role-impersonatorSkill
- agilquest-reservationsSkill
- ai-text-humanizerSkill
- architecture-decision-recordsSkill
- ast-grepSkill
- atacSkill
- aws-cliSkill
- bart-adversarial-reviewerSkill
- bddSkill
- branch-doctorSkill
- c4-architectureSkill
- c4Skill
- claude-sub-agentSkill
- codemap-config-setupSkill
- codemap-exploreSkill
- codemap-handoffSkill
- codemap-hub-safetySkill
- codemapSkill
- commitSkill
- copilot-sub-agentSkill
- daily-standupSkill
- daily-statusSkill
- debugSkill
- design-thinkingSkill
- doctorSkill
- docx-word-processorSkill
- farley-tddSkill
- forensicsSkill
- gemini-sub-agentSkill
- git-commit-formatterSkill
- git-forensicsSkill
- github-actions-permissionsSkill
- git-repo-discoverySkill
- git-safety-guardrailsSkill
- harness-idpSkill
- humanizeSkill
- iteration-plannerSkill
- jira-issue-managerSkill
- justfile-assistantSkill
- kiro-sub-agentSkill
- lessons-learnedSkill
- lessonsSkill
- lisa-planning-agentSkill
- lovejoy-release-agentSkill
- lsp-code-analysisSkill
- macro-to-microSkill
- marge-product-agentSkill
- meeting-notesSkill
- mermaid-diagram-generatorSkill
- modern-cli-overridesSkill
- native-web-searchSkill
- obsidian-notetakerSkill
- outlook-headlessSkill
- pdf-document-processorSkill
- pi-sub-agentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Use the read tool to load references/github-cli-reference.md.
- Distinctive: line 36
Always verify user has admin/maintain permissions before adding teams to repositories
- Distinctive: line 38
Test operations on a single repository before bulk operations
- Very specific: line 39
Use appropriate permission levels (prefer push for most teams)
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub CLI (gh) Skill
This skill provides comprehensive GitHub CLI integration for managing repositories, issues, pull requests, workflows, releases, and API interactions (both REST and GraphQL).
Prerequisites
- GitHub CLI (
gh) must be installed and authenticated gh auth loginsuccessfully completed- Active internet connection for GitHub API access
- Appropriate repository permissions for target operations
Usage Instructions
This skill has a broad command surface and supports powerful API interactions. DO NOT GUESS COMMAND FLAGS OR GRAPHQL QUERIES.
- Whenever you need to perform complex operations with the GitHub CLI (e.g. advanced PR management, workflows, or raw API calls), you must first read the detailed reference documentation to see the exact syntax:
- Use the
readtool to loadreferences/github-cli-reference.md.
- Use the
- The reference files contain instructions for:
- Repository, Issue, and Pull Request operations
- Advanced PR operations: marking as draft, adding comments with context
- GitHub Actions workflow triggering and monitoring
- Advanced REST API calls via
gh api - Complex GraphQL queries and mutations via
gh api graphql - Issue Hierarchy (Parent/Child): See
references/issue-hierarchy.guide.md - Team Management Operations: See
references/github-team-management.md - PI Epic Issues: See
references/epic-issue-template.md— template, labels, body structure, and the safe issue-rewrite pattern - Common developer workflow examples
- Team Management Best Practices:
- Always verify user has admin/maintain permissions before adding teams to repositories
- Handle repository redirects (renamed repos) gracefully
- Test operations on a single repository before bulk operations
- Use appropriate permission levels (prefer
pushfor most teams)
- Whenever possible, use built-in
ghcommands rather than writing rawcurlcommands or custom Python scripts for GitHub integration.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

