habit-forming-products/SKILL.md
Use when designing products, features, or onboarding flows that need to build unprompted repeat engagement — daily/weekly return without ads or reminders. Covers the Hook Model (Trigger → Action → Variable Reward → Investment), internal trigger...
npx skillsauth add peterbamuhigire/skills-web-dev habit-forming-productsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
habit-forming-products or would be better handled by a more specific companion skill.SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.Grounded in Eyal, N. & Hoover, R. (2014). Hooked: How to Build Habit-Forming Products.
A habit is a behaviour done with little or no conscious thought. Habit-forming products attach to users' internal triggers and become the automatic response to an emotional state — without advertising, push prompts, or friction.
Load this skill when:
Not every product needs habits. Life insurance, once-a-year tax tools, and high-price B2B purchases do not require habitual users. Habits are essential only for products where ongoing, unprompted engagement drives business value (SaaS retention, social networks, content apps, productivity tools).
Before designing hooks, verify your product belongs in the Habit Zone:
Habit Zone = High Frequency × High Perceived Utility
Business value of habits:
Before designing hooks, confirm a genuine habit-forming opportunity exists. Four sources:
Look in the Mirror — The most reliable starting point (Paul Graham): identify a problem you experience yourself. Founders who solve their own pain point are the users they understand most deeply. Warning: the further you are from your past self, the lower your odds of success — you cannot manufacture empathy.
Nascent Behaviors — Watch small, niche groups doing new things that could scale. Early adopters reveal mass-market needs before mass-market awareness exists. Things that looked like toys have become essential: cameras as "child's toys" (1900s), phones as "toys for the rich" (1870s), personal computers (1970s). Dismissed nascent behaviors are often the most valuable signals.
Enabling Technologies — New infrastructure creates new Hook cycle possibilities. Follow the three-phase wave: infrastructure (networks, hardware) → enabling technologies (APIs, platforms) → high-penetration applications (consumer products). Identify where new infrastructure makes Hook cycles faster, more frequent, or higher-reward.
Interface Changes — Major UI innovations unlock new habit surfaces. GUI replaced terminal. Mobile camera replaced standalone cameras. Infinite scroll replaced paginated feeds. Each shift created entirely new habit opportunities. Anticipate the next interface layer (wearables, ambient computing, spatial computing) and build for those interaction primitives.
Four phases, cycled repeatedly until the habit is formed:
Trigger → Action → Variable Reward → Investment → [loads next Trigger]
A trigger is the cue that initiates behaviour. There are two types:
Information placed in the user's environment telling them what to do next.
| Type | Description | Use | |------|-------------|-----| | Paid | Ads, SEM, promoted content | New user acquisition only — unsustainable for re-engagement | | Earned | Press, viral videos, app store featuring | Short-lived; hard to sustain | | Relationship | Word of mouth, referrals, social shares | Powerful for viral growth; requires engaged users | | Owned | App icon, email newsletter, push notification | The most valuable for repeat engagement; requires user opt-in |
Owned triggers are the goal. They occupy real estate in the user's environment and fire consistently.
Emotional associations stored in memory that cue the behaviour automatically. No external prompt needed.
Key insight: Negative emotions are the most powerful internal triggers.
Designing for internal triggers — the 5 Whys method: Ask "Why?" five times to drill from the feature level to the emotional root.
Why does Julie use email?
→ To send and receive messages.
Why does she want that?
→ To share and receive information quickly.
Why does she want that?
→ To know what's happening with people around her.
Why does she need to know?
→ To know if someone needs her.
Why does she care?
→ She fears being out of the loop. ← Internal trigger: fear
Template: "Every time the user [internal trigger], he/she [intended behaviour]." Example: Every time Jenny feels bored, she opens the Facebook app.
Goal: Move users from external → internal triggers over repeated cycles. A well-hooked user acts without any prompt.
The simplest behaviour in anticipation of a reward. If the trigger fires but action doesn't follow, the trigger is wasted.
Behaviour occurs when Motivation + Ability + Trigger are all present simultaneously.
If any element is missing or insufficient, the action line is not crossed.
Identify the user's scarcest resource at the moment of action and remove that friction.
| Element | Question to ask | |---------|----------------| | Time | Can they do this in under 10 seconds? | | Money | Is there a cost barrier? | | Physical effort | Too many taps, scrolls, or steps? | | Brain cycles | Is the decision too complex to make quickly? | | Social deviance | Does this feel weird or embarrassing to do? | | Non-routineness | Is this too different from their existing habits? |
Critical rule: Increase ability before motivation. Reducing friction is cheaper, faster, and more effective than persuasion. Make action so easy that users already know how to do it.
Four mental shortcuts that increase the probability of crossing the action line without increasing friction:
| Heuristic | Mechanism | Application | |-----------|-----------|-------------| | Scarcity Effect | Perceived scarcity raises perceived value; abundance decreases it | "Only 14 left in stock", limited-time access, early-adopter pricing. Warning: false scarcity damages trust when discovered. | | Framing Effect | Context and presentation change perceived value independently of objective quality | Same product commands different response in premium vs. commodity framing. Research: identical wine tastes better — and registers higher brain activation — when priced higher. | | Anchoring Effect | The first number seen sets a reference point; all subsequent judgements are relative to it | Show full price before discount; sequence pricing tiers from highest to lowest; early numbers anchor the frame. | | Social Proof & Authority | Majority behavior signals safety; authority figures signal correctness | Testimonials, expert endorsements, "X users already joined", bestseller badges. Research base: Bandura's Social Learning Theory — people adopt behaviors they observe in others like themselves or in role models. | | Endowed Progress Effect | People assigned artificial head-start progress toward a goal are significantly more motivated to complete it than those who start from zero — even when the total work required is identical | Pre-fill Step 1 of onboarding so users feel already started; LinkedIn-style profile strength meters begin at "Beginner" not 0%; pre-punched loyalty cards (2 of 10 already stamped) increase completion 82% vs blank cards (Nunes & Drèze, 2006). This exploits the Goal-Gradient Effect: proximity to a goal accelerates effort. |
These heuristics operate at the System 1 level (see ux-psychology). They work because users are making decisions quickly, with incomplete information, under low attention. They do not replace good design — they amplify it.
The reward that resolves the user's craving — but with variability.
Key neuroscience: Dopamine surges in anticipation of reward, not from the reward itself. Variability amplifies this — the brain stays in a seeking state when outcomes are uncertain. Predictable rewards lose power; variable ones sustain it.
| Type | Driver | Examples | |------|--------|---------| | Tribe | Social validation, acceptance, status | Likes, comments, upvotes, follower counts, reputation badges | | Hunt | Information and resource acquisition | Social feeds, newsfeeds, search results, slot machines, bargain shopping | | Self | Mastery, completion, competence | Progress bars, streaks, skill levels, "Day Complete" screens, achievements |
Most powerful products use two or three types simultaneously.
The distinction determines long-term sustainability of engagement:
Finite variability — the reward pool is known or bounded. Users eventually map all outcomes. Dopamine response flattens. Engagement declines. Classic slot machines with disclosed RTP schedules, single-player games with fixed enemy patterns, and achievement systems with finite badge sets all exhibit this decay.
Infinite variability — the outcome space cannot be exhausted. Social feeds (content from millions of humans), open-world games, search results, and user-generated content platforms all maintain unpredictability indefinitely because the source of variability is unbounded (other people, the real world, new content).
Design rule: Where possible, source variability from humans and real-world events rather than from system-generated outcomes. The internet of other people is the most powerful variable reward engine ever built. Build interfaces that tap it.
The user does a small "bit of work" that increases the value of the product for future use. Unlike action (which is for immediate reward), investment is for future benefit.
Four psychological mechanisms make investment sticky:
| Type | Examples | |------|---------| | Content | Playlists, posts, saved items, notes, photos | | Data | Preferences, history, settings, linked accounts | | Followers/connections | Social graph, subscriber lists | | Reputation | Points, badges, rankings, reviews | | Skill | Learned workflows, shortcuts, customised environments |
Each investment increases switching cost and makes the product harder to abandon.
Ask for investment AFTER the variable reward, not before. Users who just received a reward are primed to reciprocate. Investment requested before reward creates friction and resistance.
Every bit of work a user does should produce a cue that brings them back.
Before building a Hook, evaluate where you stand.
Ask two questions:
| | Improves lives: Yes | Improves lives: No | |---|---|---| | Use it yourself: Yes | Facilitator ✅ Best position | Entertainer ⚠️ Ephemeral | | Use it yourself: No | Peddler ⚠️ Lacks empathy | Dealer ❌ Exploitation |
Facilitator: You use the product; you believe it genuinely helps users. This is the only position with both high ethical standing and high probability of success. Facilitators understand their users because they are their users.
Peddler: Altruistic intent but no personal connection to the problem. Peddlers cannot truly understand users they've never been. Success rate is low; designs feel hollow.
Entertainer: You use it; it's fun but not life-improving. Entertainment is valuable but ephemeral — hits-driven, not habit-driven. Requires a constant pipeline of novelty.
Dealer: Neither use it nor believe it helps. Building purely to extract value from users. Lowest long-term success; highest ethical risk.
Obligation: Designers of habit-forming products must identify users forming unhealthy dependencies and have procedures to help them. The ~1% who form pathological attachments cannot be dismissed.
Use this 3-step cycle after your product is live.
Define what a "habitual user" looks like for your product. Be realistic — not all products warrant daily use.
Find users who meet this threshold. If fewer than 5% of users are habitual, the product likely has a fundamental problem — wrong users or wrong design.
Find the Habit Path — the series of actions that habitual users consistently take that non-habitual users don't.
Twitter found: users who followed ≥30 accounts hit a tipping point that dramatically increased long-term retention.
Use cohort analysis to identify which specific early actions predict long-term devotion.
Redesign onboarding and early flows to guide all new users down the Habit Path.
This is a continuous process — run it with every major product iteration.
Use these as diagnostic thresholds:
| Signal | Threshold | Interpretation |
|--------|-----------|----------------|
| Habitual users in cohort | < 5% | Fundamental problem: wrong users or wrong Hook design |
| App abandoned after single use | 26% of installs (2010 baseline) | Normal attrition; watch for outliers above this |
| Time to first check after waking | 79% within 15 minutes | Benchmark for "owned trigger" strength on mobile |
| Twitter retention tipping point | Following ≥ 30 accounts | Example of a concrete Habit Path threshold — find yours |
When you find your product's equivalent of "following 30 accounts", that threshold becomes the target your onboarding must drive users toward.
The Supplemental Workbook (Eyal & Hoover, 2014) provides a structured 8-exercise sequence for applying the Hook Model to a real product. Work through these in order — they build on each other.
Exercise 1 — Foundation
Exercise 2 — Triggers
Exercise 3 — Action
Exercise 4 — Variable Reward
Exercise 5 — Investment
Exercise 6 — Ethics
Exercise 7 — Habit Testing
Exercise 8 — Observation
Before shipping any feature intended to build repeat engagement:
Discovery
Trigger
Action
Variable Reward
Investment
Ethics
| Anti-Pattern | Problem | |---|---| | Extrinsic-only gamification (badges, points) | Collapses when rewards stop; no intrinsic hook | | Asking for investment before reward | Creates resistance; users quit before investing | | Fixed reward schedule | Predictable rewards lose power quickly; variability is the mechanism | | Vitamin positioning | Nice-to-have products rarely cross the Habit Zone | | Ignoring internal triggers | External triggers only work until users stop opening the notification | | Being a peddler | Building for users you don't understand produces products users don't want | | Notification spam | Destroys trust; users disable and eventually uninstall |
ux-psychology — cognitive science foundations: IKEA effect, goal-gradient, loss aversion, dual-process model, Hick-Hyman Lawlean-ux-validation — validate your internal trigger hypothesis with real users before buildingux-for-ai — when the habit-forming product involves AI features (trust, autonomy, transparency)interaction-design-patterns — Tidwell's behavioural patterns for the action and reward phasesdata-ai
Use when adding AI-powered analytics to a SaaS platform — semantic search over business data, natural language queries, trend detection, anomaly alerts, and AI-generated insights for dashboards. Covers embeddings, NL2SQL, and per-tenant analytics...
data-ai
Design AI-powered analytics dashboards — what metrics to show, how to display AI predictions and confidence, drill-down patterns, KPI cards, trend visualisation, AI Insights panels, export design, and role-based dashboard variants. Invoke when...
development
Use when designing, building, reviewing, or upgrading production software systems that must be secure, performant, maintainable, scalable, and user-centered. Apply before writing specs, code, architecture, APIs, databases, mobile apps, SaaS platforms, or ERP systems.
development
Professional web app UI using commercial templates (Tabler/Bootstrap 5) with strong frontend design direction when needed. Use for CRUD interfaces, dashboards, admin panels with SweetAlert2, DataTables, Flatpickr. Clone seeder-page.php, use...