$ man pr-pack
/pr-pack
PRICE / CALL
$0.05
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
composeCATEGORY
uncategorized
STATUS
● live
NAME
pr-pack — turns a git diff into a commit message and pr description in one call
SYNOPSIS
POST https://x402.agentutility.ai/pr-pack
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Turns a git diff into a commit message and PR description in one call. Composite: one call runs commit-message-from-diff + pr-description-from-diff in parallel over the same unified diff. Returns a Conventional Commits message (type, scope, subject, full_message) plus a review-ready PR description (title, summary bullets, Markdown test-plan checklist, breaking_change flag, paste-ready body). Diff capped at 30,000 chars. Response includes composed_of + per-component telemetry; partial upstream failure degrades instead of failing. Use it as a pull request bundle, conventional commit + PR body generator, or ship-a-branch helper.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| diff | string | Unified git diff text. Max 30,000 chars. | required |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| commit_message | string | — |
| pr_description | string | — |
| composed_of | string | — |
| components | string | — |
| degraded | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/pr-pack \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the pr-pack tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- composeprpackpr-pack
- methods
- POST
- cluster
- compose
- price
- $0.05 USDC per call
ADJACENT — other endpoints in compose
| endpoint | description | price |
|---|---|---|
| company-dossier | Builds a company research dossier in one call: firmographic profile, domain intelligence, WHOIS registration, TLS, and tech stack. | $0.05 |
| doc-brief | Digests a public PDF in one call: layout-aware markdown, an executive summary, and named entities. | $0.05 |
| localize-pack | Localizes text in one call: detects the source language, translates, and optionally rewrites the translation in a chosen tone. | $0.05 |
| news-digest | Summarizes the news on any topic in one call: ranked results, a bullet digest of the coverage, and the named entities (people, companies,… | $0.05 |
| outreach-pack | Drafts a cold email and verifies the recipient address in one call. | $0.05 |
| person-dossier | Researches a person from their email address in one call: enrichment, deliverability, disposable check, and social handle. | $0.05 |
| repo-health-brief | Assesses whether a public GitHub repo is safe to depend on, in one call: health score, README, and star history. | $0.05 |
| site-snapshot-pack | Captures a website's screenshot, metadata, and SSL certificate in one call. | $0.05 |
SEE ALSO