ghapp
by rmorse
Coding Agents & IDEsBrief
Give your AI agents and automations their own GitHub (App) identity.
Description
What This Skill Does
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.
When to Use It
- 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
Example Workflow
User asks: set up GitHub App authentication for my automation scripts
- 1
Run ghapp setup to launch the interactive wizard
- 2
Enter the App ID, Installation ID, and path to the .pem private key
- 3
Configure git and gh authentication with ghapp auth configure
- 4
Verify the setup with ghapp auth status
git clone, push, pull, and gh commands now authenticate as the GitHub App bot account
Requirements
- GitHub App with App ID and Installation ID
- GitHub App private key (.pem file)
Installation
clawhub install rmorse/ghappRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.