I've recently started tracking all the work that I do in a day to hold myself accountable. Along with work, I also keep track of other activities, such as workouts, time spent on social media, gaming, and content streaming. This has not only helped me manage my time better but also build effective habits in the long run. While there are several tools to track habits in a fun and intuitive manner, Habitica is one of the most popular ones, thanks to a gamified approach. While the app is certainly nice, I despise its cluttered UI. It's filled with too many elements, in my opinion, which can be overwhelming for a lot of people. However, since I liked the RPG-style approach of Habitica, I decided to do some research to see if I could make use of the concept differently.

That's when I realized that Habitica has a plugin for Obsidian that allows you to check off tasks, track habits, and earn points upon completion, just like in the official app. This was just the implementation I was looking for since I use Obsidian regularly to journal my thoughts. So, I decided to integrate the two and include some of my own additions to make the perfect RPG-style habit tracker inside Obsidian. Here's how you can create one for yourself and reach your goals faster!

Integrating Habitica with Obsidian

All it takes is a few clicks

Before setting things up in Obsidian, you'll need to sign up for a Habitica account. We will be using the data from the website/app and importing it into Obsidian. So, head to the Habitica website and sign up with your email ID. Once done, you can add your daily tasks, habits, goals, rewards, and other relevant information to the corresponding columns on the website. Ensure you select the reward points for each task completion, the items you can redeem them for, etc. Once you have entered the required information, it's time to import the details into Obsidian.

To do this, head to Habitica's Settings page and navigate to the Site Data tab. Here, you will find two strings of data that are vital for using Habitica inside Obsidian: User ID and API Token. Note down both of them in a safe place. We'll be using them later. Now, launch Obsidian on your computer and head to the Settings page. Under Community plugins, search for Habitica Sync and install it. Enable it once installed, and click on Options. Enter the User ID and API Token from Habitica into the relevant fields. While you're at it, turn on Show Task Description and Show Sub-Tasks.

Completing tasks and tracking progress visually

Dataview is extremely powerful

Now that the integration is complete, it's time to access Habitica's data inside Obsidian. Inside any Obsidian vault, use the key combination Ctrl + Shift + H on Windows or Command + Shift + H on macOS to activate the Habitica sidebar. Your tasks and goals will pop up inside a pane on the right. These are interactive elements, so you can click on the checkbox next to each of them to mark a task as complete. As long as you're connected to the internet, any update to a task inside Obsidian will be directly updated on the Habitica website or app as well. Similarly, any changes in Habitica will be reflected immediately in the Obsidian plugin. You can view your HP, Gold, and Level right inside the sidebar. Use the tabs at the top to switch between different tasks, completed and active goals, reward history, etc.

While this is the basic setup you can achieve inside Obsidian, I decided to take things a step further with the help of the Dataview plugin. For those unaware, it helps you visualize data by creating tables, calendars, etc. It's a good way to keep track of your progress at a glance. I primarily wanted to keep a tab on my water intake, workout progress, and professional commitments. So, I went the extra mile and started keeping a manual database of if/when all of these goals were met on a single day. To do that, I use Obsidian's Daily Note feature. I added some metadata to the daily note using the following code:

```markdown
[hydration-spell:: yes] [gym-training:: yes] [xda-article:: no] [complete::2025-07-03]
```

You can replace the values with the parameters you want to track. Also, make sure you change the 'complete' date to the date on which you complete the tasks. Use the data from Habitica to determine if all the tasks were completed or not. Once done, also add a tag to the note by entering #Habit. Then, create a new note in the same folder and name it Habit Tracker. Here, I created a calendar view that shows me a dot below every day on which I completed all my tasks. This pushes me to meet my goals every single day. Use the code below to create the calendar:

```dataview
CALENDAR complete
FROM #Habit
WHERE complete
```

The calendar updates in real-time as you create a new daily note with the previously mentioned metadata.

You need to install and enable the Dataview plugin inside Obsidian for the calendar to work.

Building habits can be fun

Using a traditional to-do list to track and build your habits may not be effective, especially if you procrastinate a lot, like me, and get easily distracted. When you lack motivation, gamifying the approach and making it more fun certainly helps you stay on track, and that's exactly what I aimed to do when creating an RPG-style habit tracker inside Obsidian. Not only does every task feel like a challenge that you need to complete, but completing it also gives you a predetermined reward, which makes you want to work for it. It certainly helped me become more accountable and build a strict daily schedule, and I hope it works for you, too!