跳到正文
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 或你在用的任意编程智能体里。

链接