I connected Claude with Habitica and it completely gamified my life


Have you ever wanted your life to feel like a video game? Do you want to see XP points pile up every time you do something productive? Me too. And so I built a gamification system using Claude and Habitica to turn my life into an RPG.


The Open Source logo above faded icons of discontinued open-source apps, including Atom, Brackets, Google Code, and OpenOffice, set against a worn blue textured background.


5 free, open-source apps that save me hundreds of dollars and hours of work

Your wallet called. It wants you to read this.

What is Habitica?

How Habitica helps you gamify your life

Habitica is a free, open-source habit tracking and task management app, but with a twist—it’s built like an RPG. When you sign up, you create a pixel-art avatar that levels up as you complete real-life tasks. Every task you finish earns you XP and gold, while missed tasks chip away at your health bar.

You can equip gear, hatch pets, go on quests, and even join a party with friends. The game loop is surprisingly well-designed. The idea is simple—link your real life activities to generate outcomes in a video game. This way, staying on top of your actual responsibilities translates into immediate rewards—like leveling up your character or unlocking new collectibles.

What are the main features of Habitica?

At its core, Habitica is a habit tracker. It lets you create and track three types of tasks: Habits, Dailies, and To-Dos.

Habits are things you want to do regularly but don’t have a fixed schedule for—like drinking more water or reading before bed. They can be positive, a.k.a., good habits—doing them earns you XP or Gold. Alternatively, they can also be negative, a.k.a., bad habits—doing them reduces your health. If you lose all your health, your character dies. This way there is some buffer that allows you to slip—because everyone slips when building a new habit—but you can’t slip too much, or else your character dies.

Next, you have Dailies—recurring tasks due on specific days, such as workouts, morning routines, or journaling. If you miss them, your character takes damage.

Then, you have To-Dos—one-off tasks, like cleaning your desk or buying a gift. They don’t deal damage if you miss them, but they do turn redder over time, and completing an older task actually gives you a bigger reward. This way, the system incentivizes you to finish a task instead of giving up on it—better late than never, right?

Finally, there are Rewards—stuff you can buy using in-game gold. Habitica includes default rewards like equipment and potions, but you can also create custom ones, such as a movie night or a cheat meal.

Now, beyond the task system, there’s a full RPG layer. You can choose a class (Warrior, Mage, Healer, or Rogue), each with unique abilities. You can join a party and go on quests together, including boss battles where the entire group takes damage if anyone misses their dailies—adding a layer of social accountability. There’s also a market for buying gear and items, along with a collection system for pets and mounts that you hatch from eggs using potions.


A character from Jade Empire.


5 RPGs for People Who Don’t Like RPGs

If you think you don’t like role-playing games, these may change your mind.

That said, for my use case, I’ve mostly stuck to the core task system and rewards—and it’s been a highly productive setup.

How Claude solves Habitica’s biggest problem

I can now focus on playing the game instead of building the game

There’s a saying that game developers are the only people who hate playing video games. Gamification tools like Habitica run into a similar problem.

The app is genuinely fun once it’s set up properly—with the right dailies, relevant habits, and rewards that actually mean something to you. However, getting there is a chore. You have to think through your current life, decide what to track, figure out what belongs in habits vs. dailies vs. to-dos, and create rewards that feel motivating—all while building everything manually.

Most people either don’t set it up properly or just get overwhelmed by the entire project—this includes me. I first heard about Habitica way back in 2016, but was reluctant to use it precisely because of this reason. But then came Claude.

In the images, I’m using Claude Code to interact with Habitica. Instead of Claude Code, you can also use the Claude desktop app with Cowork mode—the experience is going to be the same.

You can connect Claude to your Habitica account and have it build your entire setup. It creates your habits, dailies, to-dos, and even custom rewards—based on your actual goals. That means you can focus on using the system instead of designing it.

Now, for this to work well, Claude needs solid context about your goals, your current situation, and the daily frictions holding you back. Since I already use Claude with Obsidian as a second brain, it had that context. If you don’t have a setup like that, I’ve included a detailed prompt called Habitica System Builder at the end of this article to help you get started.


An iPhone 17 Pro with the Notion logo on a white background sitting on a bamboo desk.


I paired Claude with Notion, and it instantly made both apps more useful

The AI Notion really needs.

How did I connect Claude with Habitica

The magic of MCP servers

Claude Code split view with Habitica MCP server code and account access prompt.

