본문으로 건너뛰기
Skillpedia
웹 스크레이핑18k · #10733

zhihu-search

하는 일

이 스킬은 AI 에이전트가 Zhihu에서 검색을 실행하고 결과를 구조화된 방식으로 읽도록 합니다. 특정 주제의 Zhihu 콘텐츠를 찾거나 모으고 싶은 분들을 위한 스킬입니다.

사용하는 경우

  • ✓Zhihu에서 특정 주제의 답변이나 글을 찾고 싶을 때.
  • ✓검토를 위해 Zhihu 검색 결과를 한꺼번에 많이 모아야 하는 경우.
  • ✓특정 주제에 대한 새 글이 올라오는지 Zhihu에서 지켜보고 싶을 때.

스킬 링크

https://github.com/itwanger/toBeBetterJavaer/blob/master/output/zhihu-search/zhihu-search/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/itwanger/toBeBetterJavaer/blob/master/output/zhihu-search/zhihu-search/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Java 메모리 튜닝에 대한 Zhihu의 좋은 답변을 검색해서 상위 답변을 목록으로 정리해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 브라우저에서 Zhihu를 열고 로그인 상태를 확인한 뒤 검색을 실행합니다. 검색 결과 페이지를 넘기며 내용을 읽고, 찾은 내용을 구조화된 목록으로 돌려줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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 execut
자주 묻는 질문

Zhihu에 로그인되어 있어야 하나요?

네. 스킬은 먼저 로그인 상태를 확인하고, 로그인되어 있지 않으면 로그인을 요청합니다.

검색 결과를 여러 페이지 가져올 수 있나요?

네. 스킬은 페이지 넘기기를 지원하므로 여러 페이지의 검색 결과를 읽을 수 있습니다.

이 스킬이 Zhihu의 내용을 바꾸나요?

아니요. 이미 화면에 보이는 내용만 읽습니다.

상세 정보

작성자의 원본 설명

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.

repo: itwanger/toBeBetterJavaer

인기도

GitHub 스타
18k
순위
#10733
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