← 返回 Skills 市场
Zhihu Assistant
作者
wolf master
· GitHub ↗
· v0.1.1
401
总下载
1
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install zhihu-assistant-skill
功能描述
知乎热榜抓取与回答草稿生成助手 - 自动抓取知乎热榜,使用 AI 生成优质回答草稿,推送到飞书审核
安全使用建议
This skill appears to do what it says, but review a few things before installing:
- Sensitive credentials: the skill requires a Zhihu login cookie and an LLM API key. Only paste these into OpenClaw config and never commit them to a repository. Consider using a throwaway account or scope-limited API key if possible and rotate credentials after testing.
- Verify cron behavior: SKILL.md claims scheduled tasks will be created automatically, but the provided install.sh does not create cron entries. If you rely on scheduling, either add cron jobs yourself or confirm how OpenClaw will schedule the skill.
- Check the LLM endpoint: the code supports Kimi/Doubao and has multiple base_url defaults in different files; confirm the API endpoint you configure is the intended one and that you trust that provider.
- Unnecessary dependencies: install.sh installs packages (openai, httpx) that the code doesn't use. This is not necessarily malicious, but it increases installed surface area—inspect and remove unused dependencies if you prefer a minimal environment.
- OpenClaw CLI dependency: runtime code uses 'openclaw config get' via subprocess. Ensure the OpenClaw CLI is present and that you understand what config entries the skill will read.
- Review the remainder of main.py (it was truncated here): ensure there are no hidden network calls or logic that would send collected data (cookies, drafts, logs) to unexpected third-party endpoints.
If you want stronger assurance, run the skill in an isolated environment (VM or container) and monitor outbound network traffic during a test run. If you provide the full, untruncated main.py code I can re-check the remaining runtime behaviors and raise or lower my confidence accordingly.
功能分析
Type: OpenClaw Skill
Name: zhihu-assistant-skill
Version: 0.1.1
The OpenClaw AgentSkills bundle for 'zhihu-assistant' appears benign. Its `install.sh` script performs standard setup tasks, including creating directories within the OpenClaw workspace, copying skill files, and installing Python dependencies (`pyyaml`, `requests`, `httpx`, `openai`). The `main.py` and module files implement the stated functionality of fetching Zhihu hot topics, generating AI answers using Kimi/Doubao API, and managing a review queue with Feishu notifications. Sensitive configurations like `zhihu_cookie` and `kimi_api_key` are explicitly requested and marked as `secret` in `config.schema.json`, and are used for the skill's core purpose (accessing Zhihu and AI services). There is no evidence of data exfiltration to unauthorized endpoints, malicious execution (e.g., `curl|bash` of untrusted sources), persistence mechanisms beyond OpenClaw's cron features, or prompt injection attempts against the OpenClaw agent itself. The use of `subprocess.run` in `main.py` to retrieve OpenClaw configuration is safe as the keys are hardcoded and not user-controlled, mitigating shell injection risks.
能力评估
Purpose & Capability
Name/description, config.schema, and code align: the skill scrapes Zhihu, generates drafts via a third‑party LLM API, and queues/pushes drafts to Feishu. Requested secrets (Zhihu cookie, Kimi/Doubao API key) are consistent with the functionality. Minor mismatch: install.sh installs Python packages (openai, httpx) that the included code does not appear to use, which is unnecessary but not directly malicious.
Instruction Scope
SKILL.md and code instruct collecting a Zhihu browser cookie and an API key — these are sensitive but needed for the skill. The runtime reads OpenClaw config via subprocess('openclaw config get'), yet 'openclaw' is not declared in the skill's top-level 'requires' list; install/usage assumes the OpenClaw CLI is present. SKILL.md also claims automatic creation of cron tasks after install, but the provided install.sh does not create cron entries (it only creates a workspace and shortcut), which is an inconsistency to verify. No evidence in the visible code of unexpected exfiltration to unknown endpoints beyond the declared APIs (Zhihu and the configured LLM API).
Install Mechanism
Install is local (install.sh copies files into ~/.openclaw/workspace and creates a shortcut); there are no remote downloads or archives. This is low-risk for arbitrary code fetch. The install does pip install several packages (pyyaml, requests, httpx, openai). requests/pyyaml are reasonable; openai/httpx appear unnecessary given the included code, which is sloppy and could enlarge attack surface if an attacker later modifies dependencies.
Credentials
The skill asks for exactly the sensitive items it needs: a Zhihu cookie (to access Zhihu on behalf of the user) and an API key for the LLM provider (Kimi/Doubao). It also accepts an optional Feishu user id. The code also falls back to reading KIMI_API_KEY from environment variables and reads OpenClaw config via subprocess; these are appropriate but should be documented clearly. No unrelated credentials or broad system paths are requested.
Persistence & Privilege
always:false and the skill writes data only to its own workspace under ~/.openclaw/workspace/zhihu-assistant and ~/.openclaw/skills for the shortcut. It does not request system-wide privileges or alter other skills. This level of persistence is proportional for the stated use.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install zhihu-assistant-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/zhihu-assistant-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Initial release of zhihu-assistant-skill for OpenClaw.
- Added automated Zhihu hot list fetching, AI answer draft generation, and Feishu push notification modules.
- Includes memory storage for duplicate filtering and audit queue management.
- Provides command-line usage scripts and configuration files.
- Added setup script and detailed documentation.
v0.1.0
- Initial release of zhihu-assistant skill.
- Automatically fetches top 10 trending topics from Zhihu every hour.
- Generates high-quality draft answers using AI and sends them to Feishu for review.
- Features deduplication for answered questions and full operation logging.
- Includes easy configuration for Zhihu cookies, Kimi API Key, Feishu user notifications, and customizable fetch limits.
- Provides command-line tools for stats, reviewing, and managing drafts.
元数据
常见问题
Zhihu Assistant 是什么?
知乎热榜抓取与回答草稿生成助手 - 自动抓取知乎热榜,使用 AI 生成优质回答草稿,推送到飞书审核. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 401 次。
如何安装 Zhihu Assistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install zhihu-assistant-skill」即可一键安装,无需额外配置。
Zhihu Assistant 是免费的吗?
是的,Zhihu Assistant 完全免费(开源免费),可自由下载、安装和使用。
Zhihu Assistant 支持哪些平台?
Zhihu Assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Zhihu Assistant?
由 wolf master(@naivekid)开发并维护,当前版本 v0.1.1。
推荐 Skills