setup

setup is a skill for Claude Code from Venkateshwar-Reddy-Jambula/razorpay-integration-plugin. It costs 56 tokens per session (1,709 once invoked), scanned A, original, MIT.

A setup guide for adding Razorpay, an online payment service, to an application.

In plain words
What is it for?
Use it when starting a Razorpay integration, adding payments, initializing billing, or configuring test and production keys.
Why use it?
It lays out the required package, environment settings, payment plan IDs, and shared client setup so the integration has the needed configuration.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the razorpay plugin — 15 skills, 9 agents, 1 hook shipped together

Good fit Use it when starting a Razorpay integration, adding payments, initializing billing, or configuring test and production keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/venkateshwar-reddy-jambula/razorpay-integration-plugin/setup
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 Venkateshwar-Reddy-Jambula/razorpay-integration-plugin --skill setup
Clone the repo
git clone --depth 1 https://github.com/Venkateshwar-Reddy-Jambula/razorpay-integration-plugin

Made for: Claude Code.

Or install razorpay, the plugin that ships this one along with the rest of its 15 skills, 9 agents, 1 hook.

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 setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/venkateshwar-reddy-jambula/razorpay-integration-plugin/setup/github.svg)](https://agentmods.dev/skills/venkateshwar-reddy-jambula/razorpay-integration-plugin/setup)
Your own site
<a href="https://agentmods.dev/skills/venkateshwar-reddy-jambula/razorpay-integration-plugin/setup"><img src="https://agentmods.dev/badge/skills/venkateshwar-reddy-jambula/razorpay-integration-plugin/setup/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 setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/venkateshwar-reddy-jambula/razorpay-integration-plugin/setup"><img src="https://agentmods.dev/badge/skills/venkateshwar-reddy-jambula/razorpay-integration-plugin/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00056 $0.01709
Opus 5 $0.00028 $0.00855
Sonnet 5 $0.00011 $0.00342
Haiku 4.5 $0.00006 $0.00171

Measured 9d ago against content hash b54227893ea0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -u rzp_test_key:rzp_test_secret \
skills/setup/SKILL.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Razorpay Integration Setup

You are setting up Razorpay payment integration. Follow these steps precisely.

Step 1: Install Dependencies

npm install razorpay
# or
pnpm add razorpay

Step 2: Environment Variables

Create or update .env.local:

# Razorpay API Keys
RAZORPAY_KEY_ID=rzp_test_xxxxx          # Test key (rzp_live_xxxxx for production)
RAZORPAY_KEY_SECRET=xxxxx               # API secret
NEXT_PUBLIC_RAZORPAY_KEY_ID=rzp_test_xxxxx  # Same as RAZORPAY_KEY_ID (client-side)
RAZORPAY_WEBHOOK_SECRET=xxxxx           # Webhook signature verification

# Plan IDs (create plans in Razorpay Dashboard first)
RAZORPAY_PLAN_MONTHLY=plan_xxxxx
RAZORPAY_PLAN_YEARLY=plan_xxxxx

IMPORTANT: Test keys start with rzp_test_, live keys with rzp_live_. Never commit secrets.

Step 3: Razorpay Client Singleton

Create a shared Razorpay instance. Do NOT create new instances per request.

// lib/razorpay.ts
import Razorpay from "razorpay";

// Validate required env vars at startup — fail early, not at first payment
const requiredEnvVars = [
  "RAZORPAY_KEY_ID",
  "RAZORPAY_KEY_SECRET",
  "RAZORPAY_WEBHOOK_SECRET",
] as const;

for (const key of requiredEnvVars) {
  if (!process.env[key]) {
    throw new Error(`Missing required environment variable: ${key}`);
  }
}

export const razorpay = new Razorpay({
  key_id: process.env.RAZORPAY_KEY_ID!,
  key_secret: process.env.RAZORPAY_KEY_SECRET!,
});

Step 4: Database Schema

You need these tables. Adapt to your ORM (Drizzle, Prisma, raw SQL):

Subscriptions Table

CREATE TABLE subscriptions (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  user_id VARCHAR NOT NULL,
  plan_key VARCHAR NOT NULL,              -- e.g. "pro_monthly", "pro_yearly"
  razorpay_subscription_id VARCHAR UNIQUE NOT NULL,
  razorpay_plan_id VARCHAR NOT NULL,
  razorpay_customer_id VARCHAR,
  status VARCHAR NOT NULL DEFAULT 'created',  -- created|authenticated|active|halted|cancelled|completed|paused
  current_period_end TIMESTAMP,
  last_event_id VARCHAR,                  -- Webhook idempotency
  last_payment_id VARCHAR,
  cancelled_at TIMESTAMP,
  created_at TIMESTAMP DEFAULT NOW(),
  updated_at TIMESTAMP DEFAULT NOW()
);
CREATE INDEX idx_sub_user ON subscriptions(user_id);
CREATE INDEX idx_sub_rzp ON subscriptions(razorpay_subscription_id);

Read the full file on GitHub · 180 lines

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. 9d ago First seen · 180 lines · 56 tokens per session scan A b54227893ea0

Subscribe to this mod's changes

setup is a skill published in the GitHub repository Venkateshwar-Reddy-Jambula/razorpay-integration-plugin (6 stars, last pushed 5mo ago), licensed MIT. It adds 56 tokens to every session and 1,709 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

stripe

Stripe API integration with managed OAuth. Manage customers, subscriptions, invoices, products, prices, and payments. Use this skill when users want to process payments, manage billing, or handle subscriptions with Stripe. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).…

CraftOS-dev/CraftBot · 79 tokens

etsy-pricing-strategy

Etsy pricing — cost calculation, competitor pricing, perceived value, shipping cost integration, sales and coupons.

nexscope-ai/eCommerce-Skills · 26 tokens

amazon-wholesale-sourcing

Wholesale product sourcing — supplier discovery, negotiation, MOQ optimization, margin analysis.

nexscope-ai/Amazon-Skills · 20 tokens

ai-slop

Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…

waybarrios/opencode-power-pack · 61 tokens

payment-processor

Skill "payment-processor" from Signal-Execution-Labs/forex-trading-ai-agent, covering payment processor skill, supported services, capabilities, view balances and get all balances.

Signal-Execution-Labs/forex-trading-ai-agent · 0 tokens