gm3dmo/the-power/setup-github-app
Claude Code and agent skill by gm3dmo/the-power
- community
Checking that the SKILL.md file is still in the repository.
Guide agents through registering, configuring, and installing a GitHub App for use with the-power. Covers private key generation, .gh-api-examples.conf setup, JWT creation, installation token exchange, and verification.
Install
npx vskill@latest install gm3dmo/the-power/setup-github-appSKILL.md
Setup a GitHub App
Walk through creating a GitHub App and configuring the-power to authenticate with it. At the end you will have a working ghs_ installation token.
Working directory
All scripts must be run from the root of a the-power repository clone (the directory containing .gh-api-examples.conf).
Find an existing clone:
Prerequisites
.gh-api-examples.confmust exist (see theconfigureskill).- A GitHub organisation where you have admin access.
- The Ruby JWT gem:
``bash sudo gem install jwt ``
Step-by-step process
1. Register the app
In the GitHub UI navigate to:
Organisation → Settings → Developer settings → GitHub Apps → New GitHub App
Fill in the basics:
| Field | Example value | |
|---|---|---|
| App name | test-app (must be unique across GitHub) | |
| Homepage URL | https://example.com/homepage | |
| Webhook URL | https://example.com/webhook or a smee.io channel |
2. Set permissions
Choose the permissions the app needs for the scripts you plan to run. Start with a minimal set and add more later — but remember to approve permission changes in the installation UI (see below).
3. Create the app
Click Create GitHub App. You will land on the app's settings page.
4. Generate a private key
On the app settings page, scroll to Private keys and click Generate a private key. A .pem file downloads automatically.
Keep it safe — you need the path to this file in step 6.
5. Install the app on your organisation
In the left sidebar click Install App, then Install next to your organisation. Choose repository access (all or selected).
6. Configure the-power
Set the GitHub App values in .gh-api-examples.conf:
7. Verify the setup
Expected output:
If you see a ghs_ token, the app is working.
Where to find IDs
| ID | Where to find it | |
|---|---|---|
| App ID | Organisation → Settings → Developer settings → GitHub Apps → your app (near the top) | |
| Client ID | Same page as App ID | |
| Installation ID | Organisation → Settings → GitHub Apps → gear icon → check the URL: .../installations/<ID> |
Approving permission changes
When you update an app's permissions, you must approve the change in the installation UI:
- Go to Organisation → Settings → GitHub Apps → gear icon
- Click Review request
- Click Accept new permissions
If you skip this, the permission change will not take effect.
Key scripts
| Script | Purpose | |
|---|---|---|
tiny-get-jwt.py | Generate a JWT from the private key (Python) | |
tiny-get-jwt.rb | Generate a JWT from the private key (Ruby) | |
tiny-call-get-jwt.sh | Shell wrapper that calls tiny-get-jwt.rb | |
tiny-call-get-installation-token.sh | Exchange JWT for an installation access token | |
tiny-dump-app-token.sh | End-to-end: generate JWT → get token → print it | |
tiny-get-an-app.sh | Get app metadata | |
tiny-list-app-installations.sh | List app installations | |
create-an-installation-access-token-for-an-app-modified-permissions.sh | Token with custom permissions | |
create-an-installation-access-token-for-an-app-selected-repo-modified-permissions.sh | Token scoped to specific repos |
See also
docs/setting-up-a-gh-app.mdin the-power- SO YOU WANT TO USE A GITHUB APP ON YOUR ORG
Error handling
- 401 "A JSON web token could not be decoded" — the private key path is
wrong, the key is corrupted, or the JWT gem is not installed.
- 404 on installation endpoint — the installation ID is wrong, or the app
is not installed on the organisation.
- 403 "Resource not accessible by integration" — the app lacks the required
permissions, or a permission change has not been approved.
- 422 "No installation found" — the
default_installation_iddoes not
match an active installation.
Boundaries
- Do not display the full private key or app token. Show only the first
8 characters of tokens.
- Do not commit `.pem` files to any repository.
- Do not modify `.gh-api-examples.conf` directly unless asked. Use
python3 gh-set-value.py to change individual values.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcopilot-plugin/skills/setup-github-app/SKILL.md
Popularity
- Repository stars
- 216
- Repository forks
- 46
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 2 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gm3dmo/the-power/setup-github-app)