Перейти к содержимому
TakoAPI
Назад к навыкам

wikipedia-oc

от rachmann-alexander

Search & Research
756Число загрузок по данным clawskills.sh
1Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

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

Описание

Что делает этот навык

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.

Когда его использовать

  • 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

Пример сценария

ВВОД

User asks: Who was Alan Turing?

АГЕНТ
  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

ВЫВОД

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

Установка

clawhub install rachmann-alexander/wikipedia-oc

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки