Agent skill

GitHub Automation

by davila7 in davila7/claude-code-templates

Automate GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio).

MITAuto-check passedProductivity & Automation

Install GitHub Automation

skills CLI
$ npx skills add davila7/claude-code-templates --skill github-automation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates github-automation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/workflow-automation/github-automation .claude/skills/github-automation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
github-automation
GitHub stars
32k
Used in
5 other repos
Token cost
~2.8k tokens
SKILL.md length
1,181 words
Files
1
Skills in repo
477
Repo updated
First seen
Licence
MIT

At a glance

Automate GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio).

  • Works in 6 steps: Create and Manage Issues → Manage Pull Requests → Manage Repositories and Branches → …
  • Tasks that involve App automation through connectors
  • SKILL.md covers Prerequisites, Setup, Core Workflows and Common Patterns, plus 3 more sections
  • Reaches rube.app

What it does

GitHub Automation is an agent skill from davila7/claude-code-templates. Automate GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio). Manage code workflows, review PRs, search code, and handle deployments programmatically.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering App automation through connectors, Pull requests and Deployment. It works with GitHub and Composio. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve App automation through connectors
  • Tasks that involve Pull requests
  • Tasks that involve Deployment

Example prompts

  • “/github-automation”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Create and Manage Issues
  2. Manage Pull Requests
  3. Manage Repositories and Branches
  4. Search Code and Commits
  5. Manage CI/CD and Deployments
  6. Manage Users and Permissions

What it can do on your machine

Read from SKILL.md and the folder at commit 4c82aba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • rube.app

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GitHub Automation loads about 2.8k tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 1,181 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 4c82aba, republished under its MIT licence (© davila7). 1,181 words, ~2,842 tokens.

Download SKILL.mdSave it as .claude/skills/github-automation/SKILL.md (or your agent's skills folder).
name
github-automation
description
Automate GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio). Manage code workflows, review PRs, search code, and handle deployments programmatically.
risk
critical
source
community
date_added
2026-02-27

GitHub Automation via Rube MCP

Automate GitHub repository management, issue tracking, pull request workflows, branch operations, and CI/CD through Composio's GitHub toolkit.

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active GitHub connection via RUBE_MANAGE_CONNECTIONS with toolkit github
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit github
  3. If connection is not ACTIVE, follow the returned auth link to complete GitHub OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Create and Manage Issues

When to use: User wants to create, list, or manage GitHub issues

Tool sequence:

  1. GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER - Find target repo if unknown [Prerequisite]
  2. GITHUB_LIST_REPOSITORY_ISSUES - List existing issues (includes PRs) [Required]
  3. GITHUB_CREATE_AN_ISSUE - Create a new issue [Required]
  4. GITHUB_CREATE_AN_ISSUE_COMMENT - Add comments to an issue [Optional]
  5. GITHUB_SEARCH_ISSUES_AND_PULL_REQUESTS - Search across repos by keyword [Optional]

Key parameters:

  • owner: Repository owner (username or org), case-insensitive
  • repo: Repository name without .git extension
  • title: Issue title (required for creation)
  • body: Issue description (supports Markdown)
  • labels: Array of label names
  • assignees: Array of GitHub usernames
  • state: 'open', 'closed', or 'all' for filtering

Pitfalls:

  • GITHUB_LIST_REPOSITORY_ISSUES returns both issues AND pull requests; check pull_request field to distinguish
  • Only users with push access can set assignees, labels, and milestones; they are silently dropped otherwise
  • Pagination: per_page max 100; iterate pages until empty
2. Manage Pull Requests

When to use: User wants to create, review, or merge pull requests

Tool sequence:

  1. GITHUB_FIND_PULL_REQUESTS - Search and filter PRs [Required]
  2. GITHUB_GET_A_PULL_REQUEST - Get detailed PR info including mergeable status [Required]
  3. GITHUB_LIST_PULL_REQUESTS_FILES - Review changed files [Optional]
  4. GITHUB_CREATE_A_PULL_REQUEST - Create a new PR [Required]
  5. GITHUB_CREATE_AN_ISSUE_COMMENT - Post review comments [Optional]
  6. GITHUB_LIST_CHECK_RUNS_FOR_A_REF - Verify CI status before merge [Optional]
  7. GITHUB_MERGE_A_PULL_REQUEST - Merge after explicit user approval [Required]

