ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 2/5

Auto Pr Merger

Skill by autogame-17

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/autogame-17/auto-pr-merger
Or

What This Skill Does

The Auto PR Merger skill by autogame-17 is a sophisticated automation tool designed to streamline the GitHub pull request lifecycle. Instead of manually checking out branches, executing test suites, debugging failures, and merging code, this agentic skill handles the entire sequence autonomously. By integrating with the GitHub CLI (gh), it pulls the specified PR into your local environment, executes your defined test suite, and—if a failure occurs—attempts to identify and patch the code using internal logic. Once the environment validates that the tests pass, the skill automatically merges the PR into the base branch, saving developers significant time on repetitive CI/CD overhead and minor bug squashing.

Installation

To integrate this skill into your OpenClaw environment, ensure you have Node.js installed and the GitHub CLI (gh) configured with appropriate repository permissions. Run the following command in your terminal:

clawhub install openclaw/skills/skills/autogame-17/auto-pr-merger

Ensure your terminal session has the necessary environment variables set to interact with your specific GitHub repositories, and verify that the gh tool is authenticated by running gh auth status.

Use Cases

This skill is ideal for high-velocity software teams and open-source maintainers who deal with a large volume of pull requests. It is particularly useful for handling minor dependency updates or trivial documentation fixes that require standard test validation. It allows maintainers to queue PRs for automated review, knowing the agent will proactively attempt to fix failing tests before notifying a human for a final audit.

Example Prompts

  1. "OpenClaw, please run the Auto PR Merger for pull request #42 and use 'npm test' to validate the build. Attempt up to 2 retries if the tests fail."
  2. "Merge PR 156 from the repo using 'pytest' as the test command. If it fails, try to apply a fix and retry once."
  3. "Automate the merge process for the latest PR in this repository, using 'npm run ci' for testing and the default retry limit."

Tips & Limitations

The Auto PR Merger is most effective when your test suite is deterministic and provides clear feedback. Because the 'fix' logic is currently an evolving feature, avoid using this on mission-critical production codebases without human supervision. Always review the logs generated during the testing phase to understand what fixes were applied. Additionally, ensure your gh CLI has the correct write permissions, as the automated merge process will fail if the token lacks repository access.

Metadata

Stars4146
Views3
Updated2026-04-16
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-autogame-17-auto-pr-merger": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#github#automation#devops#testing#merge
Safety Score: 2/5

Flags: file-write, file-read, external-api, code-execution