unarbos

arbos_deliver_file

Hand a file you produced (pptx, docx, xlsx, pdf, png, mp4, …) to the user as a download card in the chat; also generate an image from a prompt and deliver it.

unarbos 31 9 Actualitzat fa 1 setm.

Recursos

1
GitHub

Instal·la

npx skillscat add unarbos/arbos/arbos-deliver-file

Instal·la des del registre de SkillsCat.

SKILL.md

Write the file under out/ in your project folder (/work/<project-id>/out/; relative paths resolve there) (python-pptx, python-docx, openpyxl, Pillow and reportlab are in this kernel; ffmpeg is on PATH), then:

await arbos_deliver_file.run("out/q3-deck.pptx", title="Q3 deck")
await arbos_deliver_file.generate_image("a lighthouse at dusk, watercolor", size="1024x1024")

The card appears on this subagent's message with the file name, size and a Download button; images show inline. Afterwards mention the file in one line in your summary (and list it under artifacts as kind: "file"); never paste its contents.