agentleFS
aaronfloreyaaronflorey/agent-skills/skills/github-cli/SKILL.md

github-cli

Skill2 starsChanged 7 months agoMITView on GitHub

Use GitHub CLI, `gh`, for authentication, repository work, issues, pull requests, releases, Actions, projects, and `gh api` calls. Use this skill whenever the user mentions `gh`, `gh pr`, `gh issue`, `gh repo`, `gh run`, `gh workflow`, `gh auth`, wants a GitHub CLI command example, needs to script GitHub operations, or wants to translate GitHub UI steps into terminal commands.

  • Commits and pushes

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use terraform, codex-cli and 3 more.

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.
  • ihiteshguptaSkill

    terraform

    Expert in Infrastructure as Code with Terraform. Use for creating, managing, and versioning infrastructure across cloud providers.

    Also in 3 projects that use this

  • garri333Skill

    codex-cli

    OpenAI Codex CLI mastery skill for installation, authentication, terminal commands, code generation from natural language, file editing, project scaffolding, and IDE integrations. Covers GPT-5.2 Instant/Thinking tiers and shell/container execution modes.

    Also in 3 projects that use this

  • PostHogSkill

    karpathy-guidelines

    Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria. Based on https://github.com/multica-ai/andrej-karpathy-skills.

    Also in 3 projects that use this

  • MicrosoftSkill

    caveman

    Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules

    Also in 3 projects that use this

  • BlockSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 0

    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
  1. Very specific:

    Check active context: gh auth status

    line 16
  2. Very specific:

    Prefer --json, --jq, or --template for scripts

    line 74

“Common” is measured: kept by at least 6 in 10 of the 19 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GitHub CLI

GitHub CLI is the fastest way to work with GitHub from a terminal.

Start Here

  • Authenticate first: gh auth login
  • Check active context: gh auth status
  • Target another repo when needed: -R OWNER/REPO
  • Get command help anytime: gh <command> --help

Common Workflow

gh auth login
gh repo clone OWNER/REPO
gh issue list
gh pr create --fill
gh run watch

References

Core

  • gh auth: references/auth.md
  • gh browse: references/browse.md
  • gh codespace: references/codespace.md
  • gh gist: references/gist.md
  • gh issue: references/issue.md
  • gh org: references/org.md
  • gh pr: references/pr.md
  • gh project: references/project.md
  • gh release: references/release.md
  • gh repo: references/repo.md

Actions

  • gh cache: references/cache.md
  • gh run: references/run.md
  • gh workflow: references/workflow.md

Additional

  • gh agent-task: references/agent-task.md
  • gh alias: references/alias.md
  • gh api: references/api.md
  • gh attestation: references/attestation.md
  • gh completion: references/completion.md
  • gh config: references/config.md
  • gh copilot: references/copilot.md
  • gh extension: references/extension.md
  • gh gpg-key: references/gpg-key.md
  • gh label: references/label.md
  • gh licenses: references/licenses.md
  • gh preview: references/preview.md
  • gh ruleset: references/ruleset.md
  • gh search: references/search.md
  • gh secret: references/secret.md
  • gh ssh-key: references/ssh-key.md
  • gh status: references/status.md
  • gh variable: references/variable.md

Notes

  • Prefer --json, --jq, or --template for scripts
  • gh api is the fallback for anything not covered by a dedicated command
  • For GitHub Enterprise, use --hostname or set GH_HOST

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.