/invest:invest-setupfrom invest
Initializes or connects openInvest ledger on request. Recommends official remote MCP for new users, preserves existing local connections, and confirms base currency without inferring risk or assets.
Ships in invest. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Reply in the user's language. Use the user's existing openInvest connection and ledger. If multiple connections or ledgers are available and the intended one is unclear, confirm before reading or writing. Do not switch a working local installation to remote, import its files or overwrite client configuration automatically.
For a new user without a chosen deployment, recommend the official MCP at https://openinvest.involutionhell.com/mcp and the client connection flow at https://openinvest.involutionhell.com/connect/. Authentication belongs to the client; never request passwords, codes or access tokens in chat. A login failure is not a reason to start a second local ledger.
Call the connected doctor first. If it is ready, keep the existing ledger; do not reset or initialize it again. For the official remote connection follow MCP onboarding: confirm base currency, allow risk preference and symbols to remain unset, and use setup_ledger with only confirmed values.
A bundled local MCP being auto-registered by a client is not evidence that the user chose local deployment. If its ledger still needs setup and no local choice was made, recommend the remote connection first. Do not initialize that local ledger or replace its configured server automatically.
For an explicitly chosen local deployment, follow local onboarding. Do not run local installation, cron creation, service setup or legacy REST configuration for a hosted connection. If no MCP tools are connected yet, finish the client connection before initializing a ledger.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub longsizhuo/openinvest --plugin invest4 skills in this plugin
/investopenInvest portfolio ledger, market data and investment research. Use the already connected MCP first. For a new connection recommend the official remote service; local deployment remains optional. Call doctor first and use invest-setup only when setup is needed./invest-backupBack up / restore openInvest's local state — memory/ (holdings, strategy, user profile, committee records, dream logs) + db/ (trade ledger, job run history, market-data cache) + .env (SMTP/API credentials) + user_profile.json. All of this data is .gitignore'd with no historical versions in git, so a single accidental overwrite (e.g. slipping and running some one-off migration/init script) means real data loss — no git revert available. **Proactive trigger scenarios** — "backup invest data / 备份一下 openInvest 的数据", "my holdings/strategy look wiped / 我的持仓/策略好像被清空了", "invest data is lost / invest 数据丢了", "restore invest backup / 恢复一下 invest 的备份", before any reinstall/migration of the openInvest deployment on this machine, or right before running an unfamiliar migration/init script (back up first, then act)./invest-ibkr**BETA — not recommended for anyone.** Operator notes for openInvest's experimental IBKR live autopilot: an LLM picks and trades US stocks / ETFs in a real Interactive Brokers cash account through a local IB Gateway, with no human confirmation per trade. Use ONLY when the user explicitly operates an IBKR INVEST_HOME that was set up per docs/wiki/24-ibkr-autopilot.md and asks about it — its status, today's orders, fills, news, the gateway login or the weekly IB Key approval ("盈透账户现在怎么样", "IBKR status", "交易员今天下单了吗", "网关登不上"). Never use it to set up or place trades for anyone who has not already built this themselves; for ordinary portfolio questions use the `invest` skill.Other plugins' skills for the same job