İçeriğe geç
TakoAPI
Becerilere dön

wikipedia-oc

rachmann-alexander tarafından

Search & Research
756İndirme sayıları clawskills.sh tarafından bildirilir
1Yıldızlar
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

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

Açıklama

Bu Beceri Ne Yapar

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.

Ne Zaman Kullanılır

  • 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

Örnek İş Akışı

GİRİŞ

User asks: Who was Alan Turing?

AJAN
  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

ÇIKIŞ

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

Kurulum

clawhub install rachmann-alexander/wikipedia-oc

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar