Skip to content

feat(skills): add opt-in Wikipedia packaged skill - #2610

Merged
webbrain-one merged 3 commits into
webbrain-one:mainfrom
Ayush7614:feat/packaged-skill-wikipedia
Jul 27, 2026
Merged

feat(skills): add opt-in Wikipedia packaged skill#2610
webbrain-one merged 3 commits into
webbrain-one:mainfrom
Ayush7614:feat/packaged-skill-wikipedia

Conversation

@Ayush7614

@Ayush7614 Ayush7614 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds an opt-in packaged skill for English Wikipedia (Chrome + Firefox):

  • search_wikipedia — REST page search (/w/rest.php/v1/search/page)
  • get_wikipedia_summary — MediaWiki Action API intro extract + URL

No API key. Not auto-seeded (same model as Open Library / Open-Meteo). Appears under Settings → Skills.

Why

Useful Ask/Act lookup with a real public API. Independent of #357 skill ideas (OTP, file-share, etc., which already have other packaged skills).

Test plan

  • node test/run.js: 1350 passed, 1 failed (existing changelog test on main)
  • Settings → Skills: Wikipedia appears under Available packaged skills
  • Enable skill → ask “summarize Ada Lovelace on Wikipedia” → uses search + summary tools

Add a read-only Wikipedia skill for Chrome and Firefox with search and
page-summary HTTP tools, register it in the packaged catalog (not
default-seeded), and cover opt-in prompt/tool wiring in tests.
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

@Ayush7614 is attempting to deploy a commit to the esokullu's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an opt-in English Wikipedia skill for Chrome and Firefox, independent of issue #357.

Changes:

  • Adds Wikipedia search and summary HTTP tools.
  • Registers the packaged skill without enabling it by default.
  • Tests registration, parsing, visibility, and attribution.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/chrome/src/agent/skills.js Registers the Chrome skill.
src/chrome/skills/wikipedia.md Defines Chrome Wikipedia tools and workflow.
src/firefox/src/agent/skills.js Registers the Firefox skill.
src/firefox/skills/wikipedia.md Defines Firefox Wikipedia tools and workflow.
test/run.js Tests cross-browser packaged-skill behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/chrome/skills/wikipedia.md Outdated
Comment on lines +72 to +80
"defaultArgs": {
"action": "query",
"format": "json",
"prop": "extracts|info",
"exintro": "1",
"explaintext": "1",
"inprop": "url",
"redirects": "1"
},
webbrain-one and others added 2 commits July 27, 2026 23:26
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@webbrain-one
webbrain-one merged commit bcb843a into webbrain-one:main Jul 27, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants