openInvest
БесплатноЗапускает вложенные скриптыНе проверенopenInvest multi-asset AI investment committee — **daily use**. Read portfolio / live prices / strategy / decision history / adjust positions / run a 4-role…
от longsizhuo1 770 установок в других каталогахОб этом скилле
Invest Skill
<skill-dir>is this skill's own directory — the folder that holds this SKILL.md (Claude Code shows it as the skill's base directory; Hermes / Codex / OpenClaw install it inside the plugin).run.shbelow always means<skill-dir>/scripts/run.sh.
First-time fork users: run the invest-setup skill first to initialize. The main flow lives in this skill (the AI agent uses the CLI/MCP to view the portfolio / run the committee / replay decision history).
The Web GUI has been retired (2026-07) — every capability is exposed via CLI subcommands / MCP tools.
The backend is distributed from PyPI (pulled on demand via uvx) at the version pinned in run.sh, which moves with each plugin release: updating the plugin updates the backend. run.sh update re-downloads the pinned version if the uv cache breaks.
openInvest multi-asset AI investment committee. This skill is not Claude-exclusive — any agent that can run shell commands can use it; see "Choosing a path" below.
Reply in the language the user is currently speaking unless they explicitly ask to switch languages.
Choosing a path
Choose a path by available capabilities and the configured reasoning mode. Both paths must use the backend's prepared prompts, input context, model identity and sealed submission contract. A scheduled host may use Coordinator only when it can actually delegate isolated roles and complete that contract; otherwise use Direct with a configured provider. Missing capability, credentials or a failed worker is an incomplete analysis, never permission to fabricate HOLD.
| Path | Requirements | Invocation |
|---|---|---|
| Coordinator | Real isolated workers; complete prepared context; recorded provider/model | Follow references/committee-protocol.md (Hermes: references/committee-protocol-hermes.md) |
| Direct | Configured backend model API | run.sh run_committee <SYMBOL> |
The caller chooses the model provider; preserve that identity and its actual usage receipts. Model agreement is not independent evidence or a calibrated probability. For historical studies use the user's explicitly selected API provider and the study's sealed inputs; never substitute this host agent for paid model responses.
Decision tree (identical up front, whichever path you take)
1. Run `run.sh doctor` (no shell access? call the MCP `doctor` tool — same output) ← mandatory first step
├─ status: "ready" → go to step 2 (keep using this skill). A missing LLM key / mail
│ credentials / .env shows up only as `optional_*` checks and never
│ flips the status: Coordinator needs no key (only Direct does — see
│ `direct_ready`), so do NOT re-onboard for those
└─ status: "needs_setup" → memory not initialized (or portfolio.md still the v1 format) →
**switch to the `invest-setup` skill** (not handled here)
(An older MCP server answers `Unknown tool` for `doctor`: call `status` instead — a normal
reply means onboarding is done.)
2. Pick the subcommand by user intent:
"show portfolio / how much do I have / 看持仓" → run.sh status
"assess the situation / risk / concentration
/ 分析战况" → run.sh status (see Constraints before
calling anything "overweight")
"how am I doing / annualised return / drawdown
/ 我的收益率 / 跑赢大盘没" → run.sh performance (TWR / XIRR / max
drawdown / vs benchmark; also inside
status.performance — quote TWR as the
return, XIRR only as money-weighted)
"what is my strategy / 我的策略是什么" → run.sh strategy
"recent trades / transaction log / 最近交易" → run.sh history
"where is the market / VIX now / 现在大盘" → run.sh live_prices
"if X drops 5% how much do I lose / 如果X跌5%" → run.sh what_if --symbol X --pct -5
(X is a yfinance symbol in the user's
portfolio; --gold-pct / --ndq-pct kept
for legacy usage)
"do I need to rebalance / what to buy or sell to
get back to my target allocation / 要不要再平衡" → run.sh rebalance_plan [--mode hybrid|cash_only|
sell_to_rebalance] [--band-pct 5] — a list
only (BUY/SELL, whole lots, reason); the user
places the orders; quote amounts from the JSON
"I got a dividend / interest / paid a fee or tax /
X split / 收到分红 利息 交了费 拆股 退回本金" → run.sh record_dividend (--kind i
Установить openInvest в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл openInvest?
openInvest multi-asset AI investment committee — **daily use**. Read portfolio / live prices / strategy / decision history / adjust positions / run a 4-role LLM committee for an investment verdict. Supports any yfinance symbol (A-share `.SS`/`.SZ` / HK / US / ETF / crypto / commodities), China off-exchange funds (`FUND:<code>`) and any currency. **Two paths** — (1) Coordinator, Claude Code spawns 4 subagents, saves DeepSeek tokens; (2) Direct, any agent (Codex / Hermes / OpenClaw / Cursor / Cline / plain script) runs `run.sh run_committee <SYM>` for a one-shot verdict. **Trigger scenarios** — "show portfolio / 看看我的持仓", "how is my P&L / 我现在涨了多少", "should I buy/sell X / 该不该买卖X", "analyze X / 分析一下X", "run committee on X / 跑委员会", "track AAPL / 跟踪苹果", "add/trim a position, log a trade / 加仓减仓记一笔". **First-time install uses a separate skill `invest-setup`** (switch to it when `doctor` returns `needs_setup`). Backend — longsizhuo/openInvest.
Как установить скилл openInvest?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openInvest запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic