Inbox list notifications

From microsoft/vscode-team-kit · View interactive version

Inbox list notifications is an AI agent skill from the GitHub repository microsoft/vscode-team-kit. Fetch GitHub notifications using the gh CLI

How to use this skill

Skill file

List GitHub Notifications

Use gh api to fetch all unread GitHub notifications with automatic pagination.

Command

Use the --jq flag (NOT a pipe to jq) to filter output inline:

gh api /notifications --paginate --jq '.[] | {id, reason, unread, updated_at, repo: .repository.full_name, title: .subject.title, type: .subject.type, url: .subject.url}'

This is the ONLY command you should run. Do NOT modify it. Do NOT add anything to it.

Rules

Filters

Constructing HTML URLs

The url field is an API URL like https://api.github.com/repos/owner/repo/pulls/123. Convert to a clickable URL:

Extract the number from the API URL's last path segment.

Priority

Sort notifications by reason priority (highest first):

  1. security_alert (critical)
  2. assign (high)
  3. review_requested (high)
  4. mention (high)
  5. ci_activity (medium)
  6. comment (medium)
  7. team_mention (medium)
  8. state_change (medium)
  9. author (low)
  10. subscribed (low)
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.