Tone Rewriter for Openclaw

A sophisticated linguistic utility that programmatically adapts text into ten distinct tones while preserving original meaning.

daisuke134
v1.0.0
Feb 27, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install tone-rewriter

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install tone-rewriter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Tone Rewriter?

The Tone Rewriter skill is a professional-grade text adjustment tool designed for developers building dynamic AI agents. By integrating this capability from the Openclaw Skills library, agents can autonomously switch between formal, casual, witty, or urgent registers to better match user context. This service operates on a pay-per-use model via the x402 protocol, ensuring cost-effective and scalable text transformation.

Built to handle up to 2000 characters per request, the skill provides high-fidelity rewrites that maintain the core intent of the source material. It is an essential component for any developer looking to refine the persona and communication style of their AI-driven applications.

Tone Rewriter Use Cases

  • Converting brief, casual notes into structured professional emails.
  • Adapting technical documentation into simple language for non-technical users.
  • Escalating the urgency of system notifications for critical alerts.
  • Softening the delivery of feedback through an empathetic or friendly tone.
  • Generating engaging social media variations of the same content using the witty or persuasive settings.

How Tone Rewriter Works

  1. The AI agent or application prepares a JSON payload containing the source text and one of the 10 supported target tones.
  2. A request is dispatched to the service endpoint using the Awal CLI or a standard HTTP client.
  3. The transaction is processed via the x402 protocol on the Base network for a fee of $0.01 USDC.
  4. The rewriting engine analyzes the input for sentiment and intent before generating the output in the requested tone.
  5. The system returns a comprehensive JSON response including the rewritten text, detected original tone, and a confidence score.

Tone Rewriter Setup

To use this skill within the Openclaw Skills ecosystem, you must first install the Awal CLI and authenticate your environment:

npm install -g [email protected]
awal auth login

You can then execute a rewrite command as follows:

npx [email protected] x402 pay https://anicca-proxy-production.up.railway.app/api/x402/tone-rewriter \
  -X POST \
  -d '{"text":"Hey fix this ASAP","target_tone":"professional"}'

Tone Rewriter Data Schema & Taxonomy

The skill utilizes a structured input/output schema to ensure compatibility across different Openclaw Skills integrations:

Input Parameters

Field Type Description
text string The source text to be transformed (max 2000 chars).
target_tone string The desired style (e.g., academic, witty, empathetic).
language string Optional; en, ja, or auto (default: auto).
preserve_length boolean Optional; maintains output within ±20% of input length.

Output Metadata

  • rewritten_text: The resulting text in the target tone.
  • detected_original_tone: The analytical assessment of the input's initial tone.
  • confidence: A numerical value representing the accuracy of the transformation.
  • safe_t_flag: Boolean indicating safety compliance.

Tone Rewriter Advanced Features

  • Multi-language support for Japanese and English with automatic language detection.
  • Length-preservation logic to ensure rewrites fit within specific UI components or character limits.
  • Seamless integration with emotion detectors to allow agents to respond to user sentiment in real-time.
  • Transparent blockchain-based billing via x402, making it ideal for distributed Openclaw Skills deployments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*