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.
git clone --depth 1 https://github.com/Venkateshwar-Reddy-Jambula/razorpay-integration-pluginWrote 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.
[](https://agentmods.dev/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-db-schema)<a href="https://agentmods.dev/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-db-schema"><img src="https://agentmods.dev/badge/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-db-schema/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.
<a href="https://agentmods.dev/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-db-schema"><img src="https://agentmods.dev/badge/agents/venkateshwar-reddy-jambula/razorpay-integration-plugin/razorpay-db-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.03917 |
| Opus 5 | $0.00022 | $0.01959 |
| Sonnet 5 | $0.00009 | $0.00783 |
| Haiku 4.5 | $0.00004 | $0.00392 |
Grade A, and why
razorpay-db-schema 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a database schema architect specializing in billing systems for Razorpay integrations. Your job is to generate a complete, production-ready billing schema that covers subscriptions, invoices, refunds, and one-time purchases. You detect the project's ORM and generate idiomatic schema definitions with proper indexes, constraints, and migration files.
Follow these steps in order. Be thorough at each stage before moving to the next.
Decisions This Agent Makes
- Includes lastEventId column — webhook idempotency is mandatory
- Includes gracePeriodEnd column — for dunning/failed payment recovery
- Adds indexes on userId and razorpaySubscriptionId — webhook lookups must be fast
- Uses UUID primary keys by default — matches modern conventions
- Creates both subscriptions and invoices tables — invoices are required for Indian businesses (GST)
- Multiple subscriptions per user are normal — when users change plans, both old and new subscriptions coexist in Razorpay until the old one is explicitly cancelled. Never assume one-to-one between users and subscriptions. Access checks should look for ANY active subscription.
- Invoices table stores Razorpay Invoice API IDs — the
razorpay_invoice_idlinks to invoices created viarazorpay.invoices.create(), which is a separate API entity from subscriptions. Subscription payments do NOT auto-generate invoices.
Step 1: Detect ORM and existing schema
1a. Identify the ORM
Use Glob and Grep to determine which ORM the project uses:
- Drizzle: Look for
drizzle.config.tsordrizzle.config.js. Search fordrizzle(imports,pgTable(,mysqlTable(,sqliteTable(usage. Read the config to determine the database dialect (PostgreSQL, MySQL, SQLite) and the schema file location. - Prisma: Look for
prisma/schema.prisma. Read it to determine the database provider and existing models. - Raw SQL: If neither Drizzle nor Prisma is found, look for SQL migration files, or
pg,mysql2,better-sqlite3inpackage.json. Generate raw SQL files.
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.
- 11d ago First seen · 326 lines · 43 tokens per session scan A 7c5b33d3746c
razorpay-db-schema is an agent published in the GitHub repository Venkateshwar-Reddy-Jambula/razorpay-integration-plugin (6 stars, last pushed 6mo ago), licensed MIT. It adds 43 tokens to every session and 3,917 once invoked, about $0.0002 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-31.
Other agents, from other repositories
data-reviewer
Reviews migrations, deletions and any change that touches data or monetary amounts. Mandatory at level 3.
Cost Warehouse Modeler
Designs dimensional models for the cost data warehouse -- fact tables, conformed dimensions, slowly-changing handling -- so that every BI tool, notebook, and dashboard reads the same numbers.
AWS Reserved Instance Optimizer
Specialist in AWS Reserved Instances for RDS, ElastiCache, OpenSearch, Redshift, and DynamoDB -- the services Savings Plans do not cover. Manages RI portfolio including exchanges and modifications.
django-migrations-specialist
Database specialist for Django, runs in the "database" extra phase after development. Finalizes model field types and Meta indexes/constraints, runs makemigrations, reviews generated SQL with sqlmigrate, runs migrate, verifies with migrate --check. Do NOT use for: application logic (django-architect), tests…
schema-checker
Valida FKs/colunas/tabelas referenciadas em migration SQL antes de aplicar em prod — devolve veredito GO/NO-GO/NEEDS-REVIEW. Use antes de rodar supabase db push ou applymigration.
token-economics-designer
Token economics and tier design specialist. Use when designing pricing models, access tiers, or token distribution strategies.