github-oauth-skill
БесплатноЗапускает вложенные скриптыНе проверенGitHub integration with OAuth2 Device Flow authentication for repositories, issues, pull requests, and more
от kubiyabot★ 19 звёзд на GitHubОб этом скилле
GitHub OAuth Skill
A comprehensive GitHub integration demonstrating OAuth2 Device Flow authentication with the Skill Engine SDK. Provides secure, token-based access to GitHub repositories, issues, and pull requests without exposing credentials in configuration files.
Overview
This skill showcases modern OAuth2 authentication patterns for CLI tools, using GitHub's Device Flow (RFC 8628) which is ideal for command-line applications. All tokens are stored securely in your system keychain.
When to Use This Skill
Use this skill when you need to:
- Authenticate with GitHub without manually creating personal access tokens
- List and search your repositories or organization repos
- Manage issues (create, list, filter by labels/state)
- Work with pull requests (create, list, filter)
- Get information about your authenticated user
- Store credentials securely in system keychain
Prerequisites
- GitHub Account: An active GitHub account with repository access
- System Keychain: macOS Keychain, Windows Credential Manager, or Linux Secret Service
OAuth2 Device Flow Setup
The Device Flow allows you to authenticate without a local HTTP server:
- Run the login command
- A browser window opens with GitHub authorization page
- Enter the provided device code
- Authorize the application
- Token is automatically stored in your system keychain
Required Scopes:
repo- Full control of private repositoriesread:user- Read user profile data
Authentication
Initial Setup
# Authenticate with GitHub (opens browser)
skill auth login github --skill github-oauth-skill
# This will:
# 1. Display a URL and device code
# 2. Open GitHub authorization page in your browser
# 3. Prompt you to enter the code
# 4. Store the token securely in system keychain
Check Authentication Status
# View current auth status
skill auth status
# Test the connection
skill run github-oauth-skill whoami
# Log out (revokes token)
skill auth logout github
Tools
User Tools
whoami
Get information about the authenticated GitHub user.
Parameters: None
Returns: User login, name, email, public repos count, followers, following
Example:
skill run github-oauth-skill whoami
Repository Tools
list-repos
List repositories for the authenticated user or an organization.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| org | string | No | - | Organization name to list repos from |
| type | string | No | all | Filter: all, owner, member, private, public |
| sort | string | No | updated | Sort by: created, updated, pushed, full_name |
| per_page | number | No | 30 | Results per page (max 100) |
Example:
# List your repositories
skill run github-oauth-skill list-repos
# List organization repos
skill run github-oauth-skill list-repos org=microsoft sort=created per_page=50
# Only show public repos
skill run github-oauth-skill list-repos type=public
get-repo
Get detailed information about a specific repository.
| Parameter | Type | Required | Description |
|---|---|---|---|
| repo | string | Yes | Repository in "owner/repo" format |
Example:
skill run github-oauth-skill get-repo repo=torvalds/linux
skill run github-oauth-skill get-repo repo=facebook/react
Issue Tools
list-issues
List issues in a repository with filtering options.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| repo | string | Yes | - | Repository in "owner/repo" format |
| state | string | No | open | Filter: open, closed, all |
| assignee | string | No | - | Filter by assignee username |
| labels | string | No | - | Filter by labels (comma-separated) |
| per_page | number | No | 30 | Results per page (max 100) |
Example:
# List open issues
skill run github-oauth-skill list-issues repo=owner/repo
# List all closed issues
skill run github-oauth-skill list-issues repo=owner/repo state=closed
# Filter by labels
skill run github-oauth-skill list-issues repo=owner/repo labels=bug,high-priority
# Filter by assignee
skill run github-oauth-skill list-issues repo=owner/repo assignee=username
create-issue
Create a new issue in a repository.
| Parameter | Type | Required | Description |
|---|---|---|---|
| repo | string | Yes | Repository in "owner/repo" format |
| title | string | Yes | Issue title |
| body | string | No | Issue description (supports markdown) |
| labels | string | No | Labels (comma-separated) |
| assignees | string | No | Assignees (comma-separated usernames) |
Example:
# Basic issue
skill run github-oauth-skill create-issue \
repo=owner/repo \
title="Bug: Login fails on mobile"
# Issue with description and labels
skill run github-oauth-skill create-issue \
repo=owner/repo \
tit
Установить github-oauth-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
whoamilist-reposget-repolist-issuescreate-issuelist-prscreate-prВложенные файлы
FAQ
Что делает скилл github-oauth-skill?
GitHub integration with OAuth2 Device Flow authentication for repositories, issues, pull requests, and more
Как установить скилл github-oauth-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл github-oauth-skill запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic