financial-insights
Reads a user's Link financial data — transactions, balances, and wallet sources — so agents can answer questions about spending and available source…
от stripe★ 922 звезды на GitHub
Установить financial-insights в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Financial insights
Use this skill to answer questions about a user’s Link-connected financial data, including:
- Recent transactions
- Spending patterns
- Account balances
- Linked wallet sources
- Basic summaries derived from the user’s financial data
- Available precomputed insights about purchase patterns and preferences
All commands are read-only. They do not move money, initiate payments, modify accounts, or expose payment credentials.
Safety and privacy
Do not retrieve financial data until the user is authenticated with the required source actions.
Only retrieve the data needed to answer the user’s request. Do not run every list command by default.
Do not expose sensitive identifiers, access tokens, credentials, or payment instrument details. Summarize financial information at the level needed to answer the user’s question.
If the user asks for an action that would move money, reference skills/create-payment-credential/SKILL.md instead.
Authentication
Before retrieving financial data, check whether the user is authenticated and whether the current session has the required source actions.
link-cli auth status --format json
When present, inspect authorization_details in the response for entries with type: "source" and the required actions. The field may be absent when the token endpoint did not return authorization details or when authentication comes from LINK_ACCESS_TOKEN; in that case, run only the minimum data command needed and handle a permission error as described below.
For a new connection, auth login requests the userinfo:read and payment_methods.agentic scopes and all four financial-insights source actions by default. The user must approve the connection; this request does not retrieve any financial data. If the user wants payment-only access, use --no-financial-insights. If they do not want the default payment scope, use --no-agentic-payments. If they want a narrower set of financial-data actions, pass only the desired --source-actions flags or --authorization-detail entries; either replaces the default. Do not combine either with an explicit --financial-insights or --no-financial-insights flag. An explicit --scope replaces the default scopes.
If the user is already authenticated but an action needed for their financial-data request is missing, use auth upgrade with only that missing action instead of auth login. auth upgrade preserves the current session while the user approves the additional access and replaces it only after approval succeeds. Do not upgrade access solely for an optional insight during a purchase.
The insights commands will indicate when the access token is insufficient to retrieve a particular insight in the list. It will provide authorization_remediation indicating required scopes and authorization_details when more access is needed. When LINK_ACCESS_TOKEN is set, explain the missing access but do not attempt to upgrade access through the CLI. Otherwise, upgrade to obtain the requisite access or skip using insights.
The financial-insights source actions are:
- Transactions processed through Link:
read_link_transactions - Transactions imported from bank connections:
read_external_transactions - Account balances:
read_balances - Data source details and descriptions:
read_source_details. This action is broadly useful, for example if you will ever need to tie a transaction or balance to a particular account name. - Pre-computed aggregations: all of the above.
When narrowing a new login or upgrading an existing one, request only the actions needed for the user's question.
During a purchase with an ambiguous merchant, use an available top-brand insight as one clue when the current connection already has access. If access is missing, continue without the optional insight; do not start an upgrade just for merchant selection.
Recommended new login:
link-cli auth login --client-name "<your-agent-name>" --format json
Payment-only opt-out:
link-cli auth login --client-name "<your-agent-name>" --no-financial-insights --format json
Example for adding balance access to an existing session:
link-cli auth upgrade \
--client-name "<your-agent-name>" \
--source-actions read_balances \
--format json
Replace <your-agent-name> with a clear name for the agent or application. Present the returned verification_url to the user, then follow the response's _next instruction or poll with:
link-cli auth status --interval 5 --max-attempts 60 --format json
Do not proceed until authentication or the access upgrade succeeds. If the approval expires, is denied, or times out, report that outcome instead of repeatedly starting new authorization flows.
Choosing the right command
Use the smallest command set that answers the user’s question.
| User asks about | Command |
|---|---|
| Available purchase-pattern insights and their access requiremen |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(link-cli:*) - 02
Bash(npm install -g @stripe/link-cli:*)
FAQ
Что делает скилл financial-insights?
Reads a user's Link financial data — transactions, balances, and wallet sources — so agents can answer questions about spending and available source capabilities. Use when the user says "check my balance", "how much did I spend", "show my transactions", "what accounts are connected", "summarize my spending", "recent purchases", or asks about their financial activity, account balances, or linked sources. Also use available precomputed insights to answer questions about shopping preferences or identifying preferred businesses.
Как установить скилл financial-insights?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл financial-insights запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…