From ramp-pack
Integrates Ramp API to list/filter corporate card transactions, retrieve details, and sync expenses to accounting via Python requests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ramp-pack:ramp-core-workflow-bThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage transactions and expenses: list, categorize, attach receipts, and sync to accounting.
Manage transactions and expenses: list, categorize, attach receipts, and sync to accounting.
ramp-core-workflow-aresp = requests.get(f"{BASE}/transactions", headers=headers, params={
"start_date": "2026-01-01",
"end_date": "2026-03-22",
"merchant_name": "Amazon",
"page_size": 50,
})
transactions = resp.json()["data"]
total = sum(tx["amount"] for tx in transactions)
print(f"Amazon spend: ${total/100:.2f} across {len(transactions)} transactions")
tx_id = transactions[0]["id"]
detail = requests.get(f"{BASE}/transactions/{tx_id}", headers=headers)
tx = detail.json()
print(f"Amount: ${tx['amount']/100:.2f}")
print(f"Merchant: {tx['merchant_name']}")
print(f"Category: {tx['sk_category_name']}")
print(f"Card: {tx['card_holder']['first_name']} — last4: {tx['card_last_four']}")
# Fetch transactions ready for accounting sync
sync_resp = requests.get(f"{BASE}/accounting/transactions", headers=headers, params={
"sync_ready": True,
"page_size": 100,
})
for tx in sync_resp.json()["data"]:
# Map to your ERP's chart of accounts
journal_entry = {
"date": tx["user_transaction_time"],
"amount": tx["amount"],
"account": map_category_to_gl(tx["sk_category_name"]),
"vendor": tx["merchant_name"],
"external_id": tx["id"],
}
sync_to_erp(journal_entry)
# Mark as synced
requests.post(f"{BASE}/accounting/transactions/sync", headers={**headers, "Content-Type": "application/json"}, json={
"transaction_ids": [tx["id"] for tx in sync_resp.json()["data"]],
})
| Error | Cause | Solution |
|---|---|---|
| Empty results | Wrong date range | Check start_date/end_date format |
| Sync conflict | Already synced | Check sync status before re-syncing |
| Missing category | Uncategorized transaction | Use default GL account |
Handle events: ramp-webhooks-events
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin ramp-packImplements Python patterns for Ramp API integration to fetch corporate cards, handle expenses, and sync accounting data using OAuth2 authentication.
Automates corporate finance operations via Ramp platform: retrieve transactions, manage reimbursements, search expenses, view cards, and list users for expense management and accounting workflows.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.