skills/ghcli/SKILL.md
GitHub CLI for issues, PRs, starred repos, notifications, and repository exploration. Use when user asks about GitHub activity, starred projects, PR reviews, or issue management.
npx skillsauth add junghan0611/agent-config ghcliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Command-line interface for GitHub operations via gh.
Already configured via GITHUB_PERSONAL_ACCESS_TOKEN in Claude Code settings.
gh issue list -R owner/repo # List open issues
gh issue list -R owner/repo --state all --limit 20 # All issues
gh issue view 123 -R owner/repo # View issue details
gh issue create -R owner/repo --title "T" --body "B" # Create issue
gh issue comment 123 -R owner/repo --body "comment"
gh pr list -R owner/repo # List open PRs
gh pr view 123 -R owner/repo # View PR details
gh pr diff 123 -R owner/repo # View PR diff
gh pr checks 123 -R owner/repo # CI status
gh pr status # PRs involving you
gh pr create --title "T" --body "B" # Create PR
gh pr review 123 --approve # Approve PR
gh api repos/owner/repo/pulls/123/comments # PR comments
# Recent stars (latest first)
gh api user/starred --paginate --jq '.[:10][] | {full_name, description, language, stargazers_count}'
# Search by topic/language
gh api user/starred --paginate --jq '[.[] | select(.language == "Rust")] | length'
gh api user/starred --paginate --jq '.[] | select(.topics[]? == "emacs") | .full_name'
gh api user/starred --paginate --jq '.[] | select(.description? // "" | test("mcp|agent"; "i")) | {full_name, description}'
# Star count & language stats
gh api user/starred --paginate --jq 'group_by(.language) | map({language: .[0].language, count: length}) | sort_by(-.count) | .[:10][]'
# Recently active starred repos
gh api user/starred --paginate --jq '[.[] | select(.pushed_at > "2026-01-01")] | sort_by(.pushed_at) | reverse | .[:10][] | {full_name, pushed_at, language}'
# People (starred repo owners = interests network)
gh api user/starred --paginate --jq '[.[].owner.login] | group_by(.) | map({user: .[0], repos: length}) | sort_by(-.repos) | .[:10][]'
# With starred_at timestamp (when you starred it)
gh api user/starred --paginate -H "Accept: application/vnd.github.star+json" --jq '.[:5][] | {starred_at, repo: .repo.full_name, desc: .repo.description}'
# Stars from this month
gh api user/starred --paginate -H "Accept: application/vnd.github.star+json" --jq '.[] | select(.starred_at > "2026-02-01") | {starred_at, repo: .repo.full_name}'
gh repo view owner/repo # Repo overview
gh repo view owner/repo --json description,stargazerCount,languages
gh api repos/owner/repo/contributors --jq '.[:5][] | {login, contributions}'
gh api repos/owner/repo/releases --jq '.[0] | {tag_name, published_at, name}'
gh search repos "keyword" --language rust --sort stars
gh api notifications --jq '.[:10][] | {reason, title: .subject.title, repo: .repository.full_name, updated_at}'
The user has two GitHub accounts:
Default gh auth uses the personal account.
For full starred repos export to BibTeX (Citar/Emacs integration):
~/repos/gh/memex-kb/scripts/gh_starred_to_bib.sh [output.bib]
# Default output: ~/org/resources/github-starred.bib
--paginate for starred repos (may have hundreds)--jq for filtering (avoids piping to jq separately)-R owner/repo specifies repo without cd-ing into itgh api can call any GitHub REST API endpointdocumentation
Cut an OpenClaw-style CalVer tag for a repo — gather commits, refresh CHANGELOG, promote, tag, push, stamp. Use when the user says '태그 박자', '릴리즈 컷', 'changelog 정리', 'cut a release/tag', or wants a vYYYY.M.D[-suffix] snapshot.
development
멀티하네스용 /recall 래퍼. native custom command surface가 없는 하네스(예: Antigravity, Codex)에서도 /recall에 해당하는 다축 맥락 복원을 skill로 호출한다. session-recap, NEXT.md·ROADMAP.md, git status/log, semantic-memory를 조합해 어제/오늘의 작업축을 되살린다.
tools
포지(forge) — 셀프호스팅 Forgejo 이슈/PR/라벨/코멘트 작업면. 힣 에이전트가 코드 면에서 일하는 공유 손. botment의 자식 패턴(가든 댓글면 → 코드 댓글면 endpoint swap). 'forge', 'forgejo', '포지', 'issue', 'pull request', '이슈', '풀리퀘', '코드 댓글', '라벨'.
tools
sync entwurf 자식을 들여다보는 손. 호출자가 'Mattering...'에 묶여있을 때 자식 분신이 무엇을 하는지 확인. entwurf_peers는 control socket 있는 세션만 보여주는데, 이 스킬은 자식 entwurf 세션(이름 태그 entwurf)까지 합쳐서 본다. 트리거: 'entwurf-peek', '분신 들여다보기', '진행 중 세션', 'sync entwurf 안에서', 'peek session', 'live session map', '분신 추적'.