gh-triage GitHub Automation for Openclaw

A proactive GitHub automation skill that scans repositories to triage issues, label PRs, and apply minor code fixes automatically.

gruted
v0.1.0
Mar 6, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gh-triage

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gh-triage using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is gh-triage GitHub Automation?

gh-triage is a specialized component of the Openclaw Skills ecosystem designed to streamline the maintenance of GitHub repositories. It acts as a digital first-responder for your open-source projects or private codebases, ensuring that every new issue and pull request is promptly categorized, assigned, and processed according to your specific project rules.

By integrating this skill, maintainers can significantly reduce the cognitive load of manual triage while ensuring contributors receive immediate feedback via automated comments and status updates. This enables a more efficient development lifecycle by allowing human developers to focus on complex tasks while Openclaw Skills handle the routine administrative work of repository management.

gh-triage GitHub Automation Use Cases

  • Automated labeling of incoming GitHub issues based on predefined area tags.
  • Identifying pull requests that require additional information or formatting changes.
  • Scaling project management for high-traffic repositories using Openclaw Skills.
  • Applying automated minor fixes such as typo corrections and template enforcement.
  • Generating periodic reports for maintainers to track project health and pending tasks.

How gh-triage GitHub Automation Works

  1. The skill initializes a cron-based process to monitor configured GitHub repositories at regular intervals.
  2. It fetches metadata for new issues and pull requests using the GitHub REST API and the provided access token.
  3. A logic engine analyzes the issue content and PR metadata to apply labels like needs-info or triage-needed.
  4. If enabled, the skill performs lightweight code modifications for common formatting or typo issues discovered in the stream.
  5. A final summary report is generated, and follow-up tasks are created within the host environment to alert maintainers of actions taken.

gh-triage GitHub Automation Setup

To get started, place the skill folder in your workspace/skills directory and configure your credentials.

# Navigate to your skills directory
cd workspace/skills/gh-triage

# Initialize configuration
cp config.example.json config.json

# Install dependencies
npm install

# Execute the skill manually or via the loader
node index.js

Ensure your GitHub Personal Access Token (PAT) is provided via environment variables or stored securely in your host secret store for Openclaw Skills to access.

gh-triage GitHub Automation Data Schema & Taxonomy

The skill utilizes a structured configuration and produces operational reports as outlined below:

Component Description
config.json Defines target repositories, API tokens, and custom triage rules.
index.js Main entry point managing the logic flow and API interactions.
Reports Markdown summaries of triaged items and applied fixes generated per run.
metadata Tracks state to ensure issues are not processed multiple times.

gh-triage GitHub Automation Advanced Features

  • Custom rule definition for complex labeling logic based on issue body content.
  • Multi-repository support within a single configuration instance.
  • Seamless integration with the Openclaw Skills loader for automated agent orchestration.
  • Automated task delegation and maintainer notification workflows.
  • Support for automatic template enforcement and metadata validation for new PRs.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*