Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

InvAssistant

БесплатноБез исполняемых скриптовНе проверен

Multi-asset investment portfolio management framework with A/B/C asset-class differentiated rules, 7 red-line portfolio risk controls, and 4-factor QMS…

haiyangchenbjот haiyangchenbj3 061 установка в других каталогах

Об этом скилле

InvAssistant

Multi-asset investment portfolio management framework — current version v2.3.19 (2026-10-19). Core philosophy: portfolio before stock-picking, discipline before inspiration. Rules are guardrails, not cages.

⚠️ Risk Warning: This is a decision-support framework, not financial advice. AI guidance is probabilistic; all action triggers — including rule-based alerts and entry thresholds — require human review before any execution. Author assumes no liability for trading losses.


Framework Scope and Bundled Scripts

This is a documentation-driven framework: SKILL.md and the references define the rules. The bundled Python scripts under scripts/ are optional decision-support helpers, not autonomous agents — they never place orders and hold no broker credentials.

Script Role Notes
portfolio_checker.py Main portfolio check orchestrator (positions, red lines, classification) Reads local YAML config only
redline_engine.py Entry filter engine (trend, volume, valuation gates) Fail-closed: missing config, unavailable metric or unevaluated gate counts as FAIL — never silently auto-passes
exit_engine.py Exit engine (stop-loss, trend break, momentum ladders) Reads position state files
init_config.py First-run interactive config generator Ships sample watchlist with generic tickers only
data_fetcher.py Market-data fetch helper Outbound quote-API requests only
send_wecom.py / send_dingtalk.py / send_feishu.py Optional report push to a user-configured webhook Opt-in, inert until configured; posts only the report body to the endpoint the user sets

Data transmission notice: only two components transmit data off-machine. The three send_*.py helpers stay disabled until you provide a webhook URL and send nothing beyond the report you choose to push; data_fetcher.py only sends GET requests to the public Yahoo Finance quote endpoint. Review the endpoint config before enabling either.

Language policy: documentation is English with Chinese summaries; runtime report language follows the user's request — no language is forced.


1. Asset Classification (Three Tiers)

This is the foundation of v2.1+. Different assets use different exit logic.

Tier Definition Rules When To Sell
A-Class (Platform Core) Long-moat, cash-flow-stable platform companies HOLD, no trailing stop; DCA entries Only 3 reasons: ① fundamental deterioration (2+ quarters) ② narrative change ③ portfolio limit breach
B-Class (High-Beta Cyclical) High-beta, narrative-driven growth Trailing stop + position management QMS < 40 triggers review
C-Class (Low-Volatility Income) Broad-market/dividend ETFs, utilities DCA + rebalancing No active timing

Key insight: A-class price drawdowns ≠ sell signals. Using trailing stops on A-class washes out long-term compounders.


2. Portfolio Risk Controls: 7 Red Lines (Non-Overridable)

# Rule Threshold Action
1 Single position concentration >25% Reduce to ≤20% within 3 months
2 Single sector concentration >35% Reduce to ≤30% within 3 months
3 AI single-narrative >50% Reduce to ≤40% within 6 months
4 Portfolio drawdown (mild) >-12% Halve satellite positions
5 Portfolio drawdown (severe) >-15% Total position ≤60%
6 VIX systemic risk ≥40 Reduce total to ≤50%
7 Pre-Trade Log compliance <100% Log immediately

3. US Stock Strategy

Entry Modes

Mode Applies To Logic
A (Panic Mispricing) B-Class (high-beta narrative) Emotion release + technical support + VIX <25
B (Trend Confirmation) B-Class Price > MA50 + breakout + fundamentals + valuation
C (Rebalancing) Portfolio-level Triggered by Red Lines 1-3 only
D (A-Class Candidate Zone Entry) Candidate pool (non-tech diversification targets) Callback-based, no observation delay

Mode D: A-Class Candidate Zone Entry (v2.1.1)

Applied to new A-class candidates before they join the core portfolio. Designed to solve the "observation delay misses entry window" problem.

Principle: No observation delay. A -10% pullback from 20D high on an A-class candidate is itself a complete entry signal — the underlying moat business doesn't change with share price.

Zone Trigger Allocation Execution
First tranche -10% from 20D high 50% of target Execute immediately
Add -15% (or >3% further drop after first) 30% Execute on trigger
Final -20% (or 5+ days sideways without new low) 20% Within zone

Constraints: total ≤2% portfolio; some candidates carry an additional valuation ga

Полный SKILL.md на ClawHub

Установить InvAssistant в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

read_file
file_read
write_to_file
file_write
replace_in_file
execute_command
env
network

FAQ

Что делает скилл InvAssistant?

Multi-asset investment portfolio management framework with A/B/C asset-class differentiated rules, 7 red-line portfolio risk controls, and 4-factor QMS quality scoring. Covers US, A-share (China), and HK stocks with disciplined entry/exit logic. Documentation-driven framework with optional bundled Python scripts (portfolio checker, red-line and exit engines, notification helpers) — scripts are decision-support tools and never place trades autonomously. 中文摘要:多资产投资组合管理框架——A/B/C 类资产差异化规则、7 条红线组合风险控制、四因 子质量管理,覆盖美股/A股/港股的纪律化进出场逻辑。触发词:投资组合管理、持仓复盘、 风险红线检查、仓位规则.

Как установить скилл InvAssistant?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл InvAssistant запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить InvAssistant с