gh-cli skill
✓ 공식GitHub repository, pull request, issue 및 API 액세스 관리를 위해 인증된 GitHub CLI 워크플로우를 실행합니다.
- GitHub 스타
- 8,136
- 파일
- 3
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- CC-BY-SA-4.0
- 허용된 도구
- —
gh-cli skill은 무엇을 하나요?
gh-cli은(는) agent skill입니다. GitHub repository, pull request, issue 및 API 액세스 관리를 위해 인증된 GitHub CLI 워크플로우를 실행합니다.
skill의 SKILL.md에서 생성된 요약입니다.
gh-cli skill 정보
인증된 워크플로우를 통해 GitHub repository, pull request 및 issue를 관리하는 것이 이 SKILL의 주요 기능입니다. 에이전트가 GitHub URL과 상호작용하거나, 비공개 repository에 액세스해야 하는 경우, 또는 인증되지 않은 방식보다 더 높은 API rate limit이 필요한 경우 개발자는 이 SKILL을 로드해야 합니다. 이 SKILL은 표준 웹 fetch 도구보다 gh CLI를 우선적으로 사용하여 GitHub 콘텐츠를 처리하는 구조적인 방법을 제공합니다.
데이터를 가져오기 위해 curl, wget 또는 WebFetch를 사용하는 대신, 에이전트는 gh repo view, gh pr view, gh pr list, gh issue view, gh api와 같은 특정 명령어를 사용합니다. 또한 raw.githubusercontent.com에서 raw blob을 가져오거나 GitHub API contents 엔드포인트를 사용하는 대신, repository를 clone하여 파일을 로컬에서 읽는 방식을 권장합니다. 이러한 접근 방식은 모든 상호작용이 인증된 상태를 유지하도록 하며, 복잡한 repository 관리 작업을 효율적으로 수행할 수 있게 합니다.
agent가 수행할 수 있는 작업
- 1비공개 repository 데이터 액세스에이전트가 조회를 위해 인증이 필요한 비공개 repository의 정보를 가져올 수 있습니다.
- 2인증되지 않은 웹 fetch 대체GitHub 콘텐츠와 상호작용할 때 표준 fetch 도구를 사용하는 대신 이 SKILL을 사용하십시오.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
gh-cli skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.플러그인에 gh-cli skill 설치
/plugin marketplace add trailofbits/skills /plugin install gh-cli@trailofbits
Claude Code에 gh-cli skill 설치
~/.claude/skills/gh-cli/SKILL.md
$ npx degit trailofbits/skills/plugins/gh-cli/skills/gh-cli ~/.claude/skills/gh-cliClaude Code (project)에 gh-cli skill 설치
.claude/skills/gh-cli/SKILL.md
$ npx degit trailofbits/skills/plugins/gh-cli/skills/gh-cli .claude/skills/gh-cliCodex에 gh-cli skill 설치
~/.agents/skills/gh-cli/SKILL.md
$ npx degit trailofbits/skills/plugins/gh-cli/skills/gh-cli ~/.agents/skills/gh-cliGemini CLI에 gh-cli skill 설치
~/.gemini/skills/gh-cli/SKILL.md
$ npx degit trailofbits/skills/plugins/gh-cli/skills/gh-cli ~/.gemini/skills/gh-cliClaude.ai에 gh-cli skill 설치
npx degit trailofbits/skills/plugins/gh-cli/skills/gh-cli gh-cli && zip -r gh-cli.zip gh-cli # claude.ai → Customize → Skills → + → Create skill → Upload a skill → gh-cli.zip
자동 검사
2026년 11월 15일에 실행됨전체 보고서 →아직 검증되지 않았습니다. 스킬은 점수 80, 심각한 발견 없음, 검사에 충분한 데이터가 필요합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능trailofbits/skills/plugins/gh-cli/skills/gh-cli is public and reachablegithub.com/trailofbits/skills/tree/HEAD/plugins/gh-cli/skill ↗통과
- 오픈 소스 라이선스 (OSI)CC-BY-SA-4.0 is not OSI-approvedspdx.org/licenses/CC-BY-SA-4.0.html ↗결함 발견
- 최근 1년 내 커밋 또는 릴리스Last commit 2026-11-11github.com/trailofbits/skills/commits ↗통과
- 스크립트에 다운로드 후 실행이나 자격 증명 탈취가 없음No scripts in the skill folder통과
- SKILL.md에 숨겨진 지침 없음No override phrases, safeguard switches, credential requests or hidden charactersgithub.com/trailofbits/skills/blob/HEAD/plugins/gh-cli/skill ↗통과
- 사전 허용 도구가 제한됨No pre-approved tools; the agent asks before using onegithub.com/trailofbits/skills/blob/HEAD/plugins/gh-cli/skill ↗통과
- SKILL.md가 Agent Skills 형식을 따름Valid name and description; says when to use it; 38 linesgithub.com/trailofbits/skills/blob/HEAD/plugins/gh-cli/skill ↗통과
SKILL.md
GitHub에서 보기gh-cli
When to Use
- Working with GitHub repositories, pull requests, issues, releases, or raw file URLs.
- You need authenticated access to private repositories or higher API rate limits.
- You are about to use
curl,wget,WebFetch, or an MCP fetch tool against GitHub.
When NOT to Use
- The target is not GitHub.
- Plain local git operations already solve the task.
Guidance
Prefer the authenticated gh CLI over raw HTTP fetches for GitHub content. In particular:
- Prefer
gh repo view,gh pr view,gh pr list,gh issue view, andgh apiover unauthenticatedcurlorwget. - Prefer cloning a repository and reading files locally over fetching
raw.githubusercontent.comblobs directly. - Avoid using GitHub API
/contents/endpoints as a substitute for cloning and reading repository files.
Examples:
gh repo view owner/repo
gh pr view 123 --repo owner/repo
gh api repos/owner/repo/pulls
For the hook implementation, see:
plugins/gh-cli/README.mdplugins/gh-cli/hooks/
이 스킬의 파일
3gh-cli skill 질문
Claude Code에 gh-cli skill을 어떻게 설치하나요?
npx degit trailofbits/skills/plugins/gh-cli/skills/gh-cli ~/.claude/skills/gh-cli를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
gh-cli skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
gh-cli SKILL은 언제 사용해야 하나요?
GitHub repository, pull request, issue, release 또는 raw file URL을 다룰 때, 특히 비공개 repository에 대한 인증된 액세스가 필요할 때 이 SKILL을 사용하십시오.
GitHub 콘텐츠를 가져올 때 curl과 gh CLI 중 무엇을 사용해야 하나요?
GitHub 콘텐츠를 가져올 때는 curl이나 wget 같은 일반 HTTP fetch 방식보다 인증된 gh CLI를 사용하는 것이 좋습니다.
이 SKILL을 사용하기에 적절하지 않은 경우는 언제인가요?
대상 서비스가 GitHub가 아니거나, 단순한 로컬 git 작업만으로 충분한 경우에는 이 SKILL을 사용하지 마십시오.