zhihu-search
यह क्या करती है
यह स्किल AI एजेंट को Zhihu पर खोज चलाने और नतीजों को व्यवस्थित रूप में पढ़ने देती है। यह उन लोगों के लिए है जो किसी विषय पर Zhihu की सामग्री ढूँढना या इकट्ठा करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप Zhihu पर किसी विषय के जवाब या लेख ढूँढना चाहते हैं।
- ✓जब आपको समीक्षा के लिए एक साथ बहुत सारे Zhihu खोज नतीजे इकट्ठा करने हों।
- ✓जब आप किसी विषय पर Zhihu पर नई पोस्ट पर नज़र रखना चाहते हैं।
Skill का लिंक
https://github.com/itwanger/toBeBetterJavaer/blob/master/output/zhihu-search/zhihu-search/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Zhihu पर Java मेमोरी ट्यूनिंग के सबसे अच्छे जवाब खोजिए और उनमें से ऊपर के कुछ जवाब सूची में दीजिए।”
हर हफ़्ते 5 नई skills, 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 viaeval "$(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.
लोकप्रियता
- GitHub स्टार
- 18k
- रैंकिंग में स्थान
- #10733
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
मिलती-जुलती skills
tavily
394kयह आपके एजेंट को Tavily से वेब पर खोजने और खास वेब पेजों से टेक्स्ट निकालने देती है, गहराई, डोमेन और तारीख के विकल्पों के साथ।
blogwatcher
394kयह आपके एजेंट को ब्लॉग और RSS या Atom फ़ीड फ़ॉलो करने, उनमें नए लेख जांचने और जो लेख आपने पढ़ लिए हों उन्हें चिह्नित करने देती है।
data-scraper-agent
280kएजेंट को किसी भी public स्रोत से अपने-आप डेटा इकट्ठा करने में मदद करता है। इसे schedule किया जा सकता है, जानकारी को और बेहतर बनाया जा सकता है और नतीजे सेव किए जा सकते हैं। ऑनलाइन डेटा पर नज़र रखने के लिए उपयोगी है।