Skip to content
Back to skills

Query Wikipedia

ASecurity

Query summary from Wikipedia for a given topic.

  • 112 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 31, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned August 31, 2026

npx -y skills add loomax-labs/InferrLM --skill query-wikipedia --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Query Wikipedia?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Query Wikipedia
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loomax-labs-query-wikipedia/badge)](https://www.skillsdirectory.com/skills/loomax-labs-query-wikipedia)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Query Wikipedia
description: Query summary from Wikipedia for a given topic.
type: js
---
# 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 in this skill

  • SKILL.md1.5 KB
  • scripts/index.html3.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.