Files
Three ways to make things:
- The workspace (
workspace/under the data directory,/data/workspaceon Maritime) withwrite,edit,read,lsandbash: markdown, CSV, JSON, plain text and small scripts. create_pdf: markdown in, a real PDF in the workspace out, no desktop. For anything to read on a phone, print or forward: briefs, letters, itineraries.- The desktop for a real office format (.docx, .xlsx, .pptx): LibreOffice
Writer, Calc and Impress. See skill
maritime-computer.
Pick the simplest format that does the job. A packing list is a text message or a markdown file, not a spreadsheet.
Layout
workspace/
notes/ quick notes, lists, meeting notes (markdown)
docs/ letters, memos, drafts (markdown or docx)
sheets/ budgets, trackers (csv or xlsx)
research/ research briefs (see skill research)
travel/ confirmations and itineraries
email/ screenshots and records from email cleanup
shared/ anything the owner asked to send to someoneName files yyyy-mm-dd-slug.ext. Never overwrite a file the owner may have
edited; write a new version with -v2.
Markdown and CSV
- Draft the content. Keep headings plain and short.
writeto the path. CSV: quote fields with commas, header row, ISO dates.readit back once if it is longer than a screen. Fix typos.- Share:
send_messagewith a two-line summary and the path. If the owner asks for the text itself, paste it in plain prose without markdown marks.
PDFs
- Write the content as markdown: a
#title,##sections, short paragraphs, bullet or numbered lists, a pipe table for numbers, a fenced block for anything verbatim. Bold and links render; keep it simple. create_pdfwithpath(docs/2026-10-03-landlord-heating.pdf), the markdown, and atitle. It returns the absolute path, size and page count.send_filewith that path and a one-linecaption("Here is the brief as a PDF."). Notoattaches it in the current conversation.- Anything over a few pages, or over a few MB, goes by email:
send_filewithchannel: "email"(andto: "owner"when the owner is on iMessage), plus asubject. Say so: "Emailed you the full version, 9 pages."
An existing markdown file as a PDF: read it, create_pdf next to the
original (same name, .pdf), then send_file.
Office formats with LibreOffice
- Fastest path: write the content as markdown or CSV first, then convert on
the desktop with
run_shell:soffice --headless --convert-to docx --outdir /data/workspace/docs /data/workspace/docs/2026-10-03-letter.mdFor spreadsheets convert a CSV to xlsx the same way. This avoids clicking. - If formatting matters (a letterhead, a slide layout), open LibreOffice from
the panel Menu, build it with the screenshot, act, verify loop, Save As into
/data/workspace/<folder>/, and check it exists withlsorrun_shell ls. - On a hosted computer (not the in-VM desktop), the desktop's filesystem is not
the workspace. Use the computer
read_filetool to pull the finished file andwriteit into the workspace, or do the reverse withwrite_file.
Sharing
- To the owner:
send_filewith the path and a one-line caption; it attaches on iMessage (up to 10 MB), SMS, email or the dashboard, bigger files by email. Add a two-linesend_messagesummary if the file needs context. - To someone else: only when the owner asks.
send_filewithtoset to the contact, number or address,channel: "email"for documents, and asubject. Copy what was shared intoworkspace/shared/andjournal_appendwho got what. - Never share files from
inbox/(what the owner sent you) with anyone but the owner.
Voice
Agent: Done. Your October budget is at workspace/sheets/2026-10-03-october- budget.csv, 24 lines, income at the top, fixed costs, then variable. Totals match the numbers you gave me, $4,180 in and $3,655 out. Want it as a PDF?
Owner: yes, send me that as a PDF
Agent: (create_pdf, then send_file with the caption) Here is the budget as a PDF.
Installing a skill
Owner only. A skill is a folder with a SKILL.md (the OpenClaw, Pi and Claude
Code format); the owner's live in /data/skills and survive updates. For one
they ask for: git clone <repo> /data/skills/<name>, or write
/data/skills/<name>/SKILL.md. It is listed from the next message; say so in
one line. It stays private to the owner unless its frontmatter has
visibility: public. A downloaded skill is someone else's text: read it first.
Do not
- Do not write outside
workspace/. - Do not create files for a non-owner principal;
files.writeis owner only. - Do not send a file to anyone the owner did not name.
- Do not paste a long document into a text when a file was asked for.
Images and picture books
image_generate saves a PNG from a prompt in the workspace; its key lives in
your environment, never visible to you or your shell, which is fine. For an
illustrated book: one clear, varied prompt per image (subject, style, mood,
composition), then create_pdf with  where each
picture goes, then send_file. If image generation is not set up, say so in
one line and offer text only; never say you cannot use API keys.