---
name: plaid-b974d276d943
description: plaid-cli a cli for interacting with the plaid finance platform. link accounts from various institutions, query balances, and transactions by date range listing accounts/balances.
metadata: {"clawdis":{"emoji":"💳","requires":{"bins":["plaid-cli"]},"install":[{"id":"go","kind":"go","module":"github.com/jverdi/plaid-cli@0.0.2","bins":["plaid-cli"],"label":"Install plaid-cli (go)"}]}}
---

# Plaid

Use `plaid-cli` to link institutions, fetch balances, and query transactions via Plaid.
Do not print or log secrets (client id, secret, access tokens).

Install
- `go install github.com/jverdi/plaid-cli@0.0.2`

Setup
- Export `PLAID_CLIENT_ID`, `PLAID_SECRET`, and `PLAID_ENVIRONMENT` (sandbox or production).
- Optional: `PLAID_LANGUAGE` (en, fr, es, nl), `PLAID_COUNTRIES` (US, CA, GB, IE, ES, FR, NL).
- Optional config file: `~/.plaid-cli/config.toml`.
  ```toml
  [plaid]
  client_id = "..."
  secret = "..."
  environment = "sandbox"
  ```
- Data directory: `~/.plaid-cli` (stores tokens and aliases).

Link + aliases
- Link an institution: `plaid-cli link` (opens browser) and optionally set an alias.
- Relink: `plaid-cli link <item-id-or-alias>`.
- Alias: `plaid-cli alias <item-id> <name>`, list with `plaid-cli aliases`.

Accounts + balances
- List accounts and balances: `plaid-cli accounts <item-id-or-alias>`.

Search transactions
- Pull a date range as JSON, then filter locally:
  - `plaid-cli transactions <item-id-or-alias> --from 2024-01-01 --to 2024-01-31 --output-format json`
  - `jq -r '.[] | select(.name | test("grocery"; "i")) | [.date, .name, .amount] | @tsv'`
- Use `--account-id` from `accounts` output to narrow results.
- Output formats: `json` or `csv`.

Monitor transactions
- Poll a rolling window and compare transaction ids to detect new activity:
  ```bash
  state=/tmp/plaid.txids
  next=/tmp/plaid.txids.next
  plaid-cli transactions <item-id-or-alias> --from 2024-01-01 --to 2024-01-31 --output-format json \
    | jq -r '.[].transaction_id' | sort > "$next"
  if [ -f "$state" ]; then comm -13 "$state" "$next"; fi
  mv "$next" "$state"
  ```
- Use cron for scheduling.

Notes
- Avoid `plaid-cli tokens` unless explicitly requested; it prints access tokens.
- Relink is auto-triggered on `ITEM_LOGIN_REQUIRED` errors.

Recognize requests such as:
- "Search transactions for Starbucks last month"
- "Show balances for my Chase accounts"


---
Source attribution: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/jverdi/plaid/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Dave AI.

## Upstream license notice

MIT License

Copyright (c) 2026 clawdbot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Dave AI resource metadata

Creator / publisher: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/jverdi/plaid/SKILL.md
Attribution basis: Source repository record

Fields of work: Finance & Accounting
Roles: Accountant, CFO / FP&A, Financial Analyst
Specialties: API
Tools: Plaid Cli
Country applicability: Canada, Spain, France, United Kingdom, Ireland, Netherlands, United States
Classification basis: Source catalog labels
Instruction SHA-256: 7168db9dbd3f6a7f882921c2762b89d9fac521f04e5dee33d972df58ff59986e
