Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aiskillstore/find-replace
Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.
Passed 19 of 22 test cases with the skill, and 9 of 22 without it.
and 8 more in the full report
11 fixed8 passed either way2 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
I want to test a replacement of `foo` with `bar` on `sample.txt` by viewing the modified text in my terminal stdout without changing `sample.txt` on disk. What command pipeline accomplishes this?
| Checked | Without skill | With skill |
|---|---|---|
| Pipes file contents from cat sample.txt into sd 'foo' 'bar' | Missed | Passed |
The instructions your model reads when the skill loads.
Modern find-and-replace using sd.
# Replace in file (in-place)
sd 'oldText' 'newText' file.txt
# Replace in multiple files
sd 'oldText' 'newText' *.js
# Preview without changing (pipe)
cat file.txt | sd 'old' 'new'
| 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.
# Variable/function rename
sd 'oldName' 'newName' src/**/*.ts
# Word boundaries (avoid partial matches)
sd '\boldName\b' 'newName' src/**/*.ts
# Import path update
sd "from '../utils'" "from '@/utils'" src/**/*.ts
# Capture groups
test cases passed, vs 9 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.