File Writer

Safely write or append text content to files ONLY in /home/alfred/.openclaw/workspace/scratch. Creates backups before overwriting ({filename}.bak, .bak.1, etc.). Creates subdirectories if needed. Triggers on queries like "update the script with the new feature" (infers update), "write that information to a file in your scratch area" (prompts for details), "write [content] to [rel_path]", "append [content] to [rel_path]". Restrict to relative paths; reject absolutes, ../ escapes, binary content, or non-text extensions. NOT for executing code, deleting, or writing outside scratch.

knownasnaffy Updated 0 repo stars

File contents

knownasnaffy/prompthound/tree/main/dataset/case_05089 commit d9a4d734d9

Frequently asked questions

npx skillmds@latest add knownasnaffy/file-writer-6