{
  "schemaVersion": "1.0",
  "item": {
    "slug": "tushare-finance",
    "name": "tushare-finance",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/StanleyChanH/tushare-finance",
    "canonicalUrl": "https://clawhub.ai/StanleyChanH/tushare-finance",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/tushare-finance",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tushare-finance",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "QUICK_REFERENCE.md",
      "README.md",
      "SKILL.md",
      "metadata.json",
      "reference/README.md",
      "reference/all_links.json"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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/tushare-finance"
    },
    "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/tushare-finance",
    "agentPageUrl": "https://openagent3.xyz/skills/tushare-finance/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tushare-finance/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tushare-finance/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Tushare 金融数据 Skill",
        "body": "本 skill 通过 Tushare Pro API 获取中国金融市场数据，支持 220+ 个数据接口。"
      },
      {
        "title": "1. Token 配置",
        "body": "询问用户：是否已配置 Tushare Token？\n\n如未配置，引导用户：\n\n访问 https://tushare.pro 注册\n获取 Token\n配置环境变量：export TUSHARE_TOKEN=\"your_token\""
      },
      {
        "title": "2. 验证依赖",
        "body": "检查 Python 环境：\n\npython -c \"import tushare, pandas; print('OK')\"\n\n如报错，安装依赖：\n\npip install tushare pandas"
      },
      {
        "title": "常用接口速查",
        "body": "数据类型接口方法说明股票列表pro.stock_basic()获取所有股票列表日线行情pro.daily()获取日线行情数据财务指标pro.fina_indicator()财务指标（ROE等）利润表pro.income()利润表数据指数行情pro.index_daily()指数日线数据基金净值pro.fund_nav()基金净值数据GDP数据pro.gdp()国内生产总值CPI数据pro.cpi()居民消费价格指数\n\n完整接口列表：查看 接口文档索引"
      },
      {
        "title": "数据获取流程",
        "body": "查找接口：根据需求在 接口索引 找到对应接口\n阅读文档：查看 reference/接口文档/[接口名].md 了解参数\n编写代码：\nimport tushare as ts\n\n# 初始化（使用环境变量中的 Token）\npro = ts.pro_api()\n\n# 调用接口\ndf = pro.daily(ts_code='000001.SZ', start_date='20241201', end_date='20241231')\n\n\n返回结果：DataFrame 格式"
      },
      {
        "title": "参数格式说明",
        "body": "日期：YYYYMMDD（如 20241231）\n股票代码：ts_code 格式（如 000001.SZ, 600000.SH）\n返回格式：pandas DataFrame"
      },
      {
        "title": "接口文档参考",
        "body": "接口索引：reference/README.md\n\n接口文档按类别组织：\n\n股票数据（39 个接口）\n指数数据（18 个接口）\n基金数据（11 个接口）\n期货期权（16 个接口）\n宏观经济（10 个接口）\n港股美股（23 个接口）\n债券数据（16 个接口）"
      },
      {
        "title": "参考资源",
        "body": "Tushare 官方文档：https://tushare.pro/document/2\nAPI 测试工具：https://tushare.pro/document/1"
      }
    ],
    "body": "Tushare 金融数据 Skill\n\n本 skill 通过 Tushare Pro API 获取中国金融市场数据，支持 220+ 个数据接口。\n\n快速开始\n1. Token 配置\n\n询问用户：是否已配置 Tushare Token？\n\n如未配置，引导用户：\n\n访问 https://tushare.pro 注册\n获取 Token\n配置环境变量：export TUSHARE_TOKEN=\"your_token\"\n2. 验证依赖\n\n检查 Python 环境：\n\npython -c \"import tushare, pandas; print('OK')\"\n\n\n如报错，安装依赖：\n\npip install tushare pandas\n\n常用接口速查\n数据类型\t接口方法\t说明\n股票列表\tpro.stock_basic()\t获取所有股票列表\n日线行情\tpro.daily()\t获取日线行情数据\n财务指标\tpro.fina_indicator()\t财务指标（ROE等）\n利润表\tpro.income()\t利润表数据\n指数行情\tpro.index_daily()\t指数日线数据\n基金净值\tpro.fund_nav()\t基金净值数据\nGDP数据\tpro.gdp()\t国内生产总值\nCPI数据\tpro.cpi()\t居民消费价格指数\n\n完整接口列表：查看 接口文档索引\n\n数据获取流程\n查找接口：根据需求在 接口索引 找到对应接口\n阅读文档：查看 reference/接口文档/[接口名].md 了解参数\n编写代码：\nimport tushare as ts\n\n# 初始化（使用环境变量中的 Token）\npro = ts.pro_api()\n\n# 调用接口\ndf = pro.daily(ts_code='000001.SZ', start_date='20241201', end_date='20241231')\n\n返回结果：DataFrame 格式\n参数格式说明\n日期：YYYYMMDD（如 20241231）\n股票代码：ts_code 格式（如 000001.SZ, 600000.SH）\n返回格式：pandas DataFrame\n接口文档参考\n\n接口索引：reference/README.md\n\n接口文档按类别组织：\n\n股票数据（39 个接口）\n指数数据（18 个接口）\n基金数据（11 个接口）\n期货期权（16 个接口）\n宏观经济（10 个接口）\n港股美股（23 个接口）\n债券数据（16 个接口）\n参考资源\nTushare 官方文档：https://tushare.pro/document/2\nAPI 测试工具：https://tushare.pro/document/1"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/StanleyChanH/tushare-finance",
    "publisherUrl": "https://clawhub.ai/StanleyChanH/tushare-finance",
    "owner": "StanleyChanH",
    "version": "2.0.6",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/tushare-finance",
    "downloadUrl": "https://openagent3.xyz/downloads/tushare-finance",
    "agentUrl": "https://openagent3.xyz/skills/tushare-finance/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tushare-finance/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tushare-finance/agent.md"
  }
}