[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B35V9FGXDB2N2V58EVSMC1":3,"skill-same:01M7B35V9FGXDB2N2V58EVSMC1":49},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7B35V9FGXDB2N2V58EVSMC1","self-healing-skills-thread-driven-skill-improvement",null,"Analyze any conversation thread for skill gaps and improvement opportunities. When a thread involves friction, trial-and-error, or discovery that could have been avoided with better skill documentation, this skill provides the protocol to identify whether to UPDATE an existing skill, CREATE a new one, or take NO ACTION. Makes the self-improving organizational harness systematic: every conversation with friction becomes a captured knowledge opportunity.","gethamster\u002Fskills","gethamster","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F215697643?v=4","01M7B2R6PGB3SDZZ71E0WE2S74","Hamster","01M7B2R6Q21HWJRXZZWB78BNDG",4,"MIT","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fself-healing-skills-thread-driven-skill-improvement\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: self-healing-skills-thread-driven-skill-improvement\ndescription: \"Analyze any conversation thread for skill gaps and improvement opportunities. When a thread involves friction, trial-and-error, or discovery that could have been avoided with better skill documentation, this skill provides the protocol to identify whether to UPDATE an existing skill, CREATE a new one, or take NO ACTION. Makes the self-improving organizational harness systematic: every conversation with friction becomes a captured knowledge opportunity.\"\nversion: \"1.0.0\"\ncategory: \"Workflows\"\n---\n\n# Self-Healing Skills: Thread-Driven Skill Improvement\n\n## Purpose\n\nThis skill teaches Hamster how to analyze any conversation thread (including the current one) to identify when existing skills need to be updated, corrected, or improved — and when new skills should be created. It is the generic, reusable version of a pattern demonstrated in practice: a thread full of trial-and-error with PostHog led to creating a skill that would prevent that trial-and-error next time. This skill makes that pattern systematic and automatic.\n\nThe absolute goal is a self-healing, self-improving organizational harness of skills across all activity that runs on Hamster. Every conversation that involves friction, discovery, or problem-solving is an opportunity to capture knowledge into a skill or improve an existing one.\n\n## When to Use (Trigger Conditions)\n\nActivate this skill when:\n\n- A conversation involved significant trial-and-error, debugging, or discovery that could have been avoided with better skill documentation\n- A thread reveals that an existing skill's guidance was incomplete, incorrect, or missing a critical detail (e.g., wrong field name, missing step, outdated API)\n- A thread covers a workflow or integration pattern that no existing skill addresses but will likely recur (e.g., setting up Mixpanel measurements, configuring a new CI tool, integrating a new third-party API)\n- A user explicitly asks to \"standardize what we know\" or \"create a skill from this\"\n- A routine fires that triggers skill review (see the companion routine)\n- After any conversation where the AI had to make more than 2-3 attempts to get something working that should have been a single-shot operation\n\n## Core Guidance\n\n### 1. Thread Analysis Protocol\n\nWhen analyzing a thread for skill improvement opportunities, run this protocol:\n\n**Step 1: Friction Audit**\n\nScan the conversation for:\n\n- Repeated failed attempts (API calls that errored, queries that returned wrong results, configurations that didn't work)\n- Trial-and-error cycles (trying field A, then field B, then field C before finding the right one)\n- Manual discovery of information that should have been documented (e.g., \"there's no `unique` math type, the right one is `hogql` with `math_hogql`\")\n- Workarounds for missing or incorrect skill guidance\n- Moments where the user had to correct the AI's approach\n\n**Step 2: Knowledge Extraction**\n\nFor each friction point, extract:\n\n- What was the correct approach (the thing that finally worked)?\n- What was the wrong approach (the things that failed)?\n- Why did the wrong approach seem reasonable but fail? (e.g., \"math_property seemed like the right field name but it's silently ignored; math_hogql is the correct field\")\n- What specific, reusable knowledge would have prevented this friction?\n\n**Step 3: Skill Gap Assessment**\n\nCross-reference extracted knowledge against existing skills:\n\n- Does an existing skill already cover this? If so, is its guidance complete or does it need updating?\n- Is this a new domain\u002Fpattern that no existing skill addresses?\n- Is this knowledge too narrow for a skill (a one-off) or general enough to recur?\n- Does this overlap with an existing skill's scope? If so, should it be merged or kept separate?\n\n**Step 4: Action Determination**\n\nFor each gap found, determine the action:\n\n- **UPDATE**: An existing skill's guidance was incomplete or incorrect. Propose a specific edit to that skill.\n- **CREATE**: No existing skill covers this domain. Propose a new skill.\n- **ARCHIVE**: An existing skill covers a domain that's been deprecated or merged. Flag for archival.\n- **NO ACTION**: The knowledge is too specific to recur, or the existing skill already covers it adequately.\n\n### 2. DRY Skills Principle\n\n- Skills must be DRY. If two skills cover overlapping domains, merge them or clearly scope them to non-overlapping triggers.\n- Before creating a new skill, search existing skills for overlap. If the new knowledge fits inside an existing skill's scope, propose an update to that skill instead.\n- Skills typically belong to Methods. When a skill covers a recurring workflow that should fire automatically, also propose a Method\u002FRoutine that uses the skill.\n- One skill per domain. Don't create \"PostHog Measurements v2\" — update the original.\n\n### 3. Proactive Initiative\n\nHamster should take the initiative to improve skills without being asked. When a thread reveals friction:\n\n- Proactively suggest skill improvements at the end of a conversation, even if the user didn't ask\n- Frame suggestions as: \"This thread revealed [X friction]. I recommend [updating\u002Fcreating] a skill to capture [Y knowledge] so this doesn't recur.\"\n- Don't wait for the user to notice the pattern — if the AI struggled, the skill should be updated\n- Post the suggestion in the relevant brief or initiative chat if one exists, or surface it directly in the conversation\n\n### 4. Skill Quality Standards\n\nWhen proposing a new skill or update:\n\n- Include concrete examples from the actual thread (real field names, real API calls, real error messages)\n- Document anti-patterns explicitly — the wrong approaches that failed are as valuable as the right one\n- Keep skills under ~2000 words; split if they exceed that\n- Include trigger conditions that would activate the skill\n- Cross-reference related skills to avoid duplication\n\n### 5. Feedback Loop\n\n- After proposing a skill update or creation, note what trigger event or conversation pattern led to the discovery\n- Track which skills have been updated through this process to identify patterns (e.g., \"PostHog skills needed 3 updates this quarter — maybe we need a broader analytics skill review\")\n- If the same friction recurs after a skill was supposedly updated, the skill's trigger conditions or guidance may be too weak — flag for deeper review\n\n## Concrete Example (from real conversation)\n\n**Thread pattern**: Setting up a PostHog measurement binding for a Hamster goal measure required 15+ API calls, discovering that:\n\n1. HogQLQuery insights return `[[value]]` but measure bindings need `aggregated_value` from TrendsQuery\n2. `math: \"unique\"` doesn't exist — the correct approach is `math: \"hogql\"` with `math_hogql` field\n3. `math_property` is silently ignored for HogQL expressions; `math_hogql` is the correct field\n\n**Skill action**: CREATE a new skill \"PostHog Measurements for Goal Bindings\" capturing all three discoveries with the exact field names, the wrong approaches that failed, and the correct approach that worked.\n\n**Routine action**: CREATE a routine that fires on `brief.approved` and `initiative.state_changed.shipped` to analyze the thread for skill improvement opportunities using this skill's protocol.\n\n## Anti-Patterns\n\n- **Creating a skill for every conversation**: Not every thread reveals reusable knowledge. If the friction was specific to a one-off task (e.g., \"this particular user's account had a weird config\"), don't create a skill. Only create when the knowledge will recur.\n- **Updating a skill without checking the current version**: Always read the existing skill before proposing edits. The skill may already cover what you discovered.\n- **Proposing vague updates**: \"Improve the PostHog section\" is not actionable. \"Add a section on math_hogql field for HogQL expressions in TrendsQuery\" is actionable.\n- **Duplicating existing skills**: Before creating, search for existing skills that cover the same domain. Merge or update instead of creating a parallel skill.\n- **Waiting for the user to ask**: If the AI struggled, the skill should be updated. Don't wait for the user to notice the pattern.\n- **Creating skills that should be methods**: If the knowledge is about a recurring workflow that should fire automatically, it's a Method, not just a Skill. Propose both.\n- **Ignoring the DRY principle**: Two skills covering the same domain with slightly different guidance is worse than one well-maintained skill. Merge aggressively.\n\n## Cross-References\n\n- \"Detecting and Flagging Skills for Refresh\" — existing skill for periodic skill staleness detection (trigger-based, not thread-based)\n- \"Detecting and Flagging Methods for Refresh\" — existing skill for method staleness detection\n- \"Authoring Skills from Scratch\" — how to write a strong skill\n- \"Authoring Routines from Scratch\" — how to write a strong routine\n- \"Authoring Methods from Scratch\" — how to write a strong method\n- The companion routine \"Self-Healing Skills: Thread-Driven Skill Review\" uses this skill's protocol to analyze threads automatically\n","# Self-Healing Skills: Thread-Driven Skill Improvement\n\n## Purpose\n\nThis skill teaches Hamster how to analyze any conversation thread (including the current one) to identify when existing skills need to be updated, corrected, or improved — and when new skills should be created. It is the generic, reusable version of a pattern demonstrated in practice: a thread full of trial-and-error with PostHog led to creating a skill that would prevent that trial-and-error next time. This skill makes that pattern systematic and automatic.\n\nThe absolute goal is a self-healing, self-improving organizational harness of skills across all activity that runs on Hamster. Every conversation that involves friction, discovery, or problem-solving is an opportunity to capture knowledge into a skill or improve an existing one.\n\n## When to Use (Trigger Conditions)\n\nActivate this skill when:\n\n- A conversation involved significant trial-and-error, debugging, or discovery that could have been avoided with better skill documentation\n- A thread reveals that an existing skill's guidance was incomplete, incorrect, or missing a critical detail (e.g., wrong field name, missing step, outdated API)\n- A thread covers a workflow or integration pattern that no existing skill addresses but will likely recur (e.g., setting up Mixpanel measurements, configuring a new CI tool, integrating a new third-party API)\n- A user explicitly asks to \"standardize what we know\" or \"create a skill from this\"\n- A routine fires that triggers skill review (see the companion routine)\n- After any conversation where the AI had to make more than 2-3 attempts to get something working that should have been a single-shot operation\n\n## Core Guidance\n\n### 1. Thread Analysis Protocol\n\nWhen analyzing a thread for skill improvement opportunities, run this protocol:\n\n**Step 1: Friction Audit**\n\nScan the conversation for:\n\n- Repeated failed attempts (API calls that errored, queries that returned wrong results, configurations that didn't work)\n- Trial-and-error cycles (trying field A, then field B, then field C before finding the right one)\n- Manual discovery of information that should have been documented (e.g., \"there's no `unique` math type, the right one is `hogql` with `math_hogql`\")\n- Workarounds for missing or incorrect skill guidance\n- Moments where the user had to correct the AI's approach\n\n**Step 2: Knowledge Extraction**\n\nFor each friction point, extract:\n\n- What was the correct approach (the thing that finally worked)?\n- What was the wrong approach (the things that failed)?\n- Why did the wrong approach seem reasonable but fail? (e.g., \"math_property seemed like the right field name but it's silently ignored; math_hogql is the correct field\")\n- What specific, reusable knowledge would have prevented this friction?\n\n**Step 3: Skill Gap Assessment**\n\nCross-reference extracted knowledge against existing skills:\n\n- Does an existing skill already cover this? If so, is its guidance complete or does it need updating?\n- Is this a new domain\u002Fpattern that no existing skill addresses?\n- Is this knowledge too narrow for a skill (a one-off) or general enough to recur?\n- Does this overlap with an existing skill's scope? If so, should it be merged or kept separate?\n\n**Step 4: Action Determination**\n\nFor each gap found, determine the action:\n\n- **UPDATE**: An existing skill's guidance was incomplete or incorrect. Propose a specific edit to that skill.\n- **CREATE**: No existing skill covers this domain. Propose a new skill.\n- **ARCHIVE**: An existing skill covers a domain that's been deprecated or merged. Flag for archival.\n- **NO ACTION**: The knowledge is too specific to recur, or the existing skill already covers it adequately.\n\n### 2. DRY Skills Principle\n\n- Skills must be DRY. If two skills cover overlapping domains, merge them or clearly scope them to non-overlapping triggers.\n- Before creating a new skill, search existing skills for overlap. If the new knowledge fits inside an existing skill's scope, propose an update to that skill instead.\n- Skills typically belong to Methods. When a skill covers a recurring workflow that should fire automatically, also propose a Method\u002FRoutine that uses the skill.\n- One skill per domain. Don't create \"PostHog Measurements v2\" — update the original.\n\n### 3. Proactive Initiative\n\nHamster should take the initiative to improve skills without being asked. When a thread reveals friction:\n\n- Proactively suggest skill improvements at the end of a conversation, even if the user didn't ask\n- Frame suggestions as: \"This thread revealed [X friction]. I recommend [updating\u002Fcreating] a skill to capture [Y knowledge] so this doesn't recur.\"\n- Don't wait for the user to notice the pattern — if the AI struggled, the skill should be updated\n- Post the suggestion in the relevant brief or initiative chat if one exists, or surface it directly in the conversation\n\n### 4. Skill Quality Standards\n\nWhen proposing a new skill or update:\n\n- Include concrete examples from the actual thread (real field names, real API calls, real error messages)\n- Document anti-patterns explicitly — the wrong approaches that failed are as valuable as the right one\n- Keep skills under ~2000 words; split if they exceed that\n- Include trigger conditions that would activate the skill\n- Cross-reference related skills to avoid duplication\n\n### 5. Feedback Loop\n\n- After proposing a skill update or creation, note what trigger event or conversation pattern led to the discovery\n- Track which skills have been updated through this process to identify patterns (e.g., \"PostHog skills needed 3 updates this quarter — maybe we need a broader analytics skill review\")\n- If the same friction recurs after a skill was supposedly updated, the skill's trigger conditions or guidance may be too weak — flag for deeper review\n\n## Concrete Example (from real conversation)\n\n**Thread pattern**: Setting up a PostHog measurement binding for a Hamster goal measure required 15+ API calls, discovering that:\n\n1. HogQLQuery insights return `[[value]]` but measure bindings need `aggregated_value` from TrendsQuery\n2. `math: \"unique\"` doesn't exist — the correct approach is `math: \"hogql\"` with `math_hogql` field\n3. `math_property` is silently ignored for HogQL expressions; `math_hogql` is the correct field\n\n**Skill action**: CREATE a new skill \"PostHog Measurements for Goal Bindings\" capturing all three discoveries with the exact field names, the wrong approaches that failed, and the correct approach that worked.\n\n**Routine action**: CREATE a routine that fires on `brief.approved` and `initiative.state_changed.shipped` to analyze the thread for skill improvement opportunities using this skill's protocol.\n\n## Anti-Patterns\n\n- **Creating a skill for every conversation**: Not every thread reveals reusable knowledge. If the friction was specific to a one-off task (e.g., \"this particular user's account had a weird config\"), don't create a skill. Only create when the knowledge will recur.\n- **Updating a skill without checking the current version**: Always read the existing skill before proposing edits. The skill may already cover what you discovered.\n- **Proposing vague updates**: \"Improve the PostHog section\" is not actionable. \"Add a section on math_hogql field for HogQL expressions in TrendsQuery\" is actionable.\n- **Duplicating existing skills**: Before creating, search for existing skills that cover the same domain. Merge or update instead of creating a parallel skill.\n- **Waiting for the user to ask**: If the AI struggled, the skill should be updated. Don't wait for the user to notice the pattern.\n- **Creating skills that should be methods**: If the knowledge is about a recurring workflow that should fire automatically, it's a Method, not just a Skill. Propose both.\n- **Ignoring the DRY principle**: Two skills covering the same domain with slightly different guidance is worse than one well-maintained skill. Merge aggressively.\n\n## Cross-References\n\n- \"Detecting and Flagging Skills for Refresh\" — existing skill for periodic skill staleness detection (trigger-based, not thread-based)\n- \"Detecting and Flagging Methods for Refresh\" — existing skill for method staleness detection\n- \"Authoring Skills from Scratch\" — how to write a strong skill\n- \"Authoring Routines from Scratch\" — how to write a strong routine\n- \"Authoring Methods from Scratch\" — how to write a strong method\n- The companion routine \"Self-Healing Skills: Thread-Driven Skill Review\" uses this skill's protocol to analyze threads automatically\n",{"name":5,"version":24,"category":25,"description":7},"1.0.0","Workflows","main","fe3bb1476c3ec23d8a366eac0fa8cd9f0852360a","skills\u002F.experimental\u002Fself-healing-skills-thread-driven-skill-improvement",0,"https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgethamster","https:\u002F\u002Ftryhamster.com","We're building the AI-native future of work, unlocking the promised acceleration for your whole team, from idea to impact.","2026-11-05 11:33:33",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add gethamster\u002Fskills --skill self-healing-skills-thread-driven-skill-improvement",{"tool":41,"command":42},"bunx","bunx skills add gethamster\u002Fskills --skill self-healing-skills-thread-driven-skill-improvement",{"tool":44,"command":45},"pnpm","pnpm dlx skills add gethamster\u002Fskills --skill self-healing-skills-thread-driven-skill-improvement","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fself-healing-skills-thread-driven-skill-improvement\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7B5MWYW0KE251276S56KQDZ","writing-waterfall-requirements-documents","Write a waterfall requirements document: elicit, structure and review testable, traceable requirements, then baseline the specification before design.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-waterfall-requirements-documents\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7B5MRCXWWPKREPB1CHQ7H90","writing-vision-and-values-statements","Write a V2MOM vision a reader can test and a ranked list of values that settles real tradeoffs, so the rest of the document has a clear anchor.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-vision-and-values-statements\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7B5MKH2CH22YZAHQW3080VQ","writing-system-prompts-for-claude","Write Claude prompts and CLAUDE.md files that supply exact inputs, scope the task, and define done so the first attempt can be checked.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-system-prompts-for-claude\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7B5ME1Y3X9RNRKP5HKHKACZ","writing-page-specific-website-copy","Website copywriting by page type: write homepage, landing page, pricing page and feature page copy that fits each page's visitor and single job.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-page-specific-website-copy\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7B5M8MQNM8MN8PYH6BVWJ2B","writing-internal-press-releases","How to write an internal press release: the one-page working backwards press release that opens a PR\u002FFAQ document before anything is built.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-internal-press-releases\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7B5M3P3YH1XF37R8PWXXSBK","writing-email-sequences-that-sell","Email sequence copywriting for nurture and sales: give each email one job, write clear subject lines, and close with one specific call to action.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-email-sequences-that-sell\u002FSKILL.md",[],[]]