Documents
A bot can hand over a file: a report, a letter, a list or a sheet. It saves it
with documents_save in its own folder, ~/Huskarl/<bot's name>/, and the
thread says where: "📄 Saved ~/Huskarl/Inbox Manager/Utlegg oktober.xlsx".
| The name ends in | The bot writes | You get |
|---|---|---|
.md, .txt, .csv, .tsv, .html, .json |
the text | the file as written |
.docx, .rtf, .odt |
Markdown | a Word, RTF or OpenDocument file, made with macOS's own textutil. Headings, bold, lists and tables carry over |
.xlsx |
CSV, with commas or semicolons | an Excel sheet: the first row in bold, numbers as numbers (1 250,50 too), the columns fitted |
- Nothing leaves the Mac, so saving is a draft: it happens at once, and it is in the audit log. In rehearsal it is only written down.
- A file is never written over: a second
Rapport.mdbecomesRapport 2.md. .csv,.mdand.txtcan be added to instead, withappend: the text goes at the end of the file of that name, made if it is not there. One row per receipt inUtlegg 2026-10.csv, say. The thread says "📄 Added to …".- The name stays in the folder: slashes and a leading dot are taken out, so
../ut.mdis saved as-ut.md. - At most 5 MB per file. Other endings are refused: "Huskarl cannot make .exe files: …".
HUSKARL_FOLDERSmoves~/Huskarl, as for watched folders.
Not yet
- Sending a saved file as an attachment.
- PowerPoint and PDF.