extension-apis

Reference Chrome Extension APIs with method signatures and usage patterns.

1|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/francanete/fran-marketplace --skill extension-apis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extension-apis
Source: https://github.com/francanete/fran-marketplace/tree/main/chrome-extension-expert/skills/extension-apis
Command: npx skills add https://github.com/francanete/fran-marketplace --skill extension-apis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a centralized reference to Chrome Extension APIs for building robust extensions.

Core Features & Use Cases

  • API Reference: Covers runtime, storage, tabs, scripting, action, alarms, notifications, contextMenus, sidePanel, offscreen, and identity APIs to streamline development.
  • Guidance for Implementation: Includes usage patterns, common call signatures, and practical examples to accelerate feature integration.
  • Use Case: When building a new extension, consult this skill to recall APIs like chrome.runtime, chrome.tabs, and chrome.storage during design and coding.

Quick Start

Reference the APIs as you implement common extension features, e.g., retrieving the manifest with chrome.runtime.getManifest()

Frequently Asked Questions about extension-apis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use chrome.storage and chrome.tabs APIs to build a Chrome extension?

To build a Chrome extension with chrome.storage and chrome.tabs, you reference their method signatures and usage patterns to manage browser tab states and persist extension data locally across sessions.

What Chrome Extension APIs do I need for background tasks and notifications?

For background tasks and notifications in a Chrome extension, you utilize the chrome.alarms API to schedule periodic events and the chrome.notifications API to display system alerts to the user.

How do I inject scripts into a webpage using Chrome Extension APIs?

To inject scripts into a webpage, you use the chrome.scripting API which provides methods to programmatically inject JavaScript and CSS files into target tabs during extension runtime execution.

Can I use Chrome Extension APIs to add items to the right-click context menu?

Yes, you can add items to the browser's right-click context menu using the chrome.contextMenus API to create custom actions that interact with selected text, links, or page elements.

Does this Chrome Extension API reference cover user authentication and identity?

Yes, this API reference covers user authentication through the chrome.identity API, which provides methods to obtain OAuth2 access tokens and retrieve user account information for extension sign-in workflows.

What is the best way to retrieve my extension's configuration details at runtime?

The best way to retrieve configuration details at runtime is using the chrome.runtime.getManifest() method, which returns the parsed manifest.json object containing your extension's declared metadata and permissions.