razorpay-mcp-server: Skill for Claude Code

.agents/skills/razorpay-mcp-tool-gen/SKILL.md

razorpay-mcp-tool-gen is a skill for Claude Code, Codex from razorpay/razorpay-mcp-server. It costs 72 tokens per session (3,312 once invoked), scanned A, original, MIT.

A generator for creating Razorpay payment-service tools for an MCP server from API documentation, curl requests, request and response data, or Go SDK function signatures. MCP is a way for AI systems to call external tools.

In plain words
What is it for?
Use it to add a Razorpay API tool, including its function, registration, unit tests, README entry, lint checks, and test run.
Why use it?
It turns an API contract into the related Go code, tests, registration, documentation, linting, and test work while checking that a tool name is available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is razorpay/razorpay-mcp-server's own configuration. It tells Claude Code and Codex how to work on razorpay-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything razorpay-mcp-server configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is golangci-lint run ./pkg/razorpay/....

Reuse

Borrowing it

Nothing to install: this file belongs to razorpay/razorpay-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/razorpay/razorpay-mcp-server/main/.agents/skills/razorpay-mcp-tool-gen/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/razorpay/razorpay-mcp-server

Made for: Claude Code, Codex.

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 razorpay-mcp-tool-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/razorpay/razorpay-mcp-server/razorpay-mcp-tool-gen/github.svg)](https://agentmods.dev/skills/razorpay/razorpay-mcp-server/razorpay-mcp-tool-gen)
Your own site
<a href="https://agentmods.dev/skills/razorpay/razorpay-mcp-server/razorpay-mcp-tool-gen"><img src="https://agentmods.dev/badge/skills/razorpay/razorpay-mcp-server/razorpay-mcp-tool-gen/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 razorpay-mcp-tool-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/razorpay/razorpay-mcp-server/razorpay-mcp-tool-gen"><img src="https://agentmods.dev/badge/skills/razorpay/razorpay-mcp-server/razorpay-mcp-tool-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,312 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00072 $0.03312
Opus 5 $0.00036 $0.01656
Sonnet 5 $0.00014 $0.00662
Haiku 4.5 $0.00007 $0.00331

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

Security

Grade A, and why

razorpay-mcp-tool-gen 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 12d 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 commands, or request/response examples. Produces Go tool code, unit tests,
.agents/skills/razorpay-mcp-tool-gen/SKILL.md · 412 lines

How it starts

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

Razorpay MCP Tool Generator

Generate complete MCP tool implementations from Razorpay API docs, curl commands, or request/response examples.

Input Formats

The user may provide any of:

  1. Razorpay docs URLhttps://razorpay.com/docs/api/...
  2. curl command — extract method, path, headers, body, and response
  3. Request/response JSON — raw payload and expected response
  4. SDK function signature — Go SDK function to call

If the tool name is not provided or cannot be inferred, ask the user before proceeding.

Workflow

Task Progress:
- [ ] Step 1: Parse input and extract API contract
- [ ] Step 2: Determine tool name and resource file
- [ ] Step 3: Implement tool function
- [ ] Step 4: Register tool in tools.go
- [ ] Step 5: Write unit tests
- [ ] Step 6: Update README.md Available Tools table
- [ ] Step 7: Run linter — fix errors
- [ ] Step 8: Run tests — fix errors
- [ ] Step 9: Create branch, commit, and open PR (if gh available)

Step 1: Parse Input

From docs URL: Fetch the page and extract endpoint path, HTTP method, required/optional params with types and descriptions, and example response.

From curl: Parse the method (-X), URL path, headers (-H), request body (-d), and note the response if provided.

From request/response JSON: Infer required vs optional fields, types, and construct parameter definitions.

Map each parameter to a validator type:

JSON type Parameter helper Validator method
string mcpgo.WithString ValidateAndAddRequiredString / ValidateAndAddOptionalString
number (int) mcpgo.WithNumber ValidateAndAddRequiredInt / ValidateAndAddOptionalInt
number (float) mcpgo.WithNumber ValidateAndAddRequiredFloat / ValidateAndAddOptionalFloat
boolean mcpgo.WithBoolean ValidateAndAddRequiredBool / ValidateAndAddOptionalBool
object mcpgo.WithObject ValidateAndAddRequiredMap / ValidateAndAddOptionalMap
array mcpgo.WithArray ValidateAndAddRequiredArray / ValidateAndAddOptionalArray

Read the full file on GitHub · 412 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. 12d ago First seen · 412 lines · 72 tokens per session scan A 431e83988077

Subscribe to this mod's changes

razorpay-mcp-tool-gen is a skill published in the GitHub repository razorpay/razorpay-mcp-server (230 stars, last pushed 4d ago), licensed MIT. It adds 72 tokens to every session and 3,312 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

erp-xpp

X++ code development lifecycle for Finance and Operations — scaffold models, author classes, custom services/APIs, and data entities, install matching SDKs, compile deployable packages, deploy packages, synchronize databases, and verify deployed artifacts. Use when the user explicitly requests creating, building…

microsoft/Dataverse-skills · 86 tokens

n8n-code-tool

Write JavaScript or Python for the n8n Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode) — the AI-agent-callable tool, NOT the workflow Code node. Use when building a Code Tool attached to an AI Agent, writing code that an LLM will invoke, parsing the query input, returning a string result, defining an input schema…

czlonkowski/n8n-mcp · 221 tokens

n8n-subworkflows

Build reusable, composable n8n sub-workflows. Use when extracting shared logic, building anything multi-step or reused across workflows, or any workflow over 10 nodes — and whenever the user mentions sub-workflows, Execute Workflow, reuse, shared/common logic, modular workflows, "Define Below" inputs…

czlonkowski/n8n-mcp · 121 tokens

kalshi-api

Kalshi exchange mechanics — RSA-PSS auth, order schema, YES/NO orderbook convention, WebSocket, and endpoint surface. Market-type-agnostic shared layer for all Kalshi skills.

agiprolabs/claude-trading-skills · 44 tokens

ib-collar

Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 30 tokens

report-stock

Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis.

staskh/trading_skills · 22 tokens