[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D45PT19R4H5PRWF11CS61M":3,"skill-same:01M6D45PT19R4H5PRWF11CS61M":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6D45PT19R4H5PRWF11CS61M","hook-model",null,"Nir Eyal engagement loop design — trigger, action, variable reward, investment","GeorgeQLe\u002Fagentic-skills","GeorgeQLe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F21134126?v=4","01M6D2JP418S0VGJGF8M93EC3H","George Le","01M6D2JPBAKYD82TA5FS6HKQ3D",1,"MIT","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fbusiness-growth\u002Fclaude\u002Fhook-model\u002Farchive\u002Fv0.5\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",[27,28,29,30,31,32,33,34,35,36,37,38],"model","hook model","design","research","loop","behavior","user","v0","engagement","investment","focus","visual","2026-11-10 10:12:30",false,"---\nname: hook-model\ntype: research\nversion: v0.5\ndescription: Nir Eyal engagement loop design — trigger, action, variable reward, investment\nargument-hint: \"[optional: specific engagement loop or user behavior to focus on]\"\ninterview_depth: light\nvisual_tier: visual\n---\n\n## Pack Availability Guard\n\nBefore telling the user to run a skill from another project-local pack, check `.agents\u002Fproject.json.enabled_packs`. If the target pack is not enabled, recommend `\u002Fpack install \u003Cpack>` instead of the target skill. Global skills are always valid. Skills from this same pack are valid because the current skill is already running from that pack.\n\n# Hook Model — Engagement Loop Design\n\n## Report-First Approval Gate\n\nDefault to report-only: present findings, evidence coverage, assumptions, recommended artifact path, and proposed file changes in a pre-approval alignment page plus a concise conversation summary for user approval before creating or updating canonical research, spec, or task files.\n\nDo not write or overwrite synthesized deliverables until the user explicitly approves, unless the user invoked an explicit write\u002Fupdate\u002Ffix mode or clearly asked to write files upfront. Raw evidence capture may be persisted before analysis when reproducibility requires it; report those raw paths separately and still gate synthesized research\u002Freport writes.\n\nWhen stopping for approval, build and attempt to open the alignment preview page first, then ask the user to review it and approve, question, or request adjustments. 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.\n\n## Staged Research Workflow\n\nUse this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.\n\n1. **Stage 1 - Research and clarify.** Perform the research, run required source\u002Fcode checks, and ask any needed clarification questions. Write only a non-canonical working packet: flat mode uses `research\u002F_working\u002Fpreliminary-\u003Cskill>-research.md`; product-path mode uses `research\u002F{slug}\u002F_working\u002Fpreliminary-\u003Cskill>-research.md`. Replace `\u003Cskill>` with this skill's `name` value. Do not create or update canonical research, spec, or task files in Stage 1. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet.\n2. **Stage 2 - Review alignment.** Consume the working packet and build the `review` HTML alignment page. The page must render the full preliminary packet, evidence matrix, assumptions\u002Fconfidence register, source coverage gaps, proposed canonical file changes, and 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.\n3. **Stage 3 - Finalize approved artifacts.** Consume final compiled YAML 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\u002Fhistory\u002Farchive\u002FYYYY-MM-DD\u002FHHMMSS\u002F\u003Coriginal-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.\n\nCanonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.\n\nDesigns habit-forming engagement loops using Nir Eyal's Hook Model framework. Maps External Triggers → Internal Triggers → Action → Variable Reward → Investment for each core product behavior. Most relevant for consumer and PLG products — B2B\u002Fenterprise products should typically skip to `\u002Fmetrics`.\n\n## Evidence And Feedback Handling\n\nTreat user feedback as input to evaluate, not as automatic ground truth.\n\n- 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.\n- 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.\n- When feedback mixes facts and preference, separate them explicitly: correct the factual part, then incorporate the preference where it is a legitimate judgment call.\n- When uncertain, say what is known, what is inferred, and what would change the conclusion.\n\n## Prerequisites\n\n- **Hard**: `research\u002Fjourney-map.md` (or `research\u002F{slug}\u002Fjourney-map.md`) must exist. If not, tell the user to run `\u002Fjourney-map` first and stop.\n- **Soft**: Read these if they exist:\n  - `research\u002Ficp.md` — emotional pains, motivations, user psychology\n  - `research\u002Fcompetitive-analysis.md` — competitor engagement mechanics, retention strategies\n\n## Process\n\n### 0a. Product Path Manifest\n\nRead `research\u002F.progress.yaml` when present. Normalize `active_path` (singular legacy) to `active_paths` (plural list) when reading; treat legacy `abandoned` as `archived` and exclude archived\u002Fdeferred\u002Frevisit\u002Fpromoted paths plus `research\u002F_archive\u002F` scopes from active target selection. Scope the hook model to the active product path by default.\n\n### 0. Product-Path Scope Resolution\n\nResolve research scope by product path before using code or app structure as a hint:\n\n1. If `$ARGUMENTS` names a non-archived `research\u002F{slug}\u002F` directory or a product-path ID whose `scope_path` points there, use that path. Treat `{slug}` as the product\u002Fapp name, not the ICP, audience, or segment label.\n2. If `$ARGUMENTS` names only `research\u002F_archive\u002F{slug}\u002F` 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.\n3. Read `research\u002F.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\u002F_archive\u002F` from active target selection.\n4. 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.\n5. If no active manifest target exists, list non-archived product directories under `research\u002F`, excluding `research\u002F_archive\u002F` and dot directories. Auto-select only when exactly one exists; ask when multiple exist.\n6. If no product directories exist, use flat `research\u002F` single-product mode.\n7. Detect monorepo\u002Fapp\u002Fpackage structure only as a secondary hint. Suggest creating a missing `research\u002F{slug}\u002F` product path when code clearly exposes an app, but do not require code or monorepo detection before using `research\u002F{slug}\u002F`.\n\nWhen product path `{slug}` is active, read and write research under `research\u002F{slug}\u002F`, specs under `specs\u002F{slug}\u002F`, and treat top-level `research\u002F*.md` files as flat-mode documents or cross-path summaries.\n\n### 1. Load Context\n\n- Read `research\u002Fjourney-map.md` — retention stages, habit opportunities, critical moments, aha moments, drop-off points\n- Read `research\u002Ficp.md` if it exists — emotional pains, motivations, trigger events, daily routines\n- Read `research\u002Fcompetitive-analysis.md` if it exists — competitor engagement mechanics, retention strategies, habit loops\n- Read CLAUDE.md, README, and key source files for product context\n\n### 2. Applicability Check\n\nDetect product type from context. Evaluate whether habit-loop design is appropriate:\n\n- **Usage frequency**: Is the product used daily\u002Fweekly, or monthly\u002Fquarterly?\n- **User type**: Consumer, prosumer, SMB, or enterprise?\n- **Sales cycle**: Self-serve or long sales cycle with procurement?\n- **Consumer-facing component**: Does the product have end-user engagement, or is it infrastructure\u002Fback-office?\n\nIF the product is B2B\u002Fenterprise with long sales cycles, infrequent usage, or no consumer-facing component:\n\nUse AskUserQuestion to present the finding:\n- \"This appears to be a B2B\u002Fenterprise product where habit loops may not apply. Usage is [infrequent\u002Ftransactional\u002Fprocurement-driven]. Would you like to skip to `\u002Fmetrics` instead, or continue with hook model design for specific engagement patterns?\"\n\nIf user chooses skip, recommend `\u002Fmetrics` and stop.\n\n### 3. Research Hook Patterns\n\nUse WebSearch with **4-6 targeted queries**:\n\n1. **Hook model domain examples** — \"hook model [domain] examples\"\n2. **Nir Eyal category applications** — \"Nir Eyal hooked [category]\"\n3. **Habit-forming product design** — \"habit forming [product type] design\"\n4. **Variable reward types** — \"variable reward types [category]\"\n5. **Engagement loop patterns** — \"engagement loops [domain]\"\n6. **Competitor engagement mechanics** — \"[competitor] engagement mechanics\"\n\n### 4. Design Hook Loops\n\nFor each distinct user behavior that should become habitual, design the full hook:\n\n**External Triggers** (from journey discovery\u002Facquisition stages):\n- Notifications, emails, social prompts, content, integrations\n- Map to specific journey touchpoints where the trigger fires\n\n**Internal Triggers** (from ICP emotional pains):\n- Boredom, anxiety, FOMO, uncertainty, loneliness, incompleteness\n- The emotional state that precedes the habitual action\n- Must connect to real ICP pain data, not assumptions\n\n**Action** (the simplest behavior in anticipation of reward):\n- Must be easier than the thought — lower friction than NOT doing it\n- Follows Fogg Behavior Model: Motivation + Ability + Trigger = Behavior\n- Identify friction points and how to minimize them\n\n**Variable Reward** (classify each):\n- **Tribe** — social validation, acceptance, belonging, status among peers\n- **Hunt** — material resources, information, deals, search for relevant content\n- **Self** — mastery, completion, competence, consistency, self-improvement\n\n**Investment** (user puts something in that loads the next trigger):\n- Data, content, followers, reputation, skill, preferences, history\n- Each investment should make the next cycle more valuable AND more likely\n\nUse AskUserQuestion:\n- \"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?\"\n\n### 5. Map Multiple Hooks\n\nIf the product has distinct engagement loops (e.g., creation loop vs. consumption loop, social loop vs. productivity loop):\n\n1. Design each loop separately with the full 4-component structure\n2. Identify reinforcement points — where one loop feeds into another\n3. Map the hook interaction pattern — which loops are primary vs. supporting\n4. Identify the \"gateway hook\" — the first loop new users enter\n\nUse AskUserQuestion:\n- \"Do these loops capture the core behaviors you want to be habitual? Any missing loops or interactions between them?\"\n\n### 6. Populate Next Steps\n\nInclude 3-5 applicable items with \"Pick one:\" framing:\n\n- ALWAYS: `\u002Fmetrics` — Define engagement and retention metrics grounded in these hook loops\n- OTHER: `\u002Froadmap` — Sequence the highest-priority engagement mechanism into the roadmap\n- IF no `research\u002Fmonetization.md`: `\u002Fmonetization` — Hook loops inform monetization timing — when to convert habitual users\n\n### 7. Write Output\n\nOnly after the user confirms, write the output files.\n\nCreate the `research\u002F` directory if it doesn't exist.\n\n### 8. Downstream Impact Check\n\nAfter writing, check for downstream research documents that may be affected.\n\n**Downstream documents to check** (use `{slug}\u002F` prefix when product-path scope is active):\n- `research\u002Fmetrics.md`\n- `research\u002Fmonetization.md`\n\nFor each existing downstream document:\n1. Read it — focus on engagement metrics, retention definitions, conversion triggers\n2. Identify conflicts where metrics or monetization assumptions don't align with the designed hook loops\n3. Note each conflict: file, section, stale claim, what it should now say\n\n**Classify the impact**:\n- **None**: No downstream docs exist, or no conflicts. Skip display.\n- **Minor** (1-2 small conflicts): Display inline.\n- **Major** (3+ conflicts OR primary hook loop changed, reward type shifted, trigger mechanism redesigned): Display and recommend `\u002Freconcile-research`.\n\n## Output\n\n### `research\u002Fhook-model.md` (or `research\u002F{slug}\u002Fhook-model.md`)\n\n```markdown\n# Hook Model — Engagement Loop Design\n\n> Based on: research\u002Fjourney-map.md[, research\u002Ficp.md, research\u002Fcompetitive-analysis.md]\n> Date: [current date]\n> Methodology: Hook Model (Nir Eyal, \"Hooked\")\n> Applicability: [Consumer \u002F PLG \u002F B2B with consumer component \u002F Limited — see assessment]\n\n## Summary\n[2-3 sentences: the engagement thesis — what behaviors should become habitual, why they matter for retention, and how the hooks reinforce each other]\n\n## Applicability Assessment\n\n**Product type**: [Consumer \u002F PLG \u002F B2B \u002F Marketplace \u002F etc.]\n**Expected usage frequency**: [Daily \u002F Weekly \u002F Event-driven \u002F etc.]\n**Habit potential rating**: [High \u002F Medium \u002F Low]\n**Rationale**: [Why this product is or isn't a strong candidate for habit-loop design]\n\n## Hook Loop 1: [Behavior Name]\n\n> Target behavior: [the specific action that should become habitual]\n> Frequency target: [how often this should occur]\n\n### Trigger\n\n**External Triggers** (acquisition\u002Fre-engagement):\n| Trigger Type | Channel | Journey Stage | Evidence |\n|-------------|---------|---------------|----------|\n| [type] | [email\u002Fpush\u002Fsocial\u002Fetc.] | [discovery\u002Fonboarding\u002Fretention] | [source] |\n\n**Internal Trigger** (emotional state):\n- **Emotion**: [the feeling that precedes the action]\n- **Context**: [when\u002Fwhere this emotion arises]\n- **Evidence**: [from ICP data — not assumed]\n\n### Action\n\n**The behavior**: [simplest action in anticipation of reward]\n**Motivation**: [why the user is motivated in this moment]\n**Ability**: [why this is easy enough — fewer steps than the thought]\n**Current friction**: [what makes this harder than it should be]\n**Friction reduction**: [how to make the action effortless]\n\n### Variable Reward\n\n**Type**: [Tribe \u002F Hunt \u002F Self]\n**The reward**: [what the user gets]\n**Why it's variable**: [what changes each time — unpredictability]\n**Evidence**: [why this reward matches real user motivations]\n\n### Investment\n\n**What the user stores**: [data \u002F content \u002F followers \u002F reputation \u002F skill \u002F preferences]\n**How it loads the next trigger**: [why this investment makes the next cycle more likely]\n**Compounding effect**: [how the investment makes the product more valuable over time]\n\n## Hook Loop 2: [Behavior Name]\n[Same structure as Hook Loop 1]\n\n## Hook Interaction Map\n\n[How the loops reinforce each other — which loop feeds into which, what the gateway hook is for new users]\n\n| Loop | Feeds Into | Mechanism |\n|------|-----------|-----------|\n| [loop name] | [loop name] | [how one loop's investment\u002Freward triggers the other] |\n\n**Gateway hook**: [the first loop new users enter]\n**Reinforcement pattern**: [how loops compound — e.g., creation feeds consumption which feeds social which feeds creation]\n\n## Engagement Risk Assessment\n\n### Ethical Considerations\n- [Risk 1: potential for manipulation or dark pattern]\n- [Risk 2: potential for addictive behavior without genuine value]\n\n### Dark Pattern Avoidance\n- [Guideline 1: how to keep engagement genuine]\n- [Guideline 2: how to ensure user control and transparency]\n\n### Value Alignment\n- [How each hook loop delivers genuine user value, not just engagement metrics]\n\n## Strategic Implications\n\n### For Product\n[What to build to strengthen the hooks — feature priorities, friction reduction, reward design]\n\n### For Metrics\n[What to measure — trigger response rates, action completion, reward satisfaction, investment depth]\n\n### For Growth\n[How hooks create organic growth — virality through social triggers, investment-driven retention]\n\n\u003C!-- Only include when downstream impact is Minor or Major -->\n## Downstream Impact\n\n> Checked: [list of downstream docs checked]\n> Impact: Minor | Major\n\n### Conflicts Found\n\n1. **research\u002F[file].md** — [Section Name]\n   - **Stale**: \"[exact quote]\"\n   - **Now**: [what hook model says instead]\n\n[For Major only:]\n> **Recommended action**: Run `\u002Freconcile-research` to audit and fix all affected downstream documents.\n\n## Next Steps\n\nPick one:\n- [conditional items from step 6]\n```\n\n### `research\u002Fhook-model-search-log.md` (or `research\u002F{slug}\u002Fhook-model-search-log.md`)\nRaw research log — queries, findings, evidence for each hook design decision.\n\nCreate the `research\u002F` directory if it doesn't exist.\n\n## Task Classification\n\nWhen this skill produces follow-up work, file it by execution semantics:\n\n- Immediately actionable implementation or documentation work goes in `tasks\u002Ftodo.md`.\n- Human-only external actions tied to automated steps go in `tasks\u002Fmanual-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\u002FAPI work stay in `tasks\u002Ftodo.md`.\n- One-time condition-gated records, baselines, or future measurements go in `tasks\u002Frecord-todo.md` with source, condition, non-blocking reason, evidence, and promotion rule.\n- Cadence-based reviews, playtests, adoption checks, investor updates, retros, or docs-health checks go in `tasks\u002Frecurring-todo.md` with cadence, owner\u002Fagent, next due, evidence path, and escalation conditions.\n- Do not put non-blocking records or recurring obligations in `tasks\u002Ftodo.md` unless they have been explicitly promoted into current execution work.\n\n## Constraints\n\n- **Requires journey map.** Hooks without journey context are disconnected from reality.\n- **Evidence-grounded.** Triggers and rewards must connect to ICP data and journey insights — not wishful thinking.\n- **Ethical awareness.** Flag potential dark patterns. Design for genuine value, not manipulation.\n- **Do not force habit-loop thinking on products where usage is naturally infrequent or transactional.** The applicability check exists for a reason — respect it.\n- **Present before writing.** Never write output files until the hook loops have been presented and validated.\n- **Do not overwrite existing `research\u002Fhook-model.md`** without asking the user first.\n\n## Context Gathering\n\n**Step 1 — Scope questions.** Before researching, ask the user 1–3 questions via `AskUserQuestion` to understand: their product\u002Fservice, target audience, and what they hope to learn or decide from this research.\n\n**Step 2 — Research.** Conduct research scoped by the user's answers.\n\n**Step 3 — Findings validation.** Before building the alignment page, present the 3–5 most important findings and ask the user to validate or correct any critical assumptions.\n\n## Alignment Page\n\nWhen this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following `ALIGNMENT-PAGE.md` in this skill's directory. Output: `alignment\u002Fhook-model-{topic}.html`.\n\n## Default Shipping Contract\n\nFollow the shared shipping contract convention in CLAUDE.md.\n","## Pack Availability Guard\n\nBefore telling the user to run a skill from another project-local pack, check `.agents\u002Fproject.json.enabled_packs`. If the target pack is not enabled, recommend `\u002Fpack install \u003Cpack>` instead of the target skill. Global skills are always valid. Skills from this same pack are valid because the current skill is already running from that pack.\n\n# Hook Model — Engagement Loop Design\n\n## Report-First Approval Gate\n\nDefault to report-only: present findings, evidence coverage, assumptions, recommended artifact path, and proposed file changes in a pre-approval alignment page plus a concise conversation summary for user approval before creating or updating canonical research, spec, or task files.\n\nDo not write or overwrite synthesized deliverables until the user explicitly approves, unless the user invoked an explicit write\u002Fupdate\u002Ffix mode or clearly asked to write files upfront. Raw evidence capture may be persisted before analysis when reproducibility requires it; report those raw paths separately and still gate synthesized research\u002Freport writes.\n\nWhen stopping for approval, build and attempt to open the alignment preview page first, then ask the user to review it and approve, question, or request adjustments. 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.\n\n## Staged Research Workflow\n\nUse this staged workflow for synthesized research or report outputs that would create or update canonical research, spec, or task files.\n\n1. **Stage 1 - Research and clarify.** Perform the research, run required source\u002Fcode checks, and ask any needed clarification questions. Write only a non-canonical working packet: flat mode uses `research\u002F_working\u002Fpreliminary-\u003Cskill>-research.md`; product-path mode uses `research\u002F{slug}\u002F_working\u002Fpreliminary-\u003Cskill>-research.md`. Replace `\u003Cskill>` with this skill's `name` value. Do not create or update canonical research, spec, or task files in Stage 1. Raw evidence or search logs may remain as supporting evidence where this skill already requires them, but synthesized deliverables stay in the working packet.\n2. **Stage 2 - Review alignment.** Consume the working packet and build the `review` HTML alignment page. The page must render the full preliminary packet, evidence matrix, assumptions\u002Fconfidence register, source coverage gaps, proposed canonical file changes, and 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.\n3. **Stage 3 - Finalize approved artifacts.** Consume final compiled YAML 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\u002Fhistory\u002Farchive\u002FYYYY-MM-DD\u002FHHMMSS\u002F\u003Coriginal-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.\n\nCanonical output paths remain unchanged. Search logs and other supporting evidence remain allowed only where this skill's output contract already requires them.\n\nDesigns habit-forming engagement loops using Nir Eyal's Hook Model framework. Maps External Triggers → Internal Triggers → Action → Variable Reward → Investment for each core product behavior. Most relevant for consumer and PLG products — B2B\u002Fenterprise products should typically skip to `\u002Fmetrics`.\n\n## Evidence And Feedback Handling\n\nTreat user feedback as input to evaluate, not as automatic ground truth.\n\n- 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.\n- 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.\n- When feedback mixes facts and preference, separate them explicitly: correct the factual part, then incorporate the preference where it is a legitimate judgment call.\n- When uncertain, say what is known, what is inferred, and what would change the conclusion.\n\n## Prerequisites\n\n- **Hard**: `research\u002Fjourney-map.md` (or `research\u002F{slug}\u002Fjourney-map.md`) must exist. If not, tell the user to run `\u002Fjourney-map` first and stop.\n- **Soft**: Read these if they exist:\n  - `research\u002Ficp.md` — emotional pains, motivations, user psychology\n  - `research\u002Fcompetitive-analysis.md` — competitor engagement mechanics, retention strategies\n\n## Process\n\n### 0a. Product Path Manifest\n\nRead `research\u002F.progress.yaml` when present. Normalize `active_path` (singular legacy) to `active_paths` (plural list) when reading; treat legacy `abandoned` as `archived` and exclude archived\u002Fdeferred\u002Frevisit\u002Fpromoted paths plus `research\u002F_archive\u002F` scopes from active target selection. Scope the hook model to the active product path by default.\n\n### 0. Product-Path Scope Resolution\n\nResolve research scope by product path before using code or app structure as a hint:\n\n1. If `$ARGUMENTS` names a non-archived `research\u002F{slug}\u002F` directory or a product-path ID whose `scope_path` points there, use that path. Treat `{slug}` as the product\u002Fapp name, not the ICP, audience, or segment label.\n2. If `$ARGUMENTS` names only `research\u002F_archive\u002F{slug}\u002F` 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.\n3. Read `research\u002F.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\u002F_archive\u002F` from active target selection.\n4. 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.\n5. If no active manifest target exists, list non-archived product directories under `research\u002F`, excluding `research\u002F_archive\u002F` and dot directories. Auto-select only when exactly one exists; ask when multiple exist.\n6. If no product directories exist, use flat `research\u002F` single-product mode.\n7. Detect monorepo\u002Fapp\u002Fpackage structure only as a secondary hint. Suggest creating a missing `research\u002F{slug}\u002F` product path when code clearly exposes an app, but do not require code or monorepo detection before using `research\u002F{slug}\u002F`.\n\nWhen product path `{slug}` is active, read and write research under `research\u002F{slug}\u002F`, specs under `specs\u002F{slug}\u002F`, and treat top-level `research\u002F*.md` files as flat-mode documents or cross-path summaries.\n\n### 1. Load Context\n\n- Read `research\u002Fjourney-map.md` — retention stages, habit opportunities, critical moments, aha moments, drop-off points\n- Read `research\u002Ficp.md` if it exists — emotional pains, motivations, trigger events, daily routines\n- Read `research\u002Fcompetitive-analysis.md` if it exists — competitor engagement mechanics, retention strategies, habit loops\n- Read CLAUDE.md, README, and key source files for product context\n\n### 2. Applicability Check\n\nDetect product type from context. Evaluate whether habit-loop design is appropriate:\n\n- **Usage frequency**: Is the product used daily\u002Fweekly, or monthly\u002Fquarterly?\n- **User type**: Consumer, prosumer, SMB, or enterprise?\n- **Sales cycle**: Self-serve or long sales cycle with procurement?\n- **Consumer-facing component**: Does the product have end-user engagement, or is it infrastructure\u002Fback-office?\n\nIF the product is B2B\u002Fenterprise with long sales cycles, infrequent usage, or no consumer-facing component:\n\nUse AskUserQuestion to present the finding:\n- \"This appears to be a B2B\u002Fenterprise product where habit loops may not apply. Usage is [infrequent\u002Ftransactional\u002Fprocurement-driven]. Would you like to skip to `\u002Fmetrics` instead, or continue with hook model design for specific engagement patterns?\"\n\nIf user chooses skip, recommend `\u002Fmetrics` and stop.\n\n### 3. Research Hook Patterns\n\nUse WebSearch with **4-6 targeted queries**:\n\n1. **Hook model domain examples** — \"hook model [domain] examples\"\n2. **Nir Eyal category applications** — \"Nir Eyal hooked [category]\"\n3. **Habit-forming product design** — \"habit forming [product type] design\"\n4. **Variable reward types** — \"variable reward types [category]\"\n5. **Engagement loop patterns** — \"engagement loops [domain]\"\n6. **Competitor engagement mechanics** — \"[competitor] engagement mechanics\"\n\n### 4. Design Hook Loops\n\nFor each distinct user behavior that should become habitual, design the full hook:\n\n**External Triggers** (from journey discovery\u002Facquisition stages):\n- Notifications, emails, social prompts, content, integrations\n- Map to specific journey touchpoints where the trigger fires\n\n**Internal Triggers** (from ICP emotional pains):\n- Boredom, anxiety, FOMO, uncertainty, loneliness, incompleteness\n- The emotional state that precedes the habitual action\n- Must connect to real ICP pain data, not assumptions\n\n**Action** (the simplest behavior in anticipation of reward):\n- Must be easier than the thought — lower friction than NOT doing it\n- Follows Fogg Behavior Model: Motivation + Ability + Trigger = Behavior\n- Identify friction points and how to minimize them\n\n**Variable Reward** (classify each):\n- **Tribe** — social validation, acceptance, belonging, status among peers\n- **Hunt** — material resources, information, deals, search for relevant content\n- **Self** — mastery, completion, competence, consistency, self-improvement\n\n**Investment** (user puts something in that loads the next trigger):\n- Data, content, followers, reputation, skill, preferences, history\n- Each investment should make the next cycle more valuable AND more likely\n\nUse AskUserQuestion:\n- \"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?\"\n\n### 5. Map Multiple Hooks\n\nIf the product has distinct engagement loops (e.g., creation loop vs. consumption loop, social loop vs. productivity loop):\n\n1. Design each loop separately with the full 4-component structure\n2. Identify reinforcement points — where one loop feeds into another\n3. Map the hook interaction pattern — which loops are primary vs. supporting\n4. Identify the \"gateway hook\" — the first loop new users enter\n\nUse AskUserQuestion:\n- \"Do these loops capture the core behaviors you want to be habitual? Any missing loops or interactions between them?\"\n\n### 6. Populate Next Steps\n\nInclude 3-5 applicable items with \"Pick one:\" framing:\n\n- ALWAYS: `\u002Fmetrics` — Define engagement and retention metrics grounded in these hook loops\n- OTHER: `\u002Froadmap` — Sequence the highest-priority engagement mechanism into the roadmap\n- IF no `research\u002Fmonetization.md`: `\u002Fmonetization` — Hook loops inform monetization timing — when to convert habitual users\n\n### 7. Write Output\n\nOnly after the user confirms, write the output files.\n\nCreate the `research\u002F` directory if it doesn't exist.\n\n### 8. Downstream Impact Check\n\nAfter writing, check for downstream research documents that may be affected.\n\n**Downstream documents to check** (use `{slug}\u002F` prefix when product-path scope is active):\n- `research\u002Fmetrics.md`\n- `research\u002Fmonetization.md`\n\nFor each existing downstream document:\n1. Read it — focus on engagement metrics, retention definitions, conversion triggers\n2. Identify conflicts where metrics or monetization assumptions don't align with the designed hook loops\n3. Note each conflict: file, section, stale claim, what it should now say\n\n**Classify the impact**:\n- **None**: No downstream docs exist, or no conflicts. Skip display.\n- **Minor** (1-2 small conflicts): Display inline.\n- **Major** (3+ conflicts OR primary hook loop changed, reward type shifted, trigger mechanism redesigned): Display and recommend `\u002Freconcile-research`.\n\n## Output\n\n### `research\u002Fhook-model.md` (or `research\u002F{slug}\u002Fhook-model.md`)\n\n```markdown\n# Hook Model — Engagement Loop Design\n\n> Based on: research\u002Fjourney-map.md[, research\u002Ficp.md, research\u002Fcompetitive-analysis.md]\n> Date: [current date]\n> Methodology: Hook Model (Nir Eyal, \"Hooked\")\n> Applicability: [Consumer \u002F PLG \u002F B2B with consumer component \u002F Limited — see assessment]\n\n## Summary\n[2-3 sentences: the engagement thesis — what behaviors should become habitual, why they matter for retention, and how the hooks reinforce each other]\n\n## Applicability Assessment\n\n**Product type**: [Consumer \u002F PLG \u002F B2B \u002F Marketplace \u002F etc.]\n**Expected usage frequency**: [Daily \u002F Weekly \u002F Event-driven \u002F etc.]\n**Habit potential rating**: [High \u002F Medium \u002F Low]\n**Rationale**: [Why this product is or isn't a strong candidate for habit-loop design]\n\n## Hook Loop 1: [Behavior Name]\n\n> Target behavior: [the specific action that should become habitual]\n> Frequency target: [how often this should occur]\n\n### Trigger\n\n**External Triggers** (acquisition\u002Fre-engagement):\n| Trigger Type | Channel | Journey Stage | Evidence |\n|-------------|---------|---------------|----------|\n| [type] | [email\u002Fpush\u002Fsocial\u002Fetc.] | [discovery\u002Fonboarding\u002Fretention] | [source] |\n\n**Internal Trigger** (emotional state):\n- **Emotion**: [the feeling that precedes the action]\n- **Context**: [when\u002Fwhere this emotion arises]\n- **Evidence**: [from ICP data — not assumed]\n\n### Action\n\n**The behavior**: [simplest action in anticipation of reward]\n**Motivation**: [why the user is motivated in this moment]\n**Ability**: [why this is easy enough — fewer steps than the thought]\n**Current friction**: [what makes this harder than it should be]\n**Friction reduction**: [how to make the action effortless]\n\n### Variable Reward\n\n**Type**: [Tribe \u002F Hunt \u002F Self]\n**The reward**: [what the user gets]\n**Why it's variable**: [what changes each time — unpredictability]\n**Evidence**: [why this reward matches real user motivations]\n\n### Investment\n\n**What the user stores**: [data \u002F content \u002F followers \u002F reputation \u002F skill \u002F preferences]\n**How it loads the next trigger**: [why this investment makes the next cycle more likely]\n**Compounding effect**: [how the investment makes the product more valuable over time]\n\n## Hook Loop 2: [Behavior Name]\n[Same structure as Hook Loop 1]\n\n## Hook Interaction Map\n\n[How the loops reinforce each other — which loop feeds into which, what the gateway hook is for new users]\n\n| Loop | Feeds Into | Mechanism |\n|------|-----------|-----------|\n| [loop name] | [loop name] | [how one loop's investment\u002Freward triggers the other] |\n\n**Gateway hook**: [the first loop new users enter]\n**Reinforcement pattern**: [how loops compound — e.g., creation feeds consumption which feeds social which feeds creation]\n\n## Engagement Risk Assessment\n\n### Ethical Considerations\n- [Risk 1: potential for manipulation or dark pattern]\n- [Risk 2: potential for addictive behavior without genuine value]\n\n### Dark Pattern Avoidance\n- [Guideline 1: how to keep engagement genuine]\n- [Guideline 2: how to ensure user control and transparency]\n\n### Value Alignment\n- [How each hook loop delivers genuine user value, not just engagement metrics]\n\n## Strategic Implications\n\n### For Product\n[What to build to strengthen the hooks — feature priorities, friction reduction, reward design]\n\n### For Metrics\n[What to measure — trigger response rates, action completion, reward satisfaction, investment depth]\n\n### For Growth\n[How hooks create organic growth — virality through social triggers, investment-driven retention]\n\n\u003C!-- Only include when downstream impact is Minor or Major -->\n## Downstream Impact\n\n> Checked: [list of downstream docs checked]\n> Impact: Minor | Major\n\n### Conflicts Found\n\n1. **research\u002F[file].md** — [Section Name]\n   - **Stale**: \"[exact quote]\"\n   - **Now**: [what hook model says instead]\n\n[For Major only:]\n> **Recommended action**: Run `\u002Freconcile-research` to audit and fix all affected downstream documents.\n\n## Next Steps\n\nPick one:\n- [conditional items from step 6]\n```\n\n### `research\u002Fhook-model-search-log.md` (or `research\u002F{slug}\u002Fhook-model-search-log.md`)\nRaw research log — queries, findings, evidence for each hook design decision.\n\nCreate the `research\u002F` directory if it doesn't exist.\n\n## Task Classification\n\nWhen this skill produces follow-up work, file it by execution semantics:\n\n- Immediately actionable implementation or documentation work goes in `tasks\u002Ftodo.md`.\n- Human-only external actions tied to automated steps go in `tasks\u002Fmanual-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\u002FAPI work stay in `tasks\u002Ftodo.md`.\n- One-time condition-gated records, baselines, or future measurements go in `tasks\u002Frecord-todo.md` with source, condition, non-blocking reason, evidence, and promotion rule.\n- Cadence-based reviews, playtests, adoption checks, investor updates, retros, or docs-health checks go in `tasks\u002Frecurring-todo.md` with cadence, owner\u002Fagent, next due, evidence path, and escalation conditions.\n- Do not put non-blocking records or recurring obligations in `tasks\u002Ftodo.md` unless they have been explicitly promoted into current execution work.\n\n## Constraints\n\n- **Requires journey map.** Hooks without journey context are disconnected from reality.\n- **Evidence-grounded.** Triggers and rewards must connect to ICP data and journey insights — not wishful thinking.\n- **Ethical awareness.** Flag potential dark patterns. Design for genuine value, not manipulation.\n- **Do not force habit-loop thinking on products where usage is naturally infrequent or transactional.** The applicability check exists for a reason — respect it.\n- **Present before writing.** Never write output files until the hook loops have been presented and validated.\n- **Do not overwrite existing `research\u002Fhook-model.md`** without asking the user first.\n\n## Context Gathering\n\n**Step 1 — Scope questions.** Before researching, ask the user 1–3 questions via `AskUserQuestion` to understand: their product\u002Fservice, target audience, and what they hope to learn or decide from this research.\n\n**Step 2 — Research.** Conduct research scoped by the user's answers.\n\n**Step 3 — Findings validation.** Before building the alignment page, present the 3–5 most important findings and ask the user to validate or correct any critical assumptions.\n\n## Alignment Page\n\nWhen this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following `ALIGNMENT-PAGE.md` in this skill's directory. Output: `alignment\u002Fhook-model-{topic}.html`.\n\n## Default Shipping Contract\n\nFollow the shared shipping contract convention in CLAUDE.md.\n",{"name":5,"type":30,"version":44,"description":7,"visual_tier":38,"argument-hint":45,"interview_depth":46},"v0.5","[optional: specific engagement loop or user behavior to focus on]","light","master","96e2912af886dd1606b1b97df707715aef062b02","packs\u002Fbusiness-growth\u002Fclaude\u002Fhook-model\u002Farchive\u002Fv0.5",0,"https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills","https:\u002F\u002Fagentic-skills-blush.vercel.app","https:\u002F\u002Fgithub.com\u002FGeorgeQLe","georgeqle.com","George Le is a futurist and serial tech entrepreneur who wants to work toward a world where humanity is free from robotic tasks.","2026-11-10 04:07:24",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add GeorgeQLe\u002Fagentic-skills --skill hook-model",{"tool":63,"command":64},"bunx","bunx skills add GeorgeQLe\u002Fagentic-skills --skill hook-model",{"tool":66,"command":67},"pnpm","pnpm dlx skills add GeorgeQLe\u002Fagentic-skills --skill hook-model","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Fpacks\u002Fbusiness-growth\u002Fclaude\u002Fhook-model\u002Farchive\u002Fv0.5\u002FSKILL.md",true,[],[72,84,94,106,119,130],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":39},"01M6G0NJES15RJKZE6YZ0TSYGF","source-checkout-allowed","Valid source-checkout-only fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fsource-checkout-allowed\u002FSKILL.md",[],[79,80,81,82,34,83],"source checkout allowed","checkout","fixture","only","valid",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":39},"01M6G0NFZ3R1MNB1E3DVTM0WB7","deck-install-valid","Valid deck install fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fdeck-install\u002FSKILL.md",[],[91,92,93,83,81,34],"deck install valid","deck","install",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M6G0ND3QZQC4MDZ9NVB97PT2","codex-pack-guard-valid","Valid Codex Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-pack-guard\u002FSKILL.md",[],[101,102,103,83,104,105,81,34],"codex pack guard valid","pack","guard","codex","availability",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":115,"publishedAt":39},"01M6G0NA9YB3NKGZKD3S96JMNB","codex-missing-skill-valid","Valid Codex missing skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-missing-skill-fallback\u002FSKILL.md",[112],{"categoryNo":113,"categoryName":114,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[116,117,83,104,34,118,81],"codex missing skill valid","missing","fallback",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":126,"publishedAt":39},"01M6G0N7PC0EKFD40ZWQAXSAQ9","codex-base-skill-fallback-valid","Valid Codex base skill fallback fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fcodex-base-skill-fallback\u002FSKILL.md",[125],{"categoryNo":113,"categoryName":114,"taxonomyType":21,"taxonomyTypeDesc":22},[83,104,118,127,128,129,34,81],"base skill","codex base skill fallback valid","base",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":39},"01M6G0N4VRR2YKZQ6N3Y6S2BQA","claude-pack-guard-valid","Valid Claude Pack Availability Guard fixture.","https:\u002F\u002Fgithub.com\u002FGeorgeQLe\u002Fagentic-skills\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskill-install-routing\u002Fvalid\u002Fclaude-pack-guard\u002FSKILL.md",[],[83,103,102,137,105,34,81],"claude pack guard valid"]