projects/investment/skills/portfolio_analyzer/SKILL.md
# Skill: portfolio_analyzer ## 目标 分析当前仓位,输出总资产、各大类占比、偏离情况、低配与高配项。 ## 对应项目目的 - 管理仓位 - 风险预警 - 周报月报 ## 输入 - `system/portfolio_state.json` - `system/target_allocation.json` ## 输出 - `total_value` - `allocation` - `deviation` - `underweight` - `overweight` - `status` ## 步骤 1. 读取资产数据 2. 按 category 聚合 3. 计算总值与占比 4. 与目标配置比较 5. 输出结构化结果 ## 失败处理 - 缺少资产值:返回 `incomplete_data` - 总资产为 0:返回 `calculation_blocked` - 未知分类:写入 `uncategorized`
npx skillsauth add Andy-HNU/AndyClaw projects/investment/skills/portfolio_analyzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
分析当前仓位,输出总资产、各大类占比、偏离情况、低配与高配项。
system/portfolio_state.jsonsystem/target_allocation.jsontotal_valueallocationdeviationunderweightoverweightstatusincomplete_datacalculation_blockeduncategorizedtools
Compact long Telegram chat sessions and prevent silent non-replies caused by high context usage. Use when a Telegram conversation becomes slow, misses replies, or session tokens are high (for example above ~80-85%), and when the user asks to clean, rotate, or shrink Telegram context.
tools
Send local files to Telegram chats through OpenClaw CLI delivery. Use when a user asks to send or forward a file (md/txt/pdf/image/video) to Telegram, especially from workspace paths. Supports direct chat targets and group/topic targets.
tools
轻量自我改进记录技能。用于把错误、用户纠正、知识缺口、功能诉求写入 `.learnings/`,并在每天回顾时将高价值经验提升到 AGENTS.md / SOUL.md / TOOLS.md / MEMORY.md。适用于“避免重复犯错、沉淀经验、降低长期 token 浪费”的场景;默认不启用高频 hooks。
data-ai
轻量主动代理增强。用于在不显著增加 token 的前提下引入 4 个高价值机制:VBR(先验证再汇报)、Autonomous vs Prompted Cron 区分、工具迁移检查清单、会话压缩恢复流程。适用于避免“改了文本没改机制”、减少自动任务失效、提高会话连续性。