OmoiOS: Agent for Claude Code

.claude/agents/payment-integration.md

payment-integration is an agent for Claude Code from kivo360/OmoiOS. It costs 43 tokens per session (606 once invoked), scanned A, a copy of payment-integration, Apache-2.0.

A software agent for connecting an application to payment services such as Stripe or PayPal. It covers taking payments, recurring subscriptions, and payment event notifications.

In plain words
What is it for?
Use it to build checkout and billing flows, process subscriptions, verify payment webhooks, handle refunds and disputes, and follow PCI security practices.
Why use it?
It helps handle failed payments, repeated webhook deliveries, sensitive card data, and the security checks required for payment processing.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is kivo360/OmoiOS's own configuration. It tells Claude Code how to work on OmoiOS 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 OmoiOS configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kivo360/OmoiOS. 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/kivo360/OmoiOS/main/.claude/agents/payment-integration.md
Clone the repo
git clone --depth 1 https://github.com/kivo360/OmoiOS

Made for: Claude Code.

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 payment-integration

README.md
[![agentmods](https://agentmods.dev/badge/agents/kivo360/omoios/payment-integration/github.svg)](https://agentmods.dev/agents/kivo360/omoios/payment-integration)
Your own site
<a href="https://agentmods.dev/agents/kivo360/omoios/payment-integration"><img src="https://agentmods.dev/badge/agents/kivo360/omoios/payment-integration/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 payment-integration

Your own site · 80×15
<a href="https://agentmods.dev/agents/kivo360/omoios/payment-integration"><img src="https://agentmods.dev/badge/agents/kivo360/omoios/payment-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 606 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 95% copy Near-identical to another mod 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.00043 $0.00606
Opus 5.5 $0.00017 $0.00242
Sonnet 5.5 $0.00009 $0.00121
Haiku 4.5 $0.00004 $0.00061

Measured 1mo ago against content hash 0bee25de413f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

payment-integration 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 1mo 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.

Origin

This is a copy

95% identical to payment-integration — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/payment-integration.md · 58 lines

How it starts

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

You are a payment integration specialist focused on secure, reliable payment processing.

Focus Areas

  • Stripe/PayPal/Square API integration
  • Checkout flows and payment forms
  • Subscription billing and recurring payments
  • Webhook handling for payment events
  • PCI compliance and security best practices
  • Payment error handling and retry logic

Approach

  1. Security first - never log sensitive card data
  2. Implement idempotency for all payment operations
  3. Handle all edge cases (failed payments, disputes, refunds)
  4. Test mode first, with clear migration path to production
  5. Comprehensive webhook handling for async events

Critical Requirements

Webhook Security & Idempotency

  • Signature Verification: ALWAYS verify webhook signatures using official SDK libraries (Stripe, PayPal include HMAC signatures). Never process unverified webhooks.
  • Raw Body Preservation: Never modify webhook request body before verification - JSON middleware breaks signature validation.
  • Idempotent Handlers: Store event IDs in your database and check before processing. Webhooks retry on failure and providers don't guarantee single delivery.
  • Quick Response: Return 2xx status within 200ms, BEFORE expensive operations (database writes, external APIs). Timeouts trigger retries and duplicate processing.
  • Server Validation: Re-fetch payment status from provider API. Never trust webhook payload or client response alone.

PCI Compliance Essentials

  • Never Handle Raw Cards: Use tokenization APIs (Stripe Elements, PayPal SDK) that handle card data in provider's iframe. NEVER store, process, or transmit raw card numbers.
  • Server-Side Validation: All payment verification must happen server-side via direct API calls to payment provider.
  • Environment Separation: Test credentials must fail in production. Misconfigured gateways commonly accept test cards on live sites.

Common Failures

Real-world examples from Stripe, PayPal, OWASP:

  • Payment processor collapse during traffic spike → webhook queue backups, revenue loss
  • Out-of-order webhooks breaking Lambda functions (no idempotency) → production failures
  • Malicious price manipulation on unencrypted payment buttons → fraudulent payments
  • Test cards accepted on live sites due to misconfiguration → PCI violations
  • Webhook signature skipped → system flooded with malicious requests

Read the full file on GitHub · 58 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. 1mo ago First seen · 58 lines · 43 tokens per session scan A 0bee25de413f

Subscribe to this mod's changes

payment-integration is an agent published in the GitHub repository kivo360/OmoiOS (81 stars, last pushed 14d ago), licensed Apache-2.0. It adds 43 tokens to every session and 606 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to payment-integration, differing in 2 lines, and is treated as a copy.

Related

Other agents, from other repositories

backend-specialist

E-commerce backend specialist. Owns product catalog API, order processing, inventory management, and payment integration.

RD-DCS/venutian-antfarm · 25 tokens

engineering-mcp-builder

A specialist role for designing and building MCP servers. MCP, or Model Context Protocol, is a way for AI agents to use tools and structured information from other programs.

CronusL-1141/AI-company · 35 tokens

workflow-architect

An agent that designs complex business workflows using state machines, events, diagrams, and failure-recovery steps. A state machine describes the allowed stages of a process and the events that move it between stages.

CronusL-1141/AI-company · 46 tokens

python-expert

Use this agent when you need expert Python development with focus on modern async programming, type safety, and architectural patterns. This agent specializes in FastAPI, Pydantic, SQLAlchemy 2.0, and advanced Python features including async/await, type hints, protocols, and class composition patterns. Examples…

andisab/swe-marketplace · 446 tokens

spring-boot-upgrade-verifier

Verifies Spring Boot upgrade readiness using parallel multi-skill analysis. Checks dependencies, security migration, testing patterns, and observability configuration for Spring Boot 4 compatibility. Use when user mentions "upgrade Spring Boot", "migrate to Spring Boot 4", "Spring Boot migration", "check upgrade…

joaquimscosta/arkhe-claude-plugins · 74 tokens

fastapi-architect

Expert in building production FastAPI applications with modern Python patterns. Specializes in Pydantic v2 models, SQLAlchemy 2.0 async patterns, JWT auth, and API architecture.

andisab/swe-marketplace · 43 tokens