[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M713DBT8YXNPB6TB0NHZD2GP":3,"skill-same:01M713DBT8YXNPB6TB0NHZD2GP":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":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M713DBT8YXNPB6TB0NHZD2GP","policy-conditioned-routing-demo",null,"Interactive demo: Build a policy-conditioned support ticket routing AI function using hand-curated gold-labeled data, then evaluate and optimize cheaper models via GEPA optimization.","FDU-INS\u002FInsurance-Skills","FDU-INS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F167067594?v=4","01M6XEYMRS4CVJMZ834YWE66BV","FDU-Insurance","01M6XEYMXPDA34HFM0ZE6AY78G",82,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fpolicy-conditioned-routing-demo\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"policy conditioned routing demo","routing","demo","policy","optimize","GEPA","Ticket Routing","gold","evaluate","hand","demos","via","ticket","build","models","interactive","data","Optimization","support","2026-11-10 10:12:30",false,"---\nname: policy-conditioned-routing-demo\ndescription: \"Interactive demo: Build a policy-conditioned support ticket routing AI function using hand-curated gold-labeled data, then evaluate and optimize cheaper models via GEPA optimization.\"\nparent_skill: demos\n---\n\u003C!-- Copyright (c) 2026 Snowflake Inc. All rights reserved.\n     Licensed under the Snowflake Skills License. See LICENSE file. -->\n\n# Policy-Conditioned Support Ticket Routing Demo\n\nBuild an AI function that routes support tickets using company-specific policy context, then optimize cheaper models via GEPA optimization to match or beat a strong baseline.\n\n## Overview\n\nThis demo walks you through:\n1. Loading a labeled dataset with company routing policies\n2. Creating a policy-aware routing AI function\n3. Evaluating baseline accuracy across multiple models\n4. Optimizing cheap models via GEPA optimization to close the accuracy gap\n5. Comparing before\u002Fafter results\n\nCorrect routing requires interpreting company-specific policy language written in internal vocabulary — models must generalize policy semantics rather than rely on keyword matching.\n\n**Estimated time:** 20-40 minutes\n\n## Workflow\n\n### Step 1: Introduction\n\nExplain to user:\n```\nWelcome to the Policy-Conditioned Routing Demo!\n\nThis demo uses a hard benchmark where correct routing depends on reading\ncompany-specific policy text written in unfamiliar internal vocabulary.\n\nRoute labels:\n- billing\n- account_access\n- bug_or_outage\n- feature_request\n- refund_or_cancel\n- security_or_abuse\n\nThe dataset includes 4 companies, each with unique routing policies.\nMost tickets have a \"default\" label that gets overridden by company\npolicy — a model that ignores policy context will score poorly.\n\nObjects created: all prefixed with DEMO_ for easy cleanup.\n```\n\n### Step 2: Setup - Choose Location\n\nAsk user:\n```\nWhere would you like to create the demo objects?\n\nDatabase: [e.g., TEMP]\nSchema: [e.g., PUBLIC]\n\nAll objects will be prefixed with DEMO_ for easy cleanup.\n```\n\nStore the database and schema for use throughout the demo.\n\n### Step 3: Load Seed Data\n\nExplain to user:\n```\nI'll load the hand-curated gold-labeled dataset. This creates:\n\n1. A company routing policy table (4 companies with unique policies)\n2. A 24-row holdout set for evaluation (21 override rows)\n3. A 96-row training set for optimization (84 override rows)\n\nThe data is pre-split — no train\u002Ftest splitting needed.\n```\n\n**⚠️ STOP**: Wait for user confirmation before loading data.\n\n**Load** `create_support_ticket_v6_dataset.sql.j2` and render it as a Jinja2 template with `database` and `schema` set to the user's chosen values, then execute the resulting SQL. This creates and populates the policy, holdout, and training tables.\n\nVerify creation:\n```sql\nSELECT 'policy' AS TBL, COUNT(*) AS ROWS\nFROM {database}.{schema}.DEMO_COMPANY_ROUTING_POLICY_V6\nUNION ALL\nSELECT 'holdout', COUNT(*)\nFROM {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL\nUNION ALL\nSELECT 'train', COUNT(*)\nFROM {database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE;\n```\n\nExpected: policy=4, holdout=24, train=96.\n\nAlso verify zero subject overlap between train and holdout:\n```sql\nSELECT COUNT(*) AS EXACT_SUBJECT_OVERLAP_COUNT\nFROM {database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE t\nJOIN {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL h\n    ON t.SUBJECT = h.SUBJECT;\n```\n\nExpected: 0.\n\n### Step 4: Create the Routing AI Function\n\nPresent the function configuration:\n```\nNow I'll create a policy-aware routing function.\n\nFunction name: DEMO_ROUTE_TICKET\nDefault model: gemini-2.5-flash-lite\n\nInputs:\n  SUBJECT, BODY, CUSTOMER_TIER, COMPANY_NAME,\n  POLICY_PROFILE, POLICY_TEXT, ENTITLEMENT_TEXT\n\nOutput: route (string)\n```\n\n**⚠️ STOP**: Wait for user confirmation or modifications before creating the function.\n\n**Load** `create\u002FSKILL.md` and follow it from **Step 7 onward**, passing:\n- `database`, `schema`\n- `function_name`: `DEMO_ROUTE_TICKET`\n- `function_intention`: `Route policy-aware support tickets using company context.`\n- `model`: `gemini-2.5-flash-lite`\n- `inputs`: `[{\"name\": \"SUBJECT\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"BODY\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"CUSTOMER_TIER\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"COMPANY_NAME\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"POLICY_PROFILE\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"POLICY_TEXT\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"ENTITLEMENT_TEXT\", \"sql_type\": \"VARCHAR\"}]`\n- `outputs`: `[{\"name\": \"route\", \"json_type\": \"string\", \"description\": \"Support ticket route\"}]`\n- `system_prompt`: `You are a support ticket router. Given a ticket subject, body, customer tier, company name, policy profile, company policy text, and entitlement notes, classify it into exactly one category: billing, account_access, bug_or_outage, feature_request, refund_or_cancel, or security_or_abuse. The company policy is written in internal handling language rather than the route labels themselves. Infer the best route from the ticket and company policy, and only use company context when it changes the default interpretation. Return only the label in the route field.`\n- `user_prompt_template`: `Subject: {SUBJECT}\\nBody: {BODY}\\nCustomer tier: {CUSTOMER_TIER}\\nCompany name: {COMPANY_NAME}\\nPolicy profile: {POLICY_PROFILE}\\nCompany policy: {POLICY_TEXT}\\nEntitlement notes: {ENTITLEMENT_TEXT}`\n\nReturn here after the smoke test succeeds.\n\n### Step 5: Prepare Evaluation Table\n\nCreate the eval table from the holdout set, renaming the gold label column to `EXPECTED_OUTPUT`:\n```sql\nCREATE OR REPLACE TABLE {database}.{schema}.DEMO_TICKETS_EVAL AS\nSELECT\n    CASE_ID, CASE_GROUP, SUBJECT, BODY, CUSTOMER_TIER,\n    COMPANY_NAME, POLICY_PROFILE, POLICY_TEXT, ENTITLEMENT_TEXT,\n    DEFAULT_LABEL,\n    GOLD_LABEL_V6_SMALL AS EXPECTED_OUTPUT,\n    RULE_FAMILY, POLICY_EFFECT, REQUIRES_POLICY_CONTEXT,\n    CURATION_NOTE, CURATED_AT\nFROM {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL\nORDER BY CASE_ID;\n```\n\nVerify:\n```sql\nSELECT COUNT(*) AS ROWS, COUNT_IF(REQUIRES_POLICY_CONTEXT) AS OVERRIDE_ROWS\nFROM {database}.{schema}.DEMO_TICKETS_EVAL;\n```\n\nExpected: 24 rows, 21 overrides.\n\n### Step 6: Evaluate Baselines\n\nPresent to user:\n```\nWe'll evaluate the routing function across multiple models on the\n24-row holdout set. This establishes baselines before optimization.\n\nDefault comparison models:\n- claude-sonnet-4-5 (strong reference)\n- claude-haiku-4-5\n- gemini-2.5-flash\n- gemini-2.5-flash-lite\n- llama3.1-8b\n- mistral-7b\n```\n\n**⚠️ STOP**: Confirm the model list with the user before running.\n\nIf one of these models is unavailable, remove it from the list or **load** `references\u002Fmodel_selection.md` to choose substitutes.\n\nCreate the results table:\n```sql\nCREATE OR REPLACE TABLE {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS (\n    MODEL_NAME VARCHAR, ROW_COUNT NUMBER, CORRECT NUMBER, ACCURACY NUMBER(10, 4)\n);\n```\n\n**Create a per-model UDF for each model**, then run evaluation. The model and system prompt are baked into each function body — we create a separate function per model using `create_udf.py`, reusing the same configuration from Step 4 but with a different `model` and `function_name`.\n\n**Do not confirm with the user before creating each UDF** — the user already confirmed the model list above.\n\nFor each model, derive a function suffix from the model name (replace `-` and `.` with `_`, uppercase). For example, `claude-sonnet-4-5` → `DEMO_ROUTE_TICKET__CLAUDE_SONNET_4_5`.\n\nFor **each model**, create the function:\n```bash\nPYTHONPATH=\u003CSKILL_DIRECTORY>\u002Fsrc uv run --project \u003CSKILL_DIRECTORY> python \u003CSKILL_DIRECTORY>\u002Fsrc\u002Fcreate_udf.py \\\n    --execute --connection \u003CCONNECTION_NAME> \\\n    --database {database} \\\n    --schema {schema} \\\n    --function-name \"DEMO_ROUTE_TICKET__{model_suffix}\" \\\n    --function-intention 'Route policy-aware support tickets using company context.' \\\n    --model {model_name} \\\n    --system-prompt '\u003Csame system_prompt from Step 4>' \\\n    --user-prompt-template 'Subject: {SUBJECT}\\nBody: {BODY}\\nCustomer tier: {CUSTOMER_TIER}\\nCompany name: {COMPANY_NAME}\\nPolicy profile: {POLICY_PROFILE}\\nCompany policy: {POLICY_TEXT}\\nEntitlement notes: {ENTITLEMENT_TEXT}' \\\n    --inputs '[{\"name\": \"SUBJECT\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"BODY\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"CUSTOMER_TIER\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"COMPANY_NAME\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"POLICY_PROFILE\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"POLICY_TEXT\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"ENTITLEMENT_TEXT\", \"sql_type\": \"VARCHAR\"}]' \\\n    --outputs '[{\"name\": \"route\", \"json_type\": \"string\", \"description\": \"Support ticket route\"}]'\n```\n\nAfter all UDFs are created, run eval queries **in parallel** — one per model:\n```sql\nINSERT INTO {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS\nWITH preds AS (\n    SELECT\n        EXPECTED_OUTPUT,\n        {database}.{schema}.DEMO_ROUTE_TICKET__{model_suffix}(\n            SUBJECT, BODY, CUSTOMER_TIER, COMPANY_NAME,\n            POLICY_PROFILE, POLICY_TEXT, ENTITLEMENT_TEXT\n        ) AS PREDICTED\n    FROM {database}.{schema}.DEMO_TICKETS_EVAL\n)\nSELECT\n    '{model_name}', COUNT(*), COUNT_IF(PREDICTED = EXPECTED_OUTPUT),\n    ROUND(COUNT_IF(PREDICTED = EXPECTED_OUTPUT) \u002F COUNT(*), 4)\nFROM preds;\n```\n\nAfter all results are collected, **drop the per-model UDFs**:\n```sql\nDROP FUNCTION IF EXISTS {database}.{schema}.DEMO_ROUTE_TICKET__{model_suffix}(VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR);\n```\n\nShow the baseline leaderboard:\n```sql\nSELECT MODEL_NAME, ROUND(ACCURACY * 100, 1) AS ACCURACY_PCT\nFROM {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS\nORDER BY ACCURACY DESC;\n```\n\nHighlight that cheap models typically score well below the strong reference on this hard benchmark because the policy vocabulary is unfamiliar.\n\n### Step 7: Optimize Functions\n\nPresent the optimization configuration:\n```\nNow we'll optimize the cheap models using GEPA optimization.\nThe optimizer evolves the function body through multiple generations,\ntesting variations against the 96-row training set.\n\nDefault cheap models:\n- llama3.1-8b\n- mistral-7b\n- gemini-2.5-flash\n- gemini-2.5-flash-lite\n- claude-haiku-4-5\n\nAuto budget: demo (~5 minutes)\nExperiment: DEMO_ROUTE_TICKET_OPT_EXP\n```\n\n**⚠️ STOP**: Wait for user confirmation or modifications before starting optimization.\n\n**Load** `optimize\u002FSKILL.md` and follow it from **Step 6 onward**, passing:\n- `function_name`: `{database}.{schema}.DEMO_ROUTE_TICKET`\n- `training_table`: `{database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE`\n- `test_table`: `{database}.{schema}.DEMO_TICKETS_EVAL`\n- `input_columns`: `['SUBJECT', 'BODY', 'CUSTOMER_TIER', 'COMPANY_NAME', 'POLICY_PROFILE', 'POLICY_TEXT', 'ENTITLEMENT_TEXT']`\n- `label_column`: `EXPECTED_OUTPUT`\n- `metric`: `exact_match`\n- `models`: the confirmed cheap-model list\n- `reflection_model`: `claude-sonnet-4-5`\n- `auto_budget`: `demo`\n- `experiment_name`: `{database}.{schema}.DEMO_ROUTE_TICKET_OPT_EXP`\n\nReturn here after optimization results are presented.\n\n### Step 8: Summarize Results\n\n**8.1.** Join baseline results from `DEMO_ROUTE_TICKET_BASELINE_RESULTS` with the best optimized score per model from `DEMO_ROUTE_TICKET_OPT_EXP`. Show each model's baseline accuracy, optimized accuracy, gain, and whether it meets or exceeds the strong reference (`claude-sonnet-4-5`) baseline. The strong reference itself was not optimized — include it as the reference row.\n\n**8.2.** Calculate relative cost using the Pareto filter script (`src\u002Ffilter_pareto.py`). Include all models: optimized cheap models at their best optimized score and `claude-sonnet-4-5` at its baseline score. Use the system prompt character length for `--prompt-chars` and average expected output length from the eval table for `--avg-output-chars`. Use the strong reference baseline as `--seed-score`. Present the Pareto-optimal table to the user.\n\n**8.3.** Summarize key findings:\n- Which model gained the most accuracy from GEPA optimization.\n- If any optimized cheap model beats or matches the strong reference, call it out along with its relative cost — better quality at lower cost.\n- If `claude-sonnet-4-5` is dominated on the Pareto frontier (a cheaper model has equal or higher score), note that the strong model is no longer the best option at any price point.\n- If no cheap model beats the strong reference, note the remaining gap and suggest heavier optimization budgets or different models.\n\n### Step 9: Cleanup\n\nAsk user:\n```\nThe Policy-Conditioned Routing demo is complete!\n\nWould you like to clean up the demo objects?\n\nThis will drop:\n- {database}.{schema}.DEMO_COMPANY_ROUTING_POLICY_V6\n- {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL\n- {database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE\n- {database}.{schema}.DEMO_TICKETS_EVAL\n- {database}.{schema}.DEMO_ROUTE_TICKET\n- {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS\n- {database}.{schema}.DEMO_ROUTE_TICKET_OPT_EXP\n```\n\n**⚠️ STOP**: Wait for user confirmation before cleanup.\n\nIf yes, execute:\n```sql\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_COMPANY_ROUTING_POLICY_V6;\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL;\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE;\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_TICKETS_EVAL;\nDROP FUNCTION IF EXISTS {database}.{schema}.DEMO_ROUTE_TICKET(VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR);\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS;\nDROP EXPERIMENT IF EXISTS {database}.{schema}.DEMO_ROUTE_TICKET_OPT_EXP;\n```\n\n### Step 10: Next Steps\n\nExplain to user:\n```\nYou completed a policy-conditioned routing workflow:\n\n1. Loaded labeled data with unfamiliar company routing policies\n2. Built a policy-aware routing function\n3. Measured baselines — cheap models scored well below the strong\n   reference because the policy vocabulary is intentionally unfamiliar\n4. Optimized cheap models via GEPA optimization\n5. Compared cost and quality side-by-side\n\nKey takeaways:\n\n  Accuracy: GEPA optimization recovered large accuracy gains on\n  cheap models. On hard tasks where baselines are low, the room for\n  improvement is biggest.\n\n  Cost: The Pareto frontier shows which models offer the best\n  quality-per-dollar. When an optimized cheap model matches or beats\n  the strong reference, switching to it saves cost with no quality\n  penalty.\n\n  When to use GEPA optimization: Whenever baseline accuracy on\n  your task is disappointing, especially with cheaper models.\n  Optimization can close the gap without changing models or data.\n```\n\n## Key Cautions\n\n- Gold labels are authored for this specific policy vocabulary. They represent ground truth, not pseudo-labels.\n- The v6 policy vocabulary is intentionally unfamiliar. Models that memorize standard routing keywords will underperform.\n- The holdout set is small (24 rows). Each row counts for ~4.2% of accuracy.\n\n## Stopping Points\n\n- ✋ Step 1: After introduction\n- ✋ Step 2: After choosing database and schema\n- ✋ Step 3: Before loading seed data\n- ✋ Step 4: Before creating the routing function\n- ✋ Step 6: Before running baseline evaluations\n- ✋ Step 7: Before optimization\n- ✋ Step 9: Before cleanup\n","\u003C!-- Copyright (c) 2026 Snowflake Inc. All rights reserved.\n     Licensed under the Snowflake Skills License. See LICENSE file. -->\n\n# Policy-Conditioned Support Ticket Routing Demo\n\nBuild an AI function that routes support tickets using company-specific policy context, then optimize cheaper models via GEPA optimization to match or beat a strong baseline.\n\n## Overview\n\nThis demo walks you through:\n1. Loading a labeled dataset with company routing policies\n2. Creating a policy-aware routing AI function\n3. Evaluating baseline accuracy across multiple models\n4. Optimizing cheap models via GEPA optimization to close the accuracy gap\n5. Comparing before\u002Fafter results\n\nCorrect routing requires interpreting company-specific policy language written in internal vocabulary — models must generalize policy semantics rather than rely on keyword matching.\n\n**Estimated time:** 20-40 minutes\n\n## Workflow\n\n### Step 1: Introduction\n\nExplain to user:\n```\nWelcome to the Policy-Conditioned Routing Demo!\n\nThis demo uses a hard benchmark where correct routing depends on reading\ncompany-specific policy text written in unfamiliar internal vocabulary.\n\nRoute labels:\n- billing\n- account_access\n- bug_or_outage\n- feature_request\n- refund_or_cancel\n- security_or_abuse\n\nThe dataset includes 4 companies, each with unique routing policies.\nMost tickets have a \"default\" label that gets overridden by company\npolicy — a model that ignores policy context will score poorly.\n\nObjects created: all prefixed with DEMO_ for easy cleanup.\n```\n\n### Step 2: Setup - Choose Location\n\nAsk user:\n```\nWhere would you like to create the demo objects?\n\nDatabase: [e.g., TEMP]\nSchema: [e.g., PUBLIC]\n\nAll objects will be prefixed with DEMO_ for easy cleanup.\n```\n\nStore the database and schema for use throughout the demo.\n\n### Step 3: Load Seed Data\n\nExplain to user:\n```\nI'll load the hand-curated gold-labeled dataset. This creates:\n\n1. A company routing policy table (4 companies with unique policies)\n2. A 24-row holdout set for evaluation (21 override rows)\n3. A 96-row training set for optimization (84 override rows)\n\nThe data is pre-split — no train\u002Ftest splitting needed.\n```\n\n**⚠️ STOP**: Wait for user confirmation before loading data.\n\n**Load** `create_support_ticket_v6_dataset.sql.j2` and render it as a Jinja2 template with `database` and `schema` set to the user's chosen values, then execute the resulting SQL. This creates and populates the policy, holdout, and training tables.\n\nVerify creation:\n```sql\nSELECT 'policy' AS TBL, COUNT(*) AS ROWS\nFROM {database}.{schema}.DEMO_COMPANY_ROUTING_POLICY_V6\nUNION ALL\nSELECT 'holdout', COUNT(*)\nFROM {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL\nUNION ALL\nSELECT 'train', COUNT(*)\nFROM {database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE;\n```\n\nExpected: policy=4, holdout=24, train=96.\n\nAlso verify zero subject overlap between train and holdout:\n```sql\nSELECT COUNT(*) AS EXACT_SUBJECT_OVERLAP_COUNT\nFROM {database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE t\nJOIN {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL h\n    ON t.SUBJECT = h.SUBJECT;\n```\n\nExpected: 0.\n\n### Step 4: Create the Routing AI Function\n\nPresent the function configuration:\n```\nNow I'll create a policy-aware routing function.\n\nFunction name: DEMO_ROUTE_TICKET\nDefault model: gemini-2.5-flash-lite\n\nInputs:\n  SUBJECT, BODY, CUSTOMER_TIER, COMPANY_NAME,\n  POLICY_PROFILE, POLICY_TEXT, ENTITLEMENT_TEXT\n\nOutput: route (string)\n```\n\n**⚠️ STOP**: Wait for user confirmation or modifications before creating the function.\n\n**Load** `create\u002FSKILL.md` and follow it from **Step 7 onward**, passing:\n- `database`, `schema`\n- `function_name`: `DEMO_ROUTE_TICKET`\n- `function_intention`: `Route policy-aware support tickets using company context.`\n- `model`: `gemini-2.5-flash-lite`\n- `inputs`: `[{\"name\": \"SUBJECT\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"BODY\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"CUSTOMER_TIER\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"COMPANY_NAME\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"POLICY_PROFILE\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"POLICY_TEXT\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"ENTITLEMENT_TEXT\", \"sql_type\": \"VARCHAR\"}]`\n- `outputs`: `[{\"name\": \"route\", \"json_type\": \"string\", \"description\": \"Support ticket route\"}]`\n- `system_prompt`: `You are a support ticket router. Given a ticket subject, body, customer tier, company name, policy profile, company policy text, and entitlement notes, classify it into exactly one category: billing, account_access, bug_or_outage, feature_request, refund_or_cancel, or security_or_abuse. The company policy is written in internal handling language rather than the route labels themselves. Infer the best route from the ticket and company policy, and only use company context when it changes the default interpretation. Return only the label in the route field.`\n- `user_prompt_template`: `Subject: {SUBJECT}\\nBody: {BODY}\\nCustomer tier: {CUSTOMER_TIER}\\nCompany name: {COMPANY_NAME}\\nPolicy profile: {POLICY_PROFILE}\\nCompany policy: {POLICY_TEXT}\\nEntitlement notes: {ENTITLEMENT_TEXT}`\n\nReturn here after the smoke test succeeds.\n\n### Step 5: Prepare Evaluation Table\n\nCreate the eval table from the holdout set, renaming the gold label column to `EXPECTED_OUTPUT`:\n```sql\nCREATE OR REPLACE TABLE {database}.{schema}.DEMO_TICKETS_EVAL AS\nSELECT\n    CASE_ID, CASE_GROUP, SUBJECT, BODY, CUSTOMER_TIER,\n    COMPANY_NAME, POLICY_PROFILE, POLICY_TEXT, ENTITLEMENT_TEXT,\n    DEFAULT_LABEL,\n    GOLD_LABEL_V6_SMALL AS EXPECTED_OUTPUT,\n    RULE_FAMILY, POLICY_EFFECT, REQUIRES_POLICY_CONTEXT,\n    CURATION_NOTE, CURATED_AT\nFROM {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL\nORDER BY CASE_ID;\n```\n\nVerify:\n```sql\nSELECT COUNT(*) AS ROWS, COUNT_IF(REQUIRES_POLICY_CONTEXT) AS OVERRIDE_ROWS\nFROM {database}.{schema}.DEMO_TICKETS_EVAL;\n```\n\nExpected: 24 rows, 21 overrides.\n\n### Step 6: Evaluate Baselines\n\nPresent to user:\n```\nWe'll evaluate the routing function across multiple models on the\n24-row holdout set. This establishes baselines before optimization.\n\nDefault comparison models:\n- claude-sonnet-4-5 (strong reference)\n- claude-haiku-4-5\n- gemini-2.5-flash\n- gemini-2.5-flash-lite\n- llama3.1-8b\n- mistral-7b\n```\n\n**⚠️ STOP**: Confirm the model list with the user before running.\n\nIf one of these models is unavailable, remove it from the list or **load** `references\u002Fmodel_selection.md` to choose substitutes.\n\nCreate the results table:\n```sql\nCREATE OR REPLACE TABLE {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS (\n    MODEL_NAME VARCHAR, ROW_COUNT NUMBER, CORRECT NUMBER, ACCURACY NUMBER(10, 4)\n);\n```\n\n**Create a per-model UDF for each model**, then run evaluation. The model and system prompt are baked into each function body — we create a separate function per model using `create_udf.py`, reusing the same configuration from Step 4 but with a different `model` and `function_name`.\n\n**Do not confirm with the user before creating each UDF** — the user already confirmed the model list above.\n\nFor each model, derive a function suffix from the model name (replace `-` and `.` with `_`, uppercase). For example, `claude-sonnet-4-5` → `DEMO_ROUTE_TICKET__CLAUDE_SONNET_4_5`.\n\nFor **each model**, create the function:\n```bash\nPYTHONPATH=\u003CSKILL_DIRECTORY>\u002Fsrc uv run --project \u003CSKILL_DIRECTORY> python \u003CSKILL_DIRECTORY>\u002Fsrc\u002Fcreate_udf.py \\\n    --execute --connection \u003CCONNECTION_NAME> \\\n    --database {database} \\\n    --schema {schema} \\\n    --function-name \"DEMO_ROUTE_TICKET__{model_suffix}\" \\\n    --function-intention 'Route policy-aware support tickets using company context.' \\\n    --model {model_name} \\\n    --system-prompt '\u003Csame system_prompt from Step 4>' \\\n    --user-prompt-template 'Subject: {SUBJECT}\\nBody: {BODY}\\nCustomer tier: {CUSTOMER_TIER}\\nCompany name: {COMPANY_NAME}\\nPolicy profile: {POLICY_PROFILE}\\nCompany policy: {POLICY_TEXT}\\nEntitlement notes: {ENTITLEMENT_TEXT}' \\\n    --inputs '[{\"name\": \"SUBJECT\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"BODY\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"CUSTOMER_TIER\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"COMPANY_NAME\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"POLICY_PROFILE\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"POLICY_TEXT\", \"sql_type\": \"VARCHAR\"}, {\"name\": \"ENTITLEMENT_TEXT\", \"sql_type\": \"VARCHAR\"}]' \\\n    --outputs '[{\"name\": \"route\", \"json_type\": \"string\", \"description\": \"Support ticket route\"}]'\n```\n\nAfter all UDFs are created, run eval queries **in parallel** — one per model:\n```sql\nINSERT INTO {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS\nWITH preds AS (\n    SELECT\n        EXPECTED_OUTPUT,\n        {database}.{schema}.DEMO_ROUTE_TICKET__{model_suffix}(\n            SUBJECT, BODY, CUSTOMER_TIER, COMPANY_NAME,\n            POLICY_PROFILE, POLICY_TEXT, ENTITLEMENT_TEXT\n        ) AS PREDICTED\n    FROM {database}.{schema}.DEMO_TICKETS_EVAL\n)\nSELECT\n    '{model_name}', COUNT(*), COUNT_IF(PREDICTED = EXPECTED_OUTPUT),\n    ROUND(COUNT_IF(PREDICTED = EXPECTED_OUTPUT) \u002F COUNT(*), 4)\nFROM preds;\n```\n\nAfter all results are collected, **drop the per-model UDFs**:\n```sql\nDROP FUNCTION IF EXISTS {database}.{schema}.DEMO_ROUTE_TICKET__{model_suffix}(VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR);\n```\n\nShow the baseline leaderboard:\n```sql\nSELECT MODEL_NAME, ROUND(ACCURACY * 100, 1) AS ACCURACY_PCT\nFROM {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS\nORDER BY ACCURACY DESC;\n```\n\nHighlight that cheap models typically score well below the strong reference on this hard benchmark because the policy vocabulary is unfamiliar.\n\n### Step 7: Optimize Functions\n\nPresent the optimization configuration:\n```\nNow we'll optimize the cheap models using GEPA optimization.\nThe optimizer evolves the function body through multiple generations,\ntesting variations against the 96-row training set.\n\nDefault cheap models:\n- llama3.1-8b\n- mistral-7b\n- gemini-2.5-flash\n- gemini-2.5-flash-lite\n- claude-haiku-4-5\n\nAuto budget: demo (~5 minutes)\nExperiment: DEMO_ROUTE_TICKET_OPT_EXP\n```\n\n**⚠️ STOP**: Wait for user confirmation or modifications before starting optimization.\n\n**Load** `optimize\u002FSKILL.md` and follow it from **Step 6 onward**, passing:\n- `function_name`: `{database}.{schema}.DEMO_ROUTE_TICKET`\n- `training_table`: `{database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE`\n- `test_table`: `{database}.{schema}.DEMO_TICKETS_EVAL`\n- `input_columns`: `['SUBJECT', 'BODY', 'CUSTOMER_TIER', 'COMPANY_NAME', 'POLICY_PROFILE', 'POLICY_TEXT', 'ENTITLEMENT_TEXT']`\n- `label_column`: `EXPECTED_OUTPUT`\n- `metric`: `exact_match`\n- `models`: the confirmed cheap-model list\n- `reflection_model`: `claude-sonnet-4-5`\n- `auto_budget`: `demo`\n- `experiment_name`: `{database}.{schema}.DEMO_ROUTE_TICKET_OPT_EXP`\n\nReturn here after optimization results are presented.\n\n### Step 8: Summarize Results\n\n**8.1.** Join baseline results from `DEMO_ROUTE_TICKET_BASELINE_RESULTS` with the best optimized score per model from `DEMO_ROUTE_TICKET_OPT_EXP`. Show each model's baseline accuracy, optimized accuracy, gain, and whether it meets or exceeds the strong reference (`claude-sonnet-4-5`) baseline. The strong reference itself was not optimized — include it as the reference row.\n\n**8.2.** Calculate relative cost using the Pareto filter script (`src\u002Ffilter_pareto.py`). Include all models: optimized cheap models at their best optimized score and `claude-sonnet-4-5` at its baseline score. Use the system prompt character length for `--prompt-chars` and average expected output length from the eval table for `--avg-output-chars`. Use the strong reference baseline as `--seed-score`. Present the Pareto-optimal table to the user.\n\n**8.3.** Summarize key findings:\n- Which model gained the most accuracy from GEPA optimization.\n- If any optimized cheap model beats or matches the strong reference, call it out along with its relative cost — better quality at lower cost.\n- If `claude-sonnet-4-5` is dominated on the Pareto frontier (a cheaper model has equal or higher score), note that the strong model is no longer the best option at any price point.\n- If no cheap model beats the strong reference, note the remaining gap and suggest heavier optimization budgets or different models.\n\n### Step 9: Cleanup\n\nAsk user:\n```\nThe Policy-Conditioned Routing demo is complete!\n\nWould you like to clean up the demo objects?\n\nThis will drop:\n- {database}.{schema}.DEMO_COMPANY_ROUTING_POLICY_V6\n- {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL\n- {database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE\n- {database}.{schema}.DEMO_TICKETS_EVAL\n- {database}.{schema}.DEMO_ROUTE_TICKET\n- {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS\n- {database}.{schema}.DEMO_ROUTE_TICKET_OPT_EXP\n```\n\n**⚠️ STOP**: Wait for user confirmation before cleanup.\n\nIf yes, execute:\n```sql\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_COMPANY_ROUTING_POLICY_V6;\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_TICKETS_HARD_GOLD_V6_SMALL;\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_TICKETS_POLICY_TRAIN_V6_LARGE;\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_TICKETS_EVAL;\nDROP FUNCTION IF EXISTS {database}.{schema}.DEMO_ROUTE_TICKET(VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR, VARCHAR);\nDROP TABLE IF EXISTS {database}.{schema}.DEMO_ROUTE_TICKET_BASELINE_RESULTS;\nDROP EXPERIMENT IF EXISTS {database}.{schema}.DEMO_ROUTE_TICKET_OPT_EXP;\n```\n\n### Step 10: Next Steps\n\nExplain to user:\n```\nYou completed a policy-conditioned routing workflow:\n\n1. Loaded labeled data with unfamiliar company routing policies\n2. Built a policy-aware routing function\n3. Measured baselines — cheap models scored well below the strong\n   reference because the policy vocabulary is intentionally unfamiliar\n4. Optimized cheap models via GEPA optimization\n5. Compared cost and quality side-by-side\n\nKey takeaways:\n\n  Accuracy: GEPA optimization recovered large accuracy gains on\n  cheap models. On hard tasks where baselines are low, the room for\n  improvement is biggest.\n\n  Cost: The Pareto frontier shows which models offer the best\n  quality-per-dollar. When an optimized cheap model matches or beats\n  the strong reference, switching to it saves cost with no quality\n  penalty.\n\n  When to use GEPA optimization: Whenever baseline accuracy on\n  your task is disappointing, especially with cheaper models.\n  Optimization can close the gap without changing models or data.\n```\n\n## Key Cautions\n\n- Gold labels are authored for this specific policy vocabulary. They represent ground truth, not pseudo-labels.\n- The v6 policy vocabulary is intentionally unfamiliar. Models that memorize standard routing keywords will underperform.\n- The holdout set is small (24 rows). Each row counts for ~4.2% of accuracy.\n\n## Stopping Points\n\n- ✋ Step 1: After introduction\n- ✋ Step 2: After choosing database and schema\n- ✋ Step 3: Before loading seed data\n- ✋ Step 4: Before creating the routing function\n- ✋ Step 6: Before running baseline evaluations\n- ✋ Step 7: Before optimization\n- ✋ Step 9: Before cleanup\n",{"name":5,"description":7,"parent_skill":29},"main","b22eca2e974f918ce591c5b2bd829fb7510e0191","Skills\u002Fpolicy-conditioned-routing-demo",18,"https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills","https:\u002F\u002Fgithub.com\u002FFDU-INS","Fudan University Department of Risk Management and Insurance","2026-07-12 12:54:34",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add FDU-INS\u002FInsurance-Skills --skill policy-conditioned-routing-demo",{"tool":57,"command":58},"bunx","bunx skills add FDU-INS\u002FInsurance-Skills --skill policy-conditioned-routing-demo",{"tool":60,"command":61},"pnpm","pnpm dlx skills add FDU-INS\u002FInsurance-Skills --skill policy-conditioned-routing-demo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fpolicy-conditioned-routing-demo\u002FSKILL.md",true,[65],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"create_support_ticket_v6_dataset.sql.j2","OTHER","其他",43270,"https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fpolicy-conditioned-routing-demo\u002Fcreate_support_ticket_v6_dataset.sql.j2",[72,97,122,148,170,193],{"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":38},"01M713QW6EGEG0YAD75440GSD0","로인장 (Roinjiang)","Activates when the user needs legal advice, contract review, insurance law consultation, startup legal support, or any legal\u002Fregulatory matter. She is a top-tier in-house lawyer with absolute loyalty to the CEO, specializing in insurance law, financial consumer protection, privacy, contracts, labor law, family law, civil and criminal matters.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002F로인장 (Roinjiang)\u002FSKILL.md",[],[74,79,80,81,82,83,84,85,86,87,88,89,90,37,91,92,93,94,95,96],"insurance law","insurance","civil","contract","family","when","review","loyalty","with","top","contract review","ceo","advice","consultation","regulatory","privacy","protection","startup",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":38},"01M713QRN8VFMA9VKS6R4DJ2WS","zocdoc-doctor-finder","Use when a user needs to find a doctor, dentist, specialist, therapist, or healthcare provider — especially when they mention insurance, in-network, availability, location, appointments, or booking. Also use for browsing provider reviews, comparing doctors by specialty, or checking if a provider takes their insurance.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fzocdoc-doctor-finder\u002FSKILL.md",[],[104,105,106,107,80,108,109,84,110,111,112,113,114,115,116,117,118,119,120,121],"zocdoc doctor finder","doctor","healthcare","reviews","browser automation","access","browsing","browser","booking","network","therapist","computer","availability","for","provider","tool","use","automation",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":38},"01M713QKGV3FTX7EEYWKDM8ENZ","zenmux-context","Answers any question about ZenMux by reading the latest official documentation. Use this skill whenever the user asks about ZenMux product features, API usage, configuration, integration, pricing, models, providers, routing, fallback, streaming, multimodal, structured output, tool calling, reasoning, prompt caching, image generation, video generation, web search, long context, observability, logs, cost tracking, usage analytics, insurance, subscription, pay-as-you-go, invoices, best practices for tools like Claude Code, Cursor, Cline, CodeX, Gemini CLI, opencode, Cherry Studio, Obsidian, Sider, Open-WebUI, Dify, Neovate, GitHub Copilot, OpenClaw, CC-Switch, Immersive Translate, Studio Chat, architecture, benchmarks, FAQ, contact, privacy, terms of service, compliance, or any other ZenMux-related topic. Also trigger when the user writes in Chinese about ZenMux: 文档, 使用指南, 快速开始, API 参考, 最佳实践, 模型路由, 供应商路由, 订阅, 按量计费, 可观测性, 帮助, 常见问题, 接入指南, 配置. Trigger on phrases like \"how to use ZenMux\", \"ZenMux docs\", \"ZenMux API\", \"ZenMux integration\", \"ZenMux 怎么用\", \"ZenMux 接入\", \"ZenMux 配置\". Even if the user doesn't say \"ZenMux\" explicitly but asks about LLM API aggregation, model routing, provider fallback in a context where ZenMux is the project being worked on, this skill should activate.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fzenmux-context\u002FSKILL.md",[],[129,130,131,132,80,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147],"context","zenmux context","Video","chinese","project","web search","translate","search","open","question","pay","image","you","activate","architecture","logs","streaming","cherry studio","how",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":38},"01M713QHWTBG634BCBV7NBJME1","workers-comp-guide","Guide workers compensation compliance and claims management.\nTRIGGERS - Use when user needs help with workers-comp-guide related tasks.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fworkers-comp-guide\u002FSKILL.md",[],[155,156,157,158,159,80,160,161,120,84,162,87,163,164,165,166,167,168,169],"workers","comp","workers comp","workers comp guide","guide","triggers","workers-comp","tasks","claims management","claims","compliance","help","compensation","management","user",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":38},"01M713QF45VMV1685AFNF1GPMA","weekly-kpi-report","Generate McKinsey-style board presentation PPTs from weekly auto insurance data. Automatically calculates 16+ KPIs, creates executive-level slides with actionable insights, and supports week-over-week comparisons. Use when user uploads insurance cost data (Excel\u002FCSV) and requests board report, weekly presentation, executive briefing, or mentions keywords like 董事会汇报, 周报PPT, 经营分析演示, McKinsey-style reports.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fweekly-kpi-report\u002FSKILL.md",[],[177,178,179,180,181,80,182,183,184,185,84,186,187,188,189,35,190,191,120,192],"weekly","weekly kpi report","kpi","report","xlsx","actionable","insights","briefing","auto","board report","reports","generate","演示","presentation","slides","uploads",{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":38},"01M713QA9WJDHMNVTTY1ENRKVB","wealth-advisory","Wealth management and financial planning for HNW and UHNW clients. Activate when the user\nmentions wealth management, financial planning, retirement, estate planning, tax planning,\nGRAT, IDGT, trust, asset allocation, withdrawal rate, Monte Carlo simulation, goals-based\ninvesting, tax-loss harvesting, Roth conversion, insurance, annuity, mortgage strategy,\nconcentrated stock, family office, direct indexing, 529 plan, charitable giving, donor-advised\nfund, private foundation, or asks about personal finance strategy, inheritance, long-term\nfinancial planning, or UHNW advisory.","https:\u002F\u002Fgithub.com\u002FFDU-INS\u002FInsurance-Skills\u002Fblob\u002Fmain\u002FSkills\u002Fwealth-advisory\u002FSKILL.md",[],[200,201,80,202,203,84,142,204,205,206,207,208,209,210,211,212,213,214,215,216],"wealth advisory","advisory","stock","inheritance","conversion","indexing","plan","simulation","personal finance","rate","allocation","asset","direct","personal","investing","trust","planning"]