1. Habit
  2. Skills
  3. gh skill
cli · 2K installs

gh skill
Runs by itself, every weekday morning.

A short daily list of what is new on GitHub.

Install the gh skill and make it a habit: follow https://gethabit.dev/skills/cli/gh.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

2K installs47K starsMIT licenceSource on GitHub ↗

gh

by cli · 2K installs

The skill

Helps your agent read GitHub issues and code changes.

Only when you ask.

Time saved

A short daily list of what is new on GitHub. Nothing slips by, and you save time.

↻ Runs by itselfevery weekday morning

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one digest per run, with at most 100 items per list.

  1. 01

    Check auth

    Run gh auth status --json and ask you to log in again if the refresh expired.

  2. 02

    List new issues

    Run gh issue list with --json, --search and -L for issues opened since the last run.

  3. 03

    Find waiting PRs

    Run gh search prs with bare qualifiers like is:open for PRs waiting for review.

  4. 04

    Check blockers

    Read blockedBy and subIssues fields and compare node counts with totalCount.

  5. 05

    Write the digest

    List only what changed since yesterday and log the numbers.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the gh skill helps.

Use it when

  • ✓ An agent queries GitHub issues
  • ✓ You need structured gh output
  • ✓ You script PR or issue work

Skip it when

  • – You use the GitHub web UI only
  • – You work on GitLab or Bitbucket

Questions

gh skill, answered.

Why does my gh search fail with Invalid search query?

Pass each qualifier as its own bare token instead of one quoted string.

How do I find Dependabot PRs?

Use --app dependabot, since bots author as GitHub Apps.

Does the loop check out branches?

No. It only reads; gh pr diff and gh pr view read without switching branches.

How do I install the gh skill?

Copy the prompt at the top into your agent. It installs the skill from cli/cli and sets up the habit. Or run npx skills add cli/cli --skill gh.

Is the gh skill free?

Yes. It is published under MIT. Habit is free too.

gh. Now as a habit.

Install the gh skill and make it a habit: follow https://gethabit.dev/skills/cli/gh.md

  • Free
  • No account
  • Undo in one line

All cli skills →More ops skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by cli, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.