github-automation — Claude Code skill: GitHub via Rube MCP
A Claude skill that walks through GitHub work over Rube MCP: issues, pull requests, branches, code search and CI/CD.
npx claude-code-templates@latest --skill workflow-automation/github-automationWhat github-automation does
This skill lays out the Composio tool sequences for GitHub. Filing and triaging issues, handling pull requests, creating branches, changing repository settings, searching code and commits, reading workflow and deployment status — all of it runs through Rube MCP instead of the gh CLI.
Setup comes first. Add https://rube.app/mcp as an MCP server in your client config; no API keys are involved. Then call RUBE_MANAGE_CONNECTIONS with the github toolkit and finish OAuth through the link you get back. Nothing runs until that connection reads ACTIVE. Tool schemas shift, so the skill insists on calling RUBE_SEARCH_TOOLS before anything else.
A few traps are worth knowing. GITHUB_LIST_REPOSITORY_ISSUES returns pull requests alongside issues, so check the pull_request field. Labels and assignees get dropped without a warning when the account lacks push access. Merging is gated on your explicit confirmation, and GITHUB_CREATE_A_REFERENCE only makes new refs — existing ones need GITHUB_UPDATE_A_REFERENCE.
What it helps with
- open an issue with labels and assignees
- check CI status before merging a pull request
- find a file or commit across repositories
- branch off a specific commit SHA
- trigger a workflow by hand with a dispatch event
Example prompts for the agent
- Open an issue in
owner/repoabout the failing build and label itbug - List the open pull requests and tell me whether CI passes on them
- Search GitHub code for every
TODOin the repo
How to install github-automation
1claude-code-templates
npx claude-code-templates@latest --skill workflow-automation/github-automation2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill github-automation -a claude-code3Manually: put the files in place
~/.claude/skills/github-automation/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/github-automation/
Manually: put the files in place
.agents/skills/github-automation/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/github-automation/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates github-automation2Manually: put the files in place
.github/skills/github-automation/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/workflow-automation/github-automationManually: put the files in place
.devin/skills/github-automation/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about github-automation
How do I install github-automation in Claude Code?
Run npx claude-code-templates@latest --skill workflow-automation/github-automation. Or use npx skills add davila7/claude-code-templates --skill github-automation -a claude-code. The skill lands at ~/.claude/skills/github-automation/SKILL.md.
What does github-automation do?
It maps out the Rube MCP calls for creating issues, working with pull requests, managing branches and repositories, searching code and commits, and reading workflow and deployment status.
What has to be in place before it works?
Rube MCP connected with RUBE_SEARCH_TOOLS responding, plus an ACTIVE GitHub connection made through RUBE_MANAGE_CONNECTIONS with the github toolkit.