🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

Zhihu CLI

by @lightislost

Command-line tool for searching, reading, and interacting with Zhihu (知乎). Supports hot topics, content search, article reading, user info, and Browser Relay...

Versionv1.0.0
Installs1
💡 Examples

# Get hot topics
zhihu hot

Search for Python tutorials

zhihu search Python教程

Read an answer

zhihu read https://www.zhihu.com/question/123456/answer/789012

Get user info

zhihu user lightislost

Check login

zhihu whoami

⚙️ Configuration

1. Ensure OpenClaw Browser Relay is connected 2. Use the respective command to get instructions

Voting

zhihu vote 
Then click the vote button in browser or use JS:
const btn = document.querySelector('button[class*="VoteButton"]');
if (btn) btn.click();

Following

zhihu follow 
Or click the follow button in browser.

📋 Tips & Best Practices

  • Cookie is stored in ~/.zhihu-cookie
  • Some features require login (votes, follows)
  • Browser Relay provides more reliable write operations
  • View on ClawHub
    TERMINAL
    clawhub install zhihu-cli

    🧪 Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    🔍 Can't find the right skill?

    Search 60,000+ AI agent skills — free, no login needed.

    Search Skills →