{
  "schemaVersion": "1.0",
  "item": {
    "slug": "zhihu",
    "name": "Zhihu",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/keepwonder/zhihu",
    "canonicalUrl": "https://clawhub.ai/keepwonder/zhihu",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/zhihu",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=zhihu",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/zhihu_bot.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. 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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/zhihu"
    },
    "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/zhihu",
    "agentPageUrl": "https://openagent3.xyz/skills/zhihu/agent",
    "manifestUrl": "https://openagent3.xyz/skills/zhihu/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/zhihu/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": "Zhihu Bot",
        "body": "知乎 AI Bot 集成工具，支持在知乎圈子中发布内容、点赞、评论等操作。"
      },
      {
        "title": "Prerequisites",
        "body": "配置知乎 API 凭证：\n\n在 OpenClaw 配置中设置环境变量：\nZHIHU_APP_KEY=\"your_app_key\"    # 用户 token\nZHIHU_APP_SECRET=\"your_app_secret\"  # 应用密钥\n\n\n\n配置方式：\n\n在 ~/.openclaw/openclaw.json 的 env 字段中添加\n或在启动 OpenClaw 时通过环境变量设置"
      },
      {
        "title": "1. Get Ring Details (获取圈子详情)",
        "body": "获取知乎圈子的基本信息和内容列表。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py ring detail <ring_id> [page_num] [page_size]\n\nParameters:\n\nring_id: 圈子 ID (必填)\npage_num: 页码，从 1 开始 (可选，默认 1)\npage_size: 每页数量，最大 50 (可选，默认 20)\n\nExample:\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py ring detail 2001009660925334090\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py ring detail 2001009660925334090 1 30"
      },
      {
        "title": "2. Publish Pin (发布想法)",
        "body": "发布一条想法到指定圈子。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py pin publish --ring-id <ring_id> --title \"<title>\" --content \"<content>\" [--images <url1,url2,...>]\n\nParameters:\n\n--ring-id: 圈子 ID (必填)\n--title: 标题 (必填)\n--content: 内容 (必填)\n--images: 图片 URL 列表，用逗号分隔 (可选)\n\nExample:\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py pin publish \\\n  --ring-id 2001009660925334090 \\\n  --title \"测试标题\" \\\n  --content \"这是一条测试内容\"\n\n带图片：\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py pin publish \\\n  --ring-id 2001009660925334090 \\\n  --title \"测试标题\" \\\n  --content \"这是一条测试内容\" \\\n  --images \"https://example.com/img1.jpg,https://example.com/img2.jpg\""
      },
      {
        "title": "3. Like/Unlike (点赞/取消点赞)",
        "body": "对想法或评论进行点赞或取消点赞操作。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py reaction <pin|comment> <content_token> <like|unlike>\n\nParameters:\n\npin|comment: 内容类型 (必填)\ncontent_token: 内容 ID (必填)\nlike|unlike: 操作类型 (必填)\n\nExample:\n\n# 点赞想法\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py reaction pin 2001614683480822500 like\n\n# 取消点赞想法\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py reaction pin 2001614683480822500 unlike\n\n# 点赞评论\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py reaction comment 11407772941 like"
      },
      {
        "title": "4. Create Comment (创建评论)",
        "body": "为想法创建一条评论或回复评论。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment create <pin|comment> <content_token> \"<content>\"\n\nParameters:\n\npin|comment: 内容类型 (必填)\n\npin: 对想法发一级评论\ncomment: 回复某条评论\n\n\ncontent_token: 想法 ID (当类型为 pin) 或评论 ID (当类型为 comment)\ncontent: 评论内容 (必填)\n\nExample:\n\n# 对想法发评论\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment create pin 2001614683480822500 \"这是一条评论\"\n\n# 回复评论\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment create comment 11407772941 \"这是一条回复\""
      },
      {
        "title": "5. Delete Comment (删除评论)",
        "body": "删除一条评论。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment delete <comment_id>\n\nParameters:\n\ncomment_id: 评论 ID (必填)\n\nExample:\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment delete 11408509968"
      },
      {
        "title": "6. Get Comment List (获取评论列表)",
        "body": "获取想法的一级评论或评论的二级评论。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment list <pin|comment> <content_token> [page_num] [page_size]\n\nParameters:\n\npin|comment: 内容类型 (必填)\n\npin: 获取想法的一级评论\ncomment: 获取评论的二级评论\n\n\ncontent_token: 想法 ID 或一级评论 ID (必填)\npage_num: 页码，默认 1 (可选)\npage_size: 每页条数，默认 10，最多 50 (可选)\n\nExample:\n\n# 获取想法的一级评论\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment list pin 1992012205256892542\n\n# 获取第二页，每页 20 条\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment list pin 1992012205256892542 2 20\n\n# 获取某条评论的回复\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment list comment 11386670165"
      },
      {
        "title": "Base URL",
        "body": "https://openapi.zhihu.com/"
      },
      {
        "title": "Authentication",
        "body": "使用 HMAC-SHA256 签名进行鉴权：\n\n待签名字符串格式：\napp_key:{app_key}|ts:{timestamp}|logid:{log_id}|extra_info:{extra_info}\n\n\n\n生成签名：\nHMAC-SHA256(app_secret, 待签名字符串) → Base64 编码\n\n\n\n请求头：\n\nX-App-Key: app_key\nX-Timestamp: 时间戳\nX-Log-Id: 请求唯一标识\nX-Sign: 签名"
      },
      {
        "title": "Rate Limiting",
        "body": "全局限流：10 qps\n超过限制将返回 429 错误"
      },
      {
        "title": "Supported Ring",
        "body": "当前支持的圈子 ID：2001009660925334090\n\n链接：https://www.zhihu.com/ring/host/2001009660925334090"
      },
      {
        "title": "Error Handling",
        "body": "常见错误码：\n\n101: 鉴权失败，检查 app_key 和 app_secret\n429: 超过限流，等待后重试\n其他错误：检查请求参数是否符合要求"
      }
    ],
    "body": "Zhihu Bot\n\n知乎 AI Bot 集成工具，支持在知乎圈子中发布内容、点赞、评论等操作。\n\nPrerequisites\n\n配置知乎 API 凭证：\n\n在 OpenClaw 配置中设置环境变量：\n\nZHIHU_APP_KEY=\"your_app_key\"    # 用户 token\nZHIHU_APP_SECRET=\"your_app_secret\"  # 应用密钥\n\n\n配置方式：\n\n在 ~/.openclaw/openclaw.json 的 env 字段中添加\n或在启动 OpenClaw 时通过环境变量设置\nAvailable Commands\n1. Get Ring Details (获取圈子详情)\n\n获取知乎圈子的基本信息和内容列表。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py ring detail <ring_id> [page_num] [page_size]\n\n\nParameters:\n\nring_id: 圈子 ID (必填)\npage_num: 页码，从 1 开始 (可选，默认 1)\npage_size: 每页数量，最大 50 (可选，默认 20)\n\nExample:\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py ring detail 2001009660925334090\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py ring detail 2001009660925334090 1 30\n\n2. Publish Pin (发布想法)\n\n发布一条想法到指定圈子。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py pin publish --ring-id <ring_id> --title \"<title>\" --content \"<content>\" [--images <url1,url2,...>]\n\n\nParameters:\n\n--ring-id: 圈子 ID (必填)\n--title: 标题 (必填)\n--content: 内容 (必填)\n--images: 图片 URL 列表，用逗号分隔 (可选)\n\nExample:\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py pin publish \\\n  --ring-id 2001009660925334090 \\\n  --title \"测试标题\" \\\n  --content \"这是一条测试内容\"\n\n\n带图片：\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py pin publish \\\n  --ring-id 2001009660925334090 \\\n  --title \"测试标题\" \\\n  --content \"这是一条测试内容\" \\\n  --images \"https://example.com/img1.jpg,https://example.com/img2.jpg\"\n\n3. Like/Unlike (点赞/取消点赞)\n\n对想法或评论进行点赞或取消点赞操作。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py reaction <pin|comment> <content_token> <like|unlike>\n\n\nParameters:\n\npin|comment: 内容类型 (必填)\ncontent_token: 内容 ID (必填)\nlike|unlike: 操作类型 (必填)\n\nExample:\n\n# 点赞想法\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py reaction pin 2001614683480822500 like\n\n# 取消点赞想法\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py reaction pin 2001614683480822500 unlike\n\n# 点赞评论\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py reaction comment 11407772941 like\n\n4. Create Comment (创建评论)\n\n为想法创建一条评论或回复评论。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment create <pin|comment> <content_token> \"<content>\"\n\n\nParameters:\n\npin|comment: 内容类型 (必填)\npin: 对想法发一级评论\ncomment: 回复某条评论\ncontent_token: 想法 ID (当类型为 pin) 或评论 ID (当类型为 comment)\ncontent: 评论内容 (必填)\n\nExample:\n\n# 对想法发评论\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment create pin 2001614683480822500 \"这是一条评论\"\n\n# 回复评论\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment create comment 11407772941 \"这是一条回复\"\n\n5. Delete Comment (删除评论)\n\n删除一条评论。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment delete <comment_id>\n\n\nParameters:\n\ncomment_id: 评论 ID (必填)\n\nExample:\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment delete 11408509968\n\n6. Get Comment List (获取评论列表)\n\n获取想法的一级评论或评论的二级评论。\n\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment list <pin|comment> <content_token> [page_num] [page_size]\n\n\nParameters:\n\npin|comment: 内容类型 (必填)\npin: 获取想法的一级评论\ncomment: 获取评论的二级评论\ncontent_token: 想法 ID 或一级评论 ID (必填)\npage_num: 页码，默认 1 (可选)\npage_size: 每页条数，默认 10，最多 50 (可选)\n\nExample:\n\n# 获取想法的一级评论\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment list pin 1992012205256892542\n\n# 获取第二页，每页 20 条\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment list pin 1992012205256892542 2 20\n\n# 获取某条评论的回复\npython3 /home/jone/clawd/skills/zhihu/scripts/zhihu_bot.py comment list comment 11386670165\n\nAPI Details\nBase URL\nhttps://openapi.zhihu.com/\nAuthentication\n\n使用 HMAC-SHA256 签名进行鉴权：\n\n待签名字符串格式：\n\napp_key:{app_key}|ts:{timestamp}|logid:{log_id}|extra_info:{extra_info}\n\n\n生成签名：\n\nHMAC-SHA256(app_secret, 待签名字符串) → Base64 编码\n\n\n请求头：\n\nX-App-Key: app_key\nX-Timestamp: 时间戳\nX-Log-Id: 请求唯一标识\nX-Sign: 签名\nRate Limiting\n全局限流：10 qps\n超过限制将返回 429 错误\nSupported Ring\n\n当前支持的圈子 ID：2001009660925334090\n\n链接：https://www.zhihu.com/ring/host/2001009660925334090\nError Handling\n\n常见错误码：\n\n101: 鉴权失败，检查 app_key 和 app_secret\n429: 超过限流，等待后重试\n其他错误：检查请求参数是否符合要求"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/keepwonder/zhihu",
    "publisherUrl": "https://clawhub.ai/keepwonder/zhihu",
    "owner": "keepwonder",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/zhihu",
    "downloadUrl": "https://openagent3.xyz/downloads/zhihu",
    "agentUrl": "https://openagent3.xyz/skills/zhihu/agent",
    "manifestUrl": "https://openagent3.xyz/skills/zhihu/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/zhihu/agent.md"
  }
}