@cashfreepayments/agent-skills
v0.0.4
Published
CLI tool to add Cashfree MCP configurations to AI coding assistants
Downloads
402
Readme
Cashfree Agent Skills CLI
Add Cashfree Payments product-specific skills to your AI coding assistant projects.
Quick Start
# Add Payment Gateway skills
npx @cashfreepayments/agent-skills add pg
# Add Secure ID skills
npx @cashfreepayments/agent-skills add secure-id
# Add Subscriptions skills
npx @cashfreepayments/agent-skills add subscriptions
# Add Cross Border skills
npx @cashfreepayments/agent-skills add cross-border
# Add Payouts skills
npx @cashfreepayments/agent-skills add payouts
This will prompt you to select which AI coding assistants to configure:
- Cursor - Creates
.cursor/skills/cashfree/<product>.md - Claude Code - Creates
.claude/skills/cashfree/<product>.md - OpenCode - Creates
.opencode/skills/cashfree/<product>.md - VS Code Copilot - Creates
.github/skills/cashfree/<product>.md - Gemini CLI - Creates
.gemini/skills/cashfree/<product>.md - Antigravity - Creates
.agent/skills/cashfree/<product>.md - GitHub Copilot CLI - Creates
.github/skills/cashfree/<product>.md - OpenAI Codex CLI - Creates
.codex/skills/cashfree/<product>.md
Products
Payment Gateway (PG)
Payment gateway integration, order creation, refunds, payment links, and webhooks.
npx @cashfreepayments/agent-skills add pgSecure ID
Bank account verification, penny drop, UPI verification, and settlement reconciliation.
npx @cashfreepayments/agent-skills add secure-idSubscriptions
Recurring payments, subscription plans, authorization, and customer management.
npx @cashfreepayments/agent-skills add subscriptionsCross Border
International payments, currency conversion, and cross-border transactions.
npx @cashfreepayments/agent-skills add cross-borderPayouts
Bulk payouts, vendor payments, and disbursement management.
npx @cashfreepayments/agent-skills add payoutsUsage
Interactive Mode
npx @cashfreepayments/agent-skills add pgYou'll be prompted to select which AI assistants to configure.
Specify Frameworks
npx @cashfreepayments/agent-skills add pg --frameworks cursor,claude-code,gemini-cliCustom Project Path
npx @cashfreepayments/agent-skills add secure-id --path /path/to/projectAdd Multiple Products
npx @cashfreepayments/agent-skills add pg
npx @cashfreepayments/agent-skills add secure-id
npx @cashfreepayments/agent-skills add subscriptions
npx @cashfreepayments/agent-skills add cross-border
npx @cashfreepayments/agent-skills add payoutsWhat Gets Created
For each product and framework combination, a skill file is created:
Example: Gemini CLI + Payment Gateway
.gemini/skills/cashfree/pg.mdExample: Cursor + All Products
.cursor/skills/cashfree/pg.md
.cursor/skills/cashfree/secure-id.md
.cursor/skills/cashfree/subscriptions.md
.cursor/skills/cashfree/cross-border.md
.cursor/skills/cashfree/payouts.mdSkill Files
Each skill file contains:
- Product-specific documentation references
- Common API patterns and use cases
- Example queries for the AI assistant
- Best practices for integration
Payment Gateway (pg.md)
Guides your AI assistant on:
- Creating orders and processing payments
- Handling refunds and settlements
- Payment links and QR codes
- Webhook integration
secure-id (secure-id.md)
Guides your AI assistant on:
- Bank account verification APIs
- Penny drop verification
- UPI ID verification
- Transaction reconciliation
Subscriptions (subscriptions.md)
Guides your AI assistant on:
- Creating subscription plans
- Managing recurring payments
- Subscription authorization flows
- Customer subscription lifecycle
Cross Border (cross-border.md)
Guides your AI assistant on:
- International payment processing
- Currency conversion and rates
- Cross-border compliance
- Multi-currency transactions
Payouts (payouts.md)
Guides your AI assistant on:
- Bulk payout processing
- Vendor payment management
- Disbursement APIs
- Payout status tracking
Framework-Specific Locations
| Framework | Skill Location |
|-----------|----------------|
| Cursor | .cursor/skills/cashfree/ |
| Claude Code | .claude/skills/cashfree/ |
| OpenCode | .opencode/skills/cashfree/ |
| VS Code Copilot | .github/skills/cashfree/ |
| Gemini CLI | .gemini/skills/cashfree/ |
| Antigravity | .agent/skills/cashfree/ |
| GitHub Copilot CLI | .github/skills/cashfree/ |
| OpenAI Codex CLI | .codex/skills/cashfree/ |
How AI Assistants Use Skills
When you ask your AI coding assistant about Cashfree integration:
- The assistant reads the relevant skill file
- Uses the guidance to understand your product context
- Provides accurate, product-specific code examples
- References correct API endpoints and parameters
Example Interactions
With PG skill:
You: "How do I create a payment order?"
AI: *reads pg.md skill* → Provides order creation API codeWith secure-id skill:
You: "Verify a bank account"
AI: *reads secure-id.md skill* → Provides bank verification API codeWith Subscriptions skill:
You: "Set up a monthly subscription"
AI: *reads subscriptions.md skill* → Provides subscription plan creation codeWith Cross Border skill:
You: "How do I process an international payment?"
AI: *reads cross-border.md skill* → Provides cross-border payment API codeWith Payouts skill:
You: "How do I send bulk payouts?"
AI: *reads payouts.md skill* → Provides bulk payout API code