plugins/_office/skills/linux-desktop/SKILL.md
Use when the user asks Agent Zero to operate the built-in Linux Desktop, XFCE apps, LibreOffice GUI apps, file manager, terminal, or visual desktop workflows.
npx skillsauth add agent0ai/agent-zero linux-desktopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the Desktop as a full Linux GUI when the user explicitly needs a visual workflow, an installed desktop app, or manual layout polish that is awkward through structured file edits alone. Agent Zero may warm the persistent Desktop runtime during initial startup, but visible Desktop/canvas use remains opt-in. The Desktop is opt-in at the UI level: do not open the canvas just because the user asks for a document. Use structured tools first for deterministic content changes, then use the Desktop for inspection, GUI-only actions, and final visual confirmation.
document_artifact for creating, reading, and editing Markdown, DOCX, XLSX, and PPTX files.scripts/desktopctl.sh.Use the helper script when the Desktop is already open and you need reliable app launches, clicks, keystrokes, or window checks from the agent shell:
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh check
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh launch calc
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh windows LibreOffice
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh focus LibreOffice
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh key ctrl+s
The script targets the persistent agent-zero-desktop X display, sets DISPLAY, XAUTHORITY, and HOME to the XFCE profile, then uses xdotool for input. Startup normally prepares this session. If check fails during explicit Desktop work, report that the Desktop runtime is not ready instead of installing packages ad hoc.
For direct app launches without coordinates:
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh launch writer
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh launch calc
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh launch impress
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh launch terminal
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh launch settings
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh open-path /a0/usr/workdir
For live spreadsheet coworking, use the Calc helper instead of hand-written UNO snippets:
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh calc-set-cell /a0/usr/workdir/example.xlsx Sheet1 B2 "Cowork verified live"
This opens the workbook in the visible Desktop Calc session if needed, changes the cell through LibreOffice, saves the workbook, and verifies the .xlsx on disk. Because the edit happens through the running LibreOffice session, the user can see the sheet update without refreshing the Desktop surface.
For coordinate actions after observing the Desktop:
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh click 120 180
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh dblclick 120 180
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh type "Text to enter"
plugins/_office/skills/linux-desktop/scripts/desktopctl.sh location
When browser automation is available, the higher-level QA flow is:
http://127.0.0.1:32080.Alpine.store("rightCanvas").open("office").desktopctl.sh location and desktopctl.sh windows PATTERN.The Desktop exposes stable folders for common user work:
Workdir -> configured Agent Zero workdir (default /a0/usr/workdir)Projects -> /a0/usr/projectsSkills -> /a0/usr/skillsAgents -> /a0/usr/agentsDownloads -> /a0/usr/downloadsUse these folders when the user asks to inspect or manipulate project files, skills, agent profiles, or downloaded artifacts from the GUI.
LibreOffice Writer: word processing and DOCX layout.LibreOffice Calc: spreadsheets, formulas, tables, charts.LibreOffice Impress: presentations and slide polish.Workdir: graphical file management with Thunar at the configured Agent Zero workdir (default /a0/usr/workdir).Terminal: shell work inside the Agent Zero runtime.Settings: XFCE system settings.desktopctl.sh calc-set-cell FILE SHEET CELL VALUE.testing
Use when creating, opening, or editing LibreOffice Writer ODT documents, or DOCX documents only when Microsoft Word compatibility is explicitly required.
testing
Use when creating, opening, or editing LibreOffice Impress ODP presentations, or PPTX decks only when PowerPoint compatibility is explicitly required.
testing
Use when creating, opening, or editing LibreOffice Calc ODS spreadsheets, or XLSX workbooks only when Excel compatibility is explicitly required.
data-ai
Use when the user asks Agent Zero to operate the built-in Linux Desktop, XFCE apps, LibreOffice GUI apps, file manager, terminal, or visual desktop workflows.