본문으로 건너뛰기
cccskills
무료GitHub에 공개

zhihu-search

Search Zhihu, a Chinese knowledge-sharing platform, for answers, articles, people, and topics. Filter by content type and creation date, sort results, and collect structured records containing excerpts, authors, votes, and links across multiple pages.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Search Zhihu for content using the search_v3 API. Use when user mentions Zhihu, 知乎, searching Zhihu, searching 知乎, Zhihu search, 知乎搜索, searching for answers/articles on Zhihu, or says 搜一下知乎, 在知乎上搜索, 找知乎上的, 知乎上搜搜. Also applies to exploring Zhihu's internal API endpoints, extracting search results in bulk, and monitoring Zhihu for new content on specific topics.

설치 방법 보기

이럴 때 유용합니다

  • Finding Zhihu answers and articles on a topic
  • Comparing highly upvoted answers
  • Collecting recently created content
  • Gathering search results across multiple pages

포함된 파일(3)

  • SKILL.md6.1 KB
  • scripts/enum-params.py1.8 KB
  • scripts/search.py3.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Zhihu — Search

Search query → Structured search results with pagination support

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Provide reliable access to Zhihu's search API to extract structured content (answers, articles, users, topics, etc.) with filtering, sorting, and pagination capabilities.

Prerequisites

  • Target page is already open in the browser: https://www.zhihu.com/

Pre-execution Checks

1. Tool Readiness

If browser-act has been confirmed available in the current session → skip this step.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

2. Login Verification

If login status for the target site has been confirmed in the current session → skip this step.

Otherwise: open the target site and observe the page login status:

  • Logout/sign-out entry, user avatar, or username exists → logged in, continue execution
  • Login/register entry exists with no logout entry → not logged in, inform the user that login is needed first, assist the user in completing the login flow

User refuses or cannot log in → terminate execution.

Capability Components

This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the scripts/ directory, invoked via eval "$(python scripts/xxx.py {params})". $(...) is bash syntax; it is recommended to use the bash tool for execution.

Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.

API: Search Zhihu

eval "$(python scripts/search.py '{query}' --vertical {vertical} --sort {sort} --time-interval {time_interval} --offset {offset} --limit {limit})"

Parameters:

  • query: Search query string (required)
  • --vertical: Content type, default answer (answer, article, zhuanlan, people, topic, live)
  • --sort: Sort order, default default (default, upvoted_count, created_time)
  • --time-interval: Time filter, default all (all, a_day, a_week, a_month, three_months, half_a_year, a_year)
  • --offset: Pagination offset, default 0
  • --limit: Items per page, default 20

Output example:

{
  "success": true,
  "query": "AI Agent",
  "total": 1250,
  "offset": 0,
  "limit": 20,
  "has_next": true,
  "has_prev": false,
  "results": [
    {
      "type": "search_result",
      "id": "123456789",
      "title": "如何理解 AI Agent?",
      "excerpt": "AI Agent 是指能够自主感知环境、做出决策并执行动作的智能体...",
      "url": "https://www.zhihu.com/question/1234567/answer/123456789",
      "author": {
        "id": "987654321",
        "name": "张三",
        "headline": "AI 研究员",
        "avatar_url": "https://pic2.zhimg.com/v2-xxx.jpg"
      },
      "upvoted_count": 1520,
      "comment_count": 89,
      "created_time": 1701234567,
      "updated_time": 1701234567
    }
  ]
}

Enum Parameters

[API] vertical, sort, time_interval — eval "$(python scripts/enum-params.py --param all)"

Pagination

API Pagination: offset, type: page-number, start value: 0. Next page value source: increment by limit. Termination: has_next === false.

Success Criteria

result.results.length >= 1 or result.total >= 0 (valid zero-result response)

Known Limitations

  • Rate limits may apply with excessive requests
  • Some content types may return fewer results than expected
  • Time filters apply to content creation time, not update time

Execution Efficiency

  • Batch orchestration: Write a bash script to loop through the command templates serially within a single session; do not parallelize within one browser (prone to triggering anti-scraping restrictions). Refer to rate information in "Known Limitations" above to add appropriate intervals. To increase throughput, open multiple stealth browser sessions and distribute work across them — each session has an independent fingerprint so rate limits apply per session
  • Test before batch execution: After writing a batch script, you must first test with 1-2 items to verify the script runs correctly; only then run the full batch. Never skip testing and execute in batch directly
  • Reduce redundant pre-operations: When multiple steps depend on the same prerequisite state, complete them in batch under that state to avoid repeatedly establishing the same state
  • Error resumption: Save results item by item during batch processing; on failure, resume from the breakpoint rather than starting over

Experience Notes

Path: browser-act-skill-forge-memories/zhihu-search-zhihu-search.memory.md

Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions (e.g., a strategy has become ineffective); adjust strategy order accordingly.

After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line: {YYYY-MM-DD}: {what happened} → {conclusion}

Normal execution does not write to the file. Do not record what keywords were used or how many results were returned — those are task outputs, not experience.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Write AI tool reviews, setup tutorials, interview preparation articles, and technical explanations, or update existing articles against current source code. The workflow covers research, outline approval, prose checks, and source documentation.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Write a setup tutorial for an AI tool
  • Update an article against current source code
  • Prepare technical interview explanations
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Automate browser tasks such as reading JavaScript-rendered pages, filling forms, clicking through workflows, and taking screenshots. Maintain login sessions, manage separate browsers, and capture network responses, with approval checks for sensitive actions.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Extracting content from pages that use JavaScript
  • Automating form entry and page navigation
  • Checking page appearance with screenshots
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Turn narration scripts into animated explainer videos using Remotion and 火山 TTS, a text-to-speech service. Prepare scripts, synchronize visuals with narration, preview each chapter, correct pronunciations, and export a verified MP4 with voice audio.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Turn a narration script into an animated explainer video
  • Synchronize subtitles and visuals with narration
  • Preview and refine a video chapter by chapter
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Create a coordinated set of video covers in 3:4, 16:9, and 4:3 formats from AI or Java scripts. Choose illustrations featuring a consistent presenter character or text-only layouts with white titles and yellow keywords.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Creating matching vertical and horizontal video covers
  • Making text-only covers with white and yellow lettering
  • Keeping the same presenter character across covers
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Write or refine Chinese spoken video scripts about AI technology, interview questions, and current topics. New scripts follow research and outline approval, while revisions provide specific wording changes and reasons for the edits.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Writing a spoken script explaining AI technology
  • Turning technical interview questions into video scripts
  • Preparing a script about a current AI topic
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

Match videos from 王二讲Agent to their scripts, then add Bilibili links and Douyin video IDs to the designated documentation files. Identify missing entries while preserving existing links and IDs.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Add newly published Bilibili videos to the documentation
  • Register Douyin video IDs for embedded players
  • Check which scripts still lack video references
itwanger/toBeBetterJavaer1.8만2026년 10월 18일 업데이트

itwanger의 스킬 모두 보기

이 스킬의 문제 신고