My Improved Obsidian Habit Tracker: Simpler, Faster, Better — Transcript
Full transcript
- 0:00A while back, I shared how I track
- 0:02habits in Obsidian using a canvas
- 0:04dashboard. And that video helped a lot
- 0:07of people set up their first Obsidian
- 0:09habit tracking workflow. But there were
- 0:11three problems with that setup. First,
- 0:14it required Tracker, a powerful
- 0:16community plugin, but one which added
- 0:18friction and meant more things that
- 0:20could break whenever Obsidian got
- 0:23updated. Second, customizing it took way
- 0:26longer because everything [music] was
- 0:28hardcoded into the code snippet itself.
- 0:31And third, it was really slow to load
- 0:33the data whenever you went to view that
- 0:35dashboard. So, I rebuilt the whole
- 0:38system using a single plugin that you're
- 0:41probably already using, data view. The
- 0:43new version is faster to set up, easier
- 0:46to customize, doesn't require any
- 0:48updating, displays your dashboard data
- 0:51instantly, and now shows even more habit
- 0:53data all in one place. And in this
- 0:56video, I'm going to walk you through the
- 0:57complete setup process [music] step by
- 1:00step so you can have the same system
- 1:02running in your own Obsidian Vault in
- 1:04just about 20 minutes. Now, before we
- 1:06get into the setup, I want to make the
- 1:07case for why you'd want to track habits
- 1:09inside of Obsidian at all, because there
- 1:11are plenty of dedicated habit tracking
- 1:13apps out there. Some of them are really
- 1:16nice. So, why not just use one of those?
- 1:19Well, the answer, my friend, is context.
- 1:22Most habit tracking apps are built
- 1:24around the don't break the chain
- 1:26concept, which is popularized by
- 1:28comedian Jerry Seinfeld. Story goes that
- 1:31a young comic came up to Seinfeld after
- 1:32a show once and asked if he had any
- 1:35advice for an aspiring young comic.
- 1:37Jerry told him, "Get a big wall calendar
- 1:39and put a big red X on each day that you
- 1:41write new material. After a while,
- 1:43you'll have a chain," he said. "And your
- 1:45only job then is to not break the
- 1:47chain." Now, the principle here is that
- 1:49seeing that chain or streak grow is
- 1:51pretty motivating. And often that's
- 1:53enough to keep you going when you don't
- 1:55really feel like it. There's something
- 1:57powerful about seeing a long streak
- 1:59develop like that and not wanting to
- 2:01mess it up by breaking it. Now, any app
- 2:03can help you track your streaks. But
- 2:05here's what a dedicated habit tracking
- 2:06app cannot do. It cannot tell you why
- 2:10you broke that chain.
- 2:13Why? [laughter]
- 2:15When I look at my reading habit in
- 2:17Obsidian, for example, and I see a twoe
- 2:19gap, I can actually go back to my daily
- 2:21notes from that stretch and figure out
- 2:23what was happening. Maybe it was a
- 2:25stressful season at work. Maybe my
- 2:26energy was low. Maybe I was traveling.
- 2:28The context is all right there sitting
- 2:31in my daily notes right next to the data
- 2:33that's fueling my habit dashboard
- 2:35because it's all in the same system. And
- 2:38that is something a standalone app will
- 2:40never be able to give you. It can show
- 2:42you the gap, but it can't help you
- 2:44understand it. And that matters most
- 2:47when you sit down to do your reviews.
- 2:49The goal is not just to see how
- 2:51consistent you were. It's to understand
- 2:53your patterns well enough to help you
- 2:55actually get better. To make those small
- 2:581% improvements, you need to understand
- 3:01why your system broke before you can
- 3:04accurately diagnose and fix it. That
- 3:06requires context. And if you use your
- 3:08daily notes the way that I do, Obsidian
- 3:10is where all that context already lives.
- 3:12So that's why I track habits here
- 3:14instead of a separate app. Everything's
- 3:17connected and that's kind of the whole
- 3:18point. Okay. Okay, now before we build
- 3:20anything, let me show you what the
- 3:21finished product looks like so you know
- 3:22exactly what you're working towards. And
- 3:24if you want a donefor you version of
- 3:26this, I've actually included the updated
- 3:28version of this dashboard in my
- 3:30practicalpm starter vault, which you can
- 3:32download for free right now at
- 3:33vault.practicalpkm.com.
- 3:36I highly recommend you download that if
- 3:38you are following along at home. So this
- 3:40is my habit tracking dashboard. It's a
- 3:41canvas file in Obsidian, and each habit
- 3:44gets its own card on the canvas. As you
- 3:46can see, I'm currently tracking five
- 3:48different habits. reading, writing,
- 3:49planning, prayer, and shutdown. And each
- 3:52one has its own calendar view with
- 3:54streak stats built right in. Each card
- 3:56shows a full month calendar grid laid
- 3:58out Monday through Sunday. Completed
- 4:00days show up as solid green circles.
- 4:02Missed days, which means a daily note
- 4:04exists, but I didn't check the box, show
- 4:06up as red rings, and the days without
- 4:08any data are just plain numbers. But
- 4:11here's the part I really love. When you
- 4:12complete consecutive days, the dashboard
- 4:15draws green connecting lines between
- 4:17them. So your streaks become this visual
- 4:19chain across the weeks and months in
- 4:21your habit calendar. You can literally
- 4:23see your consistency at a glance and
- 4:25once the chain starts forming, you
- 4:26really don't want to break it. You can
- 4:28also navigate between months using the
- 4:31previous and next buttons at the top of
- 4:32the calendar. And if you click on any
- 4:34date, it opens the daily note for that
- 4:36day. So if you notice a gap in your
- 4:37streak and you want to know what
- 4:39happened, you're one click away from
- 4:41getting that context. Now below the
- 4:42calendar on each card, you've also got a
- 4:44stats bar with five different numbers.
- 4:47The current streak is how many days in a
- 4:48row you've completed this habit leading
- 4:50up to today. The longest streak is your
- 4:52personal best, shown in gold, which is a
- 4:55great motivator. The longest break is
- 4:57your biggest gap between completions,
- 4:59shown in red. This is honestly one of
- 5:01the most useful numbers because it shows
- 5:03you your worst case pattern. If your
- 5:05longest break is 3 days, it tells you
- 5:07something very different than if it's 3
- 5:08weeks. And then you've also got your
- 5:10overall completion percentage from all
- 5:11the daily notes in your vault, as well
- 5:13as the total number of days completed.
- 5:16Now, the key to making this actually
- 5:17work is to remove as much friction as
- 5:19possible when you're logging these
- 5:21habits. So, to log the habits that you
- 5:23see here really only takes about 30
- 5:24seconds every day. I open my daily note.
- 5:26I go to the properties. I toggle the
- 5:28boxes for the habits I completed and I'm
- 5:30done. That's it. This is not meant to be
- 5:32a journaling session or a deep
- 5:34reflection every single day. It's a
- 5:36quick data entry point. The dashboard is
- 5:38where you do the reflecting and you can
- 5:40do that on your own schedule. maybe
- 5:41during your weekly review when something
- 5:43feels off or like I said earlier as part
- 5:45of your quarterly personal retreat. So
- 5:47when you look at this dashboard and you
- 5:49notice a gap forming, that's your signal
- 5:50to click into those daily notes from
- 5:52that period and figure out what actually
- 5:54happened here. The dashboard shows you
- 5:56the pattern, but the daily notes have
- 5:57the data. That's where you figure out
- 5:59what went wrong and act on it. Okay, so
- 6:01to set this up, you first need to add
- 6:03some habits that you want to track to
- 6:04your daily notes template file. The
- 6:06habits are tracked using checkbox
- 6:08properties in your daily note
- 6:10properties. The ones that I use are
- 6:12actually included in my current daily
- 6:14note template file, which is also inside
- 6:16that free Obsidian starter vault. You
- 6:18can find that and modify it to your
- 6:19liking in the templates folder. Now, if
- 6:21you're adding these from scratch, just
- 6:23add a checkbox property for each habit
- 6:24you want to track and set the default
- 6:26value to false. That's going to make it
- 6:29unchecked by default. Now, when you
- 6:31create a daily note using this template,
- 6:33those properties will appear at the top
- 6:35as checkboxes that you can toggle. So,
- 6:37just click a checkbox and the default
- 6:39value changes from false to true. Toggle
- 6:41the checkboxes for the habits that you
- 6:43complete each day and you're done.
- 6:45That's the entire check-in workflow.
- 6:47Now, a piece of advice that I learned
- 6:49the hard way. I recommend you actually
- 6:51track fewer habits here than you think
- 6:53you should. I know it's tempting to
- 6:55throw 15 things on this list. Drink
- 6:56water, meditate, read, exercise,
- 6:58journal, take vitamins, stretch, floss.
- 7:00But if you're trying to build
- 7:02consistency, a shorter list is way more
- 7:04effective than a longer one. I keep mine
- 7:07between three to five habits at a time.
- 7:09I add them one at a time and I only add
- 7:12the ones that I genuinely care about
- 7:13sustaining right now. Not everything I
- 7:16theoretically want to do in an ideal
- 7:18version of my life. The things that I
- 7:20have firmly established as habits
- 7:21already, like Bible reading and
- 7:22stretching every day, I don't bother
- 7:24tracking here. The ones that appear in
- 7:26my daily note template are the ones that
- 7:28I'm trying to establish. So, the key is
- 7:31to keep this simple and minimal. If your
- 7:33daily check-in takes 30 seconds, you'll
- 7:35do it every day. If it takes 5 minutes,
- 7:37because you're starting to list 15
- 7:38things and you're trying to remember
- 7:40which ones did I do, which ones did I
- 7:41not do, you're going to start skipping
- 7:43days. And then you're going to stop
- 7:45checking in entirely. Then the whole
- 7:47tracking system completely falls apart.
- 7:49And I've been there. The short list
- 7:51keeps the friction low enough that the
- 7:53habit of tracking your habits actually
- 7:55sticks. Now, for the mobile workflow,
- 7:57this is actually dead simple. In fact,
- 7:58most of the time that I log my habits,
- 8:00I'm doing it on my iPhone. You just open
- 8:02Obsidian on your phone, tap into today's
- 8:04daily note, toggle the checkboxes in the
- 8:06properties section, and you're done.
- 8:08Since I have quite a few properties in
- 8:10my note, I find it helpful to show these
- 8:12properties in the right sidebar instead
- 8:13of at the top of the note. This requires
- 8:16hiding the properties at the top of the
- 8:18note, which you can do by going to
- 8:19settings, editor, properties in
- 8:22document, and changing the setting to
- 8:24hidden. And then to show those
- 8:26properties in the right sidebar, open up
- 8:28the command pallet and run the
- 8:30properties view show file properties
- 8:32command. I also have it set to open
- 8:34straight to today's daily note whenever
- 8:36I open Obsidian on my phone, which you
- 8:37can configure under settings, files and
- 8:39links, default file to open. So whenever
- 8:43I open Obsidian on my phone at the end
- 8:44of the day, it takes me straight to the
- 8:46daily note. I swipe to see the right
- 8:48sidebar and I just check the boxes for
- 8:50the habits that I completed that day.
- 8:52And just so you understand what's
- 8:53happening under the hood here, when the
- 8:54dashboard reads your data, it's looking
- 8:56at these front matter properties across
- 8:59every note in your daily notes folder. A
- 9:01property set to true means that you
- 9:03completed the habit that day. False
- 9:05means you didn't. That's the raw data.
- 9:07And minimizing the friction when logging
- 9:09it means it's much more accurate. So
- 9:12everything that the dashboard shows you,
- 9:14the calendar view, the streaks, the
- 9:15breaks, the completion percentage, it
- 9:17all comes from reading those true false
- 9:20values across all your daily notes. Now,
- 9:22if it helps, let me walk you through why
- 9:24I picked the five habits that I'm
- 9:25tracking right now. Reading and writing
- 9:27are the two creative habits that drive
- 9:29my creator business. If I'm not reading,
- 9:31I'm not getting new ideas. If I'm not
- 9:33writing, I'm not synthesizing those
- 9:35ideas, figuring out what I think about
- 9:38them, and turning those ideas into
- 9:40content. Planning is my morning planning
- 9:42session where I look at my calendar, my
- 9:44task list, and I decide what I'm
- 9:45actually going to focus on that day, and
- 9:46then I time block my day in my Supernote
- 9:48Nomad. Prayer is a spiritual discipline
- 9:50I'm trying to get a little bit better
- 9:51at. And shutdown is my end of workday
- 9:53routine where I close out my tasks,
- 9:55review what got done, and mentally clock
- 9:57out so I'm actually present with my
- 9:58family in the evening. Now, notice that
- 10:00none of these are things like drink
- 10:02eight glasses of water, or do 50
- 10:03push-ups. Those quantitative habits
- 10:06might be worthwhile, but in my opinion,
- 10:08they don't need a tracking dashboard in
- 10:10Obsidian. The habits that I track here
- 10:12are the ones where consistency compounds
- 10:14over time and where I want to see
- 10:17long-term patterns emerge, not just
- 10:20check today's checkbox. So, that's a
- 10:22good filter to use when you're deciding
- 10:24what to put on your own habit list.
- 10:26Okay, so now let's build the dashboard.
- 10:28I'm going to walk you through this step
- 10:29by step, but I got to say up front, even
- 10:30if you've never touched a line of code
- 10:32before, there's really only one thing in
- 10:34this entire setup that you absolutely
- 10:36need to change to make it your own.
- 10:38Everything else you can just copy and
- 10:40paste directly. So, there's two places
- 10:42where you're actually going to change
- 10:43text, but one thing that drives all of
- 10:46the data in the dashboard, and that one
- 10:48thing is the habit property, which is
- 10:51just the name of the checkbox in your
- 10:53daily note front matter that corresponds
- 10:55to the habit that you're tracking. I'm
- 10:57going to show you exactly where to find
- 10:58it and what to change it to when we get
- 11:00there. Okay, so first to add these
- 11:03charts, you really just need a new
- 11:05canvas file. And I call mine habit
- 11:07tracking dashboard. And then you just
- 11:09add cards for each habit that you want
- 11:11to visualize. Each habit gets its own
- 11:13card with a data view.js code block that
- 11:15handles everything. Reading your data,
- 11:17calculating the streaks, and rendering
- 11:18the calendar. Now again, I generated
- 11:21these using clawed code just like the
- 11:22new journaling dashboard that I
- 11:23described in this other YouTube video
- 11:25here. So to create the charts, you just
- 11:27drag in a card, edit the code in the
- 11:30card, and paste in the code block. Now,
- 11:32there's a lot going on in this code, but
- 11:34I'll walk through a little bit of it
- 11:35here. So, first at the very top is three
- 11:37back ticks and the word data view.js,
- 11:39which tells Obsidian that this is a code
- 11:40block and it should use data view to try
- 11:42to render it. The first section is the
- 11:44configuration section. This is where you
- 11:46change the habit that you want to track
- 11:48by typing the name of the property right
- 11:50here. That's the one thing you
- 11:52absolutely have to change. The next
- 11:54section creates a unique ID based on
- 11:56that habit property name. And the next
- 11:58big section is how it calculates the
- 12:00streak statistics. The next section is
- 12:02the function to render the calendar. A
- 12:04section for getting all the daily notes
- 12:06from the property based on the daily
- 12:07notes folder location. Creates a map of
- 12:10dates for the habit completion.
- 12:12Calculates the streaks. gets the first
- 12:14and last days of each month, gets the
- 12:16starting day of the week, which I have
- 12:18set to Monday, gets the month name, adds
- 12:21previous month dates, adds days from the
- 12:24current month, and builds an HTML
- 12:26calendar that includes both a next and
- 12:28previous button. This is the only other
- 12:30place where you might need to change
- 12:32something as the header text and the
- 12:33emoji that show up at the top of the
- 12:35calendar appear here. Then it renders
- 12:38each cell, checks for connections, has
- 12:41special logic for horizontal connections
- 12:43and weak wrapping connections, uses
- 12:45darker colors for the previous month,
- 12:47defines the style for the dots, and also
- 12:50has a bunch of stuff here for displaying
- 12:52the line elements in the calendar. Below
- 12:54that is the HTML grid section. Now, at
- 12:57the very bottom, there's a section here
- 12:58which renders everything and creates
- 13:00event listeners to update when things
- 13:02get clicked on. At the very bottom, of
- 13:04course, there are three back ticks to
- 13:06close the code block. So, that's
- 13:08basically what the code does. But there
- 13:09is one variation I want to show you
- 13:11here, and that is for my shutdown habit.
- 13:14That's my end of workday routine. I only
- 13:16do this on the weekdays. So, I have a
- 13:18slightly modified version of the code
- 13:20that actually skips weekends entirely.
- 13:23It doesn't count Saturdays or Sundays as
- 13:25missed days, and it doesn't break your
- 13:27streak if you skip the weekends. So if
- 13:29you have habits that are weekday only,
- 13:31like a work routine or a commute related
- 13:33habit, then this variant can be really
- 13:35handy. Modify that code block from the
- 13:37starter vault if you want that
- 13:39functionality. But here's what I really
- 13:41want you to take away from this video.
- 13:43You do not need to be a power user to
- 13:46set this up. If you can create a canvas
- 13:48file, paste in a code block, change two
- 13:51lines of text, and toggle checkboxes in
- 13:53your daily note, you can have this
- 13:55running in your vault today. It's all
- 13:58built on one code block per habit. And
- 14:00once it's in place, you never have to
- 14:02touch this code again. You just check
- 14:04your boxes and let the dashboard do the
- 14:06rest. So that's the dashboard setup.
- 14:08Now, let me show you how I actually use
- 14:09this day-to-day because the system is
- 14:11only as good as your habit of using it.
- 14:13Now, daily interaction, as I mentioned
- 14:15before, is actually pretty minimal. When
- 14:17I complete a habit, I check the box in
- 14:18my daily note, as I described earlier on
- 14:21my phone at the end of the day. That's
- 14:22it. Tracking all my habits takes about
- 14:2510 seconds. The dashboard isn't
- 14:27something that I look at every day, but
- 14:29it's there when I need it. Where it
- 14:31really earns its keep is in my reviews.
- 14:34So, about once a week, I'll pull up the
- 14:36dashboard and I'll just scan for
- 14:37patterns. Not to judge myself, just to
- 14:40notice if anything feels off. Did I
- 14:43consistently miss my reading habit on
- 14:44Thursdays? Was there a stretch where I
- 14:46was firing on all cylinders? The
- 14:48calendar view makes those patterns
- 14:50obvious in a way that a simple streak
- 14:52number never could. But the number that
- 14:54is most interesting to me is not the
- 14:56current streak or even the longest
- 14:57streak. It's the longest break. That
- 15:00number tells a different story. A long
- 15:03break is not a moral failure, but it is
- 15:05a signal that something is off. It's
- 15:07telling you that something happened
- 15:08during that stretch that made this habit
- 15:10especially hard to maintain. Or maybe
- 15:13you just don't care enough about this
- 15:14thing to do it consistently anymore,
- 15:16which is completely fine. But when I sit
- 15:18down for my quarterly review and I see a
- 15:19longest break of say 18 days, my first
- 15:22question isn't why did I miss this so
- 15:24much, I try to figure out what was going
- 15:27on during those 18 days. And because all
- 15:30of that context lives right there in
- 15:32Obsidian in my daily notes, my journal
- 15:34entries, my weekly reviews, I can
- 15:36actually go find it. That's the mindset
- 15:38shift that makes this system work.
- 15:40You're not tracking habits to create
- 15:42guilt if you don't do them. your
- 15:43tracking habits to create data that
- 15:45supports the behavioral change that you
- 15:47want to make. That data is something
- 15:49that you can actually learn from. A
- 15:51streak is motivating, but understanding
- 15:53why the chain broke and what was
- 15:55happening in your life when it did,
- 15:57that's what helps you actually build
- 15:59better habits over time. So, that's my
- 16:01updated habit tracking system. a custom
- 16:04canvas dashboard that gives you a
- 16:05calendar view of your completions and a
- 16:07streak summary of your current streak,
- 16:09longest streak, longest break, all
- 16:11powered by simple checkboxes in your
- 16:14daily notes. Now, if you want to get
- 16:15started with this quickly, I put
- 16:17together a free starter vault that
- 16:18includes the full habit tracking
- 16:20dashboard that you saw in this video,
- 16:22but it's not going to look the same
- 16:23because there's no daily note data in
- 16:25there to populate it with. [music] The
- 16:26code blocks are all there, though, if
- 16:28you do want to customize them and add
- 16:30them to your own Obsidian vault. It
- 16:31includes the exact code blocks that I
- 16:33showed you in this video along with the
- 16:34daily note template file with all the
- 16:36checkbox properties already set up. So,
- 16:39if you haven't yet, you can download it
- 16:40for free right now by going to
- 16:43vault.practicalpkm.com.
- 16:44[music]
- 16:46And if you want to take this even
- 16:47further, if you want your habit data to
- 16:49be part of a bigger life operating
- 16:51system that connects your daily notes,
- 16:53your weekly reviews, your quarterly
- 16:54retreats, and your long-term goals all
- 16:57in one place, that's exactly what Life
- 16:59HQ is for. The dashboard that we built
- 17:02today is a great standalone tool, but
- 17:04inside of Life HQ, it becomes one piece
- 17:07of a much bigger picture. your habits,
- 17:10your projects, your reading, your
- 17:12journaling. It's all connected, all in
- 17:14Obsidian, all in one epic pre-built
- 17:16vault. Life HQ also has over 60,000
- 17:20words of documentation, [music] so you
- 17:21can customize things just the way you
- 17:23like them and really make it your own.
- 17:25So, if that sounds interesting, you can
- 17:26find out more at
- 17:27lifehq.practicalpkm.com.
- 17:29[music]
- 17:30Thanks for watching and we'll see you in
- 17:32another video.
About this transcript
This page contains the full transcript of My Improved Obsidian Habit Tracker: Simpler, Faster, Better by Mike Schmitz, generated from the public captions YouTube serves with the video. The transcript has 3,623 words across 525 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.