Writer API

Generate written content in Chrome using the Writer API with Gemini Nano.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/amedina/chrome-extension-chrome-ai-skills-dev-sample --skill writer-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Writer API
Source: https://github.com/amedina/chrome-extension-chrome-ai-skills-dev-sample/tree/main/.claude/skills/writer-api
Command: npx skills add https://github.com/amedina/chrome-extension-chrome-ai-skills-dev-sample --skill writer-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to generate new written content directly within the browser using on-device AI, eliminating the need for external APIs or backend services.

Core Features & Use Cases

  • On-Device Content Generation: Create text for emails, blog posts, reviews, and more using Gemini Nano.
  • Real-time Streaming: Generate content with immediate feedback for a dynamic user experience.
  • Configurable Output: Control tone, format, and length for tailored content.
  • Use Case: Draft a professional email requesting a meeting, generate a casual blog post about AI, or rewrite a support request to be clearer, all within your browser.

Quick Start

Use the Writer API skill to draft a professional email requesting a meeting.

Frequently Asked Questions about Writer API

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

FAQPage Schema
How do I generate text on-device using Chrome's built-in AI?

On-device text generation is achieved by using the Writer API powered by Gemini Nano within Chrome. It creates written content like emails or blog posts without needing external APIs or backend services.

Can I control the tone and length of generated content with the Writer API?

Yes, the Writer API provides configurable output options, allowing you to control the tone, format, and length. This enables tailored content generation for specific use cases like professional emails or casual blog posts.

Does on-device text generation support real-time streaming output?

Yes, the Writer API supports real-time streaming output for text generation. This provides immediate feedback during the content creation process, resulting in a more dynamic user experience.

What are the use cases for on-device AI text generation in the browser?

On-device AI text generation supports drafting professional emails, writing blog posts, creating reviews, and generating support requests. It handles multilingual content directly within the browser environment.

Do I need external API keys or backend services to use on-device AI for content generation?

No, you do not need external APIs or backend services for on-device content generation. The Writer API operates entirely within the browser using Gemini Nano, eliminating external infrastructure dependencies.