Key parameters:

  • head: Source branch with changes (must exist; for cross-repo: 'username:branch')
  • base: Target branch to merge into (e.g., 'main')
  • title: PR title (required unless issue number provided)
  • merge_method: 'merge', 'squash', or 'rebase'
  • state: 'open', 'closed', or 'all'

Pitfalls:

  • GITHUB_CREATE_A_PULL_REQUEST fails with 422 if base/head are invalid, identical, or already merged
  • GITHUB_MERGE_A_PULL_REQUEST can be rejected if PR is draft, closed, or branch protection applies
  • Always verify mergeable status with GITHUB_GET_A_PULL_REQUEST immediately before merging
  • Require explicit user confirmation before calling MERGE
3. Manage Repositories and Branches

When to use: User wants to create repos, manage branches, or update repo settings

Tool sequence:

  1. GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER - List user's repos [Required]
  2. GITHUB_GET_A_REPOSITORY - Get detailed repo info [Optional]
  3. GITHUB_CREATE_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER - Create personal repo [Required]
  4. GITHUB_CREATE_AN_ORGANIZATION_REPOSITORY - Create org repo [Alternative]
  5. GITHUB_LIST_BRANCHES - List branches [Required]
  6. GITHUB_CREATE_A_REFERENCE - Create new branch from SHA [Required]
  7. GITHUB_UPDATE_A_REPOSITORY - Update repo settings [Optional]

Key parameters:

  • name: Repository name
  • private: Boolean for visibility
  • ref: Full reference path (e.g., 'refs/heads/new-branch')
  • sha: Commit SHA to point the new reference to
  • default_branch: Default branch name

Pitfalls:

  • GITHUB_CREATE_A_REFERENCE only creates NEW references; use GITHUB_UPDATE_A_REFERENCE for existing ones
  • ref must start with 'refs/' and contain at least two slashes
  • GITHUB_LIST_BRANCHES paginates via page/per_page; iterate until empty page
  • GITHUB_DELETE_A_REPOSITORY is permanent and irreversible; requires admin privileges
4. Search Code and Commits

When to use: User wants to find code, files, or commits across repositories

Tool sequence:

  1. GITHUB_SEARCH_CODE - Search file contents and paths [Required]
  2. GITHUB_SEARCH_CODE_ALL_PAGES - Multi-page code search [Alternative]
  3. GITHUB_SEARCH_COMMITS_BY_AUTHOR - Search commits by author/date/org [Required]
  4. GITHUB_LIST_COMMITS - List commits for a specific repo [Alternative]
  5. GITHUB_GET_A_COMMIT - Get detailed commit info [Optional]
  6. GITHUB_GET_REPOSITORY_CONTENT - Get file content [Optional]

Key parameters:

  • q: Search query with qualifiers (language:python, repo:owner/repo, extension:js)
  • owner/repo: For repo-specific commit listing
  • author: Filter by commit author
  • since/until: ISO 8601 date range for commits

Pitfalls:

  • Code search only indexes files under 384KB on default branch
  • Maximum 1000 results returned from code search
  • GITHUB_SEARCH_COMMITS_BY_AUTHOR requires keywords in addition to qualifiers; qualifier-only queries are not allowed
  • GITHUB_LIST_COMMITS returns 409 on empty repos
Show full SKILL.md (521 more words)Show less
5. Manage CI/CD and Deployments

When to use: User wants to view workflows, check CI status, or manage deployments

Tool sequence:

  1. GITHUB_LIST_REPOSITORY_WORKFLOWS - List GitHub Actions workflows [Required]
  2. GITHUB_GET_A_WORKFLOW - Get workflow details by ID or filename [Optional]
  3. GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT - Manually trigger a workflow [Required]
  4. GITHUB_LIST_CHECK_RUNS_FOR_A_REF - Check CI status for a commit/branch [Required]
  5. GITHUB_LIST_DEPLOYMENTS - List deployments [Optional]
  6. GITHUB_GET_A_DEPLOYMENT_STATUS - Get deployment status [Optional]

Key parameters:

  • workflow_id: Numeric ID or filename (e.g., 'ci.yml')
  • ref: Git reference (branch/tag) for workflow dispatch
  • inputs: JSON string of workflow inputs matching on.workflow_dispatch.inputs
  • environment: Filter deployments by environment name

