← Back to wkappbot-workflow
wkappbot-workflow ★★★

# file -- Read/Write/Edit/Grep/Glob Cheatsheet

wkappbot file tools for filesystem access. edit auto-creates .bak/ backup. glob MUST use **/ prefix. After edit, U+FFFD corruption triggers auto Slack alert.

user/developer
file read write edit grep glob encoding reference

## Steps

1. READ: wkappbot file read <path> [--offset N]...
2. GREP: wkappbot file grep "pattern" --path di...
3. GLOB: wkappbot file glob "**/*.cs" --path di...
4. EDIT: wkappbot file edit <path> --old "..."...
5. UNDO: wkappbot file undo <path> -- restore f...
6. WRITE: wkappbot file write <path> --content...
7. ! CP949 files: Korean source with Han commen...
8. ! After edit: U+FFFD detected -> auto Slack...
9. wkappbot file edit PATH --old-string 'text'...
10. REPLACE-ALL GOTCHA: if --new-string contains...
11. SHEBANG EXPANSION BUG (2026-05-26): wkappbot...
12. STARVATION FALLBACK for grep: when the built...
13. wkappbot file write temp files: use dollar-A...

🔒 Pro Skill
Get Pro Access →