Overview
- Skill Key
- baiguangmei/pyzhihu-cli
- Author
- baiguangmei
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/baiguangmei/pyzhihu-cli
- Latest Commit SHA
- f6e0ed459ab31fdad9de82889efcbe56e132f875
Install, use, develop, debug, test, and extend the zhihu-cli (pyzhihu-cli) project. Use when: installing pyzhihu-cli, running zhihu CLI commands, logging in to Zhihu, searching/browsing content, adding new CLI commands, fixing bugs, writing tests, modifying display output, updating auth flow, or understanding the project architecture.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 zhihu-cli 技能。 若已安装,则直接安装 zhihu-cli 技能。
# zhihu-cli Skill ## What is zhihu-cli zhihu-cli(PyPI 包名 `pyzhihu-cli`)是一个 Python 命令行工具,在终端中浏览知乎内容。支持搜索、热榜、问题、回答、用户、投票、关注、发布提问、发布想法、发布文章等 23 个子命令。 - **PyPI 包名**: `pyzhihu-cli` - **CLI 命令名**: `zhihu` - **Python 要求**: >= 3.10 --- ## Installation(安装) ### 用户安装(从 PyPI) ```bash # 推荐方式:使用 uv(全局命令行工具) uv tool install pyzhihu-cli # 或使用 pipx pipx install pyzhihu-cli # 或使用 pip pip install pyzhihu-cli ``` ### 开发安装(从源码) ```bash # 克隆仓库 git clone https://github.com/BAIGUANGMEI/zhihu-cli.git cd zhihu-cli # 创建虚拟环境并安装 python -m venv .venv # Windows: .venv\Scripts\activate # macOS/Linux: # source .venv/bin/activate pip install -e . ``` 二维码登录通过知乎 API(`POST /api/v3/account/api/login/qrcode`)获取 token 与 link,在终端用 `qrcode` 库渲染二维码,轮询 `scan_info` 直至扫码确认,**无需 Playwright**。 --- ## Usage(使用方法) ### 1. 登录(首次使用必须先登录) ```bash # 方式一:二维码扫码登录(推荐,仅需 requests + qrcode,无需 Playwright) zhihu login --qrcode # 方式二:手动提供 Cookie 字符串(至少包含 z_c0) zhihu login --cookie "z_c0=xxx; _xsrf=yyy; d_c0=zzz" ``` Cookie 获取方法:在浏览器登录知乎 → F12 → Network → 任意请求 → Headers → Cookie,复制完整值。 ## ***信息获取类命令说明:建议使用--json输出原始JSON数据,获得更加详细的数据。*** ### 2. 验证登录状态 ```bash # 离线检查(只查本地 cookie 文件) zhihu status # 在线验证并显示个人资料 zhihu whoami # JSON 格式输出 zhihu whoami --json ``` ### 3. 搜索 ```bash zhihu search "Python 学习" zhihu search "机器学习" --type topic zhihu search "张三" --type people zhihu search "Python" --limit 20 zhihu search "Python" --json ``` ### 4. 热榜 ```bash zhihu hot zhihu hot --limit 10 zhihu hot --json ``` ### 5. 问题与回答 ```bash # 查看问题详情 zhihu question 12345678 # 查看问题下的回答 z...
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
carlulsoe
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, or processing voice recordings locally without cloud APIs.
carlzhao007
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化。 使用场景:飞书自动化工作流、任务进度追踪、批量任务处理、需要实时反馈的场景。
cartoonitunes
BottyFans agent skill for autonomous creator monetization. Lets AI agents register, build a profile, publish posts (public, subscriber-only, or pay-to-unlock), upload media, accept USDC subscriptions and tips on Base, send and receive DMs, track earnings, and appear on the creator leaderboard. Use this skill when an agent needs to monetize content, interact with fans, manage a creator profile, handle payments in USDC, or operate as an autonomous creator on the BottyFans platform.
camopel
Local arXiv paper manager with semantic search. Crawls arXiv categories, downloads PDFs, chunks content, and indexes with FAISS + Ollama embeddings. No cloud API keys required — everything runs locally.