[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M715A79Y6AC7NKHE8Y2Y5HD4":3,"skill-same:01M715A79Y6AC7NKHE8Y2Y5HD4":65},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M715A79Y6AC7NKHE8Y2Y5HD4","azure-ai-ml-py",null,"Azure Machine Learning SDK v2 for Python. Use for ML workspaces, jobs, models, datasets, compute, and pipelines.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fazure-ai-ml-py\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"azure ai","azure","ml","azure ai ml py","ai ml","models","2026","unknown","for","azure machine learning","machine","compute","community","datasets","python","workspaces","use","learning","machine learning","sdk","2026-11-10 10:12:30",false,"---\nname: azure-ai-ml-py\ndescription: Azure Machine Learning SDK v2 for Python. Use for ML workspaces, jobs, models, datasets, compute, and pipelines.\nrisk: unknown\nsource: community\ndate_added: '2026-02-27'\n---\n\n# Azure Machine Learning SDK v2 for Python\n\nClient library for managing Azure ML resources: workspaces, jobs, models, data, and compute.\n\n## Installation\n\n```bash\npip install azure-ai-ml\n```\n\n## Environment Variables\n\n```bash\nAZURE_SUBSCRIPTION_ID=\u003Cyour-subscription-id>\nAZURE_RESOURCE_GROUP=\u003Cyour-resource-group>\nAZURE_ML_WORKSPACE_NAME=\u003Cyour-workspace-name>\n```\n\n## Authentication\n\n```python\nfrom azure.ai.ml import MLClient\nfrom azure.identity import DefaultAzureCredential\n\nml_client = MLClient(\n    credential=DefaultAzureCredential(),\n    subscription_id=os.environ[\"AZURE_SUBSCRIPTION_ID\"],\n    resource_group_name=os.environ[\"AZURE_RESOURCE_GROUP\"],\n    workspace_name=os.environ[\"AZURE_ML_WORKSPACE_NAME\"]\n)\n```\n\n### From Config File\n\n```python\nfrom azure.ai.ml import MLClient\nfrom azure.identity import DefaultAzureCredential\n\n# Uses config.json in current directory or parent\nml_client = MLClient.from_config(\n    credential=DefaultAzureCredential()\n)\n```\n\n## Workspace Management\n\n### Create Workspace\n\n```python\nfrom azure.ai.ml.entities import Workspace\n\nws = Workspace(\n    name=\"my-workspace\",\n    location=\"eastus\",\n    display_name=\"My Workspace\",\n    description=\"ML workspace for experiments\",\n    tags={\"purpose\": \"demo\"}\n)\n\nml_client.workspaces.begin_create(ws).result()\n```\n\n### List Workspaces\n\n```python\nfor ws in ml_client.workspaces.list():\n    print(f\"{ws.name}: {ws.location}\")\n```\n\n## Data Assets\n\n### Register Data\n\n```python\nfrom azure.ai.ml.entities import Data\nfrom azure.ai.ml.constants import AssetTypes\n\n# Register a file\nmy_data = Data(\n    name=\"my-dataset\",\n    version=\"1\",\n    path=\"azureml:\u002F\u002Fdatastores\u002Fworkspaceblobstore\u002Fpaths\u002Fdata\u002Ftrain.csv\",\n    type=AssetTypes.URI_FILE,\n    description=\"Training data\"\n)\n\nml_client.data.create_or_update(my_data)\n```\n\n### Register Folder\n\n```python\nmy_data = Data(\n    name=\"my-folder-dataset\",\n    version=\"1\",\n    path=\"azureml:\u002F\u002Fdatastores\u002Fworkspaceblobstore\u002Fpaths\u002Fdata\u002F\",\n    type=AssetTypes.URI_FOLDER\n)\n\nml_client.data.create_or_update(my_data)\n```\n\n## Model Registry\n\n### Register Model\n\n```python\nfrom azure.ai.ml.entities import Model\nfrom azure.ai.ml.constants import AssetTypes\n\nmodel = Model(\n    name=\"my-model\",\n    version=\"1\",\n    path=\".\u002Fmodel\u002F\",\n    type=AssetTypes.CUSTOM_MODEL,\n    description=\"My trained model\"\n)\n\nml_client.models.create_or_update(model)\n```\n\n### List Models\n\n```python\nfor model in ml_client.models.list(name=\"my-model\"):\n    print(f\"{model.name} v{model.version}\")\n```\n\n## Compute\n\n### Create Compute Cluster\n\n```python\nfrom azure.ai.ml.entities import AmlCompute\n\ncluster = AmlCompute(\n    name=\"cpu-cluster\",\n    type=\"amlcompute\",\n    size=\"Standard_DS3_v2\",\n    min_instances=0,\n    max_instances=4,\n    idle_time_before_scale_down=120\n)\n\nml_client.compute.begin_create_or_update(cluster).result()\n```\n\n### List Compute\n\n```python\nfor compute in ml_client.compute.list():\n    print(f\"{compute.name}: {compute.type}\")\n```\n\n## Jobs\n\n### Command Job\n\n```python\nfrom azure.ai.ml import command, Input\n\njob = command(\n    code=\".\u002Fsrc\",\n    command=\"python train.py --data ${{inputs.data}} --lr ${{inputs.learning_rate}}\",\n    inputs={\n        \"data\": Input(type=\"uri_folder\", path=\"azureml:my-dataset:1\"),\n        \"learning_rate\": 0.01\n    },\n    environment=\"AzureML-sklearn-1.0-ubuntu20.04-py38-cpu@latest\",\n    compute=\"cpu-cluster\",\n    display_name=\"training-job\"\n)\n\nreturned_job = ml_client.jobs.create_or_update(job)\nprint(f\"Job URL: {returned_job.studio_url}\")\n```\n\n### Monitor Job\n\n```python\nml_client.jobs.stream(returned_job.name)\n```\n\n## Pipelines\n\n```python\nfrom azure.ai.ml import dsl, Input, Output\nfrom azure.ai.ml.entities import Pipeline\n\n@dsl.pipeline(\n    compute=\"cpu-cluster\",\n    description=\"Training pipeline\"\n)\ndef training_pipeline(data_input):\n    prep_step = prep_component(data=data_input)\n    train_step = train_component(\n        data=prep_step.outputs.output_data,\n        learning_rate=0.01\n    )\n    return {\"model\": train_step.outputs.model}\n\npipeline = training_pipeline(\n    data_input=Input(type=\"uri_folder\", path=\"azureml:my-dataset:1\")\n)\n\npipeline_job = ml_client.jobs.create_or_update(pipeline)\n```\n\n## Environments\n\n### Create Custom Environment\n\n```python\nfrom azure.ai.ml.entities import Environment\n\nenv = Environment(\n    name=\"my-env\",\n    version=\"1\",\n    image=\"mcr.microsoft.com\u002Fazureml\u002Fopenmpi4.1.0-ubuntu20.04\",\n    conda_file=\".\u002Fenvironment.yml\"\n)\n\nml_client.environments.create_or_update(env)\n```\n\n## Datastores\n\n### List Datastores\n\n```python\nfor ds in ml_client.datastores.list():\n    print(f\"{ds.name}: {ds.type}\")\n```\n\n### Get Default Datastore\n\n```python\ndefault_ds = ml_client.datastores.get_default()\nprint(f\"Default: {default_ds.name}\")\n```\n\n## MLClient Operations\n\n| Property | Operations |\n|----------|------------|\n| `workspaces` | create, get, list, delete |\n| `jobs` | create_or_update, get, list, stream, cancel |\n| `models` | create_or_update, get, list, archive |\n| `data` | create_or_update, get, list |\n| `compute` | begin_create_or_update, get, list, delete |\n| `environments` | create_or_update, get, list |\n| `datastores` | create_or_update, get, list, get_default |\n| `components` | create_or_update, get, list |\n\n## Best Practices\n\n1. **Use versioning** for data, models, and environments\n2. **Configure idle scale-down** to reduce compute costs\n3. **Use environments** for reproducible training\n4. **Stream job logs** to monitor progress\n5. **Register models** after successful training jobs\n6. **Use pipelines** for multi-step workflows\n7. **Tag resources** for organization and cost tracking\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n","# Azure Machine Learning SDK v2 for Python\n\nClient library for managing Azure ML resources: workspaces, jobs, models, data, and compute.\n\n## Installation\n\n```bash\npip install azure-ai-ml\n```\n\n## Environment Variables\n\n```bash\nAZURE_SUBSCRIPTION_ID=\u003Cyour-subscription-id>\nAZURE_RESOURCE_GROUP=\u003Cyour-resource-group>\nAZURE_ML_WORKSPACE_NAME=\u003Cyour-workspace-name>\n```\n\n## Authentication\n\n```python\nfrom azure.ai.ml import MLClient\nfrom azure.identity import DefaultAzureCredential\n\nml_client = MLClient(\n    credential=DefaultAzureCredential(),\n    subscription_id=os.environ[\"AZURE_SUBSCRIPTION_ID\"],\n    resource_group_name=os.environ[\"AZURE_RESOURCE_GROUP\"],\n    workspace_name=os.environ[\"AZURE_ML_WORKSPACE_NAME\"]\n)\n```\n\n### From Config File\n\n```python\nfrom azure.ai.ml import MLClient\nfrom azure.identity import DefaultAzureCredential\n\n# Uses config.json in current directory or parent\nml_client = MLClient.from_config(\n    credential=DefaultAzureCredential()\n)\n```\n\n## Workspace Management\n\n### Create Workspace\n\n```python\nfrom azure.ai.ml.entities import Workspace\n\nws = Workspace(\n    name=\"my-workspace\",\n    location=\"eastus\",\n    display_name=\"My Workspace\",\n    description=\"ML workspace for experiments\",\n    tags={\"purpose\": \"demo\"}\n)\n\nml_client.workspaces.begin_create(ws).result()\n```\n\n### List Workspaces\n\n```python\nfor ws in ml_client.workspaces.list():\n    print(f\"{ws.name}: {ws.location}\")\n```\n\n## Data Assets\n\n### Register Data\n\n```python\nfrom azure.ai.ml.entities import Data\nfrom azure.ai.ml.constants import AssetTypes\n\n# Register a file\nmy_data = Data(\n    name=\"my-dataset\",\n    version=\"1\",\n    path=\"azureml:\u002F\u002Fdatastores\u002Fworkspaceblobstore\u002Fpaths\u002Fdata\u002Ftrain.csv\",\n    type=AssetTypes.URI_FILE,\n    description=\"Training data\"\n)\n\nml_client.data.create_or_update(my_data)\n```\n\n### Register Folder\n\n```python\nmy_data = Data(\n    name=\"my-folder-dataset\",\n    version=\"1\",\n    path=\"azureml:\u002F\u002Fdatastores\u002Fworkspaceblobstore\u002Fpaths\u002Fdata\u002F\",\n    type=AssetTypes.URI_FOLDER\n)\n\nml_client.data.create_or_update(my_data)\n```\n\n## Model Registry\n\n### Register Model\n\n```python\nfrom azure.ai.ml.entities import Model\nfrom azure.ai.ml.constants import AssetTypes\n\nmodel = Model(\n    name=\"my-model\",\n    version=\"1\",\n    path=\".\u002Fmodel\u002F\",\n    type=AssetTypes.CUSTOM_MODEL,\n    description=\"My trained model\"\n)\n\nml_client.models.create_or_update(model)\n```\n\n### List Models\n\n```python\nfor model in ml_client.models.list(name=\"my-model\"):\n    print(f\"{model.name} v{model.version}\")\n```\n\n## Compute\n\n### Create Compute Cluster\n\n```python\nfrom azure.ai.ml.entities import AmlCompute\n\ncluster = AmlCompute(\n    name=\"cpu-cluster\",\n    type=\"amlcompute\",\n    size=\"Standard_DS3_v2\",\n    min_instances=0,\n    max_instances=4,\n    idle_time_before_scale_down=120\n)\n\nml_client.compute.begin_create_or_update(cluster).result()\n```\n\n### List Compute\n\n```python\nfor compute in ml_client.compute.list():\n    print(f\"{compute.name}: {compute.type}\")\n```\n\n## Jobs\n\n### Command Job\n\n```python\nfrom azure.ai.ml import command, Input\n\njob = command(\n    code=\".\u002Fsrc\",\n    command=\"python train.py --data ${{inputs.data}} --lr ${{inputs.learning_rate}}\",\n    inputs={\n        \"data\": Input(type=\"uri_folder\", path=\"azureml:my-dataset:1\"),\n        \"learning_rate\": 0.01\n    },\n    environment=\"AzureML-sklearn-1.0-ubuntu20.04-py38-cpu@latest\",\n    compute=\"cpu-cluster\",\n    display_name=\"training-job\"\n)\n\nreturned_job = ml_client.jobs.create_or_update(job)\nprint(f\"Job URL: {returned_job.studio_url}\")\n```\n\n### Monitor Job\n\n```python\nml_client.jobs.stream(returned_job.name)\n```\n\n## Pipelines\n\n```python\nfrom azure.ai.ml import dsl, Input, Output\nfrom azure.ai.ml.entities import Pipeline\n\n@dsl.pipeline(\n    compute=\"cpu-cluster\",\n    description=\"Training pipeline\"\n)\ndef training_pipeline(data_input):\n    prep_step = prep_component(data=data_input)\n    train_step = train_component(\n        data=prep_step.outputs.output_data,\n        learning_rate=0.01\n    )\n    return {\"model\": train_step.outputs.model}\n\npipeline = training_pipeline(\n    data_input=Input(type=\"uri_folder\", path=\"azureml:my-dataset:1\")\n)\n\npipeline_job = ml_client.jobs.create_or_update(pipeline)\n```\n\n## Environments\n\n### Create Custom Environment\n\n```python\nfrom azure.ai.ml.entities import Environment\n\nenv = Environment(\n    name=\"my-env\",\n    version=\"1\",\n    image=\"mcr.microsoft.com\u002Fazureml\u002Fopenmpi4.1.0-ubuntu20.04\",\n    conda_file=\".\u002Fenvironment.yml\"\n)\n\nml_client.environments.create_or_update(env)\n```\n\n## Datastores\n\n### List Datastores\n\n```python\nfor ds in ml_client.datastores.list():\n    print(f\"{ds.name}: {ds.type}\")\n```\n\n### Get Default Datastore\n\n```python\ndefault_ds = ml_client.datastores.get_default()\nprint(f\"Default: {default_ds.name}\")\n```\n\n## MLClient Operations\n\n| Property | Operations |\n|----------|------------|\n| `workspaces` | create, get, list, delete |\n| `jobs` | create_or_update, get, list, stream, cancel |\n| `models` | create_or_update, get, list, archive |\n| `data` | create_or_update, get, list |\n| `compute` | begin_create_or_update, get, list, delete |\n| `environments` | create_or_update, get, list |\n| `datastores` | create_or_update, get, list, get_default |\n| `components` | create_or_update, get, list |\n\n## Best Practices\n\n1. **Use versioning** for data, models, and environments\n2. **Configure idle scale-down** to reduce compute costs\n3. **Use environments** for reproducible training\n4. **Stream job logs** to monitor progress\n5. **Register models** after successful training jobs\n6. **Use pipelines** for multi-step workflows\n7. **Tag resources** for organization and cost tracking\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n",{"name":5,"risk":26,"source":31,"date_added":44,"description":7},"2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcursor\u002Fazure-ai-ml-py","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill azure-ai-ml-py",{"tool":57,"command":58},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill azure-ai-ml-py",{"tool":60,"command":61},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill azure-ai-ml-py","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fazure-ai-ml-py\u002FSKILL.md",true,[],[66,76,83,91,97,105],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":70,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":75},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":75},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":70,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":75},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":92,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":70,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":75},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"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":70,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":75},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":70,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":75},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]