Text Editor

Text Editor

bhouston

Provides line-based text file editing with partial file access and concurrency control. Optimized for LLM tools to minimize token usage when reading and modifying files.

35469 views8Local (stdio)

What it does

  • Read specific line ranges from text files
  • Edit files using line-based operations
  • Handle multiple file patches atomically
  • Detect and prevent concurrent editing conflicts
  • Support multiple text encodings
  • Access partial file contents to reduce tokens

Best for

LLM-powered code editing and refactoringAutomated text processing workflowsCollaborative editing with conflict preventionLarge file manipulation with minimal memory usage
Hash-based concurrency controlToken-efficient partial file accessMultiple encoding support

Tools (1)

text_editor

View, create, and edit files with persistent state across command calls. This tool is identical with Claude's built in text editor tool called text_editor_20241022

Alternatives