Automate the desktop from a CLI your agents can call
Built Agent-desktop, a native desktop automation CLI meant for AI agents.
Source
lahfir on Hacker News · 2026-05-02 · Project link
Written in our own words. Credit to the original author. Link checked 2026-10-15.
What they did
Built Agent-desktop, a native desktop automation CLI meant for AI agents.
Result (as claimed)
Open-sourced CLI on Show HN.
Tools they used
Cost: Claude Code: free plan, paid from $17/mo; OpenAI Codex: free plan, paid from $8/mo; Cursor: free plan, paid from $8/mo. Checked 2026-10-14.
Set it up
Map the task
Write the trigger, the inputs, the decisions and the output. Note which steps need a human yes.
Connect the tools
Set up Claude Code, OpenAI Codex, Cursor with the narrowest permissions that work. Use a test account or sandbox first.
Build the workflow
Create the steps in order. Add an approval step before anything sends, pays or deletes.
Run it on real but low-stakes data
Run a few times, read every output, and fix prompts or rules that misfire.
Schedule and monitor
Turn on the schedule or trigger, and add a daily summary or alert so you notice failures.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Automate the desktop from a CLI your agents can call What the original author did: Built Agent-desktop, a native desktop automation CLI meant for AI agents. Reported result (as claimed by the author): Open-sourced CLI on Show HN. Source: https://news.ycombinator.com/item?id=47982708 Tools they used: Claude Code, OpenAI Codex, Cursor Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Automate the desktop from a CLI your agents can call What the original author did: Built Agent-desktop, a native desktop automation CLI meant for AI agents. Reported result (as claimed by the author): Open-sourced CLI on Show HN. Source: https://news.ycombinator.com/item?id=47982708 Tools they used: Claude Code, OpenAI Codex, Cursor Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Automate the desktop from a CLI your agents can call What the original author did: Built Agent-desktop, a native desktop automation CLI meant for AI agents. Reported result (as claimed by the author): Open-sourced CLI on Show HN. Source: https://news.ycombinator.com/item?id=47982708 Tools they used: Claude Code, OpenAI Codex, Cursor Category: Automation & business Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Related use cases
Turn agent chat output into web, PDF, Word and Excel pages
Built ArtifactSmith, an MCP server that turns agent chat walls into real pages in web, PDF, Word and Excel with six styles.
Vibe-code an agentic Skool community ops platform
Vibe-coded MySkool so agents can score churn risk, welcome members and answer the feed for Skool community owners.
Share one knowledge brain between agents and your team
Built OzBrain, a shared brain for knowledge between agents and human teammates.
Check which AI engines recommend your product
Built a coding-agent skill that asks ChatGPT-style engines the questions buyers ask and reports which brands they name.