Finding Tasks
Most repos already say how to build, test and run them, in a dozen different formats. Mochi reads those files and lists every task it finds in one place, where you can search it, run it and see its history.
- Nothing to port. Make still runs your Make targets, and npm still runs your scripts.
- Nothing written to your repo. Your files stay exactly as they are.
- Always current. Change a file and the next sync picks it up.
What Mochi finds
| File | Becomes |
|---|---|
Makefile | Make targets |
package.json | npm scripts |
Justfile | Just recipes |
Taskfile.yml | Task tasks |
docker-compose.yml, compose.yml | Compose services |
Dockerfile | An image build |
Cargo.toml | Cargo commands |
*.sh, *.ps1, *.bat, *.cmd, *.py | Scripts |
.github/workflows/*.yml | Workflow jobs, to read and document; they don't run locally |
Each task gets a verb from its name, so docker-build is a build and deps is an install. A name without a verb in it becomes an exec. A leading verb is dropped from the name so it isn't said twice: build-docker becomes build docker.

Scanning
Mochi scans a project when you add it, and shows what it found before anything is added. mochi discover --dry-run previews the same from a terminal.
Sync in the desktop app (⌘⇧S), or mochi sync, picks up new and changed tasks in files Mochi already reads. To look for new files, use Re-scan for task files in a workspace's menu, or run mochi discover.
Where found tasks live
Found tasks sit next to any flow executables you've written by hand, and run the same way. They carry the discovered tag, and each kind of file gets its own namespace, so a Makefile lint and an npm lint stay two tasks:
mochi lint my-project/discovered/makefile:lint
mochi lint my-project/discovered/npm:lintYou won't usually type these: search for the task, or pick it in the app.
To change a found task, edit the file it comes from. The exception is its description: Mochi keeps that on your machine, so you can describe tasks without touching the repo. Use mochi executable set-description, or Generate description in the app to let AI write one.