InvestorClaw Portfolio Analysis
Paste the following prompt into your AI chat to install this skill:
Please install @user_15292d5a/yjkj-investorclaw according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Portfolio-focused agents often let LLMs estimate holdings, drawdown, duration, and rebalance figures, which makes results hard to audit. investorclaw separates deterministic analytics from narrative synthesis: it first computes weights, performance, Sharpe ratios, and sector breakdowns from broker holdings files, then generates natural-language answers with cited numbers. It is useful for portfolio review with stable, traceable math, not general finance Q&A.
How it works
portfolio_askis the primary entry point, auto-loading holdings, refreshing market data, and returning a narrative with referenced figures.- Tools such as
portfolio_initialize_status,portfolio_setup, andportfolio_refreshhandle bootstrapping, discovery, and forced refreshes. - The
ic-enginebackend runs in a standalone container and exposesMCP-HTTPandRESTendpoints forFRED yield curves, bond duration, scenario rebalancing, and response history. - Responses can include an
HMAC signatureto confirm that numbers came from the deterministic engine rather than model fabrication.
Boundaries
- It requires broker-exported
CSV,Excel, orPDFholdings files; without one, it returns a missing-file notice. TOGETHER_API_KEYcontrols narrative quality; without it, deterministic calculations still run but prose degrades.- Large portfolios on free quote sources may be rate-limited; richer results may need keys such as
Finnhub,FRED, orMassive. - It is portfolio-specific and should not be used for generic finance concepts without holdings context.
Use Cases
- Import a broker export, load the portfolio, and ask for returns, Sharpe ratio, and sector weights to produce an auditable summary.
- Before a monthly review, query cash weight, bond duration, and FRED yield-curve context to check whether the current mix follows target allocations.
- Test a rebalance scenario for a 200-symbol portfolio and compare expected weight changes under different target allocation assumptions.
- Review a stored portfolio answer with response history tools, flag a bad run, and keep the record for later audit or debugging.
Best For
- Personal portfolio managers who want agents to answer returns, Sharpe ratios, and sector allocations from broker holdings files.
- Research analysts doing portfolio diligence who need bond duration, yield-curve context, and rebalancing scenarios instead of model guesses.
- Financial-agent engineers who want to call portfolio analytics over MCP/REST and integrate signed results into workflows.
- Compliance reviewers auditing AI finance output who need response history, bad-response flags, and evidence that numbers came from deterministic math.
Related Skills
Reviews Chinese-law contract text via the accurLex API, returns the full review opinion, and exports a Word document.
Generates executable FAERS active-comparator safety comparison research plans focused on one SOC or PT family.
A reference framework for financial data analysis covering statements, KPIs, visualization, and reporting templates, without executing code or collecting data.
A knowledge-base-driven advisor for weak-current, network, and telecom equipment selection, covering parameter comparison, model recommendations, compatibility checks, and budgeting.