pr-trends

pr-trends is a skill for Codex from artivilla/agents-config. It costs 72 tokens per session (482 once invoked), scanned A, original, MIT.

A report generator for pull requests, which are proposed code changes reviewed before they are merged into a repository. It produces weekly and monthly tables about repository activity.

In plain words
What is it for?
Use it to review PR throughput, contribution trends, merge speed, and lines changed over weekly or monthly periods.
Why use it?
It brings creation, merging, time-to-merge, and change-size data into one summary. It also explains whether the figures came from GitHub data or local Git history.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to review PR throughput, contribution trends, merge speed, and lines changed over weekly or monthly periods.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/artivilla/agents-config/pr-trends
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add artivilla/agents-config --skill pr-trends
Clone the repo
git clone --depth 1 https://github.com/artivilla/agents-config

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-trends

README.md
[![agentmods](https://agentmods.dev/badge/skills/artivilla/agents-config/pr-trends/github.svg)](https://agentmods.dev/skills/artivilla/agents-config/pr-trends)
Your own site
<a href="https://agentmods.dev/skills/artivilla/agents-config/pr-trends"><img src="https://agentmods.dev/badge/skills/artivilla/agents-config/pr-trends/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-trends

Your own site · 80×15
<a href="https://agentmods.dev/skills/artivilla/agents-config/pr-trends"><img src="https://agentmods.dev/badge/skills/artivilla/agents-config/pr-trends.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 482 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.00482
Opus 5.5 $0.00029 $0.00193
Sonnet 5.5 $0.00014 $0.00096
Haiku 4.5 $0.00007 $0.00048

Measured 3mo ago against content hash 10e07236cfaf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-trends scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/report-pr-trends.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pr-trends/SKILL.md · 51 lines

What it actually says

Use this skill when the user wants a repo-level pull request trend report.

Quick start

Run the bundled script from the target repository:

node .agents/skills/pr-trends/scripts/report-pr-trends.mjs

Useful options:

node .agents/skills/pr-trends/scripts/report-pr-trends.mjs --repo /path/to/repo
node .agents/skills/pr-trends/scripts/report-pr-trends.mjs --mode gh
node .agents/skills/pr-trends/scripts/report-pr-trends.mjs --mode git

Source selection

  • --mode auto: try gh pr list first for exact PR createdAt, mergedAt, and line counts. Fall back to git if gh is unavailable or offline.
  • --mode gh: require GitHub CLI data. Use this when the user needs exact PR creation trends and accurate days-to-merge.
  • --mode git: use only local mainline history. This gives reliable merged counts and merged lines changed, but it cannot recover exact PR creation timestamps or closed-unmerged PRs.

Output

The script prints:

  1. A weekly summary table
  2. A monthly summary table
  3. A short note describing which data source was used

Interpretation

  • Created is grouped by PR creation time when GitHub metadata is available.
  • Merged, Avg Days, and Lines Δ are grouped by merge time.
  • In git fallback mode, Created and Avg Days are shown as - because local git history does not preserve complete PR lifecycle metadata.

Notes

  • Run from the repo root unless --repo is provided.
  • The script reads first-parent history so the report reflects the mainline branch.
  • If the fallback note mentions missing PR numbers, treat those as likely closed, unmerged, or otherwise not reconstructable from local git alone.
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 51 lines · 72 tokens per session scan A 10e07236cfaf

Subscribe to this mod's changes

pr-trends is a skill published in the GitHub repository artivilla/agents-config (0 stars, last pushed 5mo ago), licensed MIT. It adds 72 tokens to every session and 482 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

pr-trends compared with skills from other repositories

pr-trends next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-trendsartivilla/agents-configSkill05mo agoMITA72Codex
artifactscloudflare/skillsSkill3.6k2d agoApache-2.0A66Claude Code
skill-upstream-prluongnv89/asmSkill976todayMITA56Claude Code
skill-changelogluongnv89/asmSkill976todayMITA53Claude Code
meanest-editorelvisun/newsjackSkill1.7k9d agoMITA33Claude Code
headline-generatorelvisun/newsjackSkill1.7k9d agoMITA88Claude Code
ai-visibility-writingelvisun/newsjackSkill1.7k9d agoMITA137Claude Code