[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699V8T779T5D6RE84CJGMEK":3,"skill-same:01M699V8T779T5D6RE84CJGMEK":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":17,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M699V8T779T5D6RE84CJGMEK","azure-kusto-graph","Kusto图构建与查询","Build and query Kusto graphs from natural language. Covers transient graphs (make-graph), persistent graph models\u002Fsnapshots, pattern matching (graph-match), shortest paths, connected components, and graph-to-table export. Generates the edges-first thinking: define edges, define node lookups, union, make-graph. WHEN: make-graph, graph-match, graph-shortest-paths, graph-to-table, graph-mark-components, persistent graph, graph model, graph snapshot, build a graph from data, find paths between nodes, pattern matching in graph, connected components, transient graph, Kusto graph, KQL graph.","从自然语言构建和查询 Kusto 图。涵盖瞬态图（make-graph）、持久化图模型\u002F快照、模式匹配（graph-match）、最短路径、连通分量以及图到表的导出。生成“边优先”的思维：定义边、定义节点查找、合并（union）、生成图（make-graph）。WHEN：make-graph、graph-match、graph-shortest-paths、graph-to-table、graph-mark-components、持久化图、图模型、图快照、从数据构建图、查找节点间路径、图中模式匹配、连通分量、瞬态图、Kusto 图、KQL 图。","microsoft\u002FGitHub-Copilot-for-Azure","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699SRDDGQCK3TYBF146AE4D",264,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-kusto-graph-skills\u002Fskills\u002Fazure-kusto-graph\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,10,46,47,48,49,50],"azure kusto graph","azure kusto","azure","graph","snapshot","when","union","make","paths","pattern matching","pattern","query","thinking","snapshots","export","node","model","data","placeholder","components","2026-11-10 10:12:30",false,"---\nname: azure-kusto-graph\ndescription: \"Build and query Kusto graphs from natural language. Covers transient graphs (make-graph), persistent graph models\u002Fsnapshots, pattern matching (graph-match), shortest paths, connected components, and graph-to-table export. Generates the edges-first thinking: define edges, define node lookups, union, make-graph. WHEN: make-graph, graph-match, graph-shortest-paths, graph-to-table, graph-mark-components, persistent graph, graph model, graph snapshot, build a graph from data, find paths between nodes, pattern matching in graph, connected components, transient graph, Kusto graph, KQL graph.\"\nlicense: MIT\nmetadata:\n  author: Microsoft\n  version: \"0.0.0-placeholder\"\n---\n\n# Kusto Graph Semantics\n\nBuild transient and persistent graphs from tabular data using KQL graph operators. This skill translates natural language into the edges-first graph construction pattern and graph query operators.\n\n## Activation Triggers\n\nUse this skill when the user:\n- Wants to build a graph from tabular data (`make-graph`)\n- Asks to find patterns, paths, or relationships in data\n- Mentions `graph-match`, `graph-shortest-paths`, `graph-to-table`, `graph-mark-components`\n- Wants to create a persistent graph model or snapshot\n- Says \"build a graph\", \"find the shortest path\", \"find connected components\", \"show relationships\"\n- Asks about transient vs persistent graphs\n\n**Not a natural-language-to-KQL converter.** The input should generally be a working KQL query whose results the user wants converted to a graph, plus a natural-language description of the desired graph structure. Basic NL source requests are supported only when they map directly to a known table with obvious columns. For general NL-to-KQL conversion, use a dedicated query-generation skill (available separately).\n\n**Complementary skills:**\n- `azure-kusto-irql` -- composable security query primitives that produce the tabular inputs for graphs\n- `azure-kusto-irql-graph` -- IRQL's `Lift_To_Graph` JSON mapping system for richly-typed, icon-decorated graphs in Kusto Explorer\n\n## The Edges-First Approach\n\nThe fundamental pattern for building graphs in Kusto:\n\n```\n1. Define your EDGES       -> src --> dest, with relationship type\u002Fproperties\n2. Define your NODE LOOKUPS -> display names, types, properties for each node ID\n3. Union edge types         -> if you have multiple relationship types\n4. Union node lookups       -> if you have multiple node types\n5. Call make-graph          -> edges | make-graph Source --> Target with nodes on nodeId\n```\n\nThis is how to think in `make-graph`. Edges are the relationships you care about. Nodes are lookup tables that give those IDs a face -- display names, types, properties.\n\n## Graph Operators Reference\n\n### `make-graph` -- Build a graph from tables\n\n```kql\nEdges | make-graph SourceId --> TargetId with Nodes on NodeId\n```\n\n- `Edges`: tabular source where each row is an edge\n- `SourceId --> TargetId`: columns containing source and target node IDs\n- `with Nodes on NodeId`: optional node property table joined by ID\n- Supports multiple node tables: `with Nodes1 on Id1, Nodes2 on Id2`\n- Nodes appearing in edges but missing from the node table get empty properties\n\n### `graph-match` -- Find patterns\n\n```kql\nG | graph-match (a)-[e]->(b) where \u003Cconstraints> project \u003Coutput>\n```\n\nPattern notation:\n\n| Element | Named | Anonymous |\n|---|---|---|\n| Node | `(n)` | `()` |\n| Edge left->right | `-[e]->` | `-->` |\n| Edge right->left | `\u003C-[e]-` | `\u003C--` |\n| Any direction | `-[e]-` | `--` |\n| Variable length | `-[e*1..5]->` | `-[*1..5]->` |\n\nMulti-hop patterns: `(a)-[e1]->(b)-[e2]->(c)`\nStar patterns: `(a)--(center)--(b), (c)--(center)--(d)`\nCycles control: `cycles = all | none | unique_edges` (default: `unique_edges`)\n\n### `graph-shortest-paths` -- Find shortest paths\n\n```kql\nG | graph-shortest-paths (start)-[e*1..20]->(end)\n      where start.name == \"Alice\" and end.name == \"Server01\"\n      project Path = e, Length = array_length(e)\n```\n\n- Requires at least one variable-length edge\n- `output = any` (default, one path per pair) or `output = all` (all equal-length shortest paths)\n- Variable-length edge properties returned as dynamic arrays\n\n### `graph-to-table` -- Export graph to tables\n\n```kql\nG | graph-to-table nodes                                     \u002F\u002F export nodes\nG | graph-to-table edges                                     \u002F\u002F export edges\nG | graph-to-table nodes as N, edges as E                    \u002F\u002F export both\nG | graph-to-table nodes with_node_id=Id                     \u002F\u002F include node hash ID\nG | graph-to-table edges with_source_id=Src with_target_id=Tgt  \u002F\u002F include edge endpoint IDs\n```\n\n### `graph-mark-components` -- Find connected components\n\n```kql\nG | graph-mark-components with_component_id=ComponentId\n  | graph-to-table nodes\n  | summarize Members = make_list(name) by ComponentId\n```\n\nAssigns a `ComponentId` to each node. Nodes in the same connected component share the same ID.\n\n### `graph()` function -- Query persistent graphs\n\n```kql\ngraph(\"MyGraphModel\")                              \u002F\u002F latest snapshot\ngraph(\"MyGraphModel\", \"Snapshot_2025_01\")           \u002F\u002F specific snapshot\ngraph(\"MyGraphModel\", true)                         \u002F\u002F transient from model definition\n```\n\n## Transient Graphs\n\nCreated dynamically during query execution. No setup required. Ideal for ad-hoc analysis, exploration, and prototyping.\n\n### Template: Basic two-entity graph\n\n```kql\n\u002F\u002F 1. Define edges\nlet edges = \u003CSourceTable>\n    | summarize \u003Caggregations> by SourceCol, TargetCol;\n\u002F\u002F 2. Define node lookups\nlet source_nodes = edges\n    | distinct SourceCol\n    | project nodeId = SourceCol, label = SourceCol, nodeType = \"\u003CSourceType>\";\nlet target_nodes = edges\n    | distinct TargetCol\n    | project nodeId = TargetCol, label = TargetCol, nodeType = \"\u003CTargetType>\";\nlet all_nodes = union source_nodes, target_nodes;\n\u002F\u002F 3. Build and query the graph\nedges\n| make-graph SourceCol --> TargetCol with all_nodes on nodeId\n| graph-match (s)-[e]->(t)\n    where \u003Cconstraints>\n    project Source = s.label, Target = t.label, \u003Cedge properties>\n```\n\n### Template: Multi-relationship graph\n\n```kql\n\u002F\u002F Multiple edge types -> union them with a common schema\nlet auth_edges = AuthEvents\n    | project Source = username, Target = hostname, edgeType = \"authenticates\", ts = timestamp;\nlet net_edges = NetworkEvents\n    | project Source = src_ip, Target = url, edgeType = \"connects\", ts = timestamp;\nlet all_edges = union auth_edges, net_edges;\n\u002F\u002F Node lookups from all sources\nlet user_nodes = Employees | project nodeId = username, label = name, nodeType = \"User\";\nlet host_nodes = AuthEvents | distinct hostname | project nodeId = hostname, label = hostname, nodeType = \"Host\";\nlet all_nodes = union user_nodes, host_nodes;\nall_edges\n| make-graph Source --> Target with all_nodes on nodeId\n```\n\n## Persistent Graphs\n\nFor large-scale, reusable graphs. Stored in database metadata. Support snapshots for historical comparison.\n\n> **Safety:** Creating or altering graph models and snapshots modifies the database. Always show the exact command and confirm with the user before executing `.create-or-alter graph_model` or `.make graph_snapshot`.\n\n### Step 1: Create a graph model\n\n```kql\n.create-or-alter graph_model SecurityGraph\n{\n  \"Schema\": {\n    \"Nodes\": {\n      \"User\": {\"name\": \"string\", \"role\": \"string\"},\n      \"Host\": {\"hostname\": \"string\"},\n      \"IP\":   {\"ip\": \"string\"}\n    },\n    \"Edges\": {\n      \"AuthenticatesTo\": {\"timestamp\": \"datetime\", \"result\": \"string\"},\n      \"ConnectsFrom\":    {\"timestamp\": \"datetime\"}\n    }\n  },\n  \"Definition\": {\n    \"Steps\": [\n      {\n        \"Kind\": \"AddNodes\",\n        \"Query\": \"Employees | project name, role\",\n        \"NodeIdColumn\": \"name\",\n        \"Labels\": [\"User\"]\n      },\n      {\n        \"Kind\": \"AddNodes\",\n        \"Query\": \"AuthenticationEvents | distinct hostname | project hostname\",\n        \"NodeIdColumn\": \"hostname\",\n        \"Labels\": [\"Host\"]\n      },\n      {\n        \"Kind\": \"AddEdges\",\n        \"Query\": \"AuthenticationEvents | project username, hostname, timestamp, result\",\n        \"SourceColumn\": \"username\",\n        \"TargetColumn\": \"hostname\",\n        \"Labels\": [\"AuthenticatesTo\"]\n      }\n    ]\n  }\n}\n```\n\n### Step 2: Create a snapshot\n\n```kql\n.make graph_snapshot SecurityGraph Snapshot_2025_07\n```\n\n### Step 3: Query the snapshot\n\n```kql\ngraph(\"SecurityGraph\")\n| graph-match (user)-[auth]->(host)\n    where user.role == \"Admin\" and auth.result == \"Failed Login\"\n    project User = user.name, Host = host.hostname, Time = auth.timestamp\n```\n\n### Management commands\n\n> **Safety:** All control commands below modify or delete database objects. Never execute `.drop`, `.create-or-alter graph_model`, or `.make graph_snapshot` automatically. Always show the exact command, cluster, database, and affected object, then require explicit user confirmation before execution.\n\n```kql\n.show graph_models                        \u002F\u002F list all models\n.show graph_model SecurityGraph           \u002F\u002F show model details\n.show graph_snapshots SecurityGraph       \u002F\u002F list snapshots\n.drop graph_snapshot SecurityGraph Snapshot_2025_07  \u002F\u002F delete a snapshot (CONFIRM FIRST)\n.drop graph_model SecurityGraph           \u002F\u002F delete model and all snapshots (CONFIRM FIRST)\n```\n\n## Transient vs Persistent: When to Use Which\n\n| Factor | Transient (`make-graph`) | Persistent (`graph()`) |\n|---|---|---|\n| Setup | None -- inline in query | Create model + snapshot |\n| Lifetime | Query execution only | Stored in database metadata |\n| Data freshness | Always current | Snapshot at creation time |\n| Scale | Limited by query memory | Enterprise-scale |\n| Reuse | Rebuilt every query | Shared across users\u002Fqueries |\n| Best for | Ad-hoc hunts, prototyping | Production workflows, dashboards |\n\n## Security & Threat Hunting Examples\n\n### Authentication graph: who logged into what from where\n\n```kql\nlet auth_edges = AuthenticationEvents\n    | summarize\n        logins = count(),\n        fails = countif(result == \"Failed Login\")\n      by src_ip, username, hostname;\nlet ip_nodes = auth_edges | distinct src_ip\n    | project nodeId = src_ip, label = src_ip, nodeType = \"IP\";\nlet user_nodes = auth_edges | distinct username\n    | project nodeId = username, label = username, nodeType = \"User\";\nlet host_nodes = auth_edges | distinct hostname\n    | project nodeId = hostname, label = hostname, nodeType = \"Host\";\nlet all_nodes = union ip_nodes, user_nodes, host_nodes;\n\u002F\u002F IP -> User edges\nlet ip_user = auth_edges\n    | project Source = src_ip, Target = username, logins, fails;\n\u002F\u002F User -> Host edges\nlet user_host = auth_edges\n    | project Source = username, Target = hostname, logins, fails;\nunion ip_user, user_host\n| make-graph Source --> Target with all_nodes on nodeId\n| graph-match (ip)-[e1]->(user)-[e2]->(host)\n    where e2.fails > 20\n    project\n        IP = ip.label,\n        User = user.label,\n        Host = host.label,\n        Failures = e2.fails\n| order by Failures desc\n```\n\n### Lateral movement detection: users sharing compromised hosts\n\n```kql\n\u002F\u002F Pattern: (user1)-[auth1]->(host)\u003C-[auth2]-(user2)\n\u002F\u002F Two users both failing on the same host = possible credential spray\nlet edges = AuthenticationEvents\n    | summarize fails = countif(result == \"Failed Login\"), logins = count()\n      by username, hostname;\nlet nodes = union\n    (edges | distinct username | project nodeId = username, nodeType = \"User\"),\n    (edges | distinct hostname | project nodeId = hostname, nodeType = \"Host\");\nedges\n| make-graph username --> hostname with nodes on nodeId\n| graph-match (u1)-[e1]->(h)\u003C-[e2]-(u2)\n    where u1.nodeId != u2.nodeId and e1.fails > 10 and e2.fails > 10\n    project\n        User1 = u1.nodeId, User2 = u2.nodeId,\n        SharedHost = h.nodeId,\n        User1Fails = e1.fails, User2Fails = e2.fails\n| distinct User1, SharedHost, User2, User1Fails, User2Fails\n| order by User1Fails + User2Fails desc\n```\n\n### Shortest attack path\n\n```kql\nlet edges = SecurityEvents\n    | project Source = source_entity, Target = target_entity, action, timestamp;\nlet nodes = union\n    (edges | distinct Source | project nodeId = Source),\n    (edges | distinct Target | project nodeId = Target);\nedges\n| make-graph Source --> Target with nodes on nodeId\n| graph-shortest-paths (start)-[e*1..10]->(end)\n    where start.nodeId == \"ExternalIP_1.2.3.4\" and end.nodeId == \"DatabaseServer\"\n    project\n        PathLength = array_length(e),\n        Actions = e.action,\n        Hops = e.Target\n```\n\n### Connected components: find isolated clusters\n\n```kql\nlet edges = NetworkFlows\n    | project Source = src_ip, Target = dst_ip;\nlet nodes = union\n    (edges | distinct Source | project nodeId = Source),\n    (edges | distinct Target | project nodeId = Target);\nedges\n| make-graph Source --> Target with nodes on nodeId\n| graph-mark-components with_component_id = ComponentId\n| graph-to-table nodes\n| summarize Members = make_list(nodeId), Size = count() by ComponentId\n| order by Size desc\n```\n\n### Visualize in Kusto Explorer\n\nEnd a query at `make-graph` (without piping to `graph-match`) to trigger Kusto Explorer's interactive graph visualization window:\n\n```kql\nedges\n| make-graph Source --> Target with all_nodes on nodeId\n\u002F\u002F \u003C- stop here. Kusto Explorer renders the graph visually.\n```\n\nTo flatten back to a table for dashboards or export, pipe through `graph-match | project` or `graph-to-table`.\n\n## Using with IRQL\n\nWhen working with security data, consider using IRQL selectors (`Get_*`) from the `azure-kusto-irql` skill as the data source. IRQL gives you a unified schema without memorizing raw table names or column mappings. For rich visualization with icons and node folding, the `azure-kusto-irql-graph` skill's `Lift_To_Graph` is the faster path.\n\n| Approach | Best For |\n|---|---|\n| Raw `make-graph` (this skill) | Full control, persistent models, shortest paths, connected components, custom schemas |\n| `Lift_To_Graph` (`azure-kusto-irql-graph`) | Quick icon-decorated visualization in Kusto Explorer, node folding |\n| IRQL `Get_*` -> `make-graph` | IRQL's unified schema as input, then raw graph operators for analysis |\n| IRQL `Get_*` -> `Lift_To_Graph` -> `Graph_Render_View` | Fastest path from question to visual graph |\n\n> **Note:** `Lift_To_Graph`, `Graph_Render_View`, and `Graph_Fold_By_Property` are stored functions, not built-in operators. They are pre-deployed on the kc7001 example cluster but may need deployment on other clusters. See `azure-kusto-irql-graph\u002Freferences\u002FDEPLOY_IRQL_FUNCTIONS.md` for function definitions and deployment instructions.\n\n### Example: IRQL selectors -> make-graph -> shortest path\n\nIRQL handles the data retrieval; `make-graph` handles the graph analysis. This finds the shortest path from an external IP to a mail server through auth events:\n\n```kql\n\u002F\u002F IRQL provides unified columns (ClientIp, Hostname, Username, Result)\nlet auth = Get_Event_Authentication_All\n    | where Result == \"Failed Login\";\nlet edges = auth\n    | summarize Failures = count() by ClientIp, Hostname;\nlet nodes = union\n    (edges | distinct ClientIp | project nodeId = ClientIp, nodeType = \"IP\"),\n    (edges | distinct Hostname | project nodeId = Hostname, nodeType = \"Host\");\nedges\n| make-graph ClientIp --> Hostname with nodes on nodeId\n| graph-shortest-paths (src)-[e*1..5]->(dest)\n    where src.nodeType == \"IP\" and dest.nodeId == \"MAIL-SERVER01\"\n    project\n        SourceIP = src.nodeId,\n        PathLength = array_length(e),\n        Hops = e.Hostname\n```\n\n### Example: IRQL selectors -> make-graph -> connected components\n\nFind clusters of IPs and domains that are interconnected -- potential C2 infrastructure:\n\n```kql\nlet dns = Get_Dns_All;\nlet edges = dns | project Source = ClientIp, Target = Domain;\nlet nodes = union\n    (edges | distinct Source | project nodeId = Source, nodeType = \"IP\"),\n    (edges | distinct Target | project nodeId = Target, nodeType = \"Domain\");\nedges\n| make-graph Source --> Target with nodes on nodeId\n| graph-mark-components with_component_id = ComponentId\n| graph-to-table nodes\n| summarize\n    IPs = make_set_if(nodeId, nodeType == \"IP\"),\n    Domains = make_set_if(nodeId, nodeType == \"Domain\"),\n    Size = count()\n  by ComponentId\n| where Size > 3\n| order by Size desc\n```\n\n### Example: IRQL + make-graph integration\n\nSee [references\u002FEXAMPLES.md](references\u002FEXAMPLES.md) for multi-source investigation graphs combining IRQL selectors with `make-graph`, and `Lift_To_Graph` visual graph examples.\n\n## Practical Usage Scenarios\n\nSee [references\u002FSCENARIOS.md](references\u002FSCENARIOS.md) for full worked examples including:\n- Reachability analysis (shortest paths to critical assets)\n- Network segmentation validation (connected components)\n- Blast radius of compromised accounts (variable-length path matching)\n- Persistent graph models for SOC teams (graph_model + snapshots)\n\n## MCP Tools Used\n\n| Tool | Purpose |\n|------|---------|\n| `kusto_query` | Execute KQL queries including `make-graph`, `graph-match`, and management commands |\n| `kusto_table_schema_get` | Discover table columns before building edge\u002Fnode projections |\n| `kusto_cluster_list` | List available ADX clusters |\n| `kusto_database_list` | List databases in a cluster |\n\n## Opening Queries in Kusto Explorer (Windows Only)\n\n> **Optional convenience feature.** The default workflow is to output the KQL in chat and let the user copy it into Kusto Explorer or the VS Code Kusto extension manually. Auto-launch is opt-in only.\n\n### Default: Output KQL in Chat\n\nAlways output the complete KQL with Step 1 (connect) and Step 2 (query) clearly labeled:\n\n```\n\u002F\u002F Step 1: Connect to your cluster (skip if already connected)\n\u002F\u002F Example: uncomment to connect to the KC7 training cluster\n\u002F\u002F #connect cluster('kc7001.eastus.kusto.windows.net').database('ValdyTimes')\n\u002F\u002F Or replace with your own cluster:\n\u002F\u002F #connect cluster('\u003CYOUR_CLUSTER>').database('\u003CYOUR_DATABASE>')\n\n\u002F\u002F Step 2: Run the query below\n\u003CKQL_QUERY ending at make-graph>\n```\n\nThen immediately below, output an **ADX Web Explorer version** that appends `| graph-to-table nodes as N, edges as E` since ADX Web Explorer cannot render `make-graph` directly:\n\n```\n\u002F\u002F ADX Web Explorer version (tabular output):\n\u003CSAME_QUERY>\n| graph-to-table nodes as N, edges as E\n```\n\nThis ensures the output works in both Kusto Explorer (graph visualization) and ADX Web Explorer (tabular results) without the user having to modify anything.\n\n### Optional: Save and Launch\n\nIf the user asks to save or open the query in Kusto Explorer, follow the procedure in [references\u002FKUSTO_EXPLORER_LAUNCH.md](references\u002FKUSTO_EXPLORER_LAUNCH.md). Key rules:\n\n- **Always** use `ask_user` to confirm before writing files or launching executables\n- **Always** display the file contents in chat so the user can review before opening\n- **Never** use shell interpolation or here-strings — write files via `Set-Content`\u002F`Add-Content`\n- **Never** encode queries into browser URLs\n- On macOS\u002FLinux, save the `.kql` file and suggest the VS Code Kusto extension or ADX Web Explorer\n\nFor `make-graph` visualization (the graph window), the query must **end at `make-graph`** — do not pipe to `graph-match`. Kusto Explorer only opens the graph visualization window when the output is a graph object, not a table.\n","# Kusto Graph Semantics\n\nBuild transient and persistent graphs from tabular data using KQL graph operators. This skill translates natural language into the edges-first graph construction pattern and graph query operators.\n\n## Activation Triggers\n\nUse this skill when the user:\n- Wants to build a graph from tabular data (`make-graph`)\n- Asks to find patterns, paths, or relationships in data\n- Mentions `graph-match`, `graph-shortest-paths`, `graph-to-table`, `graph-mark-components`\n- Wants to create a persistent graph model or snapshot\n- Says \"build a graph\", \"find the shortest path\", \"find connected components\", \"show relationships\"\n- Asks about transient vs persistent graphs\n\n**Not a natural-language-to-KQL converter.** The input should generally be a working KQL query whose results the user wants converted to a graph, plus a natural-language description of the desired graph structure. Basic NL source requests are supported only when they map directly to a known table with obvious columns. For general NL-to-KQL conversion, use a dedicated query-generation skill (available separately).\n\n**Complementary skills:**\n- `azure-kusto-irql` -- composable security query primitives that produce the tabular inputs for graphs\n- `azure-kusto-irql-graph` -- IRQL's `Lift_To_Graph` JSON mapping system for richly-typed, icon-decorated graphs in Kusto Explorer\n\n## The Edges-First Approach\n\nThe fundamental pattern for building graphs in Kusto:\n\n```\n1. Define your EDGES       -> src --> dest, with relationship type\u002Fproperties\n2. Define your NODE LOOKUPS -> display names, types, properties for each node ID\n3. Union edge types         -> if you have multiple relationship types\n4. Union node lookups       -> if you have multiple node types\n5. Call make-graph          -> edges | make-graph Source --> Target with nodes on nodeId\n```\n\nThis is how to think in `make-graph`. Edges are the relationships you care about. Nodes are lookup tables that give those IDs a face -- display names, types, properties.\n\n## Graph Operators Reference\n\n### `make-graph` -- Build a graph from tables\n\n```kql\nEdges | make-graph SourceId --> TargetId with Nodes on NodeId\n```\n\n- `Edges`: tabular source where each row is an edge\n- `SourceId --> TargetId`: columns containing source and target node IDs\n- `with Nodes on NodeId`: optional node property table joined by ID\n- Supports multiple node tables: `with Nodes1 on Id1, Nodes2 on Id2`\n- Nodes appearing in edges but missing from the node table get empty properties\n\n### `graph-match` -- Find patterns\n\n```kql\nG | graph-match (a)-[e]->(b) where \u003Cconstraints> project \u003Coutput>\n```\n\nPattern notation:\n\n| Element | Named | Anonymous |\n|---|---|---|\n| Node | `(n)` | `()` |\n| Edge left->right | `-[e]->` | `-->` |\n| Edge right->left | `\u003C-[e]-` | `\u003C--` |\n| Any direction | `-[e]-` | `--` |\n| Variable length | `-[e*1..5]->` | `-[*1..5]->` |\n\nMulti-hop patterns: `(a)-[e1]->(b)-[e2]->(c)`\nStar patterns: `(a)--(center)--(b), (c)--(center)--(d)`\nCycles control: `cycles = all | none | unique_edges` (default: `unique_edges`)\n\n### `graph-shortest-paths` -- Find shortest paths\n\n```kql\nG | graph-shortest-paths (start)-[e*1..20]->(end)\n      where start.name == \"Alice\" and end.name == \"Server01\"\n      project Path = e, Length = array_length(e)\n```\n\n- Requires at least one variable-length edge\n- `output = any` (default, one path per pair) or `output = all` (all equal-length shortest paths)\n- Variable-length edge properties returned as dynamic arrays\n\n### `graph-to-table` -- Export graph to tables\n\n```kql\nG | graph-to-table nodes                                     \u002F\u002F export nodes\nG | graph-to-table edges                                     \u002F\u002F export edges\nG | graph-to-table nodes as N, edges as E                    \u002F\u002F export both\nG | graph-to-table nodes with_node_id=Id                     \u002F\u002F include node hash ID\nG | graph-to-table edges with_source_id=Src with_target_id=Tgt  \u002F\u002F include edge endpoint IDs\n```\n\n### `graph-mark-components` -- Find connected components\n\n```kql\nG | graph-mark-components with_component_id=ComponentId\n  | graph-to-table nodes\n  | summarize Members = make_list(name) by ComponentId\n```\n\nAssigns a `ComponentId` to each node. Nodes in the same connected component share the same ID.\n\n### `graph()` function -- Query persistent graphs\n\n```kql\ngraph(\"MyGraphModel\")                              \u002F\u002F latest snapshot\ngraph(\"MyGraphModel\", \"Snapshot_2025_01\")           \u002F\u002F specific snapshot\ngraph(\"MyGraphModel\", true)                         \u002F\u002F transient from model definition\n```\n\n## Transient Graphs\n\nCreated dynamically during query execution. No setup required. Ideal for ad-hoc analysis, exploration, and prototyping.\n\n### Template: Basic two-entity graph\n\n```kql\n\u002F\u002F 1. Define edges\nlet edges = \u003CSourceTable>\n    | summarize \u003Caggregations> by SourceCol, TargetCol;\n\u002F\u002F 2. Define node lookups\nlet source_nodes = edges\n    | distinct SourceCol\n    | project nodeId = SourceCol, label = SourceCol, nodeType = \"\u003CSourceType>\";\nlet target_nodes = edges\n    | distinct TargetCol\n    | project nodeId = TargetCol, label = TargetCol, nodeType = \"\u003CTargetType>\";\nlet all_nodes = union source_nodes, target_nodes;\n\u002F\u002F 3. Build and query the graph\nedges\n| make-graph SourceCol --> TargetCol with all_nodes on nodeId\n| graph-match (s)-[e]->(t)\n    where \u003Cconstraints>\n    project Source = s.label, Target = t.label, \u003Cedge properties>\n```\n\n### Template: Multi-relationship graph\n\n```kql\n\u002F\u002F Multiple edge types -> union them with a common schema\nlet auth_edges = AuthEvents\n    | project Source = username, Target = hostname, edgeType = \"authenticates\", ts = timestamp;\nlet net_edges = NetworkEvents\n    | project Source = src_ip, Target = url, edgeType = \"connects\", ts = timestamp;\nlet all_edges = union auth_edges, net_edges;\n\u002F\u002F Node lookups from all sources\nlet user_nodes = Employees | project nodeId = username, label = name, nodeType = \"User\";\nlet host_nodes = AuthEvents | distinct hostname | project nodeId = hostname, label = hostname, nodeType = \"Host\";\nlet all_nodes = union user_nodes, host_nodes;\nall_edges\n| make-graph Source --> Target with all_nodes on nodeId\n```\n\n## Persistent Graphs\n\nFor large-scale, reusable graphs. Stored in database metadata. Support snapshots for historical comparison.\n\n> **Safety:** Creating or altering graph models and snapshots modifies the database. Always show the exact command and confirm with the user before executing `.create-or-alter graph_model` or `.make graph_snapshot`.\n\n### Step 1: Create a graph model\n\n```kql\n.create-or-alter graph_model SecurityGraph\n{\n  \"Schema\": {\n    \"Nodes\": {\n      \"User\": {\"name\": \"string\", \"role\": \"string\"},\n      \"Host\": {\"hostname\": \"string\"},\n      \"IP\":   {\"ip\": \"string\"}\n    },\n    \"Edges\": {\n      \"AuthenticatesTo\": {\"timestamp\": \"datetime\", \"result\": \"string\"},\n      \"ConnectsFrom\":    {\"timestamp\": \"datetime\"}\n    }\n  },\n  \"Definition\": {\n    \"Steps\": [\n      {\n        \"Kind\": \"AddNodes\",\n        \"Query\": \"Employees | project name, role\",\n        \"NodeIdColumn\": \"name\",\n        \"Labels\": [\"User\"]\n      },\n      {\n        \"Kind\": \"AddNodes\",\n        \"Query\": \"AuthenticationEvents | distinct hostname | project hostname\",\n        \"NodeIdColumn\": \"hostname\",\n        \"Labels\": [\"Host\"]\n      },\n      {\n        \"Kind\": \"AddEdges\",\n        \"Query\": \"AuthenticationEvents | project username, hostname, timestamp, result\",\n        \"SourceColumn\": \"username\",\n        \"TargetColumn\": \"hostname\",\n        \"Labels\": [\"AuthenticatesTo\"]\n      }\n    ]\n  }\n}\n```\n\n### Step 2: Create a snapshot\n\n```kql\n.make graph_snapshot SecurityGraph Snapshot_2025_07\n```\n\n### Step 3: Query the snapshot\n\n```kql\ngraph(\"SecurityGraph\")\n| graph-match (user)-[auth]->(host)\n    where user.role == \"Admin\" and auth.result == \"Failed Login\"\n    project User = user.name, Host = host.hostname, Time = auth.timestamp\n```\n\n### Management commands\n\n> **Safety:** All control commands below modify or delete database objects. Never execute `.drop`, `.create-or-alter graph_model`, or `.make graph_snapshot` automatically. Always show the exact command, cluster, database, and affected object, then require explicit user confirmation before execution.\n\n```kql\n.show graph_models                        \u002F\u002F list all models\n.show graph_model SecurityGraph           \u002F\u002F show model details\n.show graph_snapshots SecurityGraph       \u002F\u002F list snapshots\n.drop graph_snapshot SecurityGraph Snapshot_2025_07  \u002F\u002F delete a snapshot (CONFIRM FIRST)\n.drop graph_model SecurityGraph           \u002F\u002F delete model and all snapshots (CONFIRM FIRST)\n```\n\n## Transient vs Persistent: When to Use Which\n\n| Factor | Transient (`make-graph`) | Persistent (`graph()`) |\n|---|---|---|\n| Setup | None -- inline in query | Create model + snapshot |\n| Lifetime | Query execution only | Stored in database metadata |\n| Data freshness | Always current | Snapshot at creation time |\n| Scale | Limited by query memory | Enterprise-scale |\n| Reuse | Rebuilt every query | Shared across users\u002Fqueries |\n| Best for | Ad-hoc hunts, prototyping | Production workflows, dashboards |\n\n## Security & Threat Hunting Examples\n\n### Authentication graph: who logged into what from where\n\n```kql\nlet auth_edges = AuthenticationEvents\n    | summarize\n        logins = count(),\n        fails = countif(result == \"Failed Login\")\n      by src_ip, username, hostname;\nlet ip_nodes = auth_edges | distinct src_ip\n    | project nodeId = src_ip, label = src_ip, nodeType = \"IP\";\nlet user_nodes = auth_edges | distinct username\n    | project nodeId = username, label = username, nodeType = \"User\";\nlet host_nodes = auth_edges | distinct hostname\n    | project nodeId = hostname, label = hostname, nodeType = \"Host\";\nlet all_nodes = union ip_nodes, user_nodes, host_nodes;\n\u002F\u002F IP -> User edges\nlet ip_user = auth_edges\n    | project Source = src_ip, Target = username, logins, fails;\n\u002F\u002F User -> Host edges\nlet user_host = auth_edges\n    | project Source = username, Target = hostname, logins, fails;\nunion ip_user, user_host\n| make-graph Source --> Target with all_nodes on nodeId\n| graph-match (ip)-[e1]->(user)-[e2]->(host)\n    where e2.fails > 20\n    project\n        IP = ip.label,\n        User = user.label,\n        Host = host.label,\n        Failures = e2.fails\n| order by Failures desc\n```\n\n### Lateral movement detection: users sharing compromised hosts\n\n```kql\n\u002F\u002F Pattern: (user1)-[auth1]->(host)\u003C-[auth2]-(user2)\n\u002F\u002F Two users both failing on the same host = possible credential spray\nlet edges = AuthenticationEvents\n    | summarize fails = countif(result == \"Failed Login\"), logins = count()\n      by username, hostname;\nlet nodes = union\n    (edges | distinct username | project nodeId = username, nodeType = \"User\"),\n    (edges | distinct hostname | project nodeId = hostname, nodeType = \"Host\");\nedges\n| make-graph username --> hostname with nodes on nodeId\n| graph-match (u1)-[e1]->(h)\u003C-[e2]-(u2)\n    where u1.nodeId != u2.nodeId and e1.fails > 10 and e2.fails > 10\n    project\n        User1 = u1.nodeId, User2 = u2.nodeId,\n        SharedHost = h.nodeId,\n        User1Fails = e1.fails, User2Fails = e2.fails\n| distinct User1, SharedHost, User2, User1Fails, User2Fails\n| order by User1Fails + User2Fails desc\n```\n\n### Shortest attack path\n\n```kql\nlet edges = SecurityEvents\n    | project Source = source_entity, Target = target_entity, action, timestamp;\nlet nodes = union\n    (edges | distinct Source | project nodeId = Source),\n    (edges | distinct Target | project nodeId = Target);\nedges\n| make-graph Source --> Target with nodes on nodeId\n| graph-shortest-paths (start)-[e*1..10]->(end)\n    where start.nodeId == \"ExternalIP_1.2.3.4\" and end.nodeId == \"DatabaseServer\"\n    project\n        PathLength = array_length(e),\n        Actions = e.action,\n        Hops = e.Target\n```\n\n### Connected components: find isolated clusters\n\n```kql\nlet edges = NetworkFlows\n    | project Source = src_ip, Target = dst_ip;\nlet nodes = union\n    (edges | distinct Source | project nodeId = Source),\n    (edges | distinct Target | project nodeId = Target);\nedges\n| make-graph Source --> Target with nodes on nodeId\n| graph-mark-components with_component_id = ComponentId\n| graph-to-table nodes\n| summarize Members = make_list(nodeId), Size = count() by ComponentId\n| order by Size desc\n```\n\n### Visualize in Kusto Explorer\n\nEnd a query at `make-graph` (without piping to `graph-match`) to trigger Kusto Explorer's interactive graph visualization window:\n\n```kql\nedges\n| make-graph Source --> Target with all_nodes on nodeId\n\u002F\u002F \u003C- stop here. Kusto Explorer renders the graph visually.\n```\n\nTo flatten back to a table for dashboards or export, pipe through `graph-match | project` or `graph-to-table`.\n\n## Using with IRQL\n\nWhen working with security data, consider using IRQL selectors (`Get_*`) from the `azure-kusto-irql` skill as the data source. IRQL gives you a unified schema without memorizing raw table names or column mappings. For rich visualization with icons and node folding, the `azure-kusto-irql-graph` skill's `Lift_To_Graph` is the faster path.\n\n| Approach | Best For |\n|---|---|\n| Raw `make-graph` (this skill) | Full control, persistent models, shortest paths, connected components, custom schemas |\n| `Lift_To_Graph` (`azure-kusto-irql-graph`) | Quick icon-decorated visualization in Kusto Explorer, node folding |\n| IRQL `Get_*` -> `make-graph` | IRQL's unified schema as input, then raw graph operators for analysis |\n| IRQL `Get_*` -> `Lift_To_Graph` -> `Graph_Render_View` | Fastest path from question to visual graph |\n\n> **Note:** `Lift_To_Graph`, `Graph_Render_View`, and `Graph_Fold_By_Property` are stored functions, not built-in operators. They are pre-deployed on the kc7001 example cluster but may need deployment on other clusters. See `azure-kusto-irql-graph\u002Freferences\u002FDEPLOY_IRQL_FUNCTIONS.md` for function definitions and deployment instructions.\n\n### Example: IRQL selectors -> make-graph -> shortest path\n\nIRQL handles the data retrieval; `make-graph` handles the graph analysis. This finds the shortest path from an external IP to a mail server through auth events:\n\n```kql\n\u002F\u002F IRQL provides unified columns (ClientIp, Hostname, Username, Result)\nlet auth = Get_Event_Authentication_All\n    | where Result == \"Failed Login\";\nlet edges = auth\n    | summarize Failures = count() by ClientIp, Hostname;\nlet nodes = union\n    (edges | distinct ClientIp | project nodeId = ClientIp, nodeType = \"IP\"),\n    (edges | distinct Hostname | project nodeId = Hostname, nodeType = \"Host\");\nedges\n| make-graph ClientIp --> Hostname with nodes on nodeId\n| graph-shortest-paths (src)-[e*1..5]->(dest)\n    where src.nodeType == \"IP\" and dest.nodeId == \"MAIL-SERVER01\"\n    project\n        SourceIP = src.nodeId,\n        PathLength = array_length(e),\n        Hops = e.Hostname\n```\n\n### Example: IRQL selectors -> make-graph -> connected components\n\nFind clusters of IPs and domains that are interconnected -- potential C2 infrastructure:\n\n```kql\nlet dns = Get_Dns_All;\nlet edges = dns | project Source = ClientIp, Target = Domain;\nlet nodes = union\n    (edges | distinct Source | project nodeId = Source, nodeType = \"IP\"),\n    (edges | distinct Target | project nodeId = Target, nodeType = \"Domain\");\nedges\n| make-graph Source --> Target with nodes on nodeId\n| graph-mark-components with_component_id = ComponentId\n| graph-to-table nodes\n| summarize\n    IPs = make_set_if(nodeId, nodeType == \"IP\"),\n    Domains = make_set_if(nodeId, nodeType == \"Domain\"),\n    Size = count()\n  by ComponentId\n| where Size > 3\n| order by Size desc\n```\n\n### Example: IRQL + make-graph integration\n\nSee [references\u002FEXAMPLES.md](references\u002FEXAMPLES.md) for multi-source investigation graphs combining IRQL selectors with `make-graph`, and `Lift_To_Graph` visual graph examples.\n\n## Practical Usage Scenarios\n\nSee [references\u002FSCENARIOS.md](references\u002FSCENARIOS.md) for full worked examples including:\n- Reachability analysis (shortest paths to critical assets)\n- Network segmentation validation (connected components)\n- Blast radius of compromised accounts (variable-length path matching)\n- Persistent graph models for SOC teams (graph_model + snapshots)\n\n## MCP Tools Used\n\n| Tool | Purpose |\n|------|---------|\n| `kusto_query` | Execute KQL queries including `make-graph`, `graph-match`, and management commands |\n| `kusto_table_schema_get` | Discover table columns before building edge\u002Fnode projections |\n| `kusto_cluster_list` | List available ADX clusters |\n| `kusto_database_list` | List databases in a cluster |\n\n## Opening Queries in Kusto Explorer (Windows Only)\n\n> **Optional convenience feature.** The default workflow is to output the KQL in chat and let the user copy it into Kusto Explorer or the VS Code Kusto extension manually. Auto-launch is opt-in only.\n\n### Default: Output KQL in Chat\n\nAlways output the complete KQL with Step 1 (connect) and Step 2 (query) clearly labeled:\n\n```\n\u002F\u002F Step 1: Connect to your cluster (skip if already connected)\n\u002F\u002F Example: uncomment to connect to the KC7 training cluster\n\u002F\u002F #connect cluster('kc7001.eastus.kusto.windows.net').database('ValdyTimes')\n\u002F\u002F Or replace with your own cluster:\n\u002F\u002F #connect cluster('\u003CYOUR_CLUSTER>').database('\u003CYOUR_DATABASE>')\n\n\u002F\u002F Step 2: Run the query below\n\u003CKQL_QUERY ending at make-graph>\n```\n\nThen immediately below, output an **ADX Web Explorer version** that appends `| graph-to-table nodes as N, edges as E` since ADX Web Explorer cannot render `make-graph` directly:\n\n```\n\u002F\u002F ADX Web Explorer version (tabular output):\n\u003CSAME_QUERY>\n| graph-to-table nodes as N, edges as E\n```\n\nThis ensures the output works in both Kusto Explorer (graph visualization) and ADX Web Explorer (tabular results) without the user having to modify anything.\n\n### Optional: Save and Launch\n\nIf the user asks to save or open the query in Kusto Explorer, follow the procedure in [references\u002FKUSTO_EXPLORER_LAUNCH.md](references\u002FKUSTO_EXPLORER_LAUNCH.md). Key rules:\n\n- **Always** use `ask_user` to confirm before writing files or launching executables\n- **Always** display the file contents in chat so the user can review before opening\n- **Never** use shell interpolation or here-strings — write files via `Set-Content`\u002F`Add-Content`\n- **Never** encode queries into browser URLs\n- On macOS\u002FLinux, save the `.kql` file and suggest the VS Code Kusto extension or ADX Web Explorer\n\nFor `make-graph` visualization (the graph window), the query must **end at `make-graph`** — do not pipe to `graph-match`. Kusto Explorer only opens the graph visualization window when the output is a graph object, not a table.\n",{"name":5,"license":16,"metadata":56,"description":7},{"author":13,"version":57},"0.0.0-placeholder","main","90929a087ad50fa0dd02fc396c9b8f721ddced08","plugins\u002Fazure-kusto-graph-skills\u002Fskills\u002Fazure-kusto-graph",225,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 03:43:10",{"source":9,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add microsoft\u002FGitHub-Copilot-for-Azure --skill azure-kusto-graph",{"tool":73,"command":74},"bunx","bunx skills add microsoft\u002FGitHub-Copilot-for-Azure --skill azure-kusto-graph",{"tool":76,"command":77},"pnpm","pnpm dlx skills add microsoft\u002FGitHub-Copilot-for-Azure --skill azure-kusto-graph","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-kusto-graph-skills\u002Fskills\u002Fazure-kusto-graph\u002FSKILL.md",true,[81,87,91,95],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002FEXAMPLES.md","REFERENCE","参考文档",2975,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-kusto-graph-skills\u002Fskills\u002Fazure-kusto-graph\u002Freferences\u002FEXAMPLES.md",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002FKUSTO_EXPLORER_LAUNCH.md",2659,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-kusto-graph-skills\u002Fskills\u002Fazure-kusto-graph\u002Freferences\u002FKUSTO_EXPLORER_LAUNCH.md",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002FSCENARIOS.md",3853,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-kusto-graph-skills\u002Fskills\u002Fazure-kusto-graph\u002Freferences\u002FSCENARIOS.md",{"path":96,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":97,"sourceHtmlUrl":98},"version.json",38,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-kusto-graph-skills\u002Fskills\u002Fazure-kusto-graph\u002Fversion.json",[100,123,157,187,216,240],{"skillNo":101,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":51},"01M7153X40NMFY8DV2ATNDW060","azure-advisor-cost-optimization","Analyze Azure Advisor Cost\u002FIdleResources findings and prevalidate deletion safety, including Service Groups. WHEN: \"find unused Azure resources\", \"what resources am I paying for but no longer using\", \"idle-resource savings\", \"historical idle-resource savings\", \"are these idle resources safe to delete\". Generic Cost, other subcategories, and cross-category requests use azure-advisor.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-advisor\u002Fskills\u002Fazure-advisor-cost-optimization\u002FSKILL.md",[],[107,108,109,33,110,111,112,113,114,115,116,117,118,36,119,49,120,121,122,10],"azure advisor","Optimization","cost optimization","cost","advisor","azure advisor cost optimization","resources","generic","for","deletion","unused","use","analyze","delete","requests","find",{"skillNo":124,"name":125,"nameZh":126,"description":127,"descriptionZh":128,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":129,"categories":130,"keywords":137,"publishedAt":51},"01M699ZWKYS4MRFW0KQM1FFCJK","foundry-iq","Foundry IQ 知识库管理","Foundry IQ knowledge bases. WHEN: make local or Blob documents searchable; create\u002Fdiagnose KBs; triage unsupported connectors or multi-source KB creation\u002Freconfiguration (even with classic-search terms); connect existing KB to agents (including multi-source KBs); create\u002Freuse a Search service; retrieve from an existing knowledge base with citations; no brand words needed. Read its procedure before query\u002Ftarget questions. NOT: other KB providers, repository-file search, classic Azure AI Search index\u002Fquery\u002Fapp work with no Foundry IQ KB or connector request, generic agent creation.","Foundry IQ 知识库。适用时机：让本地或 Blob 文档可被搜索；创建\u002F诊断知识库；对不支持的连接器或多源知识库的创建\u002F重新配置进行分类处理；将现有知识库连接到智能体（包括多源知识库）；创建\u002F复用 Search 服务；从现有知识库检索带引用的内容；无需品牌词。在查询\u002F目标类问题前先阅读其流程说明。不适用：其他知识库提供商、存储库文件搜索、不涉及 Foundry IQ 知识库或连接器请求的经典 Azure AI Search 索引\u002F查询\u002F应用类工作、通用智能体创建。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Ffoundry-iq-skills\u002Fskills\u002Ffoundry-iq\u002FSKILL.md",[131,134],{"categoryNo":132,"categoryName":133,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀",{"categoryNo":135,"categoryName":136,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[138,139,49,140,141,10,142,143,144,145,146,114,147,148,149,150,33,151,152,153,154,155,156,36,42],"foundry","foundry iq","triage","azure ai","connectors","app","Citations","brand","kb","creation","diagnose","search","local","reuse","knowledge","foundry iq knowledge bases","connect","Existing","documents",{"skillNo":158,"name":159,"nameZh":160,"description":161,"descriptionZh":162,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":163,"categories":164,"keywords":171,"publishedAt":51},"01M699ZT26E2D0VTWFZBBGJHMG","python-appservice-deploy","Python 应用 Azure 部署","Deploy Python (Flask\u002FDjango\u002FFastAPI) code to Azure App Service Linux. WHEN: \"Flask App Service\", \"Django App Service\", \"FastAPI App Service\", \"deploy Python to App Service\". DO NOT USE FOR: Container Apps, Functions, non-Python, Terraform\u002FBicep\u002FIaC, full infra — use azure-prepare.","将 Python（Flask\u002FDjango\u002FFastAPI）代码部署到 Azure App Service Linux。触发条件：\"Flask App Service\"、\"Django App Service\"、\"FastAPI App Service\"、\"将 Python 部署到 App Service\"。不适用：Container Apps、Functions、非 Python、Terraform\u002FBicep\u002FIaC、完整基础设施——请使用 azure-prepare。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fpython-appservice-deploy\u002FSKILL.md",[165,168],{"categoryNo":166,"categoryName":167,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",{"categoryNo":169,"categoryName":170,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT9F3Z67AB1M6CHA8X75WW","云架构师",[172,173,174,49,175,176,143,177,178,115,179,33,180,181,182,118,183,184,185,186,36],"python appservice deploy","deploy","python","linux","infra","do","django","azure app service","container","iac","fastapi","apps","code","functions","fastapi app",{"skillNo":188,"name":189,"nameZh":190,"description":191,"descriptionZh":192,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":193,"categories":194,"keywords":199,"publishedAt":51},"01M699ZR83J83TATQZKXHPXPF7","preset","Azure OpenAI 快速部署","Intelligently deploys Azure OpenAI models to optimal regions by analyzing capacity across all available regions. Automatically checks current region first and shows alternatives if needed. USE FOR: quick deployment, optimal region, best region, automatic region selection, fast setup, multi-region capacity check, high availability deployment, deploy to best location. DO NOT USE FOR: custom SKU selection (use customize), specific version selection (use customize), custom capacity configuration (use customize), PTU deployments (use customize).","通过分析所有可用区域的容量，智能地将 Azure OpenAI 模型部署到最优区域。自动优先检查当前区域，并在需要时显示备选方案。适用于：快速部署、最优区域、最佳区域、自动区域选择、快速配置、多区域容量检查、高可用部署、部署到最佳位置。不适用于：自定义 SKU 选择（使用 customize）、特定版本选择（使用 customize）、自定义容量配置（使用 customize）、PTU 部署（使用 customize）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fmicrosoft-foundry\u002Fmodels\u002Fdeploy-model\u002Fpreset\u002FSKILL.md",[195,198],{"categoryNo":196,"categoryName":197,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRYS21JX3JFDVCQ5GG4TFK","AI 平台资源管理",{"categoryNo":135,"categoryName":136,"taxonomyType":28,"taxonomyTypeDesc":29},[189,173,200,10,201,202,177,203,204,115,205,206,207,33,208,209,210,118,211,212,213,214,215],"setup","capacity","customize","quick","availability","deployment","alternatives","selection","custom","deployments","high availability","version","across","check","multi","first",{"skillNo":217,"name":202,"nameZh":218,"description":219,"descriptionZh":220,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":221,"categories":222,"keywords":225,"publishedAt":51},"01M699ZPM2ZHC9VXG582DY4268","Azure OpenAI 自定义部署","Interactive guided deployment flow for Azure OpenAI models with full customization control. Step-by-step selection of model version, SKU (GlobalStandard\u002FStandard\u002FProvisionedManaged), capacity, RAI policy (content filter), and advanced options (dynamic quota, priority processing, spillover). USE FOR: custom deployment, customize model deployment, choose version, select SKU, set capacity, configure content filter, RAI policy, deployment options, detailed deployment, advanced deployment, PTU deployment, provisioned throughput. DO NOT USE FOR: quick deployment to optimal region (use preset).","具有完全自定义控制能力的 Azure OpenAI 模型交互式引导部署流程。逐步选择模型版本、SKU（GlobalStandard\u002FStandard\u002FProvisionedManaged）、容量、RAI 策略（内容过滤器）以及高级选项（动态配额、优先处理、溢出）。适用于：自定义部署、定制模型部署、选择版本、选择 SKU、设置容量、配置内容过滤器、RAI 策略、部署选项、详细部署、高级部署、PTU 部署、预置吞吐量。不适用于：快速部署到最优区域（使用 preset）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fmicrosoft-foundry\u002Fmodels\u002Fdeploy-model\u002Fcustomize\u002FSKILL.md",[223,224],{"categoryNo":196,"categoryName":197,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":135,"categoryName":136,"taxonomyType":28,"taxonomyTypeDesc":29},[202,189,10,201,226,227,203,228,229,47,230,231,207,232,233,234,235,236,237,238,239,177,115,205],"policy","SET","processing","advanced","select","choose","configure","filter","azure openai","options","flow","openai","throughput","full",{"skillNo":241,"name":201,"nameZh":242,"description":243,"descriptionZh":244,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":245,"categories":246,"keywords":249,"publishedAt":51},"01M699ZMCK9T4EM6NASDB940R7","Azure OpenAI 模型容量查询","Discovers available Azure OpenAI model capacity across regions and projects. Analyzes quota limits, compares availability, and recommends optimal deployment locations based on capacity requirements. USE FOR: find capacity, check quota, where can I deploy, capacity discovery, best region for capacity, multi-project capacity search, quota analysis, model availability, region comparison, check TPM availability. DO NOT USE FOR: actual deployment (hand off to preset or customize after discovery), quota increase requests (direct user to Azure Portal), listing existing deployments.","跨区域和跨项目发现可用的 Azure OpenAI 模型容量。分析配额限制、比较可用性，并根据容量需求推荐最佳部署位置。适用场景：查找容量、检查配额、可以在哪里部署、容量发现、容量最佳区域、多项目容量搜索、配额分析、模型可用性、区域比较、检查 TPM 可用性。不适用场景：实际部署（发现后转交给预设或自定义技能）、配额提升申请（引导用户前往 Azure 门户）、列出现有部署。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FGitHub-Copilot-for-Azure\u002Fblob\u002Fmain\u002Fplugins\u002Fazure-skills\u002Fskills\u002Fmicrosoft-foundry\u002Fmodels\u002Fdeploy-model\u002Fcapacity\u002FSKILL.md",[247,248],{"categoryNo":196,"categoryName":197,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":135,"categoryName":136,"taxonomyType":28,"taxonomyTypeDesc":29},[201,189,173,10,202,250,47,251,149,252,253,254,212,234,255,256,237,257,258,177,204,115,259,205],"projects","project","analysis","listing","hand","limits","azure portal","direct","TPM","discovery"]