You probably already know that Claude has “connectors” that allow it to interact with third-party apps. Unfortunately, there’s no official Habitica connector yet. But fortunately, Habitica has a well-documented API, and Claude supports MCP servers—a specialized program that allows AI models (LLMs) to connect to external tools or datasets.

This means you can ask Claude to read the Habitica API docs and build an MCP server to connect to it. That’s exactly what I did. The entire process takes about 5–10 minutes, and Claude handles all the technical setup.

That said, prebuilt Habitica MCP servers are also available online. You can use them instead of building one from scratch—but review the code carefully to make sure there’s nothing malicious. You can always ask Claude to audit the code for you.

You’ll need Claude Cowork or Claude Code to create the MCP server locally on your system. Alternatively, you can use standard Claude chat to generate the MCP code and then create the files manually. If you want to access it from your mobile device, you’ll need to host the MCP server.


Set up barely takes more than a few minutes

Once Claude is connected to your Habitica account, setting everything up is quick. Just paste the prompt provided below.

Claude will ask a series of questions about your current situation, your goals, your habits, and what motivates you. Once it has enough context, it’ll automatically create a tailored setup—complete with habits, dailies, to-dos, and rewards designed to gamify your life.

The Prompt:

# Habitica System Builder

You are a Habitica productivity coach. Your job is to interview the user, understand their life deeply, and then design and create a complete, well-reasoned Habitica system — habits, dailies, todos, and rewards — that functions like a well-balanced RPG.

**Nothing should be arbitrary.** Every task direction, difficulty, reset schedule, and reward cost must have a reason rooted in the user's actual life.

---

## Before You Begin

First, silently fetch the user's current Habitica state using your MCP tools:
- Call `get_tasks` with type "all" to see what already exists
- Call `get_user_stats` to see their level, GP, and daily earnings baseline

Keep this in mind throughout — don't recreate things that already work, don't ignore gaps.

---

## Phase 1: The Interview

Conduct this as a real conversation — one category at a time. Do NOT dump all questions at once. Ask a category, wait for the answer, then move to the next. Probe deeper if an answer is vague.

Work through these categories in order:

### 1. Goals & Vision
- What do you want to achieve in the next 3–6 months? (work, health, personal, creative — whatever matters)
- What does a genuinely good day look like for you?
- What areas of life feel most neglected right now?

### 2. Current Reality
- Of those goals, what are you already doing consistently?
- Where do you keep falling short — and why do you think that is?
- What time of day do you have the most energy and discipline?

### 3. Daily Routine
- Walk me through a typical weekday from waking up to sleeping
- How different are weekends?
- What's non-negotiable — things you'll do no matter what?

### 4. Guilty Pleasures & Rewards
- What do you do to genuinely relax and enjoy yourself?
- What do you do that you know you probably shouldn't — but do anyway? (social media, snacking, gaming, sleeping in, etc.)
- If you had fully "earned" a free hour, what would you spend it on?

### 5. Friction & Avoidance
- What tasks do you keep putting off even though you know you should do them?
- Is there anything you feel a low-grade guilt about not doing regularly?
- What usually derails a good streak for you?

### 6. Work & Output
- What does productive work look like for you specifically? (writing, deep focus, meetings, etc.)
- Do you have deadlines, deliverables, or recurring work responsibilities?

Ask follow-up questions if needed. You need enough to make real decisions — not generic ones.

---

## Phase 2: System Design

Once the interview is complete, design the full system. Think through each item carefully using these frameworks before proposing anything.

### Habit Design Rules

**Direction:**
- **Positive only** — a behavior you want to do more of; doing it earns XP/GP
- **Negative only** — a vice or failure you want to track; triggering it costs HP
- **Both** — behaviors that can genuinely go either way (e.g., "Eating" → + for healthy meal, − for junk food)
- Use "both" sparingly — only when the same habit genuinely has a meaningful positive and negative expression

**Difficulty:**
- Trivial (0.1): tiny actions, almost automatic (drinking a glass of water)
- Easy (1): low-friction good behaviors (taking a short walk)
- Medium (1.5): requires real effort or willpower (an hour of deep work)
- Hard (2): significant self-discipline, goes against strong urges

**Reset Counter:**
- Daily: habits done multiple times per day or tracked every day
- Weekly: behaviors evaluated on a weekly cadence
- Never: for tracking cumulative counts without resetting color

### Daily Design Rules

