plaid-fintech
Expert patterns for Plaid API integration including Link token flows, transactions sync, identity verification, Auth for ACH, balance checks, webhook handling, and fintech compliance best practices.
npx skills add sickn33/agentic-awesome-skills --skill plaid-fintech --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
What it does
Implements end-to-end Plaid fintech patterns focusing on Link token creation and exchange, transactions synchronization via a cursor-based incremental sync and webhook handling, ACH transfers using Auth with identity verification, and real-time balance checks. It provides endpoints and frontend integration for linking bank accounts, exchanging tokens, and triggering transaction updates, along with error handling for common Plaid webhook states and update modes.
How it works
- Link Token Creation and Exchange: Creates a link_token for Plaid Link, exchanges public_token for an access_token, stores the access_token securely, and triggers an initial transaction sync. Includes a frontend React component that fetches a link_token, opens Plaid, and exchanges the public_token on success.
- Transactions Sync: Uses a cursor-based loop to fetch incremental transactions via transactionsSync, stores added transactions, updates modified ones, and deletes removed ones. Saves the final cursor for subsequent runs. Webhook handler queues or triggers transaction sync on TRANSACTIONS webhook events such as SYNC_UPDATES_AVAILABLE, INITIAL_UPDATE, or HISTORICAL_UPDATE.
- Context sections indicate focus areas: initial bank linking, user onboarding, connecting accounts, and context around fetching transactions and history.
- Item Update and Errors: Creates update tokens, handles ITEM webhook codes (ERROR, PENDING_DISCONNECT, USER_PERMISSION_REVOKED), updates item status, and notifies users to reconnect when needed. A function enforces validation before API calls and throws if item is missing or in ERROR state.
- Auth for ACH Transfers: Uses Plaid Auth to fetch account and routing numbers, Identity to verify account ownership, matches stored user identity, and requires high confidence before transfers. Checks real-time balance before initiating ACH transfers and retrieves ACH numbers for transfer initiation.
- Real-Time Balance: Provides functions for real-time balance via accountsBalanceGet, and cached balance retrieval for display via accountsGet. Balances are used to validate funds before transfers.
When to use it
Use when you need a Plaid-based fintech integration that handles: user bank linking via Link, secure token exchange, incremental transaction syncing with webhook-based updates, ACH transfers with identity verification, and real-time balance checks.
What it can touch
- Tools: claude-code, codex, cursor
- Endpoints and components show interactions with Plaid API via PlaidApi and server routes like /api/plaid/create-link-token, /api/plaid/exchange-token, /api/plaid/webhooks, and frontend using usePlaidLink from 'react-plaid-link'.
- Data stores: Plaid items, transactions, and user identities, persisted with encrypted access tokens and updated transaction records.
Caveats
- Risk declared as critical in the skill metadata. The implementation includes handling of sensitive tokens (encrypted at rest) and financial data updates.
- The pattern relies on environment-provided Plaid environment, client IDs, and secrets, and assumes webhook verification patterns are implemented (verifyPlaidWebhook).
- Token lifetimes: Link tokens are described as short-lived and single-use; access tokens do not expire but may require updates when users change passwords.
- No outcomes promised; the skill describes concrete steps and code paths but does not guarantee success in all edge cases (e.g., webhook validation, network errors, or Plaid API changes).
# Plaid Fintech Expert patterns for Plaid API integration including Link token flows, transactions sync, identity verification, Auth for ACH, balance checks, webhook handling, and fintech compliance best practices. ## Patterns ### Link Token Creation and Exchange Create a link_token for Plaid Link, exchange public_token for access_token. Link tokens are short-lived, one-time use. Access tokens don't expire but may need updating when users change passwords. // server.ts - Link token creation endpoint import { Configuration, PlaidApi, PlaidEnvironments, Products, CountryCode } from 'plaid'; const configuration = new Configuration({ basePath: PlaidEnvironments[process.env.PLAID_ENV || 'sandbox'], baseOptions: { headers: { 'PLAID-CLIENT-ID': process.env.PLAID_CLIENT_ID, 'PLAID-SECRET': process.env.PLAID_SECRET, }, }, }); const plaidClient = new PlaidApi(configuration); // Create link token for new user app.post('/api/plaid/create-link-token', async (req, res) => { const { userId } = req.body; try { const response = await plaidClient.linkTokenCreate({ user: { client_user_id: userId, // Your internal user ID }, client_name: 'My Finance App', products: [Products.Transactions], country_cod
- Patterns
- Link Token Creation and Exchange
- Context
- Transactions Sync
- Item Error Handling and Update Mode
- Auth for ACH Transfers
- Real-Time Balance Check
- Webhook Verification
- Sharp Edges
- Access Tokens Never Expire But Are Highly Sensitive
- accounts/get Returns Cached Balances, Not Real-Time
- Webhooks May Arrive Out of Order or Duplicated
- Items Enter Error States That Require User Action
- Sandbox Does Not Reflect Production Complexity
What does the plaid-fintech skill do?
Expert patterns for Plaid API integration including Link token flows, transactions sync, identity verification, Auth for ACH, balance checks, webhook handling, and fintech compliance best practices.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill plaid-fintech --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.