create-text-file

Installation
SKILL.md

Create Text File

Input Parameters

Parameter Required Description Example
file_path Yes Full path where the file should be created, including filename and extension ~/Downloads/poem.txt
content Yes The text content to write to the file In circuits deep and code so bright...

Procedure

  1. Get the target directory path and file name from user if not provided (use ask_user)
  2. Get the text content to write from user if not provided (use ask_user)
  3. Create the file with content using: cat > {{FILE_PATH}} << 'EOF'\n{{CONTENT}}\nEOF
  4. Verify file creation and display file details: ls -lh {{FILE_PATH}} && wc -l {{FILE_PATH}}
  5. Report success with file location, size, and line count to user

Output

Installs
6
GitHub Stars
2
First Seen
Mar 1, 2026
create-text-file — dalehurley/phpbot