ยทHabit Space Team

The Complete Guide to Habit Tracking in Obsidian

How to set up a powerful habit tracking system in Obsidian using the Habit Space plugin, Dataview, and Bases.

The Complete Guide to Habit Tracking in Obsidian

Obsidian is already where you think. Why not make it where you track habits too?

Getting Started

  1. Install the Habit Space plugin from Community Plugins
  2. Create a habits/ folder in your vault
  3. Add your first habit with the command palette

Defining Habits

Each habit is a markdown file with YAML frontmatter:

---
name: Exercise
icon: ๐Ÿ‹๏ธ
type: flex
frequency: daily
children:
  - id: strength
    name: Strength Training
    icon: ๐Ÿ’ช
  - id: cardio
    name: Cardio
    icon: ๐Ÿƒ
---

Daily Logging

Every day, Habit Space creates a log file. It's a simple checklist:

- [x] ๐Ÿ‹๏ธ Exercise โ†’ ๐Ÿ’ช Strength Training
- [x] ๐Ÿ“– Read
- [ ] ๐Ÿง˜ Meditate

Viewing Stats

Use the built-in stats view, or query with Dataview:

TABLE streak, completion
FROM "habits/logs"
WHERE date >= date(today) - dur(30 days)

Your data never leaves your vault. That's the point.