[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77HP4FZAP6HY9ERBDHRV3GD":3,"skill-same:01M77HP4FZAP6HY9ERBDHRV3GD":47},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M77HP4FZAP6HY9ERBDHRV3GD","tail-wag",null,"Find the most \"tail wagging the dog\" part of the system — a peripheral or secondary concern that is disproportionately driving core design decisions. Produces a ranked list of inverted-priority findings with evidence and a proposed rebalance. Use when the user asks to find the \"tail wagging the dog\", inverted priorities, misplaced drivers, mis-layered concerns, or when something small is clearly dictating something big.","anthony-chaudhary\u002Ffak","anthony-chaudhary","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F18080164?v=4","01M77GSKCAEKV3JS07J40B94DY","Anthony Chaudhary","01M77GSKD26Z7F4FQQD4VA30VX",48,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftail-wag\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tail-wag\ndescription: Find the most \"tail wagging the dog\" part of the system — a peripheral or secondary concern that is disproportionately driving core design decisions. Produces a ranked list of inverted-priority findings with evidence and a proposed rebalance. Use when the user asks to find the \"tail wagging the dog\", inverted priorities, misplaced drivers, mis-layered concerns, or when something small is clearly dictating something big.\n---\n\n# \u002Ftail-wag — Find the Tail Wagging the Dog\n\nIdentify where a **peripheral, secondary, or lower-layer concern** is disproportionately driving **core, primary, or higher-layer** design decisions. The goal is not to list problems — it is to find the *most inverted* one, where the causal arrow points the wrong way.\n\n## What counts as \"tail wagging the dog\"\n\nA finding qualifies when **all three** hold:\n\n1. **Layer inversion** — something that belongs *below* the abstraction line is visibly shaping something *above* it. (e.g. a specific vendor's error code schema shaping the router topology; a DB quirk shaping the domain model; a single consumer's need shaping a shared library's public API.)\n2. **Blast-radius asymmetry** — the \"tail\" affects a narrow slice of cases, but the accommodation for it spreads widely (many call sites, many config knobs, many branches, many drivers).\n3. **Counterfactual cheapness** — if the tail went away tomorrow, a large amount of the code\u002Fconfig\u002Fabstraction could be deleted with no loss.\n\nIf a finding has only 1–2 of these, note it but rank it lower. The winner has all three *loudly*.\n\n## Canonical shapes (not project-specific)\n\nCommon inversion archetypes — when an analogous shape shows up, name it:\n\n- **Provider-as-architecture.** A specific LLM\u002Fcloud\u002Fpayment vendor's rate limits, quotas, or error codes shape default-backend selection, fallback topology, cooldown schema, and observability names. The fix pushes the vendor knowledge *below* dispatch into an adapter; everything above becomes vendor-agnostic. Classic layer inversion: infrastructure was driving architecture.\n- **Retry-as-config.** 5 retry loops + 15+ config keys accrete because each caller reinvented \"how many tries, how long to wait\". One typed budget object collapses the surface. Classic blast-radius asymmetry: retry is a tiny concept, but it had colonized the config file.\n- **State-machine-shaped-by-failure-modes.** A graph state machine accommodates ephemeral signals (rejected, withdrawn, stale) as if they were states. Linear forward-only state machine restored once the tail is identified — failures live in observability, not in the state model.\n\nReference these in your output when analogous — calling out \"this is another provider-as-architecture inversion\" lands faster than re-explaining the concept.\n\n## Instructions\n\nWhen the user runs `\u002Ftail-wag [scope]`:\n\n### 1. Fix the scope\n\nIf `scope` is given (e.g. `apply pipeline`, `auth`, `config surface`, a file path), confine the analysis there. If not, ask **one** clarifying question: *\"Whole repo, or a specific subsystem?\"*. Do not produce a whole-repo audit unless the user explicitly asks.\n\n### 2. Gather evidence (read, don't guess)\n\nParallel-read the entry points for the scope. Useful generic starting points:\n\n- **Dispatch \u002F routing surface** → main router file(s), config that lists adapters or backends.\n- **Storage layer** → schema files, migration history, the ORM\u002Fquery layer.\n- **Config surface** → `config\u002F*.yaml`, env var dictionaries, `defaults.py`-style modules.\n- **Observability** → log schema, event taxonomy, dashboard definitions.\n- **UI** → the templates\u002Fviews and the data shapes they require.\n\nSkim for these **inversion smells** (each is a hypothesis to verify, not a conclusion):\n\n| Smell | What it looks like |\n|---|---|\n| Vendor names in high-level code | Provider \u002F ATS \u002F browser-engine names above the abstraction they should be hidden behind |\n| Config-key proliferation for one concept | 3+ keys that are all really describing the same thing (timeouts, retries, budgets) |\n| One-off branches in hot paths | `if vendor == \"X\":` or `if customer == \"Y\":` inside generic dispatchers |\n| Historical rationale still loadbearing | Comments \u002F docs justifying a choice by an incident that was later fixed elsewhere |\n| Compatibility shims outliving their feature | `_legacy_`, `_v1_`, `# TODO remove after…` with the \"after\" long past |\n| Defaults chosen by outlier | A global default picked to dodge one specific pathology, paid by everyone |\n| Wrappers that only exist to translate errors | Thick adapters where the only real content is mapping one error taxonomy to another |\n| Schema driven by the reader, not the data | A storage\u002Fevent schema whose fields are named after one consumer's UI |\n\n### 3. Rank the findings\n\nProduce at most **5 candidates**, ranked. Score each roughly on:\n\n- **Inversion severity** (1–5): how clearly is the causal arrow pointing the wrong way?\n- **Blast radius** (1–5): how much code\u002Fconfig\u002Fsurface area does the accommodation touch?\n- **Counterfactual cheapness** (1–5): if the tail vanished, how much could be deleted?\n\nThe **winner** is the finding with the highest product (or the highest in all three if there's a tie). State the scores explicitly — no hand-waving.\n\n### 4. Write the output\n\nFormat:\n\n```\n## Tail-wagging-the-dog: \u003Cscope>\n\n### Winner: \u003Cshort name>\n- The tail: \u003Cthe peripheral concern, one sentence>\n- The dog: \u003Cthe core decision it is shaping, one sentence>\n- Evidence: \u003C3–5 file:line pointers or config-key names — concrete, not paraphrased>\n- Scores: inversion=\u003Cn>\u002F5, blast=\u003Cn>\u002F5, counterfactual=\u003Cn>\u002F5\n- Analogy: \u003Coptional — \"same shape as provider-as-architecture\" etc.>\n- Rebalance: \u003Cone paragraph on what should drive what, and the smallest move that would start the correction>\n\n### Runners-up\n1. \u003Cname> — \u003Cone-line why it's inverted, one-line why it ranked lower>\n2. \u003Cname> — …\n```\n\nKeep the winner section ~150 words. Runners-up one line each. No preamble, no conclusion paragraph.\n\n### 5. Do not propose a phased plan\n\nThis skill **diagnoses**, it does not plan. If the user wants a phased plan to execute the rebalance, they will ask. Ending with \"want me to draft a plan?\" is fine; writing the plan unsolicited is not.\n\n## Anti-patterns (what this skill must not do)\n\n- **Don't list generic tech-debt.** \"This file is long\" or \"tests are flaky\" are not tail-wag findings. The finding must name a *driver* and a *thing driven*, with the arrow inverted.\n- **Don't confuse \"annoying\" with \"inverted\".** A legitimately hard problem handled at the right layer is not a tail-wag, even if the code is gnarly.\n- **Don't invent evidence.** Every finding cites real file paths, config keys, or call sites. If you can't cite, you haven't verified — drop the finding.\n- **Don't hide behind hedges.** Pick a winner. \"They're all kind of bad\" is not an output.\n","# \u002Ftail-wag — Find the Tail Wagging the Dog\n\nIdentify where a **peripheral, secondary, or lower-layer concern** is disproportionately driving **core, primary, or higher-layer** design decisions. The goal is not to list problems — it is to find the *most inverted* one, where the causal arrow points the wrong way.\n\n## What counts as \"tail wagging the dog\"\n\nA finding qualifies when **all three** hold:\n\n1. **Layer inversion** — something that belongs *below* the abstraction line is visibly shaping something *above* it. (e.g. a specific vendor's error code schema shaping the router topology; a DB quirk shaping the domain model; a single consumer's need shaping a shared library's public API.)\n2. **Blast-radius asymmetry** — the \"tail\" affects a narrow slice of cases, but the accommodation for it spreads widely (many call sites, many config knobs, many branches, many drivers).\n3. **Counterfactual cheapness** — if the tail went away tomorrow, a large amount of the code\u002Fconfig\u002Fabstraction could be deleted with no loss.\n\nIf a finding has only 1–2 of these, note it but rank it lower. The winner has all three *loudly*.\n\n## Canonical shapes (not project-specific)\n\nCommon inversion archetypes — when an analogous shape shows up, name it:\n\n- **Provider-as-architecture.** A specific LLM\u002Fcloud\u002Fpayment vendor's rate limits, quotas, or error codes shape default-backend selection, fallback topology, cooldown schema, and observability names. The fix pushes the vendor knowledge *below* dispatch into an adapter; everything above becomes vendor-agnostic. Classic layer inversion: infrastructure was driving architecture.\n- **Retry-as-config.** 5 retry loops + 15+ config keys accrete because each caller reinvented \"how many tries, how long to wait\". One typed budget object collapses the surface. Classic blast-radius asymmetry: retry is a tiny concept, but it had colonized the config file.\n- **State-machine-shaped-by-failure-modes.** A graph state machine accommodates ephemeral signals (rejected, withdrawn, stale) as if they were states. Linear forward-only state machine restored once the tail is identified — failures live in observability, not in the state model.\n\nReference these in your output when analogous — calling out \"this is another provider-as-architecture inversion\" lands faster than re-explaining the concept.\n\n## Instructions\n\nWhen the user runs `\u002Ftail-wag [scope]`:\n\n### 1. Fix the scope\n\nIf `scope` is given (e.g. `apply pipeline`, `auth`, `config surface`, a file path), confine the analysis there. If not, ask **one** clarifying question: *\"Whole repo, or a specific subsystem?\"*. Do not produce a whole-repo audit unless the user explicitly asks.\n\n### 2. Gather evidence (read, don't guess)\n\nParallel-read the entry points for the scope. Useful generic starting points:\n\n- **Dispatch \u002F routing surface** → main router file(s), config that lists adapters or backends.\n- **Storage layer** → schema files, migration history, the ORM\u002Fquery layer.\n- **Config surface** → `config\u002F*.yaml`, env var dictionaries, `defaults.py`-style modules.\n- **Observability** → log schema, event taxonomy, dashboard definitions.\n- **UI** → the templates\u002Fviews and the data shapes they require.\n\nSkim for these **inversion smells** (each is a hypothesis to verify, not a conclusion):\n\n| Smell | What it looks like |\n|---|---|\n| Vendor names in high-level code | Provider \u002F ATS \u002F browser-engine names above the abstraction they should be hidden behind |\n| Config-key proliferation for one concept | 3+ keys that are all really describing the same thing (timeouts, retries, budgets) |\n| One-off branches in hot paths | `if vendor == \"X\":` or `if customer == \"Y\":` inside generic dispatchers |\n| Historical rationale still loadbearing | Comments \u002F docs justifying a choice by an incident that was later fixed elsewhere |\n| Compatibility shims outliving their feature | `_legacy_`, `_v1_`, `# TODO remove after…` with the \"after\" long past |\n| Defaults chosen by outlier | A global default picked to dodge one specific pathology, paid by everyone |\n| Wrappers that only exist to translate errors | Thick adapters where the only real content is mapping one error taxonomy to another |\n| Schema driven by the reader, not the data | A storage\u002Fevent schema whose fields are named after one consumer's UI |\n\n### 3. Rank the findings\n\nProduce at most **5 candidates**, ranked. Score each roughly on:\n\n- **Inversion severity** (1–5): how clearly is the causal arrow pointing the wrong way?\n- **Blast radius** (1–5): how much code\u002Fconfig\u002Fsurface area does the accommodation touch?\n- **Counterfactual cheapness** (1–5): if the tail vanished, how much could be deleted?\n\nThe **winner** is the finding with the highest product (or the highest in all three if there's a tie). State the scores explicitly — no hand-waving.\n\n### 4. Write the output\n\nFormat:\n\n```\n## Tail-wagging-the-dog: \u003Cscope>\n\n### Winner: \u003Cshort name>\n- The tail: \u003Cthe peripheral concern, one sentence>\n- The dog: \u003Cthe core decision it is shaping, one sentence>\n- Evidence: \u003C3–5 file:line pointers or config-key names — concrete, not paraphrased>\n- Scores: inversion=\u003Cn>\u002F5, blast=\u003Cn>\u002F5, counterfactual=\u003Cn>\u002F5\n- Analogy: \u003Coptional — \"same shape as provider-as-architecture\" etc.>\n- Rebalance: \u003Cone paragraph on what should drive what, and the smallest move that would start the correction>\n\n### Runners-up\n1. \u003Cname> — \u003Cone-line why it's inverted, one-line why it ranked lower>\n2. \u003Cname> — …\n```\n\nKeep the winner section ~150 words. Runners-up one line each. No preamble, no conclusion paragraph.\n\n### 5. Do not propose a phased plan\n\nThis skill **diagnoses**, it does not plan. If the user wants a phased plan to execute the rebalance, they will ask. Ending with \"want me to draft a plan?\" is fine; writing the plan unsolicited is not.\n\n## Anti-patterns (what this skill must not do)\n\n- **Don't list generic tech-debt.** \"This file is long\" or \"tests are flaky\" are not tail-wag findings. The finding must name a *driver* and a *thing driven*, with the arrow inverted.\n- **Don't confuse \"annoying\" with \"inverted\".** A legitimately hard problem handled at the right layer is not a tail-wag, even if the code is gnarly.\n- **Don't invent evidence.** Every finding cites real file paths, config keys, or call sites. If you can't cite, you haven't verified — drop the finding.\n- **Don't hide behind hedges.** Pick a winner. \"They're all kind of bad\" is not an output.\n",{"name":5,"description":7},"main","f565b7b7db63e79649f3a02c08108132a86c5d05",".claude\u002Fskills\u002Ftail-wag",16,"https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak","https:\u002F\u002Fanthony-chaudhary.github.io\u002Ffak\u002Fshowcase.html","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary","https:\u002F\u002Flinkedin.com\u002Fin\u002Fanthonychaudhary","2026-11-15 03:06:00",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add anthony-chaudhary\u002Ffak --skill tail-wag",{"tool":39,"command":40},"bunx","bunx skills add anthony-chaudhary\u002Ffak --skill tail-wag",{"tool":42,"command":43},"pnpm","pnpm dlx skills add anthony-chaudhary\u002Ffak --skill tail-wag","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftail-wag\u002FSKILL.md",true,[],[48,55,64,71,78,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M78V4059KRP2T88YR6Z05MJQ","serve-receipt","On-demand research protocol + deterministic receipt for serving a Hugging Face model on a concrete GPU target — fan out research lanes (model facts\u002Ffiles, engine support matrix, serving recipes, KV\u002Fstate memory math), compute the tiered feasibility verdict with `fak serve-receipt` (never narrated math), and emit a witnessed launch receipt. Use when asked for an \"initial config\", \"serving receipt\", or \"how do I serve \u003Cmodel> on \u003CGPUs>\".","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fserve-receipt\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M77HRGKQV2CJ2K6ZFN4YQ32K","caveman","Ultra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says \"caveman mode\", \"talk like caveman\", \"use caveman\", \"less tokens\", \"be brief\", or invokes \u002Fcaveman. Also auto-triggers when token efficiency is requested.","MIT","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fsyspromptmmu\u002Fthird_party\u002Fcaveman\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fsyspromptmmu\u002Fthird_party\u002Fcaveman\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},"01M77HRAY3Y3BE7APN5PVJF7NV","quality-report","Score the repo quality and emit a report card.","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fctxplans\u002Ftestdata\u002Frepo\u002F.claude\u002Fskills\u002Fquality-report\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},"01M77HR9807KHAX13DG9PW2K2Q","ctx-overlay","Compact the context window and prune the memory store when a session grows too long.","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fctxplans\u002Ftestdata\u002Frepo\u002F.claude\u002Fskills\u002Fctx-overlay\u002FSKILL.md",[],[],{"skillNo":79,"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":80,"categories":81,"keywords":82,"publishedAt":19},"01M77HR7XQ9X8F2CY9Z4F2ZEZ3","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fctxplanlint\u002Ftestdata\u002Frepo\u002F.claude\u002Fskills\u002Fquality-report\u002FSKILL.md",[],[],{"skillNo":84,"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":85,"categories":86,"keywords":87,"publishedAt":19},"01M77HR5BVKCTR1WNJGRBSDNX7","https:\u002F\u002Fgithub.com\u002Fanthony-chaudhary\u002Ffak\u002Fblob\u002Fmain\u002Finternal\u002Fctxplanlint\u002Ftestdata\u002Frepo\u002F.claude\u002Fskills\u002Fctx-overlay\u002FSKILL.md",[],[]]