[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GKB0HSTS1B958DEGAC33PZ":3,"skill-same:01M6GKB0HSTS1B958DEGAC33PZ":77},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":6,"updatedAt":56,"install":57,"resources":70},"01M6GKB0HSTS1B958DEGAC33PZ","metric-lineage",null,"Use this skill to trace a KPI or metric from dashboard\u002Freport back through SQL, dbt models, semantic layers, events, source tables, transformations, filters, and owners. Trigger on phrases like metric lineage, trace this KPI, where does this dashboard number come from, lineage for conversion rate, source-to-dashboard, metric drift, or why do reports disagree.","weisberg\u002Fagile_agentic_analytics","weisberg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5054710?v=4","01M6GK0MXK350SV8PMZ0D040SB","Brian Weisberg","01M6GK0N2F8X600FCTKCB3X2ZF",1,"MIT","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Flead-analyst\u002Fskills\u002Fmetric-lineage\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"metric lineage","lineage","conversion","number","trigger","false","drift","back","do","models","reports","dashboard","filters","use","owners","why","kpi","report","dbt","sql","2026-11-10 10:12:30",false,"---\nname: metric-lineage\ndescription: \"Use this skill to trace a KPI or metric from dashboard\u002Freport back through SQL, dbt models, semantic layers, events, source tables, transformations, filters, and owners. Trigger on phrases like metric lineage, trace this KPI, where does this dashboard number come from, lineage for conversion rate, source-to-dashboard, metric drift, or why do reports disagree.\"\n\ndisable-model-invocation: false\n---\n\n# Metric Lineage\n\n## Contract\n\nYou are the metric lineage investigator. Your job is to trace a metric from the\nnumber people see back to the source events\u002Ftables and every transformation that\ncan change its meaning.\n\nThis skill produces a lineage map and drift assessment; it is read-only and does\nnot redefine the metric. Route to `metric-contract` when a canonical definition is\nneeded, `data-quality-audit` when lineage exposes trust defects, `sql-review` when\na specific transformation query is suspect, and `metric-movement-diagnostic` when\nthe reason you are tracing is that the number moved.\n\nRead `references\u002Fanalysis-standards.md` for the analytical spine.\n\n## Workflow\n\n### Phase 1: Anchor the Displayed Number (Evidence)\n\nRecord the exact number people are looking at: dashboard\u002Freport name, field label,\napplied filters, date range, and any visible definition or tooltip. Screenshot\nthe number if that is all that exists, but treat it as a claim to verify, not\nground truth.\n\n### Phase 2: Trace Backward Through Every Layer\n\nFollow the number upstream layer by layer, capturing the artifact at each hop.\nSearch `sql\u002F`, `dbt\u002F`, `models\u002F`, `notebooks\u002F`, `queries\u002F`, semantic-layer configs,\nand BI definitions:\n\n1. BI calculated fields and dashboard-level filters.\n2. The query\u002Fview feeding the tile.\n3. dbt \u002F semantic-layer models and their tests.\n4. Notebooks or extracts in the path.\n5. Event definitions and the raw source tables.\n\n### Phase 3: Capture Meaning-Changing Transformations\n\nAt each hop, note what can silently change the metric's meaning: joins (and their\nfanout\u002Floss), filters, grouping grain, timezones, attribution windows,\nexclusions, dedupe logic, and backfills. A grain change introduced by a join is\nthe most common lineage defect — track grain explicitly at every step.\n\n### Phase 4: Diff Variants When Reports Disagree\n\nIf multiple dashboards\u002Freports use the same label, diff their definitions\nside by side. Same name is not same definition — surface the exact clause where\nthey diverge (a different filter, window, or source table).\n\n### Phase 5: Decision Gate — Depth of Trace\n\nWhen the lineage is deep or partly inaccessible, ask with `AskUserQuestion`:\n\n- **Trace depth** — stop at the query layer (fast, catches dashboard\u002Ffilter bugs)\n  vs trace all the way to raw events (slow, needed when reports disagree or a\n  definition is contested).\n- **On conflict** — if variants diverge, proceed to reconcile via `metric-contract`\n  or just document the divergence.\n\nHard STOP rule: if you cannot access a layer required to explain the number (a\nlocked warehouse, a missing dbt repo), STOP and report the lineage as **partial**\nwith the exact broken link named — do not guess the upstream logic and present it\nas traced.\n\n### Phase 6: Assess Drift and Recommend Control\n\nLook for recent schema changes, renamed events, changed filters, dashboard-only\ncalculations, and stale extracts. Recommend the control: metric contract,\nsource-of-truth consolidation, tests, ownership, or deprecation.\n\n## Output Format\n\n```markdown\n# Metric Lineage: \u003Cmetric>\n\n**Displayed number:** ...\n**Trace completeness:** Full to source \u002F Partial (broken link: ...)\n**Source of truth status:** Clear \u002F Conflicting \u002F Unknown\n**Decision risk:** Low \u002F Medium \u002F High\n\n## Lineage Diagram\n\u003Ctext diagram: raw table -> model -> query -> tile>\n\n## Transformation Table\n| Step | Artifact | Grain | Meaning-Changing Logic | Risk |\n|------|----------|-------|------------------------|------|\n\n## Definition Drift \u002F Variant Diff\n## Source-Of-Truth Recommendation\n## Next Fixes\n```\n\nSave a durable map to `workspace\u002Fanalysis\u002Flead-analyst\u002Flineage\u002F` if `workspace\u002F`\nexists, otherwise `analysis\u002Flead-analyst\u002Flineage\u002F`, using:\n\n```text\nYYYYMMDD-HHMMSS-lineage-\u003Cslug>.md\n```\n\nClose with a completion status block:\n\n```text\nSTATUS: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT\nArtifact: \u003Cpath or \"none — returned inline\">\nSource of truth: \u003Cclear | conflicting | unknown>\nNext skill: \u002Flead-analyst:metric-contract | data-quality-audit | sql-review\nOpen concerns: \u003Cnone or list — e.g. broken link, variant disagreement>\n```\n\nUse `DONE_WITH_CONCERNS` when the trace is complete but drift risk is high;\n`BLOCKED` when a required layer is inaccessible; `NEEDS_CONTEXT` when the metric\nlabel or displayed filters are ambiguous.\n\n## Anti-Patterns\n\n- Stopping at the dashboard query when upstream models matter.\n- Ignoring dashboard-level filters and calculated fields.\n- Treating same metric names as same definitions.\n- Missing grain changes introduced by joins or aggregations.\n- Guessing an inaccessible upstream layer instead of flagging a partial trace.\n- Producing a lineage map with no ownership recommendation.\n","# Metric Lineage\n\n## Contract\n\nYou are the metric lineage investigator. Your job is to trace a metric from the\nnumber people see back to the source events\u002Ftables and every transformation that\ncan change its meaning.\n\nThis skill produces a lineage map and drift assessment; it is read-only and does\nnot redefine the metric. Route to `metric-contract` when a canonical definition is\nneeded, `data-quality-audit` when lineage exposes trust defects, `sql-review` when\na specific transformation query is suspect, and `metric-movement-diagnostic` when\nthe reason you are tracing is that the number moved.\n\nRead `references\u002Fanalysis-standards.md` for the analytical spine.\n\n## Workflow\n\n### Phase 1: Anchor the Displayed Number (Evidence)\n\nRecord the exact number people are looking at: dashboard\u002Freport name, field label,\napplied filters, date range, and any visible definition or tooltip. Screenshot\nthe number if that is all that exists, but treat it as a claim to verify, not\nground truth.\n\n### Phase 2: Trace Backward Through Every Layer\n\nFollow the number upstream layer by layer, capturing the artifact at each hop.\nSearch `sql\u002F`, `dbt\u002F`, `models\u002F`, `notebooks\u002F`, `queries\u002F`, semantic-layer configs,\nand BI definitions:\n\n1. BI calculated fields and dashboard-level filters.\n2. The query\u002Fview feeding the tile.\n3. dbt \u002F semantic-layer models and their tests.\n4. Notebooks or extracts in the path.\n5. Event definitions and the raw source tables.\n\n### Phase 3: Capture Meaning-Changing Transformations\n\nAt each hop, note what can silently change the metric's meaning: joins (and their\nfanout\u002Floss), filters, grouping grain, timezones, attribution windows,\nexclusions, dedupe logic, and backfills. A grain change introduced by a join is\nthe most common lineage defect — track grain explicitly at every step.\n\n### Phase 4: Diff Variants When Reports Disagree\n\nIf multiple dashboards\u002Freports use the same label, diff their definitions\nside by side. Same name is not same definition — surface the exact clause where\nthey diverge (a different filter, window, or source table).\n\n### Phase 5: Decision Gate — Depth of Trace\n\nWhen the lineage is deep or partly inaccessible, ask with `AskUserQuestion`:\n\n- **Trace depth** — stop at the query layer (fast, catches dashboard\u002Ffilter bugs)\n  vs trace all the way to raw events (slow, needed when reports disagree or a\n  definition is contested).\n- **On conflict** — if variants diverge, proceed to reconcile via `metric-contract`\n  or just document the divergence.\n\nHard STOP rule: if you cannot access a layer required to explain the number (a\nlocked warehouse, a missing dbt repo), STOP and report the lineage as **partial**\nwith the exact broken link named — do not guess the upstream logic and present it\nas traced.\n\n### Phase 6: Assess Drift and Recommend Control\n\nLook for recent schema changes, renamed events, changed filters, dashboard-only\ncalculations, and stale extracts. Recommend the control: metric contract,\nsource-of-truth consolidation, tests, ownership, or deprecation.\n\n## Output Format\n\n```markdown\n# Metric Lineage: \u003Cmetric>\n\n**Displayed number:** ...\n**Trace completeness:** Full to source \u002F Partial (broken link: ...)\n**Source of truth status:** Clear \u002F Conflicting \u002F Unknown\n**Decision risk:** Low \u002F Medium \u002F High\n\n## Lineage Diagram\n\u003Ctext diagram: raw table -> model -> query -> tile>\n\n## Transformation Table\n| Step | Artifact | Grain | Meaning-Changing Logic | Risk |\n|------|----------|-------|------------------------|------|\n\n## Definition Drift \u002F Variant Diff\n## Source-Of-Truth Recommendation\n## Next Fixes\n```\n\nSave a durable map to `workspace\u002Fanalysis\u002Flead-analyst\u002Flineage\u002F` if `workspace\u002F`\nexists, otherwise `analysis\u002Flead-analyst\u002Flineage\u002F`, using:\n\n```text\nYYYYMMDD-HHMMSS-lineage-\u003Cslug>.md\n```\n\nClose with a completion status block:\n\n```text\nSTATUS: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT\nArtifact: \u003Cpath or \"none — returned inline\">\nSource of truth: \u003Cclear | conflicting | unknown>\nNext skill: \u002Flead-analyst:metric-contract | data-quality-audit | sql-review\nOpen concerns: \u003Cnone or list — e.g. broken link, variant disagreement>\n```\n\nUse `DONE_WITH_CONCERNS` when the trace is complete but drift risk is high;\n`BLOCKED` when a required layer is inaccessible; `NEEDS_CONTEXT` when the metric\nlabel or displayed filters are ambiguous.\n\n## Anti-Patterns\n\n- Stopping at the dashboard query when upstream models matter.\n- Ignoring dashboard-level filters and calculated fields.\n- Treating same metric names as same definitions.\n- Missing grain changes introduced by joins or aggregations.\n- Guessing an inaccessible upstream layer instead of flagging a partial trace.\n- Producing a lineage map with no ownership recommendation.\n",{"name":5,"description":7,"disable-model-invocation":45},"main","8d9ce3e8c80ddfea03af44bb5b900afc16b07c19","plugins\u002Flead-analyst\u002Fskills\u002Fmetric-lineage",0,"https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics","https:\u002F\u002Fgithub.com\u002Fweisberg","www.betafactory.com","2026-11-11 22:15:54",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add weisberg\u002Fagile_agentic_analytics --skill metric-lineage",{"tool":63,"command":64},"bunx","bunx skills add weisberg\u002Fagile_agentic_analytics --skill metric-lineage",{"tool":66,"command":67},"pnpm","pnpm dlx skills add weisberg\u002Fagile_agentic_analytics --skill metric-lineage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Flead-analyst\u002Fskills\u002Fmetric-lineage\u002FSKILL.md",true,[71],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"routing-eval.jsonl","OTHER","其他",333,"https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Flead-analyst\u002Fskills\u002Fmetric-lineage\u002Frouting-eval.jsonl",[78,86,93,100,119,144],{"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":85},"01M764C2BKRGN20MZX133PJ1W0","metric-reconciliation","Use when two reports disagree, a KPI needs reconciliation across sources, or actuals need to be compared with a plan, forecast vintage, or prior methodology. Align population, coverage, calendar, attribution, and observation windows before computing gaps. Identify missing slices and preserve unresolved residuals.","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Flead-analyst\u002Fskills\u002Fmetric-reconciliation\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":85},"01M764BEYCZFSH1S50766ZBMZ0","analysis-handoff","Use to make a recurring SQL analysis reproducible, hand it to another analyst, or check whether an analysis bundle changed. Capture the exact query, metric definitions, inputs, source vintages, checks, and rerun steps in a portable folder without requiring a copy of row-level results.","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Flead-analyst\u002Fskills\u002Fanalysis-handoff\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":85},"01M764AGGMGNNBB3F1MCXPBX3T","conversation-ingestion","File a conversation transcript or notes from an interview, research discussion, or support exchange. Preserve the raw material, capture decisions and actions, and update participant and company timelines. Trigger on 'process this conversation', 'ingest this conversation', 'file this transcript', or 'conversation notes to KB'. For standalone media use media-ingest. For source routing use ingest.","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Fknowledge-base\u002Fskills\u002Fconversation-ingestion\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":111,"publishedAt":44},"01M6GKH0CNX0V8JYCFTFT0C8TJ","minimal-skill","Minimal shared skill fixture for marketplace renderer and validator examples.","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fminimal-plugin\u002Fskills\u002Fminimal-skill\u002FSKILL.md",[106],{"categoryNo":107,"categoryName":108,"taxonomyType":109,"taxonomyTypeDesc":110},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[112,113,114,115,116,29,117,118],"minimal skill","minimal","shared","examples","fixture","marketplace","shared skill",{"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":128,"publishedAt":44},"01M6GKGW83KH0GN15MQGXM4596","roadmap","Use this skill when the user wants a product roadmap, initiative sequencing, Now\u002FNext\u002FLater plan, quarterly roadmap, release theme map, product strategy-to-roadmap translation, or executive roadmap narrative. Trigger on phrases like \"build a roadmap\", \"roadmap these initiatives\", \"what should be now next later\", \"sequence this backlog\", \"quarterly product roadmap\", \"theme-based roadmap\", or \"plan the next two quarters\". Do NOT trigger for drafting or reviewing a single PRD (use prd-writer or prd-review), converting a PRD into an agentic PLAN.md (use prd-to-plan), or scoring\u002Franking a set of options without a time horizon (use prioritization).","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Fproduct-manager\u002Fskills\u002Froadmap\u002FSKILL.md",[125],{"categoryNo":126,"categoryName":127,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000031","产品经理",[121,29,129,130,28,131,132,133,134,135,37,136,137,138,139,140,141,142,143,32],"time","backlog","ranking","true","strategy","map","now","sequencing","translation","agentic","Bash","scoring","theme","writer","SET",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":151,"publishedAt":44},"01M6GKGQTF57NFBDM5NZ89CV06","prioritization","Use this skill when the user wants to rank, score, triage, or compare product opportunities, features, PRD requirements, backlog items, roadmap candidates, or initiatives using RICE, impact-effort, confidence, reach, value, effort, risk, or tradeoff analysis. Trigger on phrases like \"prioritize these features\", \"rank this backlog\", \"RICE score\", \"impact effort matrix\", \"what should we build first\", \"compare these initiatives\", or \"stack rank product bets\". Do NOT trigger for a time-based roadmap (use roadmap), writing or reviewing one PRD (use prd-writer or prd-review), turning a PRD into an agentic plan (use prd-to-plan), or analyzing experiment results (use ab-testing or experimentation skills).","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Fproduct-manager\u002Fskills\u002Fprioritization\u002FSKILL.md",[150],{"categoryNo":126,"categoryName":127,"taxonomyType":21,"taxonomyTypeDesc":22},[146,29,142,32,152,129,130,28,153,132,154,155,37,121,138,139,156,157,158,159],"risk","testing","writing","impact","requirements","analysis","compare","review"]