Agent skill · software engineering · aiskillstore

find-replace

Modern find-and-replace using sd (simpler than sed) and batch replacement patterns. Triggers on: sd, find replace, batch replace, sed replacement, string replacement, rename.

Why this skill is useful

Adds specific commands and patterns for using the sd CLI tool that the AI wouldn't reliably generate on its own.

What it needs

Requires sd installed locally. About 1k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Find Replace Modern find-and-replace using sd. sd Basics sd vs sed sed sd ----- ----- sed 's/old/new/g' sd 'old' 'new' sed -i 's/old/new/g' sd 'old' 'new' file sed 's#path/to#new/path#g' sd 'path/to' 'new/path' Key difference: sd is global by default, no delimiter issues. Common Patterns Safe Batch Workflow Special Characters Character Escape ----------- -------- . \. \ [ ] \[ \] $ \$ \ \\ Tips Tip Reason ----- -------- Always preview with rg -r first Avoid mistakes Use git before bulk changes Easy rollback Use \b for word boundaries Avoid partial matches Quote patterns Prevent shell interpretation Additional Resources For detailed patterns, load: ./references/advanced-patterns.md - Regex, batch workflows, real-world examples

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/find-replace

View the source on GitHub

Browse the @skills marketplace