跳到正文
TakoAPI
返回技能列表

ghapp

由 rmorse 提供

Coding Agents & IDEs
323下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Give your AI agents and automations their own GitHub (App) identity.

描述

该技能的功能

ghapp authenticates git and gh commands as a GitHub App installation, using short-lived tokens instead of personal access tokens. Commits and API actions are attributed to the app's bot account rather than any individual user.

GitHub App tokens have higher rate limits and cleaner audit trails than personal access tokens, and bot-attributed commits keep team history uncluttered.

何时使用

  • Pushing commits from CI pipelines as a bot account
  • Opening pull requests from automation without using a personal token
  • Running scheduled scripts that interact with GitHub repositories
  • Separating bot activity from personal GitHub account history
  • Authenticating in containers or headless environments without user credentials

示例工作流

输入

User asks: set up GitHub App authentication for my automation scripts

智能体
  1. 1

    Run ghapp setup to launch the interactive wizard

  2. 2

    Enter the App ID, Installation ID, and path to the .pem private key

  3. 3

    Configure git and gh authentication with ghapp auth configure

  4. 4

    Verify the setup with ghapp auth status

输出

git clone, push, pull, and gh commands now authenticate as the GitHub App bot account

前置要求

  • GitHub App with App ID and Installation ID
  • GitHub App private key (.pem file)

安装

clawhub install rmorse/ghapp

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接