LogoClawIndex
CasesSkillsAbout
LogoClawIndex

go-replace - Replace in file console utility

Find and replace text patterns in files using replace, line, lineinfile, and template modes.

Tags

Updated: 2026-09-11

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Replace text in files
  • Replace entire matching lines
  • Add lines if not present
  • Perform Go template replacement
  • Process multiple files concurrently
  • Passthrough go-replace CLI commands

Inputs

  • Search pattern
  • Replacement string
  • Target file path
  • Replacement mode

Outputs

  • Modified file content

Requirements

  • go-replace binary in PATH

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
go-replace
text-processing
file-modification
cli
Replace text in files
Replace entire matching lines
Add lines if not present
Perform Go template replacement
Search pattern
Replacement string
Target file path
Modified file content