Rewriter API

Revise text tone, length, and format using Chrome's Rewriter API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables users to revise, restructure, edit, or improve existing text directly within the browser using on-device AI, eliminating the need for external services or API keys.

Core Features & Use Cases

  • On-device Text Revision: Modify text tone, length, or format without sending data externally.
  • Dynamic Content Improvement: Enhance clarity, conciseness, or style of written content.
  • Use Case: A user has drafted an email and wants to make it sound more formal before sending. They can use this Skill to instantly adjust the tone without leaving their browser.

Quick Start

Use the Rewriter API to make the provided text more casual.

Frequently Asked Questions about Rewriter API

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

FAQPage Schema
How do I revise text tone and length in-browser without external API keys?

On-device text revision is facilitated by Chrome's built-in Rewriter API using Gemini Nano. This allows you to adjust tone, length, and formatting directly in-browser, ensuring data privacy by eliminating external service dependencies.

Can I use Chrome's built-in Rewriter API for dynamic content improvement?

Yes, Chrome's built-in Rewriter API supports dynamic content improvement by adjusting tone, length, and format using on-device AI. It allows interactive applications to stream output and cancel text revision operations via AbortSignal.

Does the Rewriter API support streaming output and cancellation for interactive applications?

Yes, the Rewriter API supports streaming output and cancellation via AbortSignal for interactive applications. This enables real-time text revision and cancellation of on-device AI operations using Gemini Nano.

What is the best way to adjust text formality using on-device AI?

The best way to adjust text formality using on-device AI is the Rewriter API with Gemini Nano. It facilitates modifying text tone, length, or format directly within the browser without sending data externally or requiring API keys.

Do I need external services or API keys to change text tone in the browser?

No, you do not need external services or API keys to change text tone in the browser. The Rewriter API uses Chrome's built-in on-device AI with Gemini Nano to restructure and improve text content natively.