Vibecode Hazel

track this build5 phases, 15 steps, beginner friendly
YES · one-shottable
price variesbuild time one sittingcategory ⚙️ productivity utilitiesreplaced by 0 people

The core loop is small enough for a capable coding agent to produce a useful local version in one sitting. For Hazel, watch selected folders and apply transparent file rules with previews and logs. The hard boundary is mature filesystem automation, rule depth, apple integrations, and reliability, plus os integration polish and maintenance.

the project pack5 files · written for this build, step by step
README.md
# Hazel · indie build

A background agent watching folders you choose, matching files against rules you can read, and moving, renaming, tagging or running a script on them, with a dry run that shows exactly what would happen and a log that lets you undo anything it did.

Estimated effort: **weekend**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Language | Swift 6 and SwiftUI in Xcode | FSEvents, file coordination and tags are all platform APIs |
| App type | A background agent with LSUIElement true | it watches folders; a Dock icon would be noise |
| Watching | FSEvents with debounce and a settle check | the supported way to hear about changes without polling a disk |
| Storage | Rules and a run log in SQLite under Application Support | the log is what makes undo possible and it needs to be queryable |
| Undo | Recorded inverse operations, not a trash can | knowing a file moved from A to B is what lets you put it back |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **A Mac running macOS 14 or newer** · free if you own one
  - Why: FSEvents, file coordination, tags and security scoped bookmarks are all platform APIs.
  - Get it: Apple menu, then About This Mac.
  - Verify: About This Mac reports macOS 14 or higher
- [ ] **Xcode 16 or newer** · free
  - Why: Builds and signs the agent.
  - Get it: Mac App Store or developer.apple.com/xcode.
  - Verify: xcodebuild -version prints 16 or higher
- [ ] **A scratch folder with two hundred throwaway files** · free
  - Why: Every phase acts on files, and testing against anything you care about is how a bug becomes a loss.
  - Get it: Generate them with a script so the folder can be recreated instantly after each destructive test.
  - Verify: A regeneration script recreates the folder from nothing
- [ ] **A working backup before you run any rule on real files** · free with hardware you own
  - Why: This application moves and deletes files. Undo covers what it recorded; it does not cover a bug it did not record.
  - Get it: Confirm Time Machine or your backup tool has a recent snapshot, and that you have restored from it at least once.
  - Verify: A test file has been restored from backup successfully
- [ ] **Apple Developer Program membership** (optional) · 99 USD per year
  - Why: Product phase only. Without it there is no notarization and a Gatekeeper warning elsewhere.
  - Get it: Enrol at developer.apple.com/programs.
  - Verify: A Developer ID Application certificate appears in Xcode settings

## Quick start

```sh
xcrun notarytool submit Rules.zip --keychain-profile AC --wait
```

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- The rule depth accumulated by the commercial product.
- Deep Photos and Mail integrations.
- Guaranteed compatibility across macOS releases.
- Cloud sync of rules.
- mature filesystem automation, rule depth, Apple integrations, and reliability
- years of OS-version edge cases
- large extension ecosystem
- cross-device sync
- commercial support and rapid compatibility fixes

If one of those is essential to you, that is the reason to keep paying for Hazel, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

People still pay for Hazel because small utilities are technically reproducible, but customers pay for polish and immediate fixes when an OS update breaks a daily habit. The recurring cost buys permissions, accessibility APIs, sandboxing, signing, notarization, OS regressions, updates, backups, and support, not just the visible interface.

what you lose

xmature filesystem automation, rule depth, Apple integrations, and reliability

xyears of OS-version edge cases

xlarge extension ecosystem

xcross-device sync

xcommercial support and rapid compatibility fixes

share on X ↗"I just replaced Hazel with one prompt"
the escape hatch

Don't feel like building it? These folks already made it free.

FForelHazel's folder rules, previews, history, and Finder tags, fresh enough that the paint is still wet.275jul 2026open source↗

no votes, no pay-to-list · just what's real

the numbers

Hazel pricing

planmonthlyannual (per mo)what you get
hazel 6custom—Single-user perpetual licence for Hazel 6 and all Hazel 6 updates.
hazel 6 family packcustom—Up to 5 members of one private household; perpetual Hazel 6 licence.
upgrade to hazel 6custom—Upgrade from any previous Hazel version while retaining the existing single/family licence type.

free tierno free tier

billingone-time purchase; no monthly or annual plan; trial available

hidden costsFuture major versions can require a paid upgrade, although the purchased Hazel 6 version keeps working. Volume licensing is quoted separately.

verified 2026-08-14 · source ↗

questions
Vibecode Hazel

Yes. A competent AI coding agent (Claude Code, Codex, Cursor) can build a usable personal Hazel replacement in one session with the prompt on this page. It runs on your own machine or server with no subscription.

How much does Hazel cost?

Hazel's pricing is usage-based or varies by plan · Sold as a one-time licence..

What do I lose by replacing Hazel?

Honestly: mature filesystem automation, rule depth, Apple integrations, and reliability; years of OS-version edge cases; large extension ecosystem; cross-device sync; commercial support and rapid compatibility fixes. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Hazel?

Yes: Forel (Hazel's folder rules, previews, history, and Finder tags, fresh enough that the paint is still wet.) The prompt is for when you want it exactly your way.