Your score combines three things, each weighted by how much it matters:
Missing a day after a long streak doesn't tank your score the way it would after just two days. The penalty shrinks the longer your streak has been — because a slip after months of commitment is not the same as a slip at the start.
This is called variable ratio reinforcement — a schedule where rewards arrive unpredictably after a behaviour. It's the same mechanism that makes games compelling.
Psychologist B.F. Skinner found it's the reinforcement schedule most resistant to extinction: behaviours rewarded this way are the hardest to give up, because every rep feels like it could be the one that triggers the reward.
The two conditions — completion over 50% and a random roll — mean the reward only activates for genuine effort, and even then stays rare enough to stay exciting.
Missing a day early in a habit costs more than missing a day after a long run. If you've just started and skip, there's no momentum to protect — the score drops more sharply. After 10 days in a row, a single miss barely registers, because the evidence of your identity is already strong.
This mirrors how real habit formation actually works: a lapse after two months is qualitatively different from a lapse on day two. The scoring reflects that.
Most habit failures aren't random — they cluster around specific days or contexts. Knowing which day you consistently underperform lets you prepare for it in advance: lower the bar on that day, set an extra reminder, or pair the habit with something you already do on that day.
This is called pre-commitment — deciding in advance how you'll handle a predictable obstacle, rather than relying on willpower in the moment.
| Date | Day | H1 | H2 | H3 | H4 | H5 | H6 | H7 | H8 | Total |
|---|
penalty = 1/(streak+1) × 0.05.AVERAGEIF logic over your full history, grouping completions by day name, then returns the day with the minimum average..json file. Store it in a safe place.Many people fail to build new habits because they focus on goals rather than systems. In James Clear's Atomic Habits framework, habits are built through a cycle of Cue, Craving, Response, and Reward. The most effective way to start a new routine is 'Habit Stacking', where you link a new habit to an established daily anchor (e.g., 'After I pour my morning coffee, I will write in my journal for 5 minutes').
Another key principle is tracking your progress to build momentum. Waking up and checking off a habit triggers a small release of dopamine, reinforcing the identity shift required to make the habit permanent. Habit OS provides a clean, visual canvas to track daily streaks and manage stacks without exposing your routines to external servers. Your habits are private, and keeping tracking client-side ensures your data remains secure.
Use this dashboard to design habit stacks, log weekly progress, and visualize streaks. The local storage architecture preserves your logs across browser sessions, keeping your personal growth tracking fully private and under your control.
Habit stacking is a method of building new habits by pairing them with existing daily routines (anchor habits). The formula is: 'After [Current Habit], I will [New Habit]'. This leverages neural pathways already established in your brain.
Your daily habits, goals, and routines are highly personal. Traditional cloud-based habit apps store this data on their databases. Habit OS operates entirely client-side, saving your logs locally in your browser's local storage to protect your privacy.
Identity-based habits focus on who you wish to become rather than what you want to achieve. For example, instead of focusing on 'reading a book' (a goal), focus on 'becoming a reader' (an identity). Habit tracking reinforces this identity shift daily.