
Claude Code 代理技能:基于 Nir Eyal 的挂钩框架用于构建习惯性产品
概览
“最好的产品不会赢。能掌控大脑垄断的产品才会赢。” 这为你的AI代理提供了基于Nir Eyal框架的深入产品管理知识。 - 针对钩子模型(触发→行动→可变奖励→投资)——死胡同、缺失触发、可预测的奖励、无形沉没成本————入职流程、游戏化、通知、重新参与——使用BJ Fogg行为模型(能力六因素)——包含五个基本问题 或者手动复制 SKILL.md 到你的 .claude/skills/ 目录。
概述(AI 翻译)
克劳德代码与人工智能代理
将你的AI编码代理转变为一个以产品为导向的工程师。
🎯 触发
是什么让用户回来了?
⚡ 行动
最简单的行为是什么?
🎰 可变奖励
它既充实又难以预测吗?
💎 投资
是什么储存价值让它们留着?
“最好的产品不会赢。能垄断大脑的产品才是赢家。”
这会带来什么
这是一个Claude代码代理技能,基于Nir Eyal的Hooked框架,为您的AI代理提供深入的产品管理知识。
激活后,你的AI代理将:
- 审计功能针对钩子模型(触发→行动→可变奖励→投资)
- 识别留任缺口——死胡同、缺失触发点、可预测的奖励、看不见的沉没成本
- 设计参与循环 — 入职流程、游戏化、通知、重新参与
- **使用BJ·福格行为模型(6个能力因素)减少摩擦
- 用五个基本问题评估每一个功能
安装
或者手动复制SKILL.md到你的.claude/skills/目录。
钩子模特
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
What This Does
This is a Claude Code Agent Skill that gives your AI agent deep product management knowledge based on the Hooked framework by Nir Eyal.
When activated, your AI agent will:
- Audit features against the Hook Model (Trigger → Action → Variable Reward → Investment)
- Identify retention gaps — dead ends, missing triggers, predictable rewards, invisible sunk costs
- Design engagement loops — onboarding flows, gamification, notifications, re-engagement
- Reduce friction using BJ Fogg’s Behavior Model (6 factors of ability)
- Evaluate every feature with the 5 Fundamental Questions
Install
claude install-skill https://github.com/IncomeStreamSurfer/product-management-skill
Or manually copy SKILL.md into your .claude/skills/ directory.
The Hook Model
Every habit-forming product runs this cycle:
Trigger → Action → Variable Reward → Investment
↑ |
└──────────────────────────────────────┘
| Step | Question | Example |
|---|---|---|
| Trigger | What emotion or cue brings them back? | Uncertainty → Google, Boredom → YouTube |
| Action | What’s the easiest thing they can do? | Scroll a feed, type a search, tap play |
| Variable Reward | Does it satisfy AND leave them wanting more? | Feed content varies, search results surprise |
| Investment | What makes the product better with use? | Data, content, followers, reputation |
Three Types of Variable Rewards
| Type | Source | Examples |
|---|
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add incomestreamsurfer/product-management-skill