claude-streaming-spacing-fix

Community

Fix mid-word spacing in Claude streaming.

Authormejango
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill fixes unwanted spaces that appear inside words when Claude streaming responses are processed, ensuring readability and correctness.

Core Features & Use Cases

  • Turn-boundary spacing: Inserts spaces only between API turns, not within a single streaming token.
  • Deterministic behavior: Preserves original tokens while applying spacing rules at turn boundaries.
  • Use Case: While using Claude in an agent that performs tool calls, this fix prevents artifacts like "re deems" or "10. 00" from appearing in the final output.

Quick Start

Integrate a per-turn spacing flag in your Claude streaming loop, resetting it at the start of each API turn.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: claude-streaming-spacing-fix
Download link: https://github.com/mejango/juicy-vision/archive/main.zip#claude-streaming-spacing-fix

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.