Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

wikipedia-oc

bởi rachmann-alexander

Search & Research
756Lượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

searches, retrieves, and summarizes content from English Wikipedia using the `wikipedia` Python module.

Mô tả

Kỹ năng này làm gì

Searches English Wikipedia, retrieves page content, and returns structured summaries including title, summary text, and URL. Uses the Python `wikipedia` module. Developed on Ubuntu; the developer requests feedback on cross-platform behavior.

The `wikipedia` Python module handles search ranking, disambiguation errors, and structured output automatically, removing the need to parse raw MediaWiki API responses.

Khi nào nên dùng

  • Looking up a historical figure's biography
  • Getting a quick summary of a scientific or technical concept
  • Finding a Wikipedia URL to include in a document or report
  • Resolving ambiguous search terms by listing related Wikipedia pages
  • Retrieving English Wikipedia content for translation into another language

Quy trình ví dụ

ĐẦU VÀO

User asks: Who was Alan Turing?

AGENT
  1. 1

    Sets Wikipedia language to English

  2. 2

    Searches Wikipedia for 'Alan Turing' with results limited to 3

  3. 3

    Selects the most relevant page title from results

  4. 4

    Retrieves the page summary and URL

  5. 5

    Returns structured data with title, summary, and source URL

ĐẦU RA

{"title": "Alan Turing", "summary": "Alan Mathison Turing was an English mathematician...", "url": "https://en.wikipedia.org/wiki/Alan_Turing"}

Cài đặt

clawhub install rachmann-alexander/wikipedia-oc

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết