inbox-get-notification-details

Get details of a specific GitHub notification thread

npx skills add https://github.com/microsoft/vscode-team-kit --skill inbox-get-notification-details

Get Notification Details

Use gh api to fetch details of a specific notification thread or issue/PR comments.

Notification thread details

gh api /notifications/threads/{thread_id}

Issue comments (latest)

gh api repos/{owner}/{repo}/issues/{number}/comments --jq '.[-1] | {user: .user.login, body: .body}'

PR comments (latest)

gh api repos/{owner}/{repo}/pulls/{number}/comments --jq '.[-1] | {user: .user.login, body: .body}'

Replace {thread_id}, {owner}, {repo}, {number} with actual values.

Rules

  • Run each gh api command as a separate terminal invocation — NEVER chain with &&
  • Use --jq for filtering — it is built into gh