Xpersona
A

Auto Pr Merger

CLAWHUB · Unverified

Automatically checks out a GitHub PR, runs tests, retries fixes if tests fail, and merges the PR upon successful tests. Skill: Auto Pr Merger Owner: autogame-17 Summary: Automatically checks out a GitHub PR, runs tests, retries fixes if tests fail, and merges the PR upon successful tests. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-02-17T13:04:47.656Z | user batch sync Archive index: Archive v1.0.0: 5 files, 5627 bytes Files: _meta.json (133b), index.js (11584b), package-lock.json (616b), package.json (276b), SKILL.md (985b) Fil

62
Rank
84
Safety
2.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174qjf2384d46r16zkn04qam183hbm3:auto-pr-merger
  1. Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-autogame-17-auto-pr-merger/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

2,543 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

# Auto PR Merger Skill

This skill automates the workflow of checking out a GitHub PR, running tests, attempting to fix failures, and merging if successful.

## Usage

```bash
node skills/auto-pr-merger/index.js --pr <PR_NUMBER_OR_URL> --test "<TEST_COMMAND>" [--retries <NUMBER>]
```

## Arguments

- `--pr`: The PR number or URL (e.g., `123` or `https://github.com/owner/repo/pull/123`).
- `--test`: The command to run tests (e.g., `npm test`, `pytest`).
- `--retries`: (Optional) Number of times to attempt fixing the code if tests fail. Default: 3.

## Requirements

- `gh` CLI installed and authenticated.
- Node.js environment.

## Logic

1.  Checks out the PR using `gh pr checkout`.
2.  Runs the specified test command.
3.  If tests fail:
    *   Reads the output.
    *   Attempts a fix (Currently a placeholder/mock fix logic).
    *   Commits and pushes the fix.
    *   Retries the test command.
4.  If tests pass:
    *   Merges the PR using `gh pr merge --merge --auto`.

_meta.json

{
  "ownerId": "kn7apafdj4thknczrgxdzfd2v1808svf",
  "slug": "auto-pr-merger",
  "version": "1.0.0",
  "publishedAt": 1771333487656
}

package-lock.json

{
  "name": "auto-pr-merger",
  "version": "1.0.0",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "auto-pr-merger",
      "version": "1.0.0",
      "dependencies": {
        "minimist": "^1.2.8"
      }
    },
    "node_modules/minimist": {
      "version": "1.2.8",
      "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
      "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
      "license": "MIT",
      "funding": {
        "url": "https://github.com/sponsors/ljharb"
      }
    }
  }
}

package.json

{
  "name": "auto-pr-merger",
  "version": "1.0.0",
  "description": "Automates PR checkout, testing, fixing, and merging.",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "dependencies": {
    "minimist": "^1.2.8"
  }
}

Sponsored

Ads related to Auto Pr Merger and adjacent AI workflows.