pr-diff

A pull-request webhook agent that receives an event from GitHub, the service that hosts code repositories and reviews, then extracts the pull-request number and repository before retrieving the change list.

In plain words
What is it for?
Use it to process GitHub pull-request webhooks and write a result based on the retrieved pull-request diff.
Why use it?
It turns an incoming pull-request event into the information needed to inspect the proposed code changes.

Agent

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.

agentmods
npx agentmods add agents/tgpski/leather/pr-diff
Clone the repo
git clone --depth 1 https://github.com/TGPSKI/leather
Per session 3 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 130 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00003 $0.00130
Opus 5 $0.00002 $0.00065
Sonnet 5 $0.00001 $0.00026
Haiku 4.5 $0.00000 $0.00013

Measured 2d ago against content hash cf530ad644d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr-diff 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 2d ago.

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.

examples/10-ci-gate/agents/pr-diff.agent.md · 17 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 2d ago First seen · 17 lines · 3 tokens per session scan A cf530ad644d4

Subscribe to this mod's changes

pr-diff is an agent published in the GitHub repository TGPSKI/leather (17 stars, last pushed 23d ago), licensed GPL-3.0. It adds 3 tokens to every session and 130 once invoked, about $0.0000 per session on Opus 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-30.

Related

Other agents, from other repositories

CREATING_AGENTS

Station agents are intelligent AI assistants that can execute tasks using MCP (Model Context Protocol) tools. This guide covers creating, configuring, and deploying agents.

cloudshipai/station · 0 tokens

ENVIRONMENTS

Station's environment system provides secure isolation for agents and tools across development, staging, and production environments. Each environment maintains its own MCP server pool, agent definitions, and configuration variables.

cloudshipai/station · 0 tokens

station-operator

Station AI agent operator. Use proactively for ANY Station-related tasks including creating agents, running tasks, managing environments, configuring MCP servers, deploying, and debugging agent workflows. Has full access to Station's 55+ MCP tools.

cloudshipai/station · 49 tokens

MCP_INTEGRATION

Station provides comprehensive integration with the Model Context Protocol (MCP), enabling agents to access powerful tools through standardized interfaces. This guide covers MCP server setup, tool discovery, and advanced integration patterns.

cloudshipai/station · 0 tokens

dynamic-agents

Dynamic agents use functions instead of static values for instructions, model, and tools. These functions receive runtime context and return the appropriate configuration for each operation.

VoltAgent/voltagent · 0 tokens

openai-sdk

OpenAI's Agents SDK supports structured tool use and multi-modal workflows. ContextForge can serve as a unified tool registry for OpenAI agents.

IBM/mcp-context-forge · 0 tokens