**Scheduling:**
- Assign only the days it actually applies (don't put work tasks on weekends if weekends are genuinely different)
- Be honest — an aggressive daily list becomes demoralizing fast

**Difficulty:**
- Reflects how much it hurts to miss it, not just how hard it is
- Core health/work dailies should be Medium or Hard
- Maintenance tasks (brief, habitual) can be Easy

### Todo Design Rules

- Use for one-off tasks with a clear endpoint
- Add a due date if there's a real deadline
- Difficulty = actual effort required, not importance
- If a todo recurs, make it a daily instead

### Reward Design Rules

This is the most important part to get right. Rewards that cost too little are meaningless — they become free actions with no connection to performance.

**GP Economy Calculation:**
1. Check the user's current level via `get_user_stats`. GP per task scales with level but slowly.
2. Estimate daily GP earnings from the task list at their current level:
   - Easy daily/habit: ~3–5 GP per completion
   - Medium: ~5–8 GP
   - Hard: ~8–12 GP
   - Trivial: ~0.5–1 GP
   - Streak bonuses grow over weeks and can significantly increase these values
3. Add up a realistic "good day" of completions — not a perfect day
4. This is the user's **daily GP budget**

**Reward Pricing Tiers:**

| Tier | Cost | What it should represent |
|------|------|--------------------------|
| Micro | 0.25–0.5× daily budget | 5-10 min guilty pleasure (one short YouTube video, a quick snack) |
| Small | 0.5–1× daily budget | 15–30 min leisure (quick gaming session, social media browse) |
| Medium | 1–2× daily budget | 1 hour of genuine leisure (gaming, movie, comfort food) |
| Large | 3–5× daily budget | Half-day or significant treat (afternoon off, favorite meal out) |
| Major | 7–14× daily budget | Big splurge (new game, full day off, special outing) |

Rewards must feel **earned but reachable**. A consistent performer should be able to afford a Small reward most days and a Medium reward every few days. Large and Major rewards should require sustained performance over a week or more.

**Every reward needs:**
- A clear, specific description (not vague like "treat yourself")
- A cost with explicit reasoning ("costs X GP = roughly Y days of consistent work")
- A connection to something the user actually wants

---

## Phase 3: Proposal

Before creating anything, present the full proposed system to the user in a clear, readable format:

```
HABITS
------
[Name] — [direction: +/−/both] — [difficulty] — resets [daily/weekly/never]
Reason: [why this direction, difficulty, and reset]

DAILIES
-------
[Name] — [days] — [difficulty]
Reason: [why these days and this difficulty]

TODOS
-----
[Name] — [due date if any] — [difficulty]
Reason: [why]

REWARDS
-------
[Name] — [X GP]
Reason: [tier, what it represents, how many days to earn]
```

Ask for approval. Let the user adjust anything. Revise if needed.

---

## Phase 4: Execution

Once approved:

1. Delete or update existing tasks that are being replaced (ask before deleting anything)
2. Create all tasks using the MCP `create_task` tool with the full set of parameters:
   - Habits: always pass `direction` — "positive", "negative", or "both"
   - Dailies: always pass `days` — e.g. `["mon","tue","wed","thu","fri"]` for weekdays, or all 7 for every day
   - Rewards: always pass `cost` — the GP price you calculated
   - All tasks: pass the correct `priority` (0.1 / 1 / 1.5 / 2)
3. Update existing rewards with correct `cost` via `update_task` rather than deleting and recreating
4. Confirm each creation
5. At the end, summarize what was created and remind the user of the reward pricing so they understand what they're working toward

---

## Principles to Hold Throughout

- A system with 20 tasks will be abandoned. Prioritize ruthlessly — 5 strong habits beat 15 weak ones.
- Guilt-based tasks that aren't tied to real goals should be cut.
- The reward economy only works if the user can realistically earn rewards through normal daily performance. If the math doesn't work, reprice — don't just make rewards cheaper.
- Ask the user if anything feels off. This is their system, not yours.



Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


When you pick out a phone, you’re also picking out the operating system—that typically means Android or iOS. What if a phone didn’t follow those rules? What if it could run any OS you wanted? This is the story of the legendary HTC HD2.

Microsoft makes a mess with Windows Mobile

The HD2 arrives at an unfortunate time

windows mobile 6.5 Credit: Pocketnow

Officially, the HTC HD2 (HTC Leo) launched in November 2009 with Windows Mobile 6.5. Microsoft had already been working on Windows Phone for a few years at this point, and it was planned to be released in 2009. However, multiple delays forced Microsoft to release Windows Mobile 6.5 as a stopgap update to Windows Mobile 6.1.

Microsoft’s plan for mobile devices was a mess at this time. The HD2 didn’t launch in North America until March 2010—one month after Windows Phone 7 had been announced at Mobile World Congress. Originally, the HD2 was supposed to be upgraded to Windows Phone 7, but Microsoft later decided no Windows Mobile devices would get the new OS.

This left the HD2 stuck between a rock and a hard place. Launched as the final curtain was dropping on one OS, but too early to be upgraded to the next OS. Thankfully, HTC was not just any manufacturer, and the HD2 was not just any phone.

The HD2 was better than it had any right to be

HTC made a beast of a phone

HTC HD2 Credit: HTC

HTC was one of the best smartphone manufacturers of the late 2000s and 2010s. It manufactured the first Android phone, the first Google Pixel phone, and several of the most iconic smartphones of the last two decades. Much of the company’s reputation for premium, high-quality hardware stems from the HD2.

The HD2 was the first smartphone with a 4.3-inch touchscreen—considered huge at the time—and one of the first smartphones with a 1 GHz Qualcomm Snapdragon processor. That processor, along with 512GB of RAM, made the HD2 more future-proof than HTC probably ever intended. Phones would be launching with those same specs for the next couple of years.

For all intents and purposes, the HD2 was the most powerful phone on the market. It just so happened to run the most limiting mobile OS of the time. If the software situation could be improved, there was clearly tons of potential.

The phone that could do it all

Android, Windows Phone, Ubuntu, and more

The key to the HD2’s hackability was HTC’s open design philosophy. It had an easily unlockable bootloader, and it could boot operating systems from the NAND flash and SD cards.

First, the community took to righting a wrong and bringing Windows Phone 7 to the HD2. This was thanks to a custom bootloader called “MAGLDR”—Windows Phone 7.5 and 8 would eventually get ported, too. The floodgates had opened, and Windows Phone was the least of what this beast of a phone could do.

Android on the HTC HD2? No problem. Name a version of the OS, and the HD2 had a port of it: 2.2 Froyo, 2.3 Gingerbread, 4.0 Ice Cream Sandwich, 4.1/2/3 Jelly Bean, 4.4 Kitkat, 5.0 Lollipop, 6.0 Marshmallow, 7.0 Nougat, and 8.1 Oreo. Yes, the HD2 was still getting ports seven years after it launched.

But why stop at Android? The HD2 was ripe for all sorts of Linux builds. Ubuntu—including Ubuntu Touch—, Debian, Firefox OS, and Nokia’s MeeGo were ported as well. The cool thing about the HD2 was that it could dual-boot OS’. You didn’t have to commit to just one system at a time. It was truly like having a PC in your pocket, and the tech community loved it.

Do a web search for “HTC HD2” now, and you’ll find many articles about the phone getting yet another port of an OS. It became a running joke that the HD2 would get new versions of Android before officially supported Android phones did. People called it “the phone that refuses to die,” but it was the community that kept it alive.

The last of its kind

“They don’t make ‘em like they used to”

HTC HD2 close up Credit: TechRepublic

The HTC HD2 was a phone from a very different time. It may have gotten more headlines, but there were plenty of other phones being heavily modded and unofficially upgraded back then. Unlockable bootloaders were much more common, and that created opportunities for enthusiasts.

I can attest to how different it was in the early years of the smartphone boom. My first smartphone was another HTC device, the DROID Eris from Verizon. I have fond memories of scouring the XDA-Developers forums for custom ROMs and installing the latest Kaos builds on a whim during college lectures. Sadly, it’s been many years since I attempted that level of customization.

It’s not all doom and gloom for modern smartphones, though. Long-term support has gotten considerably better than it was back in 2010. As mentioned, the HD2 never officially received Windows Phone 7, and it never got any other updates, either. My DROID Eris stopped getting updates a mere eight months after release.

Compare that to phones such as the Samsung Galaxy S26, Google Pixel 10, and iPhone 17, which will all be supported through 2032. You may not be able to dual-boot a completely different OS on these phones, but they won’t be dead in the water in less than a year. We will likely never see a phone like the HTC HD2 from a major manufacturer again.

HTC Droid Eris


A Love Letter to My First Smartphone, the HTC Droid Eris

No, not that DROID.



Source link