{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tech-invest-daily",
    "name": "科技投资日报",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/ilove323/tech-invest-daily",
    "canonicalUrl": "https://clawhub.ai/ilove323/tech-invest-daily",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/tech-invest-daily",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tech-invest-daily",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/generate_report.py",
      "scripts/report.py",
      "scripts/to_pdf.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/tech-invest-daily"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/tech-invest-daily",
    "agentPageUrl": "https://openagent3.xyz/skills/tech-invest-daily/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tech-invest-daily/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tech-invest-daily/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "1. 抓取新闻",
        "body": "web_fetch → https://www.cls.cn/telegraph\n\n筛选科技相关条目（AI/芯片/半导体/智能/机器人/算力/大模型/融资/上市公司公告）。\n重要新闻用 web_fetch https://www.cls.cn/detail/{id} 获取详情。"
      },
      {
        "title": "2. 获取股价",
        "body": "识别涉及的上市公司，执行：\n\npython3 ~/.openclaw/workspace/skills/tech-invest-daily/scripts/report.py prices usNVDA,sz000338,...\n\n返回 JSON：{code: {name, price, prev, change, pct, high, low}}"
      },
      {
        "title": "3. 生成完整报告",
        "body": "报告必须包含以下结构，每个公司单独一节，内容详实不得简化：\n\n# 📊 科技投资日报 · YYYY-MM-DD\n\n---\n\n## 🔴/🟢 公司名 代码 · 涨跌幅%\n\n**今日新闻**\n原文摘要（2-3句，说清楚发生了什么）\n\n**深度分析**\n- 赛道逻辑：这条新闻为什么重要，行业趋势是什么（3-4句）\n- 市场分析：资金动向、估值水位、竞争格局、近期催化剂（3-4句）\n\n**关键财务数据**\n现价：XX | 昨收：XX | 涨跌：XX（XX%）| 最高：XX | 最低：XX\nPE：XX | 52周区间：XX~XX | 市值：XX\n\n**投资建议**\n建仓区间：XX~XX | 目标价：XX | 止损：XX | 持有周期：XX\n操作策略：具体说明分几批建仓、什么条件加仓、什么条件止盈止损\n\n---\n\n## 一级市场信号（如有融资新闻）\n融资事件 + 对应二级市场联动标的分析\n\n---\n\n## 今日操作清单\n| 标的 | 代码 | 现价 | 建议 | 建仓区间 | 目标价 | 止损 |\n|------|------|------|------|---------|--------|------|\n...\n\n⚠️ 以上内容仅供参考，不构成投资建议，投资有风险。"
      },
      {
        "title": "4. 飞书发送",
        "body": "文字报告：使用 message action=send，将完整 Markdown 放入单个 message 字段，必须一条消息发完，不得分段。\n\nPDF附件：先将 Markdown 报告写入 /tmp/tech-invest-YYYYMMDD.md，再用 md2pdf-weasyprint 转换，最后用飞书 API 上传发送。\n\n步骤1：生成 PDF\n\nbash /root/.openclaw/workspace/skills/md2pdf-weasyprint/scripts/convert-weasyprint.sh \\\n  /tmp/tech-invest-YYYYMMDD.md \\\n  /tmp/tech-invest-YYYYMMDD.pdf\n\n步骤2：上传并发送，用 exec 执行以下 Python 脚本：\n\nimport requests, json\nfrom pathlib import Path\n\ncfg = json.load(open(\"/root/.openclaw/openclaw.json\"))[\"channels\"][\"feishu\"]\napp_id, app_secret = cfg[\"appId\"], cfg[\"appSecret\"]\nuser_id = \"ou_159cbb6a3791ff5a98f3a2a4b38e7d4c\"\npdf_path = \"/tmp/tech-invest-YYYYMMDD.pdf\"\n\ntoken = requests.post(\n    \"https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal\",\n    json={\"app_id\": app_id, \"app_secret\": app_secret}\n).json()[\"tenant_access_token\"]\n\nwith open(pdf_path, \"rb\") as f:\n    file_key = requests.post(\n        \"https://open.feishu.cn/open-apis/im/v1/files\",\n        headers={\"Authorization\": f\"Bearer {token}\"},\n        data={\"file_type\": \"pdf\", \"file_name\": Path(pdf_path).name},\n        files={\"file\": f}\n    ).json()[\"data\"][\"file_key\"]\n\nrequests.post(\n    \"https://open.feishu.cn/open-apis/im/v1/messages?receive_id_type=open_id\",\n    headers={\"Authorization\": f\"Bearer {token}\", \"Content-Type\": \"application/json\"},\n    json={\"receive_id\": user_id, \"msg_type\": \"file\", \"content\": json.dumps({\"file_key\": file_key})}\n)"
      },
      {
        "title": "数据源",
        "body": "用途地址实时新闻流https://www.cls.cn/telegraph新闻详情https://www.cls.cn/detail/{id}股价行情http://qt.gtimg.cn/q=代码1,代码2"
      },
      {
        "title": "股票代码格式",
        "body": "A股：sz000338、sh603019\n美股：usNVDA、usAAPL\n港股：hk00700、hk00981"
      }
    ],
    "body": "科技投资日报 Skill\n执行流程\n1. 抓取新闻\nweb_fetch → https://www.cls.cn/telegraph\n\n\n筛选科技相关条目（AI/芯片/半导体/智能/机器人/算力/大模型/融资/上市公司公告）。 重要新闻用 web_fetch https://www.cls.cn/detail/{id} 获取详情。\n\n2. 获取股价\n\n识别涉及的上市公司，执行：\n\npython3 ~/.openclaw/workspace/skills/tech-invest-daily/scripts/report.py prices usNVDA,sz000338,...\n\n\n返回 JSON：{code: {name, price, prev, change, pct, high, low}}\n\n3. 生成完整报告\n\n报告必须包含以下结构，每个公司单独一节，内容详实不得简化：\n\n# 📊 科技投资日报 · YYYY-MM-DD\n\n---\n\n## 🔴/🟢 公司名 代码 · 涨跌幅%\n\n**今日新闻**\n原文摘要（2-3句，说清楚发生了什么）\n\n**深度分析**\n- 赛道逻辑：这条新闻为什么重要，行业趋势是什么（3-4句）\n- 市场分析：资金动向、估值水位、竞争格局、近期催化剂（3-4句）\n\n**关键财务数据**\n现价：XX | 昨收：XX | 涨跌：XX（XX%）| 最高：XX | 最低：XX\nPE：XX | 52周区间：XX~XX | 市值：XX\n\n**投资建议**\n建仓区间：XX~XX | 目标价：XX | 止损：XX | 持有周期：XX\n操作策略：具体说明分几批建仓、什么条件加仓、什么条件止盈止损\n\n---\n\n## 一级市场信号（如有融资新闻）\n融资事件 + 对应二级市场联动标的分析\n\n---\n\n## 今日操作清单\n| 标的 | 代码 | 现价 | 建议 | 建仓区间 | 目标价 | 止损 |\n|------|------|------|------|---------|--------|------|\n...\n\n⚠️ 以上内容仅供参考，不构成投资建议，投资有风险。\n\n4. 飞书发送\n\n文字报告：使用 message action=send，将完整 Markdown 放入单个 message 字段，必须一条消息发完，不得分段。\n\nPDF附件：先将 Markdown 报告写入 /tmp/tech-invest-YYYYMMDD.md，再用 md2pdf-weasyprint 转换，最后用飞书 API 上传发送。\n\n步骤1：生成 PDF\n\nbash /root/.openclaw/workspace/skills/md2pdf-weasyprint/scripts/convert-weasyprint.sh \\\n  /tmp/tech-invest-YYYYMMDD.md \\\n  /tmp/tech-invest-YYYYMMDD.pdf\n\n\n步骤2：上传并发送，用 exec 执行以下 Python 脚本：\n\nimport requests, json\nfrom pathlib import Path\n\ncfg = json.load(open(\"/root/.openclaw/openclaw.json\"))[\"channels\"][\"feishu\"]\napp_id, app_secret = cfg[\"appId\"], cfg[\"appSecret\"]\nuser_id = \"ou_159cbb6a3791ff5a98f3a2a4b38e7d4c\"\npdf_path = \"/tmp/tech-invest-YYYYMMDD.pdf\"\n\ntoken = requests.post(\n    \"https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal\",\n    json={\"app_id\": app_id, \"app_secret\": app_secret}\n).json()[\"tenant_access_token\"]\n\nwith open(pdf_path, \"rb\") as f:\n    file_key = requests.post(\n        \"https://open.feishu.cn/open-apis/im/v1/files\",\n        headers={\"Authorization\": f\"Bearer {token}\"},\n        data={\"file_type\": \"pdf\", \"file_name\": Path(pdf_path).name},\n        files={\"file\": f}\n    ).json()[\"data\"][\"file_key\"]\n\nrequests.post(\n    \"https://open.feishu.cn/open-apis/im/v1/messages?receive_id_type=open_id\",\n    headers={\"Authorization\": f\"Bearer {token}\", \"Content-Type\": \"application/json\"},\n    json={\"receive_id\": user_id, \"msg_type\": \"file\", \"content\": json.dumps({\"file_key\": file_key})}\n)\n\n数据源\n用途\t地址\n实时新闻流\thttps://www.cls.cn/telegraph\n新闻详情\thttps://www.cls.cn/detail/{id}\n股价行情\thttp://qt.gtimg.cn/q=代码1,代码2\n股票代码格式\nA股：sz000338、sh603019\n美股：usNVDA、usAAPL\n港股：hk00700、hk00981"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ilove323/tech-invest-daily",
    "publisherUrl": "https://clawhub.ai/ilove323/tech-invest-daily",
    "owner": "ilove323",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tech-invest-daily",
    "downloadUrl": "https://openagent3.xyz/downloads/tech-invest-daily",
    "agentUrl": "https://openagent3.xyz/skills/tech-invest-daily/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tech-invest-daily/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tech-invest-daily/agent.md"
  }
}