{"id":"6c5865e9-9906-4a31-9344-0ec6f2a9a83d","entityType":"agent","slug":"clawhub-jayden-zhong-holdings-analysis","name":"持仓诊断分析","canonicalUrl":"https://www.xpersona.co/agent/clawhub-jayden-zhong-holdings-analysis","canonicalPath":"/agent/clawhub-jayden-zhong-holdings-analysis","generatedAt":"2026-10-12T12:27:37.592Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-11T23:57:56.412Z","emptyReason":null},"description":"实时诊断持仓，结合腾讯行情和技术指标，计算买卖评分及状态，给出操作建议和盈亏情况。 Skill: 持仓诊断分析 Owner: jayden-zhong Summary: 实时诊断持仓，结合腾讯行情和技术指标，计算买卖评分及状态，给出操作建议和盈亏情况。 Tags: latest:1.1.0 Version history: v1.1.0 | 2026-06-02T03:12:47.919Z | user 统一持仓数据源+卖出评分优化+持仓诊断增强 v1.0.0 | 2026-04-22T10:33:45.740Z | user v1.0.0: 持仓诊断系统，集成买入评分(M/A/R/V四维)+卖出评分+PASS/FAIL状态，支持腾讯API实时行情 Archive index: Archive v1.1.0: 16 files, 40439 bytes Files: analyze_holdings.py (5881b), check_holdings_detail.py (1963b), check_hold","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 972 downloads reported by the source. Last updated 10/11/2026.","installCommand":"clawhub skill install s176spm6d59vka8srp6r8yznrh83xc9z:holdings-analysis","sourceUrl":"https://clawhub.ai/jayden-zhong/holdings-analysis","homepage":"https://clawhub.ai/jayden-zhong/skills/holdings-analysis","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/jayden-zhong/holdings-analysis","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/jayden-zhong/skills/holdings-analysis","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"实时诊断持仓，结合腾讯行情和技术指标，计算买卖评分及状态，给出操作建议和盈亏情况。 Skill: 持仓诊断分析 Owner: jayden-zhong Summary: 实时诊断持仓，结合腾讯行情和技术指标，计算买卖评分及状态，给出操作建议和盈亏情况。 Tags: latest:1.1.0 Version histor"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-11T23:57:56.412Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T23:57:56.412Z","emptyReason":null},"stars":null,"forks":null,"downloads":972,"likes":null,"task":null,"library":null,"packageName":null,"latestVersion":"1.1.0","tractionLabel":"972 downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-11T23:57:56.333Z","emptyReason":null},"lastUpdatedAt":"2026-10-11T23:57:56.412Z","lastCrawledAt":"2026-10-11T23:57:56.333Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-12T23:57:56.333Z","lastVerifiedAt":null,"highlights":[{"version":"1.1.0","createdAt":"2026-06-02T03:12:47.919Z","changelog":"统一持仓数据源+卖出评分优化+持仓诊断增强","fileCount":16,"zipByteSize":40439},{"version":"1.0.0","createdAt":"2026-04-22T10:33:45.740Z","changelog":"v1.0.0: 持仓诊断系统，集成买入评分(M/A/R/V四维)+卖出评分+PASS/FAIL状态，支持腾讯API实时行情","fileCount":17,"zipByteSize":43126}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s176spm6d59vka8srp6r8yznrh83xc9z:holdings-analysis","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-12T12:27:37.592Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-jayden-zhong-holdings-analysis/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-11T23:57:56.412Z","emptyReason":null},"readme":"Skill: 持仓诊断分析\n\nOwner: jayden-zhong\n\nSummary: 实时诊断持仓，结合腾讯行情和技术指标，计算买卖评分及状态，给出操作建议和盈亏情况。\n\nTags: latest:1.1.0\n\nVersion history:\n\nv1.1.0 | 2026-06-02T03:12:47.919Z | user\n\n统一持仓数据源+卖出评分优化+持仓诊断增强\n\nv1.0.0 | 2026-04-22T10:33:45.740Z | user\n\nv1.0.0: 持仓诊断系统，集成买入评分(M/A/R/V四维)+卖出评分+PASS/FAIL状态，支持腾讯API实时行情\n\nArchive index:\n\nArchive v1.1.0: 16 files, 40439 bytes\n\nFiles: analyze_holdings.py (5881b), check_holdings_detail.py (1963b), check_holdings_trend.py (1003b), check_holdings_v4.py (5984b), confirmation.py (8242b), holdings_result.json (1529b), industry_data.py (6579b), sell_signal.py (8767b), skill-card.md (2316b), skill.json (593b), SKILL.md (1880b), stock_pool_merged.py (30700b), tracking.py (8088b), trend_scanner.py (21631b), unified_score.py (19776b), _meta.json (136b)\n\nFile v1.1.0:SKILL.md\n\n# 持仓诊断与分析 (Holdings Analysis)\r\n\r\n## 简介\r\n\r\n持仓实时诊断工具。读取持仓列表，调用腾讯API获取实时行情，结合技术指标计算买入评分（M/A/R/V四维）和卖出评分，给出PASS/FAIL状态和操作信号。\r\n\r\n---\r\n\r\n## 核心文件\r\n\r\n| 文件 | 用途 |\r\n|------|------|\r\n| `_holdings_std.py` | 持仓数据（成本价、买入日期） |\r\n| `check_holdings_v4.py` | 主脚本：买入评分 + M/A/R/V + 卖出评分 + PASS/FAIL |\r\n| `analyze_holdings.py` | v1版持仓分析 |\r\n| `analyze_holdings_v2.py` | v2版持仓分析 |\r\n| `check_holdings_detail.py` | 持仓详情（含趋势追踪） |\r\n| `check_holdings_trend.py` | 持仓趋势追踪 |\r\n| `run_holdings.py` | 快速运行入口 |\r\n\r\n---\r\n\r\n## 使用方法\r\n\r\n```bash\r\n# 标准持仓诊断\r\npython check_holdings_v4.py\r\n\r\n# 持仓趋势追踪\r\npython check_holdings_trend.py\r\n```\r\n\r\n---\r\n\r\n## 评分体系\r\n\r\n### 买入评分（满分100）\r\n- **PASS** 阈值：≥55分，进入趋势合格池\r\n- **FAIL** 阈值：<55分，不符合趋势选股标准\r\n\r\n### 卖出评分（满分100）\r\n- 评分越高代表风险越大\r\n- 参考阈值：≥25分考虑分批止盈，≥40分强烈建议离场\r\n\r\n### M/A/R/V 四维\r\n- **M**：动能（MACD方向）\r\n- **A**：结构（均线排列）\r\n- **R**：RSI强弱\r\n- **V**：量价配合\r\n\r\n---\r\n\r\n## 输出格式\r\n\r\n```\r\n代码 名称   评分  M/A/R/V   卖出评分  状态  盈亏%\r\n000682 东方电子  59  21/20/18/0  20  PASS  -1.1%\r\n```\r\n\r\n---\r\n\r\n## 持仓数据维护\r\n\r\n编辑 `_holdings_std.py` 中的 `HOLDINGS` 列表添加新持仓：\r\n```python\r\nHOLDINGS = [\r\n    {\"code\": \"000682\", \"buy_price\": 13.20, \"buy_date\": \"2026-03-30\"},\r\n    {\"code\": \"300529\", \"buy_price\": 18.60, \"buy_date\": \"2026-04-22\"},\r\n]\r\n```\r\n\r\n---\r\n\r\n## 免责声明\r\n\r\n本系统仅供学习研究使用，不构成任何投资建议。\n\nFile v1.1.0:_meta.json\n\n{\n  \"ownerId\": \"kn7b1c5p9t2asdhfd0wep064w583w8n4\",\n  \"slug\": \"holdings-analysis\",\n  \"version\": \"1.1.0\",\n  \"publishedAt\": 1780369967919\n}\n\nFile v1.1.0:skill-card.md\n\n## Description:\n\n实时诊断股票持仓，调用腾讯行情数据并结合技术指标计算买入评分、卖出评分、PASS/FAIL 状态、操作信号和盈亏情况。\n\nThis skill is for research and development only.\n\n## Publisher:\n\n[jayden-zhong](https://clawhub.ai/user/jayden-zhong)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to analyze a supplied stock holdings list, retrieve market data, compute technical scores, and identify hold, warn, or sell signals for portfolio review. The artifact states that the analysis is for learning and research and does not constitute investment advice.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The security summary says the skill runs code from hardcoded external .qclaw workspace paths and can load replacement modules outside the reviewed package.\n\nMitigation: Review before installing, run only when every referenced workspace file is trusted, and prefer a packaged version that reads holdings from explicit JSON or CSV inputs.\n\nRisk: Stock analysis output can be mistaken for investment advice.\n\nMitigation: Use the output as informational portfolio review, confirm market data and decisions independently, and keep the non-advice disclaimer visible to users.\n\nRisk: Live market-data requests can fail or return incomplete data, which may leave prices, scores, or signals missing.\n\nMitigation: Check generated JSON and text summaries for missing or zero-valued fields before relying on the analysis.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/jayden-zhong/skills/holdings-analysis)\n\n## Skill Output:\n\n**Output Type(s):** [text, JSON, shell commands, configuration, guidance]\n\n**Output Format:** [Plain text and JSON analysis summaries with Python command examples]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May write local holdings analysis files and depends on live market data availability.]\n\n## Skill Version(s):\n\n1.1.0 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v1.1.0:holdings_result.json\n\n{\r\n  \"date\": \"2026-05-07\",\r\n  \"positions\": [\r\n    {\r\n      \"code\": \"000682\",\r\n      \"name\": \"东方电子\",\r\n      \"cur_price\": 13.52,\r\n      \"buy_price\": 13.2,\r\n      \"profit_pct\": 2.42,\r\n      \"days\": 22,\r\n      \"buy_score\": 49,\r\n      \"macd_score\": 11,\r\n      \"ma_score\": 8,\r\n      \"rsi_score\": 16,\r\n      \"vol_score\": 14,\r\n      \"sell_score\": 0,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [],\r\n      \"rsi\": 62.7,\r\n      \"overall\": \"HOLD\",\r\n      \"status\": \"FAIL\"\r\n    },\r\n    {\r\n      \"code\": \"002202\",\r\n      \"name\": \"金风科技\",\r\n      \"cur_price\": 28.44,\r\n      \"buy_price\": 26.1,\r\n      \"profit_pct\": 8.97,\r\n      \"days\": 15,\r\n      \"buy_score\": 57,\r\n      \"macd_score\": 23,\r\n      \"ma_score\": 16,\r\n      \"rsi_score\": 18,\r\n      \"vol_score\": 0,\r\n      \"sell_score\": 0,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [],\r\n      \"rsi\": 69.1,\r\n      \"overall\": \"HOLD\",\r\n      \"status\": \"PASS\"\r\n    },\r\n    {\r\n      \"code\": \"603868\",\r\n      \"name\": \"飞科电器\",\r\n      \"cur_price\": 35.3,\r\n      \"buy_price\": 34.73,\r\n      \"profit_pct\": 1.64,\r\n      \"days\": 9,\r\n      \"buy_score\": 63,\r\n      \"macd_score\": 17,\r\n      \"ma_score\": 20,\r\n      \"rsi_score\": 15,\r\n      \"vol_score\": 11,\r\n      \"sell_score\": 12,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [\r\n        \"RSI超买回落\"\r\n      ],\r\n      \"rsi\": 73.9,\r\n      \"overall\": \"HOLD\",\r\n      \"status\": \"PASS\"\r\n    }\r\n  ],\r\n  \"summary\": {\r\n    \"total_profit\": 13.03,\r\n    \"avg_buy_score\": 56.3,\r\n    \"avg_sell_score\": 4.0,\r\n    \"sell_count\": 0,\r\n    \"warning_count\": 0\r\n  }\r\n}\n\nFile v1.1.0:skill.json\n\n{\n  \"name\": \"holdings-analysis\",\n  \"version\": \"1.0.0\",\n  \"description\": \"持仓诊断与分析系统 - 买入评分+卖出评分+PASS/FAIL状态，支持持仓趋势追踪和分批止盈止损\",\n  \"author\": \"ts30\",\n  \"tags\": [\"股票\", \"持仓\", \"技术分析\", \"风险管理\"],\n  \"main\": \"check_holdings_v4.py\",\n  \"scripts\": {\n    \"analyze\": \"python check_holdings_v4.py\",\n    \"detail\": \"python check_holdings_detail.py\"\n  },\n  \"dependencies\": {\n    \"python\": \">=3.8\",\n    \"pandas\": \">=1.0.0\",\n    \"numpy\": \">=1.0.0\"\n  },\n  \"config\": {\n    \"buy_threshold\": 55,\n    \"sell_threshold\": 25\n  }\n}\n\nArchive v1.0.0: 17 files, 43126 bytes\n\nFiles: _holdings_std.py (5015b), analyze_holdings.py (5881b), check_holdings_detail.py (1963b), check_holdings_trend.py (1003b), check_holdings_v4.py (8996b), confirmation.py (8242b), holdings_result.json (1726b), industry_data.py (6579b), sell_signal.py (8767b), skill-card.md (2294b), skill.json (593b), SKILL.md (1880b), stock_pool_merged.py (30700b), tracking.py (8088b), trend_scanner.py (21631b), unified_score.py (19776b), _meta.json (136b)\n\nFile v1.0.0:SKILL.md\n\n# 持仓诊断与分析 (Holdings Analysis)\r\n\r\n## 简介\r\n\r\n持仓实时诊断工具。读取持仓列表，调用腾讯API获取实时行情，结合技术指标计算买入评分（M/A/R/V四维）和卖出评分，给出PASS/FAIL状态和操作信号。\r\n\r\n---\r\n\r\n## 核心文件\r\n\r\n| 文件 | 用途 |\r\n|------|------|\r\n| `_holdings_std.py` | 持仓数据（成本价、买入日期） |\r\n| `check_holdings_v4.py` | 主脚本：买入评分 + M/A/R/V + 卖出评分 + PASS/FAIL |\r\n| `analyze_holdings.py` | v1版持仓分析 |\r\n| `analyze_holdings_v2.py` | v2版持仓分析 |\r\n| `check_holdings_detail.py` | 持仓详情（含趋势追踪） |\r\n| `check_holdings_trend.py` | 持仓趋势追踪 |\r\n| `run_holdings.py` | 快速运行入口 |\r\n\r\n---\r\n\r\n## 使用方法\r\n\r\n```bash\r\n# 标准持仓诊断\r\npython check_holdings_v4.py\r\n\r\n# 持仓趋势追踪\r\npython check_holdings_trend.py\r\n```\r\n\r\n---\r\n\r\n## 评分体系\r\n\r\n### 买入评分（满分100）\r\n- **PASS** 阈值：≥55分，进入趋势合格池\r\n- **FAIL** 阈值：<55分，不符合趋势选股标准\r\n\r\n### 卖出评分（满分100）\r\n- 评分越高代表风险越大\r\n- 参考阈值：≥25分考虑分批止盈，≥40分强烈建议离场\r\n\r\n### M/A/R/V 四维\r\n- **M**：动能（MACD方向）\r\n- **A**：结构（均线排列）\r\n- **R**：RSI强弱\r\n- **V**：量价配合\r\n\r\n---\r\n\r\n## 输出格式\r\n\r\n```\r\n代码 名称   评分  M/A/R/V   卖出评分  状态  盈亏%\r\n000682 东方电子  59  21/20/18/0  20  PASS  -1.1%\r\n```\r\n\r\n---\r\n\r\n## 持仓数据维护\r\n\r\n编辑 `_holdings_std.py` 中的 `HOLDINGS` 列表添加新持仓：\r\n```python\r\nHOLDINGS = [\r\n    {\"code\": \"000682\", \"buy_price\": 13.20, \"buy_date\": \"2026-03-30\"},\r\n    {\"code\": \"300529\", \"buy_price\": 18.60, \"buy_date\": \"2026-04-22\"},\r\n]\r\n```\r\n\r\n---\r\n\r\n## 免责声明\r\n\r\n本系统仅供学习研究使用，不构成任何投资建议。\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7b1c5p9t2asdhfd0wep064w583w8n4\",\n  \"slug\": \"holdings-analysis\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1776854025740\n}\n\nFile v1.0.0:skill-card.md\n\n## Description: <br>\nAnalyzes stock holdings with Tencent market data and technical indicators to produce buy and sell scores, PASS/FAIL status, action signals, and profit/loss context. <br>\n\nThis skill is for research and development only. <br>\n\n## Publisher: <br>\n[jayden-zhong](https://clawhub.ai/user/jayden-zhong) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers or analysts evaluating stock holdings can use this skill to run a local holdings diagnostic that fetches Tencent market data and summarizes trend status, buy/sell scores, and profit/loss context. Outputs should be treated as informational analysis, not investment advice. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Network responses and holdings files may lead to code execution in the current Python implementation. <br>\nMitigation: Audit the Python before use, replace eval with JSON parsing, and store holdings in JSON or another non-executable format. <br>\nRisk: Hardcoded external import paths can load unexpected local code. <br>\nMitigation: Remove hardcoded sys.path imports and use explicit packaged dependencies or local modules. <br>\nRisk: SELL/HOLD and scoring outputs could be mistaken for investment advice. <br>\nMitigation: Treat every recommendation, score, and signal as informational analysis that requires independent review. <br>\n\n\n## Reference(s): <br>\n- [ClawHub release page](https://clawhub.ai/jayden-zhong/holdings-analysis) <br>\n- [Artifact skill documentation](artifact/SKILL.md) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, JSON, shell commands, guidance] <br>\n**Output Format:** [Markdown or terminal text, with optional JSON holdings results] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Stock analysis outputs are informational and should not be treated as financial advice.] <br>\n\n## Skill Version(s): <br>\n1.0.0 (source: server release metadata and artifact/skill.json) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nFile v1.0.0:holdings_result.json\n\n{\r\n  \"date\": \"2026-04-22\",\r\n  \"positions\": [\r\n    {\r\n      \"code\": \"002363\",\r\n      \"name\": \"隆基机械\",\r\n      \"cur_price\": 8.53,\r\n      \"buy_price\": 8.41,\r\n      \"profit_pct\": 1.43,\r\n      \"days\": 9,\r\n      \"buy_score\": 0,\r\n      \"sell_score\": 0,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [],\r\n      \"rsi\": 0,\r\n      \"overall\": \"HOLD\"\r\n    },\r\n    {\r\n      \"code\": \"000532\",\r\n      \"name\": \"华金资本\",\r\n      \"cur_price\": 13.83,\r\n      \"buy_price\": 13.67,\r\n      \"profit_pct\": 1.17,\r\n      \"days\": 7,\r\n      \"buy_score\": 0,\r\n      \"sell_score\": 0,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [],\r\n      \"rsi\": 0,\r\n      \"overall\": \"HOLD\"\r\n    },\r\n    {\r\n      \"code\": \"000682\",\r\n      \"name\": \"东方电子\",\r\n      \"cur_price\": 13.45,\r\n      \"buy_price\": 13.2,\r\n      \"profit_pct\": 1.89,\r\n      \"days\": 7,\r\n      \"buy_score\": 0,\r\n      \"sell_score\": 0,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [],\r\n      \"rsi\": 0,\r\n      \"overall\": \"HOLD\"\r\n    },\r\n    {\r\n      \"code\": \"300529\",\r\n      \"name\": \"健帆生物\",\r\n      \"cur_price\": 18.37,\r\n      \"buy_price\": 18.6,\r\n      \"profit_pct\": -1.24,\r\n      \"days\": 0,\r\n      \"buy_score\": 0,\r\n      \"sell_score\": 0,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [],\r\n      \"rsi\": 0,\r\n      \"overall\": \"HOLD\"\r\n    },\r\n    {\r\n      \"code\": \"002202\",\r\n      \"name\": \"金风科技\",\r\n      \"cur_price\": 26.23,\r\n      \"buy_price\": 26.1,\r\n      \"profit_pct\": 0.5,\r\n      \"days\": 0,\r\n      \"buy_score\": 0,\r\n      \"sell_score\": 0,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [],\r\n      \"rsi\": 0,\r\n      \"overall\": \"HOLD\"\r\n    }\r\n  ],\r\n  \"summary\": {\r\n    \"total_profit\": 3.75,\r\n    \"avg_buy_score\": 0.0,\r\n    \"avg_sell_score\": 0.0,\r\n    \"sell_count\": 0,\r\n    \"warning_count\": 0\r\n  }\r\n}\n\nFile v1.0.0:skill.json\n\n{\n  \"name\": \"holdings-analysis\",\n  \"version\": \"1.0.0\",\n  \"description\": \"持仓诊断与分析系统 - 买入评分+卖出评分+PASS/FAIL状态，支持持仓趋势追踪和分批止盈止损\",\n  \"author\": \"ts30\",\n  \"tags\": [\"股票\", \"持仓\", \"技术分析\", \"风险管理\"],\n  \"main\": \"check_holdings_v4.py\",\n  \"scripts\": {\n    \"analyze\": \"python check_holdings_v4.py\",\n    \"detail\": \"python check_holdings_detail.py\"\n  },\n  \"dependencies\": {\n    \"python\": \">=3.8\",\n    \"pandas\": \">=1.0.0\",\n    \"numpy\": \">=1.0.0\"\n  },\n  \"config\": {\n    \"buy_threshold\": 55,\n    \"sell_threshold\": 25\n  }\n}","readmeExcerpt":"Skill: 持仓诊断分析 Owner: jayden-zhong Summary: 实时诊断持仓，结合腾讯行情和技术指标，计算买卖评分及状态，给出操作建议和盈亏情况。 Tags: latest:1.1.0 Version history: v1.1.0 | 2026-06-02T03:12:47.919Z | user 统一持仓数据源+卖出评分优化+持仓诊断增强 v1.0.0 | 2026-04-22T10:33:45.740Z | user v1.0.0: 持仓诊断系统，集成买入评分(M/A/R/V四维)+卖出评分+PASS/FAIL状态，支持腾讯API实时行情 Archive index: Archive v1.1.0: 16 files, 40439 bytes Files: analyze_holdings.py (5881b), check_holdings_detail.py (1963b), check_hold","codeSnippets":[],"executableExamples":[],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"# 持仓诊断与分析 (Holdings Analysis)\r\n\r\n## 简介\r\n\r\n持仓实时诊断工具。读取持仓列表，调用腾讯API获取实时行情，结合技术指标计算买入评分（M/A/R/V四维）和卖出评分，给出PASS/FAIL状态和操作信号。\r\n\r\n---\r\n\r\n## 核心文件\r\n\r\n| 文件 | 用途 |\r\n|------|------|\r\n| `_holdings_std.py` | 持仓数据（成本价、买入日期） |\r\n| `check_holdings_v4.py` | 主脚本：买入评分 + M/A/R/V + 卖出评分 + PASS/FAIL |\r\n| `analyze_holdings.py` | v1版持仓分析 |\r\n| `analyze_holdings_v2.py` | v2版持仓分析 |\r\n| `check_holdings_detail.py` | 持仓详情（含趋势追踪） |\r\n| `check_holdings_trend.py` | 持仓趋势追踪 |\r\n| `run_holdings.py` | 快速运行入口 |\r\n\r\n---\r\n\r\n## 使用方法\r\n\r\n```bash\r\n# 标准持仓诊断\r\npython check_holdings_v4.py\r\n\r\n# 持仓趋势追踪\r\npython check_holdings_trend.py\r\n```\r\n\r\n---\r\n\r\n## 评分体系\r\n\r\n### 买入评分（满分100）\r\n- **PASS** 阈值：≥55分，进入趋势合格池\r\n- **FAIL** 阈值：<55分，不符合趋势选股标准\r\n\r\n### 卖出评分（满分100）\r\n- 评分越高代表风险越大\r\n- 参考阈值：≥25分考虑分批止盈，≥40分强烈建议离场\r\n\r\n### M/A/R/V 四维\r\n- **M**：动能（MACD方向）\r\n- **A**：结构（均线排列）\r\n- **R**：RSI强弱\r\n- **V**：量价配合\r\n\r\n---\r\n\r\n## 输出格式\r\n\r\n```\r\n代码 名称   评分  M/A/R/V   卖出评分  状态  盈亏%\r\n000682 东方电子  59  21/20/18/0  20  PASS  -1.1%\r\n```\r\n\r\n---\r\n\r\n## 持仓数据维护\r\n\r\n编辑 `_holdings_std.py` 中的 `HOLDINGS` 列表添加新持仓：\r\n```python\r\nHOLDINGS = [\r\n    {\"code\": \"000682\", \"buy_price\": 13.20, \"buy_date\": \"2026-03-30\"},\r\n    {\"code\": \"300529\", \"buy_price\": 18.60, \"buy_date\": \"2026-04-22\"},\r\n]\r\n```\r\n\r\n---\r\n\r\n## 免责声明\r\n\r\n本系统仅供学习研究使用，不构成任何投资建议。"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7b1c5p9t2asdhfd0wep064w583w8n4\",\n  \"slug\": \"holdings-analysis\",\n  \"version\": \"1.1.0\",\n  \"publishedAt\": 1780369967919\n}"},{"path":"skill-card.md","content":"## Description:\n\n实时诊断股票持仓，调用腾讯行情数据并结合技术指标计算买入评分、卖出评分、PASS/FAIL 状态、操作信号和盈亏情况。\n\nThis skill is for research and development only.\n\n## Publisher:\n\n[jayden-zhong](https://clawhub.ai/user/jayden-zhong)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal users and developers use this skill to analyze a supplied stock holdings list, retrieve market data, compute technical scores, and identify hold, warn, or sell signals for portfolio review. The artifact states that the analysis is for learning and research and does not constitute investment advice.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The security summary says the skill runs code from hardcoded external .qclaw workspace paths and can load replacement modules outside the reviewed package.\n\nMitigation: Review before installing, run only when every referenced workspace file is trusted, and prefer a packaged version that reads holdings from explicit JSON or CSV inputs.\n\nRisk: Stock analysis output can be mistaken for investment advice.\n\nMitigation: Use the output as informational portfolio review, confirm market data and decisions independently, and keep the non-advice disclaimer visible to users.\n\nRisk: Live market-data requests can fail or return incomplete data, which may leave prices, scores, or signals missing.\n\nMitigation: Check generated JSON and text summaries for missing or zero-valued fields before relying on the analysis.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/jayden-zhong/skills/holdings-analysis)\n\n## Skill Output:\n\n**Output Type(s):** [text, JSON, shell commands, configuration, guidance]\n\n**Output Format:** [Plain text and JSON analysis summaries with Python command examples]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May write local holdings analysis files and depends on live market data availability.]\n\n## Skill Version(s):\n\n1.1.0 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."},{"path":"holdings_result.json","content":"{\r\n  \"date\": \"2026-05-07\",\r\n  \"positions\": [\r\n    {\r\n      \"code\": \"000682\",\r\n      \"name\": \"东方电子\",\r\n      \"cur_price\": 13.52,\r\n      \"buy_price\": 13.2,\r\n      \"profit_pct\": 2.42,\r\n      \"days\": 22,\r\n      \"buy_score\": 49,\r\n      \"macd_score\": 11,\r\n      \"ma_score\": 8,\r\n      \"rsi_score\": 16,\r\n      \"vol_score\": 14,\r\n      \"sell_score\": 0,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [],\r\n      \"rsi\": 62.7,\r\n      \"overall\": \"HOLD\",\r\n      \"status\": \"FAIL\"\r\n    },\r\n    {\r\n      \"code\": \"002202\",\r\n      \"name\": \"金风科技\",\r\n      \"cur_price\": 28.44,\r\n      \"buy_price\": 26.1,\r\n      \"profit_pct\": 8.97,\r\n      \"days\": 15,\r\n      \"buy_score\": 57,\r\n      \"macd_score\": 23,\r\n      \"ma_score\": 16,\r\n      \"rsi_score\": 18,\r\n      \"vol_score\": 0,\r\n      \"sell_score\": 0,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [],\r\n      \"rsi\": 69.1,\r\n      \"overall\": \"HOLD\",\r\n      \"status\": \"PASS\"\r\n    },\r\n    {\r\n      \"code\": \"603868\",\r\n      \"name\": \"飞科电器\",\r\n      \"cur_price\": 35.3,\r\n      \"buy_price\": 34.73,\r\n      \"profit_pct\": 1.64,\r\n      \"days\": 9,\r\n      \"buy_score\": 63,\r\n      \"macd_score\": 17,\r\n      \"ma_score\": 20,\r\n      \"rsi_score\": 15,\r\n      \"vol_score\": 11,\r\n      \"sell_score\": 12,\r\n      \"action\": \"HOLD\",\r\n      \"signals\": [\r\n        \"RSI超买回落\"\r\n      ],\r\n      \"rsi\": 73.9,\r\n      \"overall\": \"HOLD\",\r\n      \"status\": \"PASS\"\r\n    }\r\n  ],\r\n  \"summary\": {\r\n    \"total_profit\": 13.03,\r\n    \"avg_buy_score\": 56.3,\r\n    \"avg_sell_score\": 4.0,\r\n    \"sell_count\": 0,\r\n    \"warning_count\": 0\r\n  }\r\n}"},{"path":"skill.json","content":"{\n  \"name\": \"holdings-analysis\",\n  \"version\": \"1.0.0\",\n  \"description\": \"持仓诊断与分析系统 - 买入评分+卖出评分+PASS/FAIL状态，支持持仓趋势追踪和分批止盈止损\",\n  \"author\": \"ts30\",\n  \"tags\": [\"股票\", \"持仓\", \"技术分析\", \"风险管理\"],\n  \"main\": \"check_holdings_v4.py\",\n  \"scripts\": {\n    \"analyze\": \"python check_holdings_v4.py\",\n    \"detail\": \"python check_holdings_detail.py\"\n  },\n  \"dependencies\": {\n    \"python\": \">=3.8\",\n    \"pandas\": \">=1.0.0\",\n    \"numpy\": \">=1.0.0\"\n  },\n  \"config\": {\n    \"buy_threshold\": 55,\n    \"sell_threshold\": 25\n  }\n}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"实时诊断持仓，结合腾讯行情和技术指标，计算买卖评分及状态，给出操作建议和盈亏情况。 Skill: 持仓诊断分析 Owner: jayden-zhong Summary: 实时诊断持仓，结合腾讯行情和技术指标，计算买卖评分及状态，给出操作建议和盈亏情况。 Tags: latest:1.1.0 Version history: v1.1.0 | 2026-06-02T03:12:47.919Z | user 统一持仓数据源+卖出评分优化+持仓诊断增强 v1.0.0 | 2026-04-22T10:33:45.740Z | user v1.0.0: 持仓诊断系统，集成买入评分(M/A/R/V四维)+卖出评分+PASS/FAIL状态，支持腾讯API实时行情 Archive index: Archive v1.1.0: 16 files, 40439 bytes Files: analyze_holdings.py (5881b), check_holdings_detail.py (1963b), check_hold","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":856,"uniquenessScore":57,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-11T23:57:56.412Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-11T23:57:56.412Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-12T12:27:37.592Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}