← Back to Skills Marketplace
naivekid

Zhihu Assistant

by wolf master · GitHub ↗ · v0.1.1
cross-platform ⚠ suspicious
401
Downloads
1
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install zhihu-assistant-skill
Description
知乎热榜抓取与回答草稿生成助手 - 自动抓取知乎热榜,使用 AI 生成优质回答草稿,推送到飞书审核
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install zhihu-assistant-skill
  3. After installation, invoke the skill by name or use /zhihu-assistant-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug zhihu-assistant-skill
Version 0.1.1
License
All-time Installs 3
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is Zhihu Assistant?

知乎热榜抓取与回答草稿生成助手 - 自动抓取知乎热榜,使用 AI 生成优质回答草稿,推送到飞书审核. It is an AI Agent Skill for Claude Code / OpenClaw, with 401 downloads so far.

How do I install Zhihu Assistant?

Run "/install zhihu-assistant-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Zhihu Assistant free?

Yes, Zhihu Assistant is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Zhihu Assistant support?

Zhihu Assistant is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Zhihu Assistant?

It is built and maintained by wolf master (@naivekid); the current version is v0.1.1.

💬 Comments