Generated banner for Query Wikipedia
Generated logo for Query Wikipedia

Query Wikipedia

Google AI EdgeOfficialPublished by Google AI Edge

  • Skill
  • Tool integration
  • Data and AI
  • Apache-2.0
  • No issues found

From the author

Query summary from Wikipedia for a given topic.
— the description by Google AI Edge

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The query-wikipedia skill enables an agent to fetch and summarize information from Wikipedia. By requiring a clean, entity-focused topic and a corresponding language code, it ensures accurate retrieval of broad subject articles. The skill is designed to provide concise, 1-3 sentence summaries, maintaining the language of the original user request and offering related information if the specific query details are not found.

What it does

  • Extracts primary entities or events from user queries for Wikipedia searching.
  • Supports multi-language queries using standard 2-letter language codes.
  • Generates concise summaries of 1-3 sentences.
  • Handles time-sensitive queries by defaulting to current iterations if unspecified.
  • Provides fallback information if the exact answer is missing from the retrieved content.

When to use it

  • When you need a quick, reliable summary of a person, place, or event.
  • When verifying general knowledge facts during a conversation.
  • When you need information in a specific language supported by Wikipedia.
  • When you need to provide context for a broad topic without overwhelming the user.

Advantages

  • Reduces context bloat by enforcing a 1-3 sentence summary limit.
  • Ensures linguistic consistency by matching the output language to the input.
  • Improves search accuracy by stripping conversational filler from the query.
  • Maintains helpfulness by offering related facts when direct answers are unavailable.

Usage examples

“Who is Albert Einstein?”
The agent extracts 'Albert Einstein' as the topic and returns a concise 1-3 sentence summary of his life and contributions.
“Dime quién ganó el mundial 2022”
The agent extracts 'Mundial 2022' as the topic, uses the 'es' language code, and provides a summary in Spanish.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/google-ai-edge/query-wikipedia/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip query-wikipedia.zip -d .agents/skills

Documentation by Google AI Edge

Query Wiki

Instructions

Call the run_js tool using index.html and a JSON string for data with the following fields:

  • topic: Required. Extract ONLY the primary entity, person, or event (e.g., "2026 Oscars", "Albert Einstein"). You MUST REMOVE all specific question details, action words, or conversational text (e.g., do NOT include words like "winner", "best picture", "who won", "history of"). Search for the broad subject so the tool can return the main article.

  • lang: Required. The 2-letter language code. This code MUST match the language of the keywords you provided in the topic field. Use standard codes, e.g., "en" (English), "es" (Spanish), "zh" (Chinese), "fr" (French), "de" (German), "ja" (Japanese), "ko" (Korean), "it" (Italian), "pt" (Portuguese), "ru" (Russian), "ar" (Arabic), "hi" (Hindi).

Constraints:

  • Provide a concise summary (1-3 complete sentences) to conserve context. Always ensure your response ends with a finished sentence. your response MUST BE written in the SAME language as the user's original prompt.

  • For recurring events or time-sensitive facts, query the specific iteration (e.g., "2026 Oscars"). If the user omits the year, default to the current year.

  • If the exact answer to the user's question is not found in the extract, briefly state this, then proactively offer a related piece of information that was found in the text.

Files

ATTRIBUTION.md

Attribution

This folder is an unmodified copy of the Agent Skill "query-wikipedia", distributed by AutoGineer (https://autogineer.com/agent-skills).

The skill's own files are unmodified copies. AutoGineer is not affiliated with or endorsed by the author or the publisher.

Files added by AutoGineer

  • ATTRIBUTION.md: this file, written by AutoGineer

  • LICENSE: copied from LICENSE

Requirements and compatibility

Written for: Google AI Edge Gallery

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Google AI Edge
Publisher
Google AI Edge (Official)
Source
google-ai-edge/gallery · skills/built-in/query-wikipedia · commit 3972f06
Licence
Apache License 2.0 (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Google AI Edge or Google AI Edge.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download query-wikipedia.zip