get-agentic-blade-metrics

Collects and formats agentic contribution metrics for the razorpay/blade GitHub repository.

649|197|Updated Jan 28, 2020
One-click install
npx skills add https://github.com/razorpay/blade --skill get-agentic-blade-metrics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-agentic-blade-metrics
Source: https://github.com/razorpay/blade/tree/main/.agents/skills/get-agentic-blade-metrics
Command: npx skills add https://github.com/razorpay/blade --skill get-agentic-blade-metrics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Measuring how much of a repository's activity comes from AI agents versus humans requires manually querying GitHub data and computing percentages, which is slow and error-prone. This Skill runs a metrics script and formats the results into a consistent markdown report.

Core Features & Use Cases

  • Automated Metrics Collection: Runs fetch-metrics.mjs to gather PR and review data for the razorpay/blade repo over a configurable timespan.
  • Structured Reporting: Outputs summary, PR, and review metric tables covering agent vs human PRs, auto-approval rates, time to merge, and comment resolution.
  • Use Case: A maintainer wants a monthly report on what percentage of PRs were raised by the rzp-slash agent and how many review comments were resolved by agents, formatted as ready-to-share markdown tables.

Quick Start

Ask the assistant to get the agentic blade metrics for the last 30 days and present the summary, PR, and review tables.

Frequently Asked Questions about get-agentic-blade-metrics

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

FAQPage Schema
How do I get agentic metrics for the razorpay/blade repo?

Run the fetch-metrics.mjs script from the repo root with node .github/scripts/fetch-metrics.mjs followed by an optional number of days. The script outputs a full markdown report that is then formatted into summary, PR, and review tables.

How to measure AI agent vs human pull request activity on GitHub?

This skill counts PRs raised by the rzp-slash or rzp-slash-public agent users versus all other authors, then computes percentages for each group. It also tracks the Agentic Merge Ready label to measure auto-approval rates.

Which bots are excluded from the review comment metrics?

Comments from changeset-bot, github-actions, and codesandbox-ci are excluded from all review metrics. PRs labeled Ignore - Test PR are also excluded from every calculation.

Can I change the timespan of the metrics report?

Yes, pass a number of days as an argument to the fetch-metrics.mjs script to control the timespan. The report header reflects the timespan covered by the collected metrics.

Why are version update PRs missing from time to merge metrics?

Average and median time to merge calculations intentionally exclude update version PRs because they are automated releases that would skew the merge duration statistics.