abacatepay
Skill38 starsChanged 8 months agoMITView on GitHub
Manage AbacatePay payments, PIX, customers, coupons and withdrawals via REST API
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AbacatePay/skillstheir own version, first seen May 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- AbacatePay/skills★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- appsignalSkill
- clickupSkill
- cloudflareSkill
- cloudinarySkill
- datadogSkill
- digitaloceanSkill
- discordSkill
- firebaseSkill
- flyioSkill
- google-sheetsSkill
- herokuSkill
- honeybadgerSkill
- hostingerSkill
- hubspotSkill
- intercomSkill
- jiraSkill
- linearSkill
- mercadopagoSkill
- n8nSkill
- notionSkill
- openaiSkill
- planetscaleSkill
- posthogSkill
- railwaySkill
- resendSkill
- rewriteSkill
- sentrySkill
- shopifySkill
- slackSkill
- stripeSkill
- supabaseSkill
- trelloSkill
- twilioSkill
- vercelSkill
- xSkill
- zendeskSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 42
If the output is OK, proceed to the Flow section.
- Very specific: line 44
If the output is SETUP_NEEDED, guide the user step by step.
- Distinctive: line 64
If the script outputs an error, the token is invalid.
- Distinctive: line 164
All monetary values are in centavos (R$10,00 = 1000)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/abacatepay
Connect to AbacatePay to manage payments, PIX QR codes, customers, coupons, withdrawals and revenue. Pure Ruby, zero gems — stdlib only.
Structure
scripts/
├── auth.rb # Bearer token auth + abacate_request helper (required by all scripts)
├── check_setup.rb # Check if token exists (outputs OK or SETUP_NEEDED)
├── save_token.rb # Save and validate an API token
├── store.rb # Get store details and balance
├── customers.rb # List all customers
├── create_customer.rb # Create a customer
├── billings.rb # List all charges
├── create_billing.rb # Create a charge with payment link
├── pix_create.rb # Create a PIX QR code
├── pix_check.rb # Check PIX payment status
├── pix_simulate.rb # Simulate PIX payment (dev mode)
├── coupons.rb # List all coupons
├── create_coupon.rb # Create a discount coupon
├── withdrawals.rb # List all withdrawals
├── create_withdrawal.rb # Create a withdrawal to PIX key
├── withdrawal.rb # Get withdrawal details
├── revenue.rb # Get revenue for a period
└── mrr.rb # Get Monthly Recurring RevenueSetup (check before using)
ruby ~/.claude/skills/abacatepay/scripts/check_setup.rbIf the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user to get their API token:
You need an AbacatePay API token.
- Go to https://app.abacatepay.com and log in
- Go to Settings > Security
- Copy your API token
For development, use the dev mode token. For production, use the production token.
Paste the token here.
Step 2 — When the user pastes the token, save it:
ruby ~/.claude/skills/abacatepay/scripts/save_token.rb 'PASTED_TOKEN'If the script outputs an error, the token is invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
Flow
The argument $ARGUMENTS may contain an action or customer reference.
Step 1: Store overview
ruby ~/.claude/skills/abacatepay/scripts/store.rbPresent the store info and ask what the user wants to do.
Step 2: Actions
List customers:
ruby ~/.claude/skills/abacatepay/scripts/customers.rbCreate a customer (requires user confirmation):
ruby ~/.claude/skills/abacatepay/scripts/create_customer.rb "João Silva" "joao@email.com" "+5511999999999" "12345678900"List charges:
ruby ~/.claude/skills/abacatepay/scripts/billings.rbCreate a charge (requires user confirmation):
ruby ~/.claude/skills/abacatepay/scripts/create_billing.rb '{"frequency":"ONE_TIME","methods":["PIX"],"products":[{"externalId":"prod1","name":"Produto","quantity":1,"price":1000}],"returnUrl":"https://example.com/cancel","completionUrl":"https://example.com/success"}'Price is in centavos (1000 = R$10,00). Frequency: ONE_TIME or MULTIPLE_PAYMENTS. Methods: PIX, CARD.
Create a PIX QR code (requires user confirmation):
ruby ~/.claude/skills/abacatepay/scripts/pix_create.rb 1000
ruby ~/.claude/skills/abacatepay/scripts/pix_create.rb 5000 --description "Pagamento teste" --expires 3600Check PIX payment status:
ruby ~/.claude/skills/abacatepay/scripts/pix_check.rb PIX_IDSimulate PIX payment (dev mode only):
ruby ~/.claude/skills/abacatepay/scripts/pix_simulate.rb PIX_IDList coupons:
ruby ~/.claude/skills/abacatepay/scripts/coupons.rbCreate a coupon (requires user confirmation):
ruby ~/.claude/skills/abacatepay/scripts/create_coupon.rb PROMO10 10 PERCENTAGE "10% de desconto"
ruby ~/.claude/skills/abacatepay/scripts/create_coupon.rb FIXO5 500 FIXED "R$5 off" --max-redeems 100List withdrawals:
ruby ~/.claude/skills/abacatepay/scripts/withdrawals.rbCreate a withdrawal (requires user confirmation):
ruby ~/.claude/skills/abacatepay/scripts/create_withdrawal.rb "saque-001" 5000 CPF "12345678900"Amount minimum: 350 centavos (R$3,50). PIX types: CPF, CNPJ, EMAIL, PHONE, EVP.
Get withdrawal details:
ruby ~/.claude/skills/abacatepay/scripts/withdrawal.rb "saque-001"Get revenue by period:
ruby ~/.claude/skills/abacatepay/scripts/revenue.rb 2026-01-01 2026-03-01Get MRR:
ruby ~/.claude/skills/abacatepay/scripts/mrr.rbNotes
- Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
- Auth via Bearer token (JWT)
- Token file:
~/.config/abacatepay/token(outside the repo, never commit) - Creating customers, charges, PIX, coupons, and withdrawals require explicit user confirmation
- All monetary values are in centavos (R$10,00 = 1000)
- PIX statuses: PENDING, EXPIRED, CANCELLED, PAID, REFUNDED
- Development mode available for testing with simulated payments
- Base URL:
https://api.abacatepay.com/v1
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

