npx skills add https://github.com/wondelai/skills --skill hooked-ux构建习惯养成产品的框架。基于一个基本事实:习惯不是创造出来的——它们是通过在 Hook 循环中连续迭代而建立起来的。
Hook 模型 = 一个四阶段过程,将用户的问题与你的解决方案足够频繁地连接起来,从而形成习惯。
触发 → 行动 → 可变奖励 → 投入
↑ │
└──────────────────────────────────────┘
习惯区: 当产品被足够频繁地使用并具有足够高的感知价值时,便进入“习惯区”。目标是将用户从有意识的使用转变为自动的、习惯性的行为。
目标:10/10。 在审查或创建产品参与机制时,根据其对以下原则的遵循程度,按 0-10 分进行评分。10/10 表示完全符合所有准则;较低的分数表示存在需要解决的差距。始终提供当前分数以及达到 10/10 所需的具体改进措施。
核心理念: 行为的驱动因素。是什么促使用户采取行动?触发有两种形式:外部(环境驱动)和内部(情绪驱动)。最终目标是将用户从外部触发转移到内部触发。
为何有效: 每个习惯都始于一个线索。没有触发,就没有行为。外部触发让用户开始,但内部触发——如无聊、孤独、不确定或害怕错过等情绪——才是驱动无提示、习惯性使用的因素。当你的产品成为对内部触发的自动响应时,你就拥有了一个习惯。
关键见解:
产品应用:
| 上下文 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 应用 |
|---|
| 示例 |
|---|
| 新用户引导 | 使用外部触发建立第一个循环 | 欢迎邮件附带一个明确的待执行操作 |
| 用户留存 | 将产品映射到内部情绪触发 | Instagram 解决无聊;Google 解决困惑 |
| 重新激活 | 外部触发在习惯形成前弥合空白 | 推送通知:“你的朋友刚刚发布了一张照片” |
| 情绪映射 | 识别你的产品解决哪种负面情绪 | 孤独 → Facebook;不确定性 → Twitter/新闻应用 |
| 触发审计 | 评估用户是否仍需要外部提示 | 如果 30 天后仍需要,则内部触发尚未形成 |
文案模式:
道德边界: 切勿利用脆弱的情绪状态(抑郁、成瘾、悲伤)作为触发。触发应将用户连接到真正的价值,而不是制造焦虑来驱动打开率。
详见:references/triggers.md 以获取详细的触发设计、情绪映射以及从外部到内部的过渡策略。
核心理念: 为预期奖励而执行的最简单行为。遵循 Fogg 行为模型:B = MAT(行为 = 动机 + 能力 + 触发)。三者必须在同一时刻汇聚,行动才会发生。
为何有效: 增加动机是困难且不可靠的。减少摩擦(提高能力)则更容易且通常更有效。关键见解是,让行动变得更简单几乎总是比试图增加动机更好的策略。每一个额外的步骤、字段或决策都是用户流失的点。
关键见解:
产品应用:
| 上下文 | 应用 | 示例 |
|---|---|---|
| 注册流程 | 最小化字段和步骤以减少摩擦 | 一键式 Google/Apple 登录,而非表单 |
| 核心行动 | 使关键行为能在几秒钟内完成 | Twitter:输入 280 个字符并发布(对比写博客) |
| 简洁性审计 | 评估六个能力因素中的每一个 | 用户能在 60 秒内完成核心行动吗? |
| 渐进式披露 | 仅在获得初始奖励后要求更多 | Duolingo:先玩,稍后创建账户 |
| 摩擦消除 | 识别并消除不必要的步骤 | 自动完成、默认值、跳过选项、智能预填 |
文案模式:
道德边界: 减少摩擦应使真正有价值的行动更容易——而不是诱使用户做出他们会后悔的行动。将成本或后果隐藏在简单行动背后的黑暗模式是不道德的。
详见:references/triggers.md 了解触发如何连接到行动阶段,以及 references/product-applications.md 了解跨产品类型的行动设计。
核心理念: 让用户不断回访的阶段。是奖励的预期——而非奖励本身——创造了多巴胺。关键在于,奖励必须是可变的(不可预测的)才能维持参与度。可预测的奖励会随着时间的推移失去效力。
为何有效: 大脑的多巴胺系统对不确定奖励的预期反应最强烈,而不是对奖励本身。这就是老虎机效应:可变强化计划远比固定计划更具吸引力。三种类型的可变奖励——部落(社交)、狩猎(资源)和自我(掌控感)——利用了人类的基本驱动力。
关键见解:
产品应用:
| 上下文 | 应用 | 示例 |
|---|---|---|
| 社交功能(部落) | 来自他人的可变社交认同 | Instagram 点赞、Reddit 点赞——你永远不知道有多少 |
| 内容流(狩猎) | 不可预测的资源/信息流 | 无限滚动配合算法变化的内容 |
| 游戏化(自我) | 具有可变难度的个人成就 | Duolingo 连续打卡 + 惊喜奖励挑战 |
| 通知 | 每个通知中的可变内容 | “3 个人喜欢了你的帖子” vs. “Sarah 评论了一些令人惊讶的内容” |
| 搜索/发现 | 寻找下一个重大发现的狩猎过程 | Pinterest:滚动寻找完美的图钉;eBay:寻找优惠 |
文案模式:
道德边界: 可变奖励应提供真正的价值,而非利用强迫性行为。如果用户在参与后持续感觉更糟(后悔、时间损失、焦虑),那么奖励系统就是榨取性的,而非有价值的。避免为脆弱用户提供没有自然停止点的无限滚动。
详见:references/rewards.md 以获取奖励设计模式、强化计划和奖励时机。
核心理念: 增加再次通过 Hook 循环可能性的阶段。用户投入某些东西——时间、数据、精力、社交资本或金钱——这些投入会改善下一次使用的产品体验,并提高转换成本。投入为下一次触发加载条件。
为何有效: 人们重视自己付出努力的东西(宜家效应)。投入创造了存储价值,使产品随着使用而变得更好,且更难以离开。关键在于,投入不是关于即时奖励——而是关于改善下一个循环。每次投入都为下一次触发加载条件,创造一个自我强化的循环。
关键见解:
产品应用:
| 上下文 | 应用 | 示例 |
|---|---|---|
| 数据投入 | 偏好、历史记录、上传内容改善个性化 | Spotify:你听得越多,推荐就越好 |
| 内容投入 | 用户创建的不想丢失的内容 | Instagram 帖子、Notion 文档、Slack 消息历史 |
| 声誉投入 | 评论、评分、关注者创造社交资本 | Airbnb 房东评分、Stack Overflow 声誉积分 |
| 技能投入 | 学习界面产生转换成本 | Photoshop 专业知识、Vim 肌肉记忆 |
| 社交投入 | 仅存在于平台上的联系和群组 | LinkedIn 网络、Discord 社区、Slack 工作空间 |
文案模式:
道德边界: 投入应真正改善用户体验。不要使数据导出变得不可能,或用人为的转换成本困住用户。道德的产品允许用户带着他们的数据离开,同时通过真正的价值使留下成为更好的选择。
详见:references/product-applications.md 以获取跨 B2B SaaS、电子商务、健康应用和生产力工具的投入模式。
两个轴决定一个产品是否能成为习惯:
| 低频率 | 高频率
---|---|---
高感知价值 | 可行产品(需要广告/营销) | 习惯区
低感知价值 | 失败 | 失败
问题:
5% 规则:当至少 5% 的用户表现出无提示、习惯性的使用时,产品就形成了习惯。
习惯测试的三个问题:
谁是习惯性用户?
他们在做什么?
他们为什么这样做?
详见:references/habit-testing.md 以获取测试方法。
评估习惯养成产品道德性的框架。
| 制造者使用产品 | 制造者不使用
---|---|---
实质性改善用户生活 | 促进者 | 兜售者
未改善生活 | 娱乐者 | 交易者
需要问的问题:
在以下情况下,Hook 模型不适用:
详见:references/ethical-boundaries.md 以获取全面的道德指导。
注意围绕以下方面的新兴法规:
为新用户引导进行优化以形成习惯:
审计任何产品功能:
| 问题 | 如果否 | 行动 |
|---|---|---|
| 内部触发是什么? | 用户需要提醒才能使用它 | 研究用户情绪 |
| 行动是否极其简单? | 用户开始但未完成 | 消除摩擦 |
| 奖励是否可变? | 用户感到无聊 | 增加不可预测性 |
| 投入是否为下一次触发加载条件? | 用户不返回 | 将投入与触发连接起来 |
| 错误 | 失败原因 | 修复方法 |
|---|---|---|
| 无限期依赖外部触发 | 用户从未形成内部触发;你是在租用注意力,而非建立习惯 | 将产品映射到特定情绪;在 30 天内从外部触发过渡到内部触发 |
| 使核心行动过于复杂 | 用户在到达奖励阶段前就流失了 | 简化到最小可行行动;应用 Fogg 的六个能力因素 |
| 使用可预测的奖励 | 新鲜感过后参与度下降;多巴胺反应消退 | 在部落、狩猎和自我奖励类型中引入可变性 |
| 在奖励前要求投入 | 用户尚未获得价值,因此抗拒投入努力 | 始终遵循顺序:触发、行动、奖励、然后投入 |
| 忽视 Hook 的道德性 | 用户后悔、反弹、监管风险、品牌损害 | 使用操纵矩阵;目标是成为促进者,而非交易者 |
此技能基于 Nir Eyal 开发的 Hook 模型。如需完整的方法论、研究和案例研究:
Nir Eyal 是一位作家、讲师和投资者,曾在斯坦福大学商学院和斯坦福大学哈索·普拉特纳设计学院任教。他曾在游戏和广告行业工作,在那里获得了关于习惯养成产品心理学的第一手经验。《Hooked》将多年的研究和咨询提炼成一个实用的框架,被全球初创公司和财富 500 强公司的产品团队使用。他的后续著作《Indistractable》则探讨了等式的另一面——帮助个人管理那些使产品具有习惯性的相同行为触发因素。Eyal 在 NirAndFar.com 上广泛撰写关于心理学、技术和商业交叉领域的文章。
每周安装数
339
代码库
GitHub 星标数
255
首次出现
2026年1月30日
安全审计
安装于
opencode301
gemini-cli298
codex297
github-copilot289
cursor287
kimi-cli278
Framework for building habit-forming products. Based on a fundamental truth: habits are not created—they are built through successive cycles through the Hook.
The Hook Model = a four-phase process that connects the user's problem to your solution frequently enough to form a habit.
Trigger → Action → Variable Reward → Investment
↑ │
└──────────────────────────────────────┘
Habit Zone: Products enter the "habit zone" when used frequently enough and with enough perceived value. The goal is to move users from deliberate usage to automatic, habitual behavior.
Goal: 10/10. When reviewing or creating product engagement mechanics, rate them 0-10 based on adherence to the principles below. A 10/10 means full alignment with all guidelines; lower scores indicate gaps to address. Always provide the current score and specific improvements needed to reach 10/10.
Core concept: The actuator of behavior. What prompts the user to take action? Triggers come in two forms: external (environment-driven) and internal (emotion-driven). The ultimate goal is to move users from external triggers to internal triggers.
Why it works: Every habit starts with a cue. Without a trigger, there is no behavior. External triggers get users started, but internal triggers — emotions like boredom, loneliness, uncertainty, or fear of missing out — are what drive unprompted, habitual usage. When your product becomes the automatic response to an internal trigger, you have a habit.
Key insights:
Product applications:
| Context | Application | Example |
|---|---|---|
| Onboarding | Use external triggers to establish first loop | Welcome email with one clear action to take |
| Retention | Map product to internal emotional trigger | Instagram resolves boredom; Google resolves confusion |
| Re-engagement | External triggers bridge gaps until habit forms | Push notification: "Your friend just posted a photo" |
| Emotion mapping | Identify which negative emotion your product addresses | Loneliness → Facebook; Uncertainty → Twitter/News apps |
| Trigger audit | Evaluate if users still need external prompts | If yes after 30 days, internal trigger hasn't formed |
Copy patterns:
Ethical boundary: Never exploit vulnerable emotional states (depression, addiction, grief) as triggers. Triggers should connect users to genuine value, not manufacture anxiety to drive opens.
See: references/triggers.md for detailed trigger design, emotion mapping, and external-to-internal transition strategies.
Core concept: The simplest behavior done in anticipation of a reward. Guided by the Fogg Behavior Model: B = MAT (Behavior = Motivation + Ability + Trigger). All three must converge at the same moment for action to occur.
Why it works: Increasing motivation is hard and unreliable. Reducing friction (increasing ability) is easier and often more effective. The key insight is that making the action simpler is almost always a better strategy than trying to increase motivation. Every extra step, field, or decision is a point where users drop off.
Key insights:
Product applications:
| Context | Application | Example |
|---|---|---|
| Signup flow | Minimize fields and steps to reduce friction | One-click Google/Apple sign-in instead of form |
| Core action | Make the key behavior completable in seconds | Twitter: type 280 characters and post (vs. write a blog) |
| Simplicity audit | Evaluate each of the six ability factors | Can user complete core action in under 60 seconds? |
| Progressive disclosure | Ask for more only after initial reward | Duolingo: play first, create account later |
| Friction removal | Identify and eliminate unnecessary steps | Autocomplete, defaults, skip options, smart prefills |
Copy patterns:
Ethical boundary: Reducing friction should make genuinely valuable actions easier — not trick users into actions they'd regret. Dark patterns that hide costs or consequences behind simple actions are unethical.
See: references/triggers.md for how triggers connect to the action phase, and references/product-applications.md for action design across product types.
Core concept: The phase that keeps users coming back. The anticipation of reward — not the reward itself — creates dopamine. Critically, rewards must be variable (unpredictable) to maintain engagement. Predictable rewards lose their power over time.
Why it works: The brain's dopamine system responds most strongly to the anticipation of uncertain rewards, not to the rewards themselves. This is the slot machine effect: variable reinforcement schedules are far more engaging than fixed ones. Three types of variable rewards — tribe (social), hunt (resources), and self (mastery) — tap into fundamental human drives.
Key insights:
Product applications:
| Context | Application | Example |
|---|---|---|
| Social features (Tribe) | Variable social validation from others | Instagram likes, Reddit upvotes — you never know how many |
| Content feeds (Hunt) | Unpredictable stream of resources/information | Infinite scroll with algorithmically varied content |
| Gamification (Self) | Personal accomplishment with variable difficulty | Duolingo streaks + surprise bonus challenges |
| Notifications | Variable content in each notification | "3 people liked your post" vs. "Sarah commented something surprising" |
| Search/Discovery | The hunt for the next great find | Pinterest: scroll to find the perfect pin; eBay: hunt for deals |
Copy patterns:
Ethical boundary: Variable rewards should deliver genuine value, not exploit compulsive behavior. If users consistently feel worse after engaging (regret, time loss, anxiety), the reward system is extractive, not valuable. Avoid infinite scroll without natural stopping points for vulnerable users.
See: references/rewards.md for reward design patterns, reinforcement schedules, and reward timing.
Core concept: The phase that increases the likelihood of another pass through the Hook. Users invest something — time, data, effort, social capital, or money — that improves the product for next use and raises switching costs. Investment loads the next trigger.
Why it works: People value what they put effort into (the IKEA effect). Investment creates stored value that makes the product better with use and harder to leave. Critically, investment is not about immediate reward — it's about improving the next cycle. Each investment loads the next trigger, creating a self-reinforcing loop.
Key insights:
Product applications:
| Context | Application | Example |
|---|---|---|
| Data investment | Preferences, history, uploads improve personalization | Spotify: the more you listen, the better recommendations get |
| Content investment | User-created content they don't want to lose | Instagram posts, Notion documents, Slack message history |
| Reputation investment | Reviews, ratings, followers create social capital | Airbnb host ratings, Stack Overflow reputation points |
| Skill investment | Learning the interface creates switching cost | Photoshop expertise, Vim muscle memory |
| Social investment | Connections and groups that exist only on platform | LinkedIn network, Discord communities, Slack workspaces |
Copy patterns:
Ethical boundary: Investment should genuinely improve the user's experience. Don't make data export impossible or trap users with artificial switching costs. Ethical products let users leave with their data while making staying the better choice through real value.
See: references/product-applications.md for investment patterns across B2B SaaS, e-commerce, health apps, and productivity tools.
Two axes determine if a product can become a habit:
| Low Frequency | High Frequency
---|---|---
High Perceived Value | Viable product (needs ads/marketing) | HABIT ZONE
Low Perceived Value | Failure | Failure
Questions:
The 5% rule: A product has formed a habit when at least 5% of users show unprompted, habitual usage.
Three questions for habit testing:
Who are the habitual users?
What are they doing?
Why are they doing it?
See: references/habit-testing.md for testing methodology.
Framework for evaluating the ethics of habit-forming products.
| Maker Uses Product | Maker Doesn't Use
---|---|---
Materially Improves User's Life | Facilitator | Peddler
Doesn't Improve Life | Entertainer | Dealer
Questions to ask:
The Hook Model is inappropriate when:
See: references/ethical-boundaries.md for comprehensive ethics guidance.
Be aware of emerging regulations around:
Optimizing onboarding for habit formation:
Audit any product feature:
| Question | If No | Action |
|---|---|---|
| What's the internal trigger? | Users need reminders to use it | Research user emotions |
| Is the action dead simple? | Users start but don't complete | Remove friction |
| Is the reward variable? | Users get bored | Add unpredictability |
| Does investment load next trigger? | Users don't return | Connect investment to triggers |
| Mistake | Why It Fails | Fix |
|---|---|---|
| Relying on external triggers indefinitely | Users never form internal triggers; you're renting attention, not building habits | Map product to a specific emotion; transition from external to internal triggers within 30 days |
| Making the core action too complex | Users drop off before reaching the reward phase | Simplify to the minimum viable action; apply Fogg's six ability factors |
| Using predictable rewards | Engagement drops after novelty wears off; dopamine response fades | Introduce variability across tribe, hunt, and self reward types |
| Asking for investment before reward | Users haven't received value yet and resist investing effort | Always sequence: trigger, action, reward, THEN investment |
| Ignoring the ethics of your hook | User regret, backlash, regulatory risk, brand damage | Use the Manipulation Matrix; aim to be a Facilitator, not a Dealer |
This skill is based on the Hook Model developed by Nir Eyal. For the complete methodology, research, and case studies:
Nir Eyal is an author, lecturer, and investor who has taught at Stanford Graduate School of Business and the Hasso Plattner Institute of Design at Stanford. He previously worked in the gaming and advertising industries, where he gained firsthand experience with the psychology of habit-forming products. Hooked distills years of research and consulting into a practical framework used by product teams at startups and Fortune 500 companies worldwide. His follow-up book, Indistractable , addresses the other side of the equation — helping individuals manage the same behavioral triggers that make products habit-forming. Eyal writes extensively about the intersection of psychology, technology, and business at NirAndFar.com.
Weekly Installs
339
Repository
GitHub Stars
255
First Seen
Jan 30, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode301
gemini-cli298
codex297
github-copilot289
cursor287
kimi-cli278
注册流程转化率优化指南:减少摩擦、提高完成率的专家技巧
25,000 周安装
SEO基础指南:E-E-A-T框架、核心网页指标与AI内容优化策略
330 周安装
iOS性能监控与崩溃诊断:MetricKit框架完整使用指南
330 周安装
App Store推荐策略指南:如何提高应用被苹果编辑推荐的机会 | ASO优化技巧
330 周安装
产品经理工具包:RICE优先级排序、客户访谈分析与PRD模板,提升产品管理效率
330 周安装
iOS CoreNFC 教程:Swift 6.2 读取写入 NFC 标签,支持后台读取与 NDEF 消息
330 周安装
AWS SDK Java 2.x Amazon Bedrock 开发指南:集成Claude、Llama、Titan AI模型
330 周安装