chrome-ai-extension
Installation
SKILL.md
Chrome AI Extension Skill
Create Chrome extensions that leverage Chrome's built-in AI capabilities for on-device machine learning without external API calls.
Chrome AI APIs Overview
Chrome provides several built-in AI APIs that run locally on-device:
- LanguageModel API (Prompt API): General-purpose LLM for conversational AI and text generation using Gemini Nano
- Summarization API: Specialized for text summarization
- Translation API: Language translation
- Writer API: Assisted writing and content generation
Note: The API is experimental and evolving. In current Chromium builds the exposed surface for extensions is the global LanguageModel object inside page contexts (content scripts, popups, etc.); the chrome.ai namespace is not wired up for service workers yet.
Quick Start - Working Example
Here's a working pattern that matches what currently ships in Canary/Dev (127+):