Pitfalls:

  • GITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENT requires the workflow to have workflow_dispatch trigger configured
  • Full path .github/workflows/main.yml is auto-stripped to just main.yml
  • Inputs max 10 key-value pairs; must match workflow's on.workflow_dispatch.inputs definitions
6. Manage Users and Permissions

When to use: User wants to check collaborators, permissions, or branch protection

Tool sequence:

  1. GITHUB_LIST_REPOSITORY_COLLABORATORS - List repo collaborators [Required]
  2. GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER - Check specific user's access [Optional]
  3. GITHUB_GET_BRANCH_PROTECTION - Inspect branch protection rules [Required]
  4. GITHUB_UPDATE_BRANCH_PROTECTION - Update protection settings [Optional]
  5. GITHUB_ADD_A_REPOSITORY_COLLABORATOR - Add/update collaborator [Optional]

Key parameters:

  • affiliation: 'outside', 'direct', or 'all' for collaborator filtering
  • permission: Filter by 'pull', 'triage', 'push', 'maintain', 'admin'
  • branch: Branch name for protection rules
  • enforce_admins: Whether protection applies to admins

Pitfalls:

  • GITHUB_GET_BRANCH_PROTECTION returns 404 for unprotected branches; treat as no protection rules
  • Determine push ability from permissions.push or role_name, not display labels
  • GITHUB_LIST_REPOSITORY_COLLABORATORS paginates; iterate all pages
  • GITHUB_GET_REPOSITORY_PERMISSIONS_FOR_A_USER may be inconclusive for non-collaborators

Common Patterns

ID Resolution
  • Repo name -> owner/repo: GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER
  • PR number -> PR details: GITHUB_FIND_PULL_REQUESTS then GITHUB_GET_A_PULL_REQUEST
  • Branch name -> SHA: GITHUB_GET_A_BRANCH
  • Workflow name -> ID: GITHUB_LIST_REPOSITORY_WORKFLOWS
Pagination

All list endpoints use page-based pagination:

  • page: Page number (starts at 1)
  • per_page: Results per page (max 100)
  • Iterate until response returns fewer results than per_page
Safety
  • Always verify PR mergeable status before merge
  • Require explicit user confirmation for destructive operations (merge, delete)
  • Check CI status with GITHUB_LIST_CHECK_RUNS_FOR_A_REF before merging

Known Pitfalls

  • Issues vs PRs: GITHUB_LIST_REPOSITORY_ISSUES returns both; check pull_request field
  • Pagination limits: per_page max 100; always iterate pages until empty
  • Branch creation: GITHUB_CREATE_A_REFERENCE fails with 422 if reference already exists
  • Merge guards: Merge can fail due to branch protection, failing checks, or draft status
  • Code search limits: Only files <384KB on default branch; max 1000 results
  • Commit search: Requires search text keywords alongside qualifiers
  • Destructive actions: Repo deletion is irreversible; merge cannot be undone
  • Silent permission drops: Labels, assignees, milestones silently dropped without push access

Quick Reference

TaskTool SlugKey Params
List reposGITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USERtype, sort, per_page
Get repoGITHUB_GET_A_REPOSITORYowner, repo
Create issueGITHUB_CREATE_AN_ISSUEowner, repo, title, body
List issuesGITHUB_LIST_REPOSITORY_ISSUESowner, repo, state
Find PRsGITHUB_FIND_PULL_REQUESTSrepo, state, author
Create PRGITHUB_CREATE_A_PULL_REQUESTowner, repo, head, base, title
Merge PRGITHUB_MERGE_A_PULL_REQUESTowner, repo, pull_number, merge_method
List branchesGITHUB_LIST_BRANCHESowner, repo
Create branchGITHUB_CREATE_A_REFERENCEowner, repo, ref, sha
Search codeGITHUB_SEARCH_CODEq
List commitsGITHUB_LIST_COMMITSowner, repo, author, since
Search commitsGITHUB_SEARCH_COMMITS_BY_AUTHORq
List workflowsGITHUB_LIST_REPOSITORY_WORKFLOWSowner, repo
Trigger workflowGITHUB_CREATE_A_WORKFLOW_DISPATCH_EVENTowner, repo, workflow_id, ref
Check CIGITHUB_LIST_CHECK_RUNS_FOR_A_REFowner, repo, ref
List collaboratorsGITHUB_LIST_REPOSITORY_COLLABORATORSowner, repo
Branch protectionGITHUB_GET_BRANCH_PROTECTIONowner, repo, branch

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-tool/components/skills/workflow-automation/github-automation of davila7/claude-code-templates.

Open the folder on GitHubat commit 4c82aba

Used in 5 other repositories

We found 9 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

GitHub Automation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GitHub Automation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub Automation this skilldavila7/claude-code-templates32k5 repos~2.8kAutomated safety check: PassMIT
LobeHub Version Releaselobehub/lobehub83k—~1.2kAutomated safety check: PassCustom licence
GitHub Actions Workflow Automationruvnet/agentic-flow8166 repos~6kAutomated safety check: PassNone
Bitbucket Automationdavepoon/buildwithclaude3.6k7 repos~3.1kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
ComposioComposioHQ/composio30k1 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Guides the release PR flow, the CI rules that tag a release and the writing of GitHub Release notes for a repo that develops on a canary branch.

    83k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Generates and optimizes GitHub Actions workflows with swarm coordination, using named modes for PR management, issue tracking, releases and repository structure.

    816 GitHub starsUsed in 6 repos~6k tokens
    DevOps & CloudAuto-check passed
  • Bitbucket Automation

    davepoon/buildwithclaude

    Automate Bitbucket repositories, pull requests, branches, issues, and workspace management via Rube MCP (Composio).

    3.6k GitHub starsUsed in 7 repos~3.1k tokens
    Productivity & AutomationAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Composio

    ComposioHQ/composio

    Route and complete Composio work across Composio For You and Composio Platform.

    30k GitHub starsUsed in 1 repo~1.7k tokens
    Productivity & AutomationAuto-check passed
  • EverOS Release Workflow

    EverMind-AI/EverOS

    Walks through cutting a versioned everos release: bump the version, update the changelog, tag it, and review the drafted GitHub Release page before publishing.

    13k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

More from davila7/claude-code-templates

All 477 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    32k GitHub starsUsed in 12 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    32k GitHub starsUsed in 10 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    32k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    32k GitHub starsUsed in 2 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    32k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Works with

Questions about GitHub Automation

What does GitHub Automation do?

Automate GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio). GitHub Automation is an agent skill from davila7/claude-code-templates. Automate GitHub repositories, issues, pull requests, branches, CI/CD, and permissions via Rube MCP (Composio).

When should I use GitHub Automation?

GitHub Automation fits situations like: tasks that involve App automation through connectors; tasks that involve Pull requests; tasks that involve Deployment.

How do I install GitHub Automation in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill github-automation -a claude-code`. Or copy the skill folder (cli-tool/components/skills/workflow-automation/github-automation in davila7/claude-code-templates) into .claude/skills/github-automation in your project. Claude Code loads it when a task matches its description.

How do I install GitHub Automation in Codex?

Run `npx skills add davila7/claude-code-templates --skill github-automation -a codex`. Or copy the skill folder (cli-tool/components/skills/workflow-automation/github-automation in davila7/claude-code-templates) into .agents/skills/github-automation in your project. Codex loads it when a task matches its description.

Can I use GitHub Automation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill github-automation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/github-automation, .gemini/skills/github-automation, .github/skills/github-automation and .opencode/skills/github-automation in your project.

What does GitHub Automation need to run?

SKILL.md names no scripts, command-line tools or credentials: GitHub Automation is instructions for the agent only.

Does GitHub Automation access the network?

SKILL.md names 1 domain. In commands or code: rube.app; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is GitHub Automation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does GitHub Automation use?

GitHub Automation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GitHub Automation use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GitHub Automation?

Skills that share tags, products or a category with GitHub Automation: LobeHub Version Release (lobehub/lobehub, 83k stars), GitHub Actions Workflow Automation (ruvnet/agentic-flow, 816 stars), Bitbucket Automation (davepoon/buildwithclaude, 3.6k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub Automation?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,432 GitHub stars. The repository holds 477 skills in this directory. The repository was last updated on October 7, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.