Desktop Agent
SkillFiles & storageNative Windows desktop bridge — breaks out of Claude Code's Git Bash sandbox to open terminal windows, launch URLs, open files, run commands, and send toast notifications on the user's actual desktop. Use when: (1) user says "open", "launch", "start", "show me", "pop up", "new window", (2) you need to open a terminal, browser, file, or app for the user, (3) you need to send a desktop notification, (4) any action that requires native Windows GUI access from the sandbox. Auto-starts on Windows login. Auto-starts on first command if not running.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Desktop Agent skill
What this skill tells your AI
The instructions your AI receives, as published by thesmokedev/taskchad-os in .claude/skills/desktop-agent/SKILL.md and read by ahel’s review.
Native daemon at ~/.claude/live-chat/desktop_agent.py that watches a command queue
and executes actions on the real Windows desktop. Runs as pythonw (no console window).
All commands go through desktop_cmd.py which auto-starts the agent if not running.
Commands
DCMD="python ~/.claude/live-chat/desktop_cmd.py"
# Open a live chat terminal
$DCMD open-chat --ctx thehomie
$DCMD open-chat --ctx deployment-a
$DCMD open-chat # all contexts
# Open URL in default browser
$DCMD open-url --url https://example.com
# Open file in default app
$DCMD open-file --path "~/some-file.pdf"
# Run any command in a new visible terminal window
$DCMD run --command "npm start" --title "Dev Server"
$DCMD run --command "ssh root@ai.your-domain.example.com" --title "SSH"
# Windows toast notification
$DCMD notify --title "Build Done" --message "deployment finished"
# Agent management
$DCMD status # check if running + PID
$DCMD ensure # start if not running
How It Works
desktop_cmd.pyappends a JSON command to~/.claude/live-chat/commands.jsonldesktop_agent.py(running natively viapythonw) polls the file every 500ms- Agent reads the command and executes it with full Windows desktop access
- Single-instance: PID lock with ctypes
OpenProcess(not brokenos.kill) - Auto-start: VBScript in Windows Startup folder, also
desktop_cmd.pystarts it on demand
Anti-Zombie Guarantees
- Single instance enforced via PID file + live process check (ctypes, not os.kill)
atexithandler cleans PID file on exit- Stale PID file from dead process gets overwritten (checks
STILL_ACTIVEexit code) subprocess.Popenwithshell=Trueforstartcommands — child terminals are independent- Agent log at
~/.claude/live-chat/state/desktop-agent.log
Auto-Start
VBScript at shell:startup runs pythonw desktop_agent.py on Windows login.
No console window. If the agent dies, next desktop_cmd.py call restarts it.
Signals
- GitHub stars
- 23
- Forks
- 5
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
desktop-agent- Source
- github.com/thesmokedev/taskchad-os