Xpersona
R

Repo Guardian

CLAWHUB · Unverified

Automated GitHub PR review governance and repository maintenance automation. Use when reviewing pull requests with dual-model consensus, enforcing merge gate... Skill: Repo Guardian Owner: corbin-breton Summary: Automated GitHub PR review governance and repository maintenance automation. Use when reviewing pull requests with dual-model consensus, enforcing merge gate... Tags: latest:1.4.1 Version history: v1.4.1 | 2026-03-30T14:26:08.946Z | auto - Added required environment variables to metadata: GUARDIAN_AGENT, GUARDIAN_REVIEWER_B_AGENT, GUARDIAN_REPO, GUARDIAN_AUTO_MERGE,

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/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 s17e2d7wzt9cynyq8rc1g1bem583fhdd:repo-guardian
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. 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-corbin-breton-repo-guardian/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

75,379 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: repo-guardian
description: >
  Automated GitHub PR review governance and repository maintenance automation.
  Use when reviewing pull requests with dual-model consensus, enforcing merge
  gates, auto-merging approved PRs, and triaging repo state on a cron schedule.
  Not for implementing issue fixes end-to-end (use gh-issues) or general GitHub
  CLI operations (use the github skill). Works on any GitHub repository.
version: 1.4.1
homepage: https://clawhub.ai/corbin-breton/repo-guardian
metadata:
  openclaw:
    requires:
      env:
        - GH_TOKEN
        - GUARDIAN_AGENT
        - GUARDIAN_REVIEWER_B_AGENT
        - GUARDIAN_REPO
        - GUARDIAN_AUTO_MERGE
        - GUARDIAN_AUTO_FIX
        - GUARDIAN_MAX_PRS
        - GUARDIAN_MAX_ISSUES
      bins:
        - openclaw
        - python3
        - curl
    primaryEnv: GH_TOKEN
---

# Repo Guardian — Dual-Model PR Review & Issue Triage

Automated repository maintenance with cross-model review consensus.

## Scope & Boundaries

Repo Guardian handles **PR review governance and repo maintenance automation**:
reviewing PRs, enforcing quality via dual-model consensus, auto-merging when
approved, and triaging repository state.

It is **not** the issue-to-fix implementation pipeline. If the job is to fetch
issues, spawn coding agents, implement fixes, open PRs, and monitor review
feedback, use **gh-issues** instead.

It is also **not** a general-purpose GitHub CLI toolkit. For direct `gh` CLI
operations such as listing PRs, commenting, checking CI, or making ad hoc API
queries, use the **github** skill.

## NOT For

- **Implementing issue fixes end-to-end** — fetching issues, spawning coding agents, writing code, and opening PRs belongs to the **gh-issues** skill
- **General GitHub CLI operations** — listing PRs, commenting, checking CI, or ad-hoc `gh` queries belong to the **github** skill
- **Code authoring or refactoring** — Repo Guardian reviews and gates merges; it does not write new code

## What It Does

Every 6 hours (configurable), Repo Guardian:

1. **Checks for open PRs** on the target repo
2. **Reviews each PR** with two independent models (Opus + GPT-5.4)
3. **Merges** if both models approve
4. **Requests changes** if either model finds issues
5. **Optionally prepares follow-up remediation** for review-discovered issues
6. **Checks for open issues** and triages them for the appropriate next step

## Cron Setup

```bash
# Run the guardian script via OpenClaw cron
# Add to ~/.openclaw/cron/jobs.json:
{
  "repo-guardian": {
    "schedule": "0 */6 * * *",
    "agent": "<your-agent-name>",
    "message": "Run repo-guardian for your-org/your-repo",
    "skill": "repo-guardian"
  }
}
```

Or run manually:
```bash
bash <skill_dir>/scripts/guardian.sh your-org/your-repo
```

## Review Process

### PR Review (Dual-Model Consensus)

```
Open PR detected
  │
  ├─→ Opus reviews (security, architecture, correctness)
  ├─→ Sonnet reviews (code quality, edge cases, tests)
  │   (fallback: H

_meta.json

{
  "ownerId": "kn7b3n5k9r8xhw7gcdaavm0vxn831xpx",
  "slug": "repo-guardian",
  "version": "1.4.1",
  "publishedAt": 1774880768946
}

skill-card.md

## Description:

Automated GitHub PR review governance and repository maintenance automation.

This skill is ready for commercial/non-commercial use.

## Publisher:

[corbin-breton](https://clawhub.ai/user/corbin-breton)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and repository maintainers use Repo Guardian to review open pull requests with dual-model consensus, gate merges, post review comments, and triage repository issues on a scheduled or manual run.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Unattended repository write actions can merge pull requests based on model decisions over untrusted PR content.

Mitigation: Use human approval for merges, set GUARDIAN_AUTO_MERGE=false or pass --no-merge by default, and keep branch protections and CI checks enforced.

Risk: A broad GitHub token increases the impact of mistaken or compromised automation.

Mitigation: Use a fine-grained GH_TOKEN limited to the specific repository and only the permissions required for the chosen review or merge mode.

Risk: Dual-review consensus is weaker if both reviewers use the same or poorly separated model configuration.

Mitigation: Configure two genuinely separate reviewer agents and monitor disagreement or low-confidence outcomes before allowing write actions.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/corbin-breton/skills/repo-guardian)
- [Artifact homepage](https://clawhub.ai/corbin-breton/repo-guardian)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown review comments, JSON review verdicts, and shell command invocations]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires GH_TOKEN, openclaw, python3, curl, and a configured target repository; may write GitHub comments, labels, merge actions, and audit traces depending on configuration.]

## Skill Version(s):

1.4.1 (source: server release metadata and skill frontmatter)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Repo Guardian and adjacent AI workflows.