GitHub is one of the highest-leverage OpenClaw connections because it connects the assistant to real engineering work. This page shows you how to set it up and what to do with it.
Make sure your basic setup is working:
You should also have a channel connected (Discord or Telegram) so the assistant can deliver outputs somewhere visible.
repo (if you need access to private repos)public_repo (if only public repos)read:org (if you need org-level visibility)For read-only workflows (recommended first), you only need read access. Do not grant write permissions until the read workflow is useful.
Add the GitHub configuration to your workspace config:
{
"integrations": {
"github": {
"token": "your-github-token",
"repos": [
"owner/repo-name"
]
}
}
}Start with one repository. Do not add your entire GitHub account on the first setup.
Pick one workflow to start with:
Every morning, the assistant summarizes new issues from your repos and sends the summary to your channel. Good for maintainers who want to stay informed without watching GitHub all day.
When a new issue is created, the assistant reads it, identifies missing context, and drafts a clarifying response. Good for projects with high issue volume.
On a schedule, the assistant checks for stale PRs, untagged issues, or missing labels and reports the findings. Good for keeping repos organized.
Do not run all three on day one. Pick one and validate it.
After configuring:
Common issues:
Start with something low risk and review-friendly:
The first GitHub workflow should improve visibility before it automates action.