write-note
Write a text note to a file in the workspace using a small bash script.
@op-mctczw13 installs
Install
npx @operator-labs/skills install @op-mctczw/write-note---
name: write-note
description: Write a text note to a file in the workspace using a small bash script.
license: MIT
---
This skill writes a note to a file in the workspace using a bash script.
Steps:
1. Create a scripts directory for this skill if it does not exist: `.openclaw/skills/write-note/scripts/`.
2. Create a bash script named `write_note.sh` with the following content:
#!/usr/bin/env bash
set -e
NOTE_FILE="/data/.openclaw/workspace/note.txt"
echo "Note written at $(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> "$NOTE_FILE"
echo "Wrote note to $NOTE_FILE"
3. Make the script executable.
4. Run the script.
5. Return the output confirming the note was written.
The result should confirm the file path and that the note was appended.