Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

github-oauth-skill

БесплатноЗапускает вложенные скриптыНе проверен

GitHub integration with OAuth2 Device Flow authentication for repositories, issues, pull requests, and more

kubiyabotот 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

  1. GitHub Account: An active GitHub account with repository access
  2. 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:

  1. Run the login command
  2. A browser window opens with GitHub authorization page
  3. Enter the provided device code
  4. Authorize the application
  5. Token is automatically stored in your system keychain

Required Scopes:

  • repo - Full control of private repositories
  • read: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
Полный SKILL.md на GitHub

Установить github-oauth-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

whoami
list-repos
get-repo
list-issues
create-issue
list-prs
create-pr

Вложенные файлы

README.mdpackage-lock.jsonpackage.jsonsrc/skill.tstsconfig.json

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить github-oauth-skill с