返回顶部
g

github-pat

Interact with GitHub using Personal Access Tokens. Secure, user-controlled access - no OAuth, no full account access. Clone, push, branch, PR, issues. Use when user wants to work with GitHub repos.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,654
下载量
1
收藏
概述
安装方式
版本历史

github-pat

# GitHub PAT Interact with GitHub using Personal Access Tokens. User controls access via PAT scopes. ## Setup User provides their PAT: ``` 1. Create PAT at github.com/settings/tokens 2. Select scopes (repo for full, public_repo for public only) 3. Provide token to agent ``` Store in TOOLS.md or pass via `--token`. ## Commands ```bash # List repos you have access to python3 scripts/gh.py repos [--token TOKEN] # Clone a repo python3 scripts/gh.py clone owner/repo [--token TOKEN] # Create branch python3 scripts/gh.py branch <branch-name> [--repo owner/repo] # Commit and push python3 scripts/gh.py push "<message>" [--branch branch] [--repo owner/repo] # Open a pull request python3 scripts/gh.py pr "<title>" [--body "description"] [--base main] [--head branch] # Create an issue python3 scripts/gh.py issue "<title>" [--body "description"] [--repo owner/repo] # View repo info python3 scripts/gh.py info owner/repo ``` ## Security Model - **User controls access** via PAT scopes - **No OAuth** - no "allow full access" prompts - **Least privilege** - user creates PAT with minimal needed scopes - **Fine-grained PATs** supported for specific repo access ## Token Storage Agent stores token in TOOLS.md under `### GitHub` section. Never expose in logs or messages.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 github-token-1776381694 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 github-token-1776381694 技能

通过命令行安装

skillhub install github-token-1776381694

下载 Zip 包

⬇ 下载 github-pat v1.0.0

文件大小: 4.19 KB | 发布时间: 2026-4-17 16:14

v1.0.0 最新 2026-4-17 16:14
Secure GitHub via PAT

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部