codewithpraw

Paytriage — AI skill for Claude Code

AI community

Paytriage: AI payment recovery agent that detects failed recurring payments, analyzes failure root causes, and executes intelligent recovery strategies.

How to install Paytriage

This entry records only its repository, not the path inside it, so there is no exact command to give. Open codewithpraw/paytriage and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Paytriage does

Paytriage: AI payment recovery agent that detects failed recurring payments, analyzes failure root causes, and executes intelligent recovery strategies. Built with Claude AI for the Razorpay AI Buildathon.

Alternatives in AI

  • Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
  • Context Dump — Dump current context for model switch or context limit recovery 508 ★
  • Prismor — Self-hosted runtime control plane for AI agents 334 ★

README

Paytriage — An AI agent that intelligently detects and recovers failed recurring payments using Claude AI. Built for Razorpay's AI Buildathon.

Paytriage

An intelligent AI agent that detects and recovers failed recurring payments using Claude AI.

The Problem

Merchants lose significant revenue to failed recurring payments due to card expirations, insufficient funds, network issues, and bank declines. Traditional retry systems apply one-size-fits-all logic. Paytriage uses AI to intelligently triage each failure and execute targeted recovery strategies.

The Solution

Paytriage is an AI-powered recovery agent that:

  • Detects failed recurring payments across merchant accounts
  • Analyzes root causes (card expired vs insufficient funds vs network error)
  • Triages which payments are recoverable and worth pursuing
  • Executes targeted recovery workflows (immediate retry vs SMS notification then retry vs customer contact)
  • Measures results with detailed audit trails and recovery metrics

Key Features

✅ AI-powered root cause analysis using Claude AI ✅ Intelligent retry strategy selection (not all failures warrant retry) ✅ Bounded, explainable decisions with audit trails ✅ Measured results: amount recovered, success rate, failure reasons ✅ Compliance-first: escalation rules, stopping conditions, no spam

Results

Recovers lost revenue from failed recurring payments with measured precision and recall.

**Example Metrics:**

  • Detected: 50 failed payments (₹25,000 total)
  • Recovered: 35 payments (₹17,500 total)
  • Success Rate: 70%
  • Average Recovery Time: 2-3 days

Built For

Razorpay AI Buildathon — AI Revenue Recovery Track