Pack Availability Guard
When recommending a skill from another pack, verify the target pack is installed via .agents/project.json enabled_packs. If it is not enabled, recommend npx skillpacks install <pack> from the project shell. After install, tell Codex users to start a fresh Codex CLI session if the $ skill list remains stale. Only the currently running skill and skills verified available in the active session or project-local install state are directly recommendable. For unavailable pack skills, recommend npx skillpacks install <pack-or-skill>; for unavailable base skills, recommend npx skillpacks init before the skill.
Hook Model — Engagement Loop Design
Invoke as $hook-model.
Report-First Approval Gate
Default to scope-first approval: before synthesized research, inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions in a review alignment page plus a concise conversation summary.
Do not perform synthesized research, rank candidates, make recommendations, or write working packets or canonical deliverables until final compiled YAML approves the research scope. Minimal pre-approval discovery may identify available files, source categories, and open questions; label it as scope evidence, not findings.
After approved research-scope YAML, perform the research and write only the non-canonical working packet defined in the staged workflow. Then update the review alignment page with findings and stop again for feedback-only YAML or final compiled YAML artifact approval before creating or updating canonical research, spec, or task files.
Do not include Recommended next skill, Recommended next command, or downstream routing language. The approval request itself is the next action. Only emit next-skill routing after the approved artifact has been written or updated.
Staged Research Workflow
Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.
- Stage 1 - Scope discovery and approval. Inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions. Build the
review HTML alignment page before synthesized research. The page must render the proposed scope, available source categories, known context, assumptions/confidence, proposed working-packet and canonical output paths, and research-scope approval gates. Stop for final compiled YAML approval of the research scope. Do not perform synthesized research, rank candidates, make recommendations, or write working packets, canonical research, spec, or task files in Stage 1.
- Stage 2 - Research and artifact review. Only after approved research-scope YAML with no unresolved
needs-clarification, unresolved down feedback, or other unresolved negative feedback, perform the synthesized research, run required source/code checks, and write only a non-canonical working packet: flat mode uses research/_working/preliminary-<skill>-research.md; product-path mode uses research/{slug}/_working/preliminary-<skill>-research.md. Replace <skill> with this skill's name value. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet. Update the review HTML alignment page so it renders the complete working-packet substance as structured HTML review UI: purpose-built sections, tables, matrices, gates, cards, and tier-appropriate charts or diagrams that preserve every packet section, finding, caveat, and decision detail without summary loss. Raw Markdown packet text may appear only as a supplemental source view after the rendered review UI; do not make a Full Preliminary Packet or Full Working Packet raw Markdown dump, giant <pre><code> block, link-only view, or source-only view the primary review surface. Include the evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and artifact approval gates. Stop for either feedback-only YAML or final compiled YAML. Feedback-only YAML revises the working packet and page, then remains in Stage 2.
- Stage 3 - Finalize approved artifacts. Consume final compiled YAML for artifact approval only when it has no unresolved
needs-clarification, unresolved down feedback, or other unresolved negative feedback. Apply approved edits first, archive the working packet to docs/history/archive/YYYY-MM-DD/HHMMSS/<original-working-path>, remove the active working packet, write the approved canonical artifacts to the unchanged output paths below, and convert the alignment page to confirmed with the approval record preserved.
Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.
Evidence And Feedback Handling
Treat user feedback as input to evaluate, not as automatic ground truth.
- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. If the user appears to misunderstand the evidence or states something factually incorrect, push back clearly and cite the evidence. Do not rewrite findings merely to agree.
- For taste, brand, positioning preference, risk appetite, prioritization, or other subjective judgment calls: weigh user feedback heavily and adapt the recommendation unless it conflicts with verified evidence.
- When feedback mixes facts and preference, separate them explicitly: correct the factual part, then incorporate the preference where it is a legitimate judgment call.
- When uncertain, say what is known, what is inferred, and what would change the conclusion.
Prerequisites
- Hard:
research/journey-map.md (or research/{slug}/journey-map.md) must exist. If not, tell the user to run $journey-map first and stop.
- Soft: Read these if they exist:
research/icp.md — emotional pains, motivations, user psychology
research/competitive-analysis.md — competitor engagement mechanics, retention strategies
Process
0a. Product Path Manifest
Read research/.progress.yaml when present. Normalize active_path (singular legacy) to active_paths (plural list) when reading; treat legacy abandoned as archived and exclude archived/deferred/revisit/promoted paths plus research/_archive/ scopes from active target selection. Scope the hook model to the active product path by default.
0. Product-Path Scope Resolution
Resolve research scope by product path before using code or app structure as a hint:
- If
$ARGUMENTS names a non-archived research/{slug}/ directory or a product-path ID whose scope_path points there, use that path. Treat {slug} as the product/app name, not the ICP, audience, or segment label.
- If
$ARGUMENTS names only research/_archive/{slug}/ or a manifest entry with status: archived or legacy status: abandoned, stop and warn that the path is archived; do not write or update scoped outputs there.
- Read
research/.progress.yaml when present. Normalize legacy active_path to active_paths on read and write back active_paths on manifest updates. Treat legacy abandoned as archived; exclude archived, abandoned, deferred, revisit_candidate, promoted, and any scope_path under research/_archive/ from active target selection.
- If active product paths exist in the manifest, use those paths. If multiple active paths exist, ask which one to target unless this skill explicitly supports cross-path output.
- If no active manifest target exists, list non-archived product directories under
research/, excluding research/_archive/ and dot directories. Auto-select only when exactly one exists; ask when multiple exist.
- If no product directories exist, use flat
research/ single-product mode.
- Detect monorepo/app/package structure only as a secondary hint. Suggest creating a missing
research/{slug}/ product path when code clearly exposes an app, but do not require code or monorepo detection before using research/{slug}/.
When product path {slug} is active, read and write research under research/{slug}/, specs under specs/{slug}/, and treat top-level research/*.md files as flat-mode documents or cross-path summaries.
1. Load Context
- Read
research/journey-map.md — retention stages, habit opportunities, critical moments, aha moments, drop-off points
- Read
research/icp.md if it exists — emotional pains, motivations, trigger events, daily routines
- Read
research/competitive-analysis.md if it exists — competitor engagement mechanics, retention strategies, habit loops
- Read CLAUDE.md, README, and key source files for product context
2. Applicability Check
Detect product type from context. Evaluate whether habit-loop design is appropriate:
- Usage frequency: Is the product used daily/weekly, or monthly/quarterly?
- User type: Consumer, prosumer, SMB, or enterprise?
- Sales cycle: Self-serve or long sales cycle with procurement?
- Consumer-facing component: Does the product have end-user engagement, or is it infrastructure/back-office?
IF the product is B2B/enterprise with long sales cycles, infrequent usage, or no consumer-facing component:
If the session is already in Plan mode and there are 2-3 concrete choices, prefer request_user_input; otherwise ask in plain text:
- "This appears to be a B2B/enterprise product where habit loops may not apply. Usage is [infrequent/transactional/procurement-driven]. Would you like to skip to
$metrics instead, or continue with hook model design for specific engagement patterns?"
If user chooses skip, recommend $metrics and stop.
3. Research Hook Patterns
Use WebSearch with 4-6 targeted queries:
- Hook model domain examples — "hook model [domain] examples"
- Nir Eyal category applications — "Nir Eyal hooked [category]"
- Habit-forming product design — "habit forming [product type] design"
- Variable reward types — "variable reward types [category]"
- Engagement loop patterns — "engagement loops [domain]"
- Competitor engagement mechanics — "[competitor] engagement mechanics"
4. Design Hook Loops
For each distinct user behavior that should become habitual, design the full hook:
External Triggers (from journey discovery/acquisition stages):
- Notifications, emails, social prompts, content, integrations
- Map to specific journey touchpoints where the trigger fires
Internal Triggers (from ICP emotional pains):
- Boredom, anxiety, FOMO, uncertainty, loneliness, incompleteness
- The emotional state that precedes the habitual action
- Must connect to real ICP pain data, not assumptions
Action (the simplest behavior in anticipation of reward):
- Must be easier than the thought — lower friction than NOT doing it
- Follows Fogg Behavior Model: Motivation + Ability + Trigger = Behavior
- Identify friction points and how to minimize them
Variable Reward (classify each):
- Tribe — social validation, acceptance, belonging, status among peers
- Hunt — material resources, information, deals, search for relevant content
- Self — mastery, completion, competence, consistency, self-improvement
Investment (user puts something in that loads the next trigger):
- Data, content, followers, reputation, skill, preferences, history
- Each investment should make the next cycle more valuable AND more likely
If the session is already in Plan mode and there are 2-3 concrete choices, prefer request_user_input; otherwise ask in plain text:
- "Here are the hook loops I've designed. Which triggers feel forced, which actions are too complex, and which rewards don't match your users' real motivations?"
5. Map Multiple Hooks
If the product has distinct engagement loops (e.g., creation loop vs. consumption loop, social loop vs. productivity loop):
- Design each loop separately with the full 4-component structure
- Identify reinforcement points — where one loop feeds into another
- Map the hook interaction pattern — which loops are primary vs. supporting
- Identify the "gateway hook" — the first loop new users enter
If the session is already in Plan mode and there are 2-3 concrete choices, prefer request_user_input; otherwise ask in plain text:
- "Do these loops capture the core behaviors you want to be habitual? Any missing loops or interactions between them?"
6. Populate Next Steps
Include a Recommended item (the single highest-impact next step given current project state) with a one-line reason, followed by Other options (2-4 alternatives). Use this format in the output:
Next Steps
Recommended: $metrics — define engagement and retention metrics grounded in these hook loops
Other options:
$roadmap — Sequence the highest-priority engagement mechanism into the roadmap
- IF no
research/monetization.md: $monetization — Hook loops inform monetization timing — when to convert habitual users
7. Write Output
Only after the user confirms, write the output files.
Create the research/ directory if it doesn't exist.
8. Downstream Impact Check
After writing, check for downstream research documents that may be affected.
Downstream documents to check (use {slug}/ prefix when product-path scope is active):
research/metrics.md
research/monetization.md
For each existing downstream document:
- Read it — focus on engagement metrics, retention definitions, conversion triggers
- Identify conflicts where metrics or monetization assumptions don't align with the designed hook loops
- Note each conflict: file, section, stale claim, what it should now say
Classify the impact:
- None: No downstream docs exist, or no conflicts. Skip display.
- Minor (1-2 small conflicts): Display inline.
- Major (3+ conflicts OR primary hook loop changed, reward type shifted, trigger mechanism redesigned): Display and recommend
$reconcile-research.
Output
research/hook-model.md (or research/{slug}/hook-model.md)
# Hook Model — Engagement Loop Design
> Based on: research/journey-map.md[, research/icp.md, research/competitive-analysis.md]
> Date: [current date]
> Methodology: Hook Model (Nir Eyal, "Hooked")
> Applicability: [Consumer / PLG / B2B with consumer component / Limited — see assessment]
## Summary
[2-3 sentences: the engagement thesis — what behaviors should become habitual, why they matter for retention, and how the hooks reinforce each other]
## Applicability Assessment
**Product type**: [Consumer / PLG / B2B / Marketplace / etc.]
**Expected usage frequency**: [Daily / Weekly / Event-driven / etc.]
**Habit potential rating**: [High / Medium / Low]
**Rationale**: [Why this product is or isn't a strong candidate for habit-loop design]
## Hook Loop 1: [Behavior Name]
> Target behavior: [the specific action that should become habitual]
> Frequency target: [how often this should occur]
### Trigger
**External Triggers** (acquisition/re-engagement):
| Trigger Type | Channel | Journey Stage | Evidence |
|-------------|---------|---------------|----------|
| [type] | [email/push/social/etc.] | [discovery/onboarding/retention] | [source] |
**Internal Trigger** (emotional state):
- **Emotion**: [the feeling that precedes the action]
- **Context**: [when/where this emotion arises]
- **Evidence**: [from ICP data — not assumed]
### Action
**The behavior**: [simplest action in anticipation of reward]
**Motivation**: [why the user is motivated in this moment]
**Ability**: [why this is easy enough — fewer steps than the thought]
**Current friction**: [what makes this harder than it should be]
**Friction reduction**: [how to make the action effortless]
### Variable Reward
**Type**: [Tribe / Hunt / Self]
**The reward**: [what the user gets]
**Why it's variable**: [what changes each time — unpredictability]
**Evidence**: [why this reward matches real user motivations]
### Investment
**What the user stores**: [data / content / followers / reputation / skill / preferences]
**How it loads the next trigger**: [why this investment makes the next cycle more likely]
**Compounding effect**: [how the investment makes the product more valuable over time]
## Hook Loop 2: [Behavior Name]
[Same structure as Hook Loop 1]
## Hook Interaction Map
[How the loops reinforce each other — which loop feeds into which, what the gateway hook is for new users]
| Loop | Feeds Into | Mechanism |
|------|-----------|-----------|
| [loop name] | [loop name] | [how one loop's investment/reward triggers the other] |
**Gateway hook**: [the first loop new users enter]
**Reinforcement pattern**: [how loops compound — e.g., creation feeds consumption which feeds social which feeds creation]
## Engagement Risk Assessment
### Ethical Considerations
- [Risk 1: potential for manipulation or dark pattern]
- [Risk 2: potential for addictive behavior without genuine value]
### Dark Pattern Avoidance
- [Guideline 1: how to keep engagement genuine]
- [Guideline 2: how to ensure user control and transparency]
### Value Alignment
- [How each hook loop delivers genuine user value, not just engagement metrics]
## Strategic Implications
### For Product
[What to build to strengthen the hooks — feature priorities, friction reduction, reward design]
### For Metrics
[What to measure — trigger response rates, action completion, reward satisfaction, investment depth]
### For Growth
[How hooks create organic growth — virality through social triggers, investment-driven retention]
<!-- Only include when downstream impact is Minor or Major -->
## Downstream Impact
> Checked: [list of downstream docs checked]
> Impact: Minor | Major
### Conflicts Found
1. **research/[file].md** — [Section Name]
- **Stale**: "[exact quote]"
- **Now**: [what hook model says instead]
[For Major only:]
> **Recommended action**: Run `$reconcile-research` to audit and fix all affected downstream documents.
## Next Steps
**Recommended:** `$metrics` — define engagement and retention metrics grounded in these hook loops
Other options:
- [conditional items from step 6]
research/hook-model-search-log.md (or research/{slug}/hook-model-search-log.md)
Raw research log — queries, findings, evidence for each hook design decision.
Create the research/ directory if it doesn't exist.
Task Classification
When this skill produces follow-up work, file it by execution semantics:
- Immediately actionable implementation or documentation work goes in
tasks/todo.md.
- Human-only external actions tied to automated steps go in
tasks/manual-todo.md with _(blocks: Step N.X)_ or _(after: Step N.X)_; repo edits, SDK wiring, generated assets, local commands, tests, audits, and authenticated CLI/API work stays in tasks/todo.md.
- One-time condition-gated records, baselines, or future measurements go in
tasks/record-todo.md with source, condition, non-blocking reason, evidence, and promotion rule.
- Cadence-based reviews, playtests, adoption checks, investor updates, retros, or docs-health checks go in
tasks/recurring-todo.md with cadence, owner/agent, next due, evidence path, and escalation conditions.
- Do not put non-blocking records or recurring obligations in
tasks/todo.md unless they have been explicitly promoted into current execution work.
Constraints
- Requires journey map. Hooks without journey context are disconnected from reality.
- Evidence-grounded. Triggers and rewards must connect to ICP data and journey insights — not wishful thinking.
- Ethical awareness. Flag potential dark patterns. Design for genuine value, not manipulation.
- Do not force habit-loop thinking on products where usage is naturally infrequent or transactional. The applicability check exists for a reason — respect it.
- Present before writing. Never write output files until the hook loops have been presented and validated.
- Do not overwrite existing
research/hook-model.md without asking the user first.
Alignment Page
Follow the shared alignment-page convention via the packaged convention resolver; output path is alignment/hook-model-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---2name: hook-model3description: Nir Eyal engagement loop design — trigger, action, variable reward, investment4---56## Pack Availability Guard78When recommending a skill from another pack, verify the target pack is installed via `.agents/project.json` `enabled_packs`. If it is not enabled, recommend `npx skillpacks install <pack>` from the project shell. After install, tell Codex users to start a fresh Codex CLI session if the `$` skill list remains stale. Only the currently running skill and skills verified available in the active session or project-local install state are directly recommendable. For unavailable pack skills, recommend `npx skillpacks install <pack-or-skill>`; for unavailable base skills, recommend `npx skillpacks init` before the skill.910# Hook Model — Engagement Loop Design1112Invoke as `$hook-model`.1314## Report-First Approval Gate1516Default to scope-first approval: before synthesized research, inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions in a `review` alignment page plus a concise conversation summary.1718Do not perform synthesized research, rank candidates, make recommendations, or write working packets or canonical deliverables until final compiled YAML approves the research scope. Minimal pre-approval discovery may identify available files, source categories, and open questions; label it as scope evidence, not findings.1920After approved research-scope YAML, perform the research and write only the non-canonical working packet defined in the staged workflow. Then update the `review` alignment page with findings and stop again for feedback-only YAML or final compiled YAML artifact approval before creating or updating canonical research, spec, or task files.2122Do not include `Recommended next skill`, `Recommended next command`, or downstream routing language. The approval request itself is the next action. Only emit next-skill routing after the approved artifact has been written or updated.2324## Staged Research Workflow2526Use this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.27281. **Stage 1 - Scope discovery and approval.** Inspect only enough repository, user, and source context to propose research scope, source plan, assumptions, output paths, and approval questions. Build the `review` HTML alignment page before synthesized research. The page must render the proposed scope, available source categories, known context, assumptions/confidence, proposed working-packet and canonical output paths, and research-scope approval gates. Stop for final compiled YAML approval of the research scope. Do not perform synthesized research, rank candidates, make recommendations, or write working packets, canonical research, spec, or task files in Stage 1.292. **Stage 2 - Research and artifact review.** Only after approved research-scope YAML with no unresolved `needs-clarification`, unresolved `down` feedback, or other unresolved negative feedback, perform the synthesized research, run required source/code checks, and write only a non-canonical working packet: flat mode uses `research/_working/preliminary-<skill>-research.md`; product-path mode uses `research/{slug}/_working/preliminary-<skill>-research.md`. Replace `<skill>` with this skill's `name` value. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet. Update the `review` HTML alignment page so it renders the complete working-packet substance as structured HTML review UI: purpose-built sections, tables, matrices, gates, cards, and tier-appropriate charts or diagrams that preserve every packet section, finding, caveat, and decision detail without summary loss. Raw Markdown packet text may appear only as a supplemental source view after the rendered review UI; do not make a `Full Preliminary Packet` or `Full Working Packet` raw Markdown dump, giant `<pre><code>` block, link-only view, or source-only view the primary review surface. Include the evidence matrix, assumptions/confidence register, source coverage gaps, proposed canonical file changes, and artifact approval gates. Stop for either feedback-only YAML or final compiled YAML. Feedback-only YAML revises the working packet and page, then remains in Stage 2.303. **Stage 3 - Finalize approved artifacts.** Consume final compiled YAML for artifact approval only when it has no unresolved `needs-clarification`, unresolved `down` feedback, or other unresolved negative feedback. Apply approved edits first, archive the working packet to `docs/history/archive/YYYY-MM-DD/HHMMSS/<original-working-path>`, remove the active working packet, write the approved canonical artifacts to the unchanged output paths below, and convert the alignment page to `confirmed` with the approval record preserved.3132Canonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.3334## Evidence And Feedback Handling3536Treat user feedback as input to evaluate, not as automatic ground truth.3738- For factual, evidentiary, technical, or source-backed claims: verify against available evidence. If the user appears to misunderstand the evidence or states something factually incorrect, push back clearly and cite the evidence. Do not rewrite findings merely to agree.39- For taste, brand, positioning preference, risk appetite, prioritization, or other subjective judgment calls: weigh user feedback heavily and adapt the recommendation unless it conflicts with verified evidence.40- When feedback mixes facts and preference, separate them explicitly: correct the factual part, then incorporate the preference where it is a legitimate judgment call.41- When uncertain, say what is known, what is inferred, and what would change the conclusion.4243## Prerequisites4445- **Hard**: `research/journey-map.md` (or `research/{slug}/journey-map.md`) must exist. If not, tell the user to run `$journey-map` first and stop.46- **Soft**: Read these if they exist:47 - `research/icp.md` — emotional pains, motivations, user psychology48 - `research/competitive-analysis.md` — competitor engagement mechanics, retention strategies4950## Process5152### 0a. Product Path Manifest5354Read `research/.progress.yaml` when present. Normalize `active_path` (singular legacy) to `active_paths` (plural list) when reading; treat legacy `abandoned` as `archived` and exclude archived/deferred/revisit/promoted paths plus `research/_archive/` scopes from active target selection. Scope the hook model to the active product path by default.5556### 0. Product-Path Scope Resolution5758Resolve research scope by product path before using code or app structure as a hint:59601. If `$ARGUMENTS` names a non-archived `research/{slug}/` directory or a product-path ID whose `scope_path` points there, use that path. Treat `{slug}` as the product/app name, not the ICP, audience, or segment label.612. If `$ARGUMENTS` names only `research/_archive/{slug}/` or a manifest entry with `status: archived` or legacy `status: abandoned`, stop and warn that the path is archived; do not write or update scoped outputs there.623. Read `research/.progress.yaml` when present. Normalize legacy `active_path` to `active_paths` on read and write back `active_paths` on manifest updates. Treat legacy `abandoned` as `archived`; exclude `archived`, `abandoned`, `deferred`, `revisit_candidate`, `promoted`, and any `scope_path` under `research/_archive/` from active target selection.634. If active product paths exist in the manifest, use those paths. If multiple active paths exist, ask which one to target unless this skill explicitly supports cross-path output.645. If no active manifest target exists, list non-archived product directories under `research/`, excluding `research/_archive/` and dot directories. Auto-select only when exactly one exists; ask when multiple exist.656. If no product directories exist, use flat `research/` single-product mode.667. Detect monorepo/app/package structure only as a secondary hint. Suggest creating a missing `research/{slug}/` product path when code clearly exposes an app, but do not require code or monorepo detection before using `research/{slug}/`.6768When product path `{slug}` is active, read and write research under `research/{slug}/`, specs under `specs/{slug}/`, and treat top-level `research/*.md` files as flat-mode documents or cross-path summaries.6970### 1. Load Context7172- Read `research/journey-map.md` — retention stages, habit opportunities, critical moments, aha moments, drop-off points73- Read `research/icp.md` if it exists — emotional pains, motivations, trigger events, daily routines74- Read `research/competitive-analysis.md` if it exists — competitor engagement mechanics, retention strategies, habit loops75- Read CLAUDE.md, README, and key source files for product context7677### 2. Applicability Check7879Detect product type from context. Evaluate whether habit-loop design is appropriate:8081- **Usage frequency**: Is the product used daily/weekly, or monthly/quarterly?82- **User type**: Consumer, prosumer, SMB, or enterprise?83- **Sales cycle**: Self-serve or long sales cycle with procurement?84- **Consumer-facing component**: Does the product have end-user engagement, or is it infrastructure/back-office?8586IF the product is B2B/enterprise with long sales cycles, infrequent usage, or no consumer-facing component:8788If the session is already in Plan mode and there are 2-3 concrete choices, prefer `request_user_input`; otherwise ask in plain text:89- "This appears to be a B2B/enterprise product where habit loops may not apply. Usage is [infrequent/transactional/procurement-driven]. Would you like to skip to `$metrics` instead, or continue with hook model design for specific engagement patterns?"9091If user chooses skip, recommend `$metrics` and stop.9293### 3. Research Hook Patterns9495Use WebSearch with **4-6 targeted queries**:96971. **Hook model domain examples** — "hook model [domain] examples"982. **Nir Eyal category applications** — "Nir Eyal hooked [category]"993. **Habit-forming product design** — "habit forming [product type] design"1004. **Variable reward types** — "variable reward types [category]"1015. **Engagement loop patterns** — "engagement loops [domain]"1026. **Competitor engagement mechanics** — "[competitor] engagement mechanics"103104### 4. Design Hook Loops105106For each distinct user behavior that should become habitual, design the full hook:107108**External Triggers** (from journey discovery/acquisition stages):109- Notifications, emails, social prompts, content, integrations110- Map to specific journey touchpoints where the trigger fires111112**Internal Triggers** (from ICP emotional pains):113- Boredom, anxiety, FOMO, uncertainty, loneliness, incompleteness114- The emotional state that precedes the habitual action115- Must connect to real ICP pain data, not assumptions116117**Action** (the simplest behavior in anticipation of reward):118- Must be easier than the thought — lower friction than NOT doing it119- Follows Fogg Behavior Model: Motivation + Ability + Trigger = Behavior120- Identify friction points and how to minimize them121122**Variable Reward** (classify each):123- **Tribe** — social validation, acceptance, belonging, status among peers124- **Hunt** — material resources, information, deals, search for relevant content125- **Self** — mastery, completion, competence, consistency, self-improvement126127**Investment** (user puts something in that loads the next trigger):128- Data, content, followers, reputation, skill, preferences, history129- Each investment should make the next cycle more valuable AND more likely130131If the session is already in Plan mode and there are 2-3 concrete choices, prefer `request_user_input`; otherwise ask in plain text:132- "Here are the hook loops I've designed. Which triggers feel forced, which actions are too complex, and which rewards don't match your users' real motivations?"133134### 5. Map Multiple Hooks135136If the product has distinct engagement loops (e.g., creation loop vs. consumption loop, social loop vs. productivity loop):1371381. Design each loop separately with the full 4-component structure1392. Identify reinforcement points — where one loop feeds into another1403. Map the hook interaction pattern — which loops are primary vs. supporting1414. Identify the "gateway hook" — the first loop new users enter142143If the session is already in Plan mode and there are 2-3 concrete choices, prefer `request_user_input`; otherwise ask in plain text:144- "Do these loops capture the core behaviors you want to be habitual? Any missing loops or interactions between them?"145146### 6. Populate Next Steps147148Include a **Recommended** item (the single highest-impact next step given current project state) with a one-line reason, followed by **Other options** (2-4 alternatives). Use this format in the output:149150## Next Steps151152**Recommended:** `$metrics` — define engagement and retention metrics grounded in these hook loops153154Other options:155- `$roadmap` — Sequence the highest-priority engagement mechanism into the roadmap156- IF no `research/monetization.md`: `$monetization` — Hook loops inform monetization timing — when to convert habitual users157158### 7. Write Output159160Only after the user confirms, write the output files.161162Create the `research/` directory if it doesn't exist.163164### 8. Downstream Impact Check165166After writing, check for downstream research documents that may be affected.167168**Downstream documents to check** (use `{slug}/` prefix when product-path scope is active):169- `research/metrics.md`170- `research/monetization.md`171172For each existing downstream document:1731. Read it — focus on engagement metrics, retention definitions, conversion triggers1742. Identify conflicts where metrics or monetization assumptions don't align with the designed hook loops1753. Note each conflict: file, section, stale claim, what it should now say176177**Classify the impact**:178- **None**: No downstream docs exist, or no conflicts. Skip display.179- **Minor** (1-2 small conflicts): Display inline.180- **Major** (3+ conflicts OR primary hook loop changed, reward type shifted, trigger mechanism redesigned): Display and recommend `$reconcile-research`.181182## Output183184### `research/hook-model.md` (or `research/{slug}/hook-model.md`)185186```markdown187# Hook Model — Engagement Loop Design188189> Based on: research/journey-map.md[, research/icp.md, research/competitive-analysis.md]190> Date: [current date]191> Methodology: Hook Model (Nir Eyal, "Hooked")192> Applicability: [Consumer / PLG / B2B with consumer component / Limited — see assessment]193194## Summary195[2-3 sentences: the engagement thesis — what behaviors should become habitual, why they matter for retention, and how the hooks reinforce each other]196197## Applicability Assessment198199**Product type**: [Consumer / PLG / B2B / Marketplace / etc.]200**Expected usage frequency**: [Daily / Weekly / Event-driven / etc.]201**Habit potential rating**: [High / Medium / Low]202**Rationale**: [Why this product is or isn't a strong candidate for habit-loop design]203204## Hook Loop 1: [Behavior Name]205206> Target behavior: [the specific action that should become habitual]207> Frequency target: [how often this should occur]208209### Trigger210211**External Triggers** (acquisition/re-engagement):212| Trigger Type | Channel | Journey Stage | Evidence |213|-------------|---------|---------------|----------|214| [type] | [email/push/social/etc.] | [discovery/onboarding/retention] | [source] |215216**Internal Trigger** (emotional state):217- **Emotion**: [the feeling that precedes the action]218- **Context**: [when/where this emotion arises]219- **Evidence**: [from ICP data — not assumed]220221### Action222223**The behavior**: [simplest action in anticipation of reward]224**Motivation**: [why the user is motivated in this moment]225**Ability**: [why this is easy enough — fewer steps than the thought]226**Current friction**: [what makes this harder than it should be]227**Friction reduction**: [how to make the action effortless]228229### Variable Reward230231**Type**: [Tribe / Hunt / Self]232**The reward**: [what the user gets]233**Why it's variable**: [what changes each time — unpredictability]234**Evidence**: [why this reward matches real user motivations]235236### Investment237238**What the user stores**: [data / content / followers / reputation / skill / preferences]239**How it loads the next trigger**: [why this investment makes the next cycle more likely]240**Compounding effect**: [how the investment makes the product more valuable over time]241242## Hook Loop 2: [Behavior Name]243[Same structure as Hook Loop 1]244245## Hook Interaction Map246247[How the loops reinforce each other — which loop feeds into which, what the gateway hook is for new users]248249| Loop | Feeds Into | Mechanism |250|------|-----------|-----------|251| [loop name] | [loop name] | [how one loop's investment/reward triggers the other] |252253**Gateway hook**: [the first loop new users enter]254**Reinforcement pattern**: [how loops compound — e.g., creation feeds consumption which feeds social which feeds creation]255256## Engagement Risk Assessment257258### Ethical Considerations259- [Risk 1: potential for manipulation or dark pattern]260- [Risk 2: potential for addictive behavior without genuine value]261262### Dark Pattern Avoidance263- [Guideline 1: how to keep engagement genuine]264- [Guideline 2: how to ensure user control and transparency]265266### Value Alignment267- [How each hook loop delivers genuine user value, not just engagement metrics]268269## Strategic Implications270271### For Product272[What to build to strengthen the hooks — feature priorities, friction reduction, reward design]273274### For Metrics275[What to measure — trigger response rates, action completion, reward satisfaction, investment depth]276277### For Growth278[How hooks create organic growth — virality through social triggers, investment-driven retention]279280<!-- Only include when downstream impact is Minor or Major -->281## Downstream Impact282283> Checked: [list of downstream docs checked]284> Impact: Minor | Major285286### Conflicts Found2872881. **research/[file].md** — [Section Name]289 - **Stale**: "[exact quote]"290 - **Now**: [what hook model says instead]291292[For Major only:]293> **Recommended action**: Run `$reconcile-research` to audit and fix all affected downstream documents.294295## Next Steps296297**Recommended:** `$metrics` — define engagement and retention metrics grounded in these hook loops298299Other options:300- [conditional items from step 6]301```302303### `research/hook-model-search-log.md` (or `research/{slug}/hook-model-search-log.md`)304Raw research log — queries, findings, evidence for each hook design decision.305306Create the `research/` directory if it doesn't exist.307308## Task Classification309310When this skill produces follow-up work, file it by execution semantics:311312- Immediately actionable implementation or documentation work goes in `tasks/todo.md`.313- Human-only external actions tied to automated steps go in `tasks/manual-todo.md` with `_(blocks: Step N.X)_` or `_(after: Step N.X)_`; repo edits, SDK wiring, generated assets, local commands, tests, audits, and authenticated CLI/API work stays in `tasks/todo.md`.314- One-time condition-gated records, baselines, or future measurements go in `tasks/record-todo.md` with source, condition, non-blocking reason, evidence, and promotion rule.315- Cadence-based reviews, playtests, adoption checks, investor updates, retros, or docs-health checks go in `tasks/recurring-todo.md` with cadence, owner/agent, next due, evidence path, and escalation conditions.316- Do not put non-blocking records or recurring obligations in `tasks/todo.md` unless they have been explicitly promoted into current execution work.317318## Constraints319320- **Requires journey map.** Hooks without journey context are disconnected from reality.321- **Evidence-grounded.** Triggers and rewards must connect to ICP data and journey insights — not wishful thinking.322- **Ethical awareness.** Flag potential dark patterns. Design for genuine value, not manipulation.323- **Do not force habit-loop thinking on products where usage is naturally infrequent or transactional.** The applicability check exists for a reason — respect it.324- **Present before writing.** Never write output files until the hook loops have been presented and validated.325- **Do not overwrite existing `research/hook-model.md`** without asking the user first.326327## Alignment Page328329Follow the shared alignment-page convention via the packaged convention resolver; output path is `alignment/hook-model-{topic}.html`.330331## Default Shipping Contract332333Follow the shared shipping contract convention in CLAUDE.md.