How Deskhand works
Deskhand is a small Node.js program with no packages and no AI model. You type or say a command. A plain-rules parser matches it to one of 46 skills. The skill builds the command for your system, runs it, and writes the exact command in a ledger so you can see what happened.
you type or say it → parser (plain rules) → one of 46 skills
→ a fixed command for Windows, macOS or Linux → the ledger shows exactly what ran
Every skill has example phrases, and the tests run all of them, so a rule that stops matching its own examples fails the build. If nothing matches, Deskhand says so and offers the closest example. It does not guess, because a wrong guess on a computer is worse than no answer.
What you can say
These come straight from the parser, so the list cannot drift from what the program does. Say them in your own words. "Open Chrome", "launch chrome" and "start up chrome" all work.
| Skill | You can say | Safety |
|---|
| Apps |
|---|
| Open an app | “open chrome” · “launch premiere pro” · “start spotify” | |
| Close an app | “close chrome” · “quit spotify” · “exit premiere pro” | asks first |
| The web |
|---|
| Open a website | “open youtube” · “go to github.com” · “open meta ads manager” | |
| Search the web | “weather in rajkot” · “translate good morning to hindi” · “search for best monitors under 20000” | |
| Files and folders |
|---|
| Open a folder | “open downloads” · “open my documents folder” · “show the desktop folder” | |
| Make a folder | “create a folder called client work on the desktop” · “make a new folder invoices in documents” | |
| Find a file | “find my invoice pdf” · “find files named logo” · “where is my resume” | |
| Newest file | “open my latest download” · “open the newest file in downloads” · “show my latest screenshot” | |
| Open a result | “open the first one” · “open the second” · “open number 3” | |
| Tidy Downloads | “organize my downloads” · “clean up downloads” · “sort my downloads” | asks first |
| Undo the tidy-up | “undo” · “undo that” · “put them back” | |
| Volume, power and the clipboard |
|---|
| Battery, disk, memory | “how is my laptop doing” · “how much battery do i have” · “how much disk space is left” | |
| Mute | “mute” · “unmute” · “mute the sound” | |
| Set volume | “set the volume to max” · “set the volume to 40” · “volume to fifty” | |
| Change volume | “turn the volume up” · “louder” · “quieter” | |
| Play, pause, skip | “pause” · “play” · “next song” | |
| Screenshot | “take a screenshot” · “screenshot” · “capture the screen” | |
| Lock | “lock the screen” · “lock my laptop” · “lock” | |
| Sleep | “go to sleep” · “sleep” · “put the laptop to sleep” | asks first |
| Shut down | “shut down” · “shutdown” · “turn off the laptop” | asks first |
| Restart | “restart” · “reboot the computer” · “restart my laptop” | asks first |
| Cancel shutdown | “cancel shutdown” · “abort restart” | |
| Copy to clipboard | “copy hello world to clipboard” · “put my email on the clipboard” | |
| Timers, alarms and the clock |
|---|
| Time | “what time is it” · “tell me the time” · “what is the time” | |
| Date | “what is the date” · “what day is it” · “today's date” | |
| Time in a city | “what time is it in tokyo” · “time in new york” · “tell me the time in london” | |
| Time until | “how long until 6pm” · “how long till tomorrow at 9” | |
| Timer | “set a timer for 10 minutes” · “timer 5 minutes” · “25 minute timer” | |
| Focus session | “start a focus session” · “focus for 25 minutes” · “pomodoro” | |
| Reminder or alarm | “set an alarm for 6am” · “remind me to call mom in 20 minutes” · “remind me at 6pm to send the invoice” | |
| List timers | “show my timers” · “what timers do i have” · “how long is left on my timer” | |
| Cancel timer | “cancel the timer” · “stop my timer” · “cancel all timers” | |
| Notes |
|---|
| Save a note | “note: buy HDMI cables” · “take a note that the client call moved to friday” · “remember that rent is due on the 5th” | |
| Read notes | “show my notes” · “read my notes” · “list notes” | |
| Clear notes | “clear my notes” · “delete all notes” | asks first |
| Maths, units and frames |
|---|
| Calculate | “what is 15 percent of 2400” · “calculate 12 * (3 + 4)” · “add 18% to 1000” | |
| Convert units | “convert 5 km to miles” · “72 f in celsius” · “how many cm in 3 inches” | |
| Frames and timecode | “how many frames in 2.5 seconds at 30 fps” · “how many seconds is 120 frames at 24 fps” · “timecode for 1500 frames at 25 fps” | |
| Routines |
|---|
| Save a routine | “create routine edit mode: open premiere, open spotify, volume to 30” · “make a routine called wrap up: take a screenshot, close chrome” | |
| Run a routine | “run my edit mode routine” | |
| List routines | “list my routines” · “what routines do i have” | |
| Delete a routine | “delete routine edit mode” · “forget the routine focus” | |
| Talking to Deskhand |
|---|
| Help | “help” · “what can you do” · “what can i say” | |
| History | “show history” · “what did i do today” · “recent commands” | |
| Repeat | “again” · “do that again” · “repeat that” | |
| Close Deskhand | “exit deskhand” · “quit deskhand” · “close deskhand” | |
Install and run
- Install Node.js 18.15 or newer.
- Get Deskhand:
git clone https://github.com/beliveedits/deskhand, or download the zip from the GitHub page and unzip it. - Open a terminal in the Deskhand folder and run
node bin/deskhand.js. - Your browser opens the Deskhand page. Type a command, or press the mic and speak.
To try it without touching anything, add --dry: node bin/deskhand.js --dry. In dry mode Deskhand shows the exact command it would run and runs none of them. You can also run one command from the terminal, node bin/deskhand.js "open chrome", or talk to it in the terminal with node bin/deskhand.js repl.
If you install it as a command with npm link, you can just type deskhand.
Safety, in plain words
It can only do what is on the list
There is no "run this command" skill and no way to add one by talking. Each skill builds its command from a template. Commands run as a program with a list of arguments, never as a line of shell text, and PowerShell and AppleScript values are quoted by a tested function. App names may only contain letters, numbers and a few symbols. Web addresses must be http or https with no embedded password.
It never deletes
There is no delete skill. "Tidy Downloads" moves loose files into folders by type, stays inside the Downloads folder, never overwrites a file, skips files that are still downloading and keeps a log so "undo" can put them back. Undo skips any file you have since replaced, and only removes the empty folders Deskhand made.
Risky things ask first
Closing an app, sleep, restart, shut down, clearing notes and tidying Downloads each wait for a yes or no. A routine or a chain of commands that contains one of them asks once for the whole group, before any step runs. The question expires after 45 seconds. On Windows, shut down and restart also start a 30 second countdown that "cancel shutdown" stops.
It will not launch a downloaded program
If a file you ask it to open is an installer, a script, a shortcut, an app bundle or a macro document, Deskhand opens the folder that contains it instead of running it. That blocks the most common way a download runs by mistake.
The local page is locked down
The page you talk to is served from 127.0.0.1 only. Deskhand rejects any request whose address is not your own computer, rejects requests that name another host (which stops DNS rebinding), accepts a launch link once and for five minutes, sets a cookie that scripts cannot read, accepts commands only as JSON from its own page, limits the size and rate of requests, and sends a strict Content-Security-Policy. The page builds its text with safe methods, so a file name cannot inject code into it.
Voice, and what happens to it
Voice is optional and press-to-talk. Deskhand does not listen in the background and has no wake word. The mic button uses the speech recognition built into Chrome or Edge. Those browsers may send what you say to their maker to turn it into text, and Deskhand cannot control that, so it shows a notice before the first use. If that is not acceptable, type. Typing never leaves your computer. The "speak the replies" switch uses your browser's own text-to-speech.
I could not test the microphone path in my build environment, because it has no microphone. The text path, the parser and the page are tested.
What it cannot do, and where it is weak
- It does not understand free conversation. It has 46 skills and nothing outside them.
- Mute on Windows is a toggle, because Windows has no "set mute" key. Say it twice to undo it. Volume on Windows moves in 2% steps, so a level is approximate.
- It does not know live currency rates. It opens a Google search for the conversion instead.
- Timecode conversion is non-drop-frame.
- Timers and reminders only ring while Deskhand is open.
- On macOS, the first screenshot or volume change may ask you to allow your terminal under Privacy and Security. Memory figures on macOS can under-report free memory.
- On Linux, volume, media keys, screenshots and the clipboard need a small tool each (pactl or amixer, playerctl, a screenshot tool, wl-copy or xclip).
- The Windows and macOS commands are verified as exact text by the tests, and I could not run them on real machines. Run
deskhand doctor and tell me what it reports.
Check it on your computer
Run node bin/deskhand.js doctor. It looks at PowerShell or AppleScript, your folders, the tools each skill needs and your battery, and tells you what works and what to install. It changes nothing. Add --live to run three harmless tests: a notification, a clipboard write and a screenshot saved inside Deskhand's own folder.
An example of what it prints on a Windows laptop:
[ ok ] PowerShell runs version 5.1.22621.4391
[ ok ] Start menu apps found 184 apps
[warn] Play, pause, next none of playerctl found
Make it yours
Create config.json in the .deskhand folder in your home folder. It can hold your name, a short name for any app, folder or website, and a language for numbers.
{
"name": "Bhavesh",
"apps": { "edit": "Adobe Premiere Pro" },
"folders": { "client work": "D:\\Clients" },
"sites": { "crm": "https://crm.example.com" }
}
Then say "open edit", "open client work" or "open my crm". Entries that are not safe, such as a folder that does not exist or a web address with a password in it, are ignored, and Deskhand tells you why when it starts.
Chain commands and save routines
Join commands with "and" or "then": "open Premiere and volume to 20". To keep a set, say "create a routine called edit mode: open premiere, open spotify then volume to 30", then just say "run edit mode". A routine holds up to 8 steps, every step is checked when you save it, and one that contains a risky step still asks first.
Who made it
Deskhand is by Bhavesh Vaghela, a motion designer and short-form video editor in Rajkot, India. The frames and timecode skill is there for editors. The rest are the everyday laptop jobs people actually ask for. It is MIT licensed, so you can read it, change it and share it.
Frequently asked questions
Is Deskhand free?
Yes. It is free and open source under the MIT licence, with no account, no limit and no paid tier.
Does Deskhand use AI or send my commands to a server?
No. It uses plain rules written by hand, so there is no model and nothing to send. If you say something it does not know, it tells you, and suggests the closest example. The only time it touches the internet is when you ask it to open a web page, and that page opens in your own browser. Typing never leaves your computer. Speaking is optional and uses your browser's speech recognition, which may send the audio to the browser's maker, so Deskhand shows a notice before the first use.
Is it like Jarvis from Iron Man?
No, and it does not try to be. The movie assistant understands anything and does anything. Deskhand understands 46 kinds of command and does exactly those, and nothing else. That is the point: a misheard word cannot turn into something you did not mean. It is not connected to any film, studio or company.
What can I ask it to do?
Open and close apps, open websites and folders, search the web, find your latest downloads and tidy them into folders, change the volume, mute, play and pause, take a screenshot, lock or sleep the screen, set timers, focus sessions and reminders, keep notes, copy text to the clipboard, do maths and unit conversions, and turn frames into timecode and back. The guide below lists every example phrase.
Can it delete files, send emails or click things for me?
No. That is deliberate. It refuses delete, send, call, install, Wi-Fi and Bluetooth changes, typing, clicking and anything that looks like a shell command, and it tells you why. Tidying Downloads only moves files into folders, never overwrites, never leaves the Downloads folder, and "undo" puts them back.
What if it mishears me?
Safe commands such as opening an app or changing the volume just run, and you can say what you want again. Anything with a cost, which means shut down, restart, sleep, close an app, clear notes and tidy Downloads, waits for a yes or no. Silence for 45 seconds counts as no. A chain of commands asks once, before any step runs. Voice is push-to-talk, so there is no always-listening wake word.
Does it work on my computer?
It is built for Windows 10 and 11, macOS and Linux. I could test every command on Linux. The Windows and macOS commands are checked as exact text by the test suite, but I could not run them on real machines, so Deskhand includes a doctor command that tests them on yours in a few seconds. If one fails, the doctor says which and what to install.
What do I need to install?
Node.js 18.15 or newer, and nothing else. Deskhand has no packages to install. On Linux a few skills need a small tool such as pactl for volume or playerctl for media keys, and the doctor tells you which are missing.
Can other people on my Wi-Fi use it?
No. It listens on 127.0.0.1 only. It checks the address on every request, hands your browser a single-use sign-in link that expires in five minutes, and rejects requests that come from another website. Closing the terminal closes Deskhand.
Do timers work when Deskhand is closed?
No. Deskhand has to stay open for a timer or reminder to ring. Timers are saved, so if you close it and reopen it, they come back, and one that was missed rings late with a note saying so. Reminders can be set up to 7 days ahead.
Can I add my own apps, folders and sites?
Yes. A small config.json in the .deskhand folder in your home folder lets you give short names to apps, folders and websites, for example "crm" for your own tool. Deskhand checks every entry and ignores any it cannot trust.
Read the source on GitHub
More free tools
- Loudness Check: Measures LUFS, true peak and loudness range of a video or audio file, compares it with platform levels and gives an ffmpeg fix.
- Video Review Notes: Add frame-accurate notes to a video with one key, then export markers for After Effects and Resolve or an email-ready list.
- Frame Grabber: Grab frames from a video at intervals or exact times, auto-pick the best thumbnails, and download a ZIP or a contact sheet.
See all free tools
Prefer a step-by-step walkthrough? Read Control your laptop with typed or spoken commands, safely and with no cloud.
Want it done for you?
I am Bhavesh, a motion designer and short-form video editor in Rajkot, India. I make SaaS explainers, product animation and short-form ads for founders and brands.
See short-form packagesStart a project