GitHub Token — GitHub 令牌
v1.0.0Interact with GitHub using Personal 访问 令牌s. 安全, user-controlled 访问 - no OAuth, no full account 访问. Clone, push, branch, PR, issues. Use when user wants to work with GitHub repos.
1· 1.9k·0 当前·0 累计
下载技能包
License
MIT-0
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install github-token
镜像加速npx clawhub@latest install github-token --registry https://cn.longxiaskill.com 镜像可用
技能文档
GitHub PAT
Interact with GitHub using Personal 访问 令牌s. User controls 访问 via PAT scopes.
设置up
User provides their PAT:
- 创建 PAT at github.com/设置tings/令牌s
- Select scopes (repo for full, public_repo for public only)
- Provide 令牌 to 代理
Store in 工具S.md or pass via --令牌.
Commands # 列出 repos you have 访问 to python3 scripts/gh.py repos [--令牌 令牌]
# Clone a repo python3 scripts/gh.py clone owner/repo [--令牌 令牌]
# 创建 branch python3 scripts/gh.py branch [--repo owner/repo]
# Commit and push python3 scripts/gh.py push "" [--branch branch] [--repo owner/repo]
# Open a pull 请求 python3 scripts/gh.py pr "