Ralph — Two-Pass Issue Scanning

Split GitHub issue scanning into a lightweight pass and selective hydration pass.

Updated Nov 11, 2025
One-click install
npx skills add https://github.com/acmeleme/Conversation-Knowledge-Mining-Solution-Accelerator --skill ralph-two-pass-issue-scanning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Ralph — Two-Pass Issue Scanning
Source: https://github.com/acmeleme/Conversation-Knowledge-Mining-Solution-Accelerator/tree/main/.squad/templates/skills/ralph-two-pass-scan
Command: npx skills add https://github.com/acmeleme/Conversation-Knowledge-Mining-Solution-Accelerator --skill ralph-two-pass-issue-scanning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill reduces GitHub issue scanning load by separating the initial lightweight scan from full hydration, cutting N+1 calls down to roughly 7 per round. The approach helps teams quickly triage issues at scale without overloading the API or slowing workflows.

Core Features & Use Cases

  • Pass 1 — Lightweight Scan: fetches issues with essential fields to decide which items need hydration.
  • Pass 2 — Selective Hydration: hydrates only a subset of issues that survive Pass 1, based on defined rules.
  • Triage Logic: applies rule-of-thumb to hydrate ≤ 30% of scanned items and tighten filters if needed for efficiency.
  • Use Case: large GitHub repositories with many open issues can benefit from reduced API usage and faster triage.

Quick Start

Run the two-pass scanning workflow against your GitHub repository to triage and hydrate only a subset of issues.

Frequently Asked Questions about Ralph — Two-Pass Issue Scanning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce GitHub API calls when scanning and triaging a large number of open issues?

To reduce GitHub API calls for issue scanning, use a two-pass approach that separates a lightweight initial scan from selective hydration. This method cuts N+1 calls down to roughly 7 per round by hydrating only a subset of issues that meet your triage rules.

What is two-pass issue scanning and how does it work for repository triage?

Two-pass issue scanning is a triage technique where Pass 1 fetches issues with essential fields to identify candidates, and Pass 2 hydrates only that subset with full details. This rule-of-thumb approach typically hydrates less than 30% of scanned items to optimize API usage.

Do I need the gh CLI to run two-pass issue scanning workflows?

Yes, you need gh CLI access to run this two-pass issue scanning workflow. The skill relies on the GitHub CLI to execute the lightweight scan and subsequent selective hydration passes against your repository.

When should I use selective hydration for GitHub issue triage instead of fetching all details?

You should use selective hydration for GitHub issue triage when managing large repositories with many open issues and labels. It prevents API overload by applying triage logic to hydrate only a targeted subset, tightening filters if needed for efficiency.

What is the best way to scale GitHub issue triage without hitting API rate limits?

The best way to scale GitHub issue triage without hitting API rate limits is splitting scanning and hydration into two passes. This workflow reduces API usage by hydrating only the fraction of issues that survive an initial lightweight scan.