[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ACHQNSJ7FWFGG8MZ4W4FDS":3,"skill-same:01M7ACHQNSJ7FWFGG8MZ4W4FDS":150},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7ACHQNSJ7FWFGG8MZ4W4FDS","sitewise-asset-deployer",null,"Deploys AWS IoT SiteWise industrial data infrastructure with production defaults: asset model creation (measurement, metric, transform, attribute property types), asset hierarchy (parent-child composition), SiteWise Edge gateway on IoT Greengrass, data ingestion via BatchPutAssetPropertyValue, OPC-UA source configuration, asset property aliases, dashboards, threshold alarms, warm-tier storage, and Identity Center portal access. Emits a READY_TO_DEPLOY checklist with verification commands. Use when modeling industrial assets, ingesting OPC-UA telemetry, creating dashboards, configuring alarms, deploying Edge gateways, or setting up aliases. Triggers: create iot sitewise asset model, sitewise asset hierarchy, sitewise edge gateway, opc-ua source sitewise, batchputassetpropertyvalue, sitewise dashboard portal, sitewise alarm, asset property alias, sitewise identity center.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sitewise-asset-deployer\ndescription: 'Deploys AWS IoT SiteWise industrial data infrastructure with production defaults: asset model creation (measurement, metric, transform, attribute property types), asset hierarchy (parent-child composition), SiteWise Edge gateway on IoT Greengrass, data ingestion via BatchPutAssetPropertyValue, OPC-UA source configuration, asset property aliases, dashboards, threshold alarms, warm-tier storage, and Identity Center portal access. Emits a READY_TO_DEPLOY checklist with verification commands. Use when modeling industrial assets, ingesting OPC-UA telemetry, creating dashboards, configuring alarms, deploying Edge gateways, or setting up aliases. Triggers: create iot sitewise asset model, sitewise asset hierarchy, sitewise edge gateway, opc-ua source sitewise, batchputassetpropertyvalue, sitewise dashboard portal, sitewise alarm, asset property alias, sitewise identity center.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with iot-sitewise access (and greengrassv2 access if deploying Edge gateway). Works with Terraform aws_iotsitewise_asset_model \u002F aws_iotsitewise_asset \u002F aws_iotsitewise_gateway resources and CloudFormation AWS::IoTSiteWise::AssetModel \u002F Asset \u002F Gateway templates.'\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Management\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: aws, iot-sitewise, cloudops, deploy, industrial, provisioning, asset-model, opc-ua, edge-gateway, dashboard, alarm, identity-center\n  dependencies: aws-orchestrator\n  keywords: aws, iot sitewise, asset model, asset hierarchy, cloudops, deploy, provisioning, opc-ua, measurement, transform, metric, attribute, gateway, greengrass, batchputassetpropertyvalue, alias, dashboard, portal, alarm, identity center\n  when_to_use: Invoke when the user wants to model industrial assets in AWS IoT SiteWise, create asset models with measurement\u002Fmetric\u002Ftransform\u002F attribute properties, build parent-child asset hierarchies, deploy SiteWise Edge gateways on IoT Greengrass, configure OPC-UA source data ingestion, set up asset property aliases for external data feeds, create dashboards and portals, configure threshold-based alarms, or integrate SiteWise with CloudWatch and Identity Center. Do NOT invoke for AWS IoT Core (device connectivity), AWS IoT TwinMaker (digital twins), or AWS IoT Events (event detection) unless the task specifically involves SiteWise asset modeling.\n---\n\n# AWS IoT SiteWise Asset Deployer\n\nAn AWS CloudOps agent skill that deploys AWS IoT SiteWise industrial\ndata infrastructure with correct defaults. The skill walks the operator\nthrough asset model design (four property types), hierarchy composition,\ngateway and OPC-UA configuration, data ingestion paths, aliases,\ndashboards, alarms, and access control, captures modeling and ingestion\ndecisions, explains why each default matters, and emits a\nREADY_TO_DEPLOY checklist with copy-pasteable verification commands.\n\n## Activation keywords\n\ncreate IoT SiteWise asset model, SiteWise asset hierarchy, SiteWise Edge\ngateway, OPC-UA source SiteWise, BatchPutAssetPropertyValue, SiteWise\ndashboard portal, SiteWise alarm, asset property alias, SiteWise\nIdentity Center.\n\n## STRICT output contract\n\nWhen this skill is invoked with a SiteWise-provisioning request\n(create an asset model, build an asset hierarchy, deploy a gateway,\nconfigure OPC-UA ingestion, set up dashboards or alarms, or a partial\nconfiguration), the agent MUST respond with the READY_TO_DEPLOY\nchecklist defined in the \"Output format\" section using the literal\nall-caps labels `SITEWISE:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels breaks\nautomation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Asset model property types | Core model design |\n| Step 2 — Asset hierarchy (parent-child) | Model composition |\n| Step 3 — Gateway and SiteWise Edge | Edge data collection |\n| Step 4 — OPC-UA source configuration | Industrial protocol setup |\n| Step 5 — Data ingestion (BatchPutAssetPropertyValue) | Cloud ingestion path |\n| Step 6 — Asset property aliases | External data binding |\n| Step 7 — Dashboards (project and portal) | Visualization |\n| Step 8 — Alarms (threshold rules) | Operational alerting |\n| Step 9 — Time series storage and CloudWatch | Data persistence |\n| Step 10 — Identity Center for portal access | Access control |\n| Step 11 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fasset-models-and-properties.md | Property type detail |\n| references\u002Fgateway-and-ingestion.md | Gateway + ingestion detail |\n\n## Mindset\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#mindset) — the three misconceptions (property types, gateway mapping, alias necessity).\nLoad that reference on demand before executing this section.\n\n## Configuration dependency graph (novel heuristic)\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#configuration-dependency-graph-novel-heuristic) — 10-row dependency table, hierarchy-in-the-model rule, cross-dependency gotchas.\nLoad that reference on demand before executing this section.\n\n## Expert heuristic: asset model inheritance for standardization\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-asset-model-inheritance-for-standardization) — wind-turbine standardization model and fleet inheritance pattern.\nLoad that reference on demand before executing this section.\n\n## Expert heuristic: OPC-UA data flow to asset properties\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-opc-ua-data-flow-to-asset-properties) — five-hop OPC-UA to gateway to property to dashboard data-flow trace.\nLoad that reference on demand before executing this section.\n\n## Expert heuristic: transform expressions for derived metrics\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-transform-expressions-for-derived-metrics) — transform expression syntax, supported functions, and worked formulas.\nLoad that reference on demand before executing this section.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| IAM permissions for SiteWise | All SiteWise API calls require iotsitewise:* or specific actions | `aws iotsitewise list-asset-models` |\n| Greengrass core device (if using Edge gateway) | Gateway platform is Greengrass V2; needs a registered core device | `aws greengrassv2 list-core-devices` |\n| OPC-UA server endpoint reachable (if using OPC-UA) | Gateway must connect to the OPC-UA server | Confirm endpoint from SCADA\u002FPLC admin |\n| Identity Center instance (if creating a portal) | Portal SSO requires Identity Center | `aws sso-admin list-instances` |\n| SiteWise storage configuration | Warm tier must be configured to store data | `aws iotsitewise describe-storage-configuration` |\n| AWS Region supports SiteWise | SiteWise is not available in all regions | `aws iotsitewise describe-default-encryption-configuration` |\n| Property type decisions finalized | Wrong property types break data flow | Confirm measurement vs transform vs metric vs attribute per data point |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Asset model property types\n\nSiteWise asset models define four property types. Each has a distinct\npurpose and data-flow behavior.\n\n| Property type | Receives external data? | Derives from other properties? | Aggregates over time? | Stores static metadata? |\n|---|---|---|---|---|\n| Measurement | YES (the only ingest target) | No | No | No |\n| Transform | No | YES (formula on measurements, near-real-time) | No | No |\n| Metric | No | YES (formula on measurements\u002Ftransforms, time-windowed) | YES (configurable interval) | No |\n| Attribute | No | No | No | YES (string, integer, boolean, double) |\n\n**Measurement properties** are the data ingestion target. OPC-UA\nsources and BatchPutAssetPropertyValue write to measurements. Each\nmeasurement has a data type: STRING, INTEGER, DOUBLE, BOOLEAN.\n\n**Transform properties** apply a formula to the current value of\nreferenced measurements\u002Ftransforms on each data point. They compute\nnear-real-time derived values (e.g., unit conversions, efficiency\nratios). The expression references other properties by name or ID.\n\n**Metric properties** aggregate data over a specified time window using\na processing configuration (interval in seconds, forward\u002Fbackward time\nwindow). Metrics compute rolling aggregates (e.g., hourly average,\ndaily total, 15-minute max).\n\n**Attribute properties** store static metadata about the asset (serial\nnumber, location, rated capacity). They do NOT have time series data.\n\n## Step 2 — Asset hierarchy (parent-child)\n\n→ Moved to [references\u002Fasset-models-and-properties.md](references\u002Fasset-models-and-properties.md#step-2--asset-hierarchy-parent-child) — parent-model hierarchy CLI, create-asset, wait asset-active, associate-assets.\nLoad that reference on demand before executing this section.\n\n## Step 3 — Gateway and SiteWise Edge\n\n→ Moved to [references\u002Fgateway-and-ingestion.md](references\u002Fgateway-and-ingestion.md#step-3--gateway-and-sitewise-edge) — create-gateway CLI, gateway states, Edge connector component.\nLoad that reference on demand before executing this section.\n\n## Step 4 — OPC-UA source configuration\n\n→ Moved to [references\u002Fgateway-and-ingestion.md](references\u002Fgateway-and-ingestion.md#step-4--opc-ua-source-configuration) — capability configuration CLI and the full OPC-UA source JSON with nodePathMappings.\nLoad that reference on demand before executing this section.\n\n## Step 5 — Data ingestion (BatchPutAssetPropertyValue)\n\nFor cloud-direct ingestion (bypassing the gateway), use\nBatchPutAssetPropertyValue. This is used by IoT Core rules, Lambda\nfunctions, or external integrations.\n\n**Ingest via property alias (recommended for scale):**\n\n```bash\naws iotsitewise batch-put-asset-property-value \\\n  --entries '[{\n    \"entryId\": \"entry-001\",\n    \"propertyAlias\": \"\u002Ffactory\u002Fline1\u002Fturbine1\u002Ftemperature\",\n    \"propertyValues\": [{\n      \"value\": {\"doubleValue\": 72.5},\n      \"timestamp\": {\"timeInSeconds\": 1722816000, \"offsetInNanos\": 0},\n      \"quality\": \"GOOD\"\n    }]\n  }]'\n```\n\n**Ingest via property ID and asset ID:**\n\n```bash\naws iotsitewise batch-put-asset-property-value \\\n  --entries '[{\n    \"entryId\": \"entry-001\",\n    \"assetId\": \"asset-aaa11122\",\n    \"propertyId\": \"prop-bbb22233\",\n    \"propertyValues\": [{\n      \"value\": {\"doubleValue\": 72.5},\n      \"timestamp\": {\"timeInSeconds\": 1722816000, \"offsetInNanos\": 0},\n      \"quality\": \"GOOD\"\n    }]\n  }]'\n```\n\n**Alias-based ingestion is preferred for scale** because it avoids a\nprior DescribeAsset lookup to resolve property IDs. IoT Core rule SQL\nactions can write directly to aliases.\n\n**Batch limits:** up to 10 entries per call, up to 10 property values\nper entry. For high throughput, use multiple calls or a buffering layer\n(Kinesis + Lambda).\n\n## Step 6 — Asset property aliases\n\nAliases map a string path to a specific asset property. They enable\nexternal ingestion without property ID resolution.\n\n**Set an alias on an asset property:**\n\n```bash\naws iotsitewise update-asset-property \\\n  --asset-id \"$TURBINE_ID\" \\\n  --property-id \"$TEMPERATURE_PROP_ID\" \\\n  --property-alias \"\u002Ffactory\u002Fline1\u002Fturbine1\u002Ftemperature\" \\\n  --property-notification-state ENABLED\n```\n\n**Alias naming convention:** use hierarchical paths that mirror the\nphysical topology:\n\n```text\n\u002F\u003Ccompany>\u002F\u003Csite>\u002F\u003Carea>\u002F\u003Cequipment>\u002F\u003Cproperty>\n  \u002Facme\u002Fhoover\u002Fline1\u002Fturbine1\u002Ftemperature\n  \u002Facme\u002Fhoover\u002Fline1\u002Fturbine1\u002Frpm\n  \u002Facme\u002Fhoover\u002Fline1\u002Fturbine1\u002FpowerOutput\n```\n\n**Critical:** aliases must be unique across the entire AWS account.\nDuplicate aliases cause BatchPutAssetPropertyValue to write to the\nwrong asset property.\n\n## Step 7 — Dashboards (project and portal)\n\n→ Moved to [references\u002Fportals-dashboards-and-access.md](references\u002Fportals-dashboards-and-access.md#step-7--dashboards-project-and-portal) — create-project \u002F create-dashboard \u002F create-portal CLI and the portal IAM role.\nLoad that reference on demand before executing this section.\n\n## Step 8 — Alarms (threshold rules)\n\nAlarms monitor asset property values against threshold rules and fire\nwhen conditions are met. Alarms are defined at the MODEL level and\ninherited by all assets created from the model.\n\n**Alarm definition in the asset model:**\n\n```json\n{\n  \"id\": \"alarm-high-temp\",\n  \"name\": \"High Temperature Alarm\",\n  \"alarmState\": {\n    \"stateConfiguration\": {\n      \"alarmType\": \"THRESHOLD\",\n      \"threshold\": {\n        \"comparisonOperator\": \"GT\",\n        \"value\": {\n          \"doubleValue\": 80.0\n        },\n        \"durationInMinutes\": 5,\n        \"propertyId\": \"measurement-temperature-id\"\n      }\n    }\n  }\n}\n```\n\n**Comparison operators:** `GT` (greater than), `LT` (less than),\n`GTE` (greater than or equal), `LTE` (less than or equal),\n`EQ` (equal), `NEQ` (not equal).\n\n**Duration:** the threshold condition must persist for\n`durationInMinutes` before the alarm transitions to ALARM state.\nWithout a duration, the alarm fires on every threshold breach (noisy).\n\n**Alarm states:** `NORMAL`, `ALARM`, `ACKNOWLEDGED`, `SNOOZE_DISABLED`.\n\n**Alarm can trigger:** IoT Core topics, Lambda functions (via alarm\nstate change events), or portal notifications.\n\n## Step 9 — Time series storage and CloudWatch integration\n\n→ Moved to [references\u002Fgateway-and-ingestion.md](references\u002Fgateway-and-ingestion.md#step-9--time-series-storage-and-cloudwatch-integration) — put-storage-configuration, warm tier, ingestion and gateway CloudWatch metrics.\nLoad that reference on demand before executing this section.\n\n## Step 10 — Identity Center for portal access\n\n→ Moved to [references\u002Fportals-dashboards-and-access.md](references\u002Fportals-dashboards-and-access.md#step-10--identity-center-for-portal-access) — SSO portal creation, create-access-policy CLI, project roles.\nLoad that reference on demand before executing this section.\n\n## Step 11 — Recent features\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#step-11--recent-features) — composite models, Modbus, ingestion throughput, dashboard versioning, alarm hysteresis, IdC maturity.\nLoad that reference on demand before executing this section.\n\n## NEVER do these things\n\n1. **NEVER define hierarchies on the asset instance.** Hierarchies are\n   declared in the PARENT asset model's `assetModelHierarchies`. You\n   cannot create parent-child relationships between arbitrary assets at\n   runtime — the model must define the hierarchy structure first.\n\n2. **NEVER ingest data into a transform or metric property.** Only\n   MEASUREMENT properties accept external data. Transforms and metrics\n   derive their values from measurements. Attempting to write to a\n   transform\u002Fmetric via BatchPutAssetPropertyValue fails silently or\n   returns an error.\n\n3. **NEVER create assets from a model that is not ACTIVE.** Model\n   creation is asynchronous. Poll `describe-asset-model` until status\n   is ACTIVE before creating assets. Assets created from a CREATING\n   model fail with a validation error.\n\n4. **NEVER use duplicate asset property aliases.** Aliases must be\n   unique across the entire AWS account. Duplicate aliases cause\n   BatchPutAssetPropertyValue to write to the wrong asset. Always\n   verify alias uniqueness before setting.\n\n5. **NEVER omit the nodePathMappings in OPC-UA source configuration.**\n   Without node-to-alias mappings, the gateway connects to the OPC-UA\n   server but ingests nothing. This is the #1 cause of \"gateway\n   connected but no data\" issues.\n\n6. **NEVER create a portal without Identity Center configured (for SSO\n   mode).** Portal creation with `portalAuthMode: SSO` fails if\n   Identity Center is not set up in the account. Verify the Identity\n   Center instance exists before creating an SSO portal.\n\n7. **NEVER define alarms without a duration.** Without a\n   `durationInMinutes`, the alarm fires on every threshold breach\n   (including momentary spikes). Always set a duration that represents\n   a meaningful sustained condition.\n\n8. **NEVER assume the gateway auto-deploys to any Greengrass device.**\n   The gateway platform parameter must reference a REGISTERED Greengrass\n   V2 core device. The core device must be online and running Greengrass\n   V2 with the SiteWise Edge connector component.\n\n9. **NEVER forget the portal IAM role.** The portal role is what\n   SiteWise assumes to read asset data on behalf of portal users.\n   Without the role (or with insufficient permissions), portal\n   dashboards show no data.\n\n10. **NEVER skip storage configuration.** Without\n    `put-storage-configuration`, data ingestion succeeds but data is\n    not retained in the warm tier (or uses defaults that may not meet\n    retention requirements). Configure the warm tier retention\n    explicitly.\n\n## Output format (STRICT output contract)\n\nWhen this skill is invoked, the agent MUST respond with the block defined\nbelow using the literal all-caps labels `SITEWISE:`, `VERDICT:`,\n`CHECKLIST:`, `VERIFICATION_COMMANDS:`, `FORBIDDEN:`, and\n`DECISION_TREE:`. Do NOT preface the checklist with prose, headings, or\ndisclaimers — emit the block as the first lines of the response.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n### Literal output labels\n\n```text\nSITEWISE: \u003Casset-model-name> (\u003Casset-model-id>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Measurement properties: \u003Cname(DOUBLE|INTEGER|STRING|BOOLEAN), ...>\n  [✓|✗] Transform properties: \u003Cname = expression, ...>\n  [✓|✗] Metric properties: \u003Cname(expression, interval), ...>\n  [✓|✗] Attribute properties: \u003Cname(type), ...>\n  [✓|✗] Asset hierarchy: \u003Cparent-model> → \u003Cchild-model> via \u003Chierarchy-name>\n  [✓|✗] Asset(s): \u003Cname> (\u003Cid>) — ACTIVE\n  [✓|✗] Gateway: \u003Cname> (\u003Cid>) — RUNNING\n  [✓|✗] OPC-UA source: \u003Cname> — endpoint \u003Copc.tcp:\u002F\u002F...>, \u003CN> node mappings\n  [✓|✗] Aliases: \u003CN> set (\u003Cprefix>\u002F*)\n  [✓|✗] Ingestion path: OPC-UA → gateway → measurement properties\n  [✓|✗] Storage: warm tier (\u003CN> days), disassociated data ENABLED\n  [✓|✗] Alarms: \u003CN> threshold alarms (\u003Cnames>)\n  [✓|✗] Tags: \u003Ckey=value>\nVERIFICATION_COMMANDS:\n  aws iotsitewise describe-asset-model --asset-model-id \u003Cmodel-id>\n  aws iotsitewise describe-asset --asset-id \u003Casset-id>\n  aws iotsitewise describe-gateway --gateway-id \u003Cgateway-id>\n```\n\n### FORBIDDEN — NEVER do these\n\n1. NEVER ingest data into a transform or metric property — only\n   MEASUREMENT properties receive external data via\n   BatchPutAssetPropertyValue or OPC-UA sources. Writing to a\n   transform\u002Fmetric fails silently or returns an error.\n\n2. NEVER define hierarchies on the asset instance — hierarchies are\n   declared in the PARENT asset model's `assetModelHierarchies` array.\n   Runtime parent-child association requires a pre-existing model-level\n   hierarchy definition.\n\n3. NEVER create assets from a model that is not ACTIVE — model creation\n   is asynchronous. Poll `describe-asset-model` until `status=ACTIVE`.\n   Assets created from a CREATING model fail with a validation error.\n\n4. NEVER use duplicate asset property aliases — aliases must be unique\n   across the entire AWS account. Duplicates cause\n   BatchPutAssetPropertyValue to write to the wrong asset property.\n\n5. NEVER omit `nodePathMappings` in OPC-UA source configuration —\n   without node-to-alias mappings the gateway connects but ingests\n   nothing. This is the #1 cause of \"gateway connected but no data.\"\n\n6. NEVER define threshold alarms without `durationInMinutes` — without a\n   duration the alarm fires on every transient sensor spike.\n\n7. NEVER skip `put-storage-configuration` — without it ingestion\n   succeeds but data is not retained in the warm tier.\n\n### Worked example — pump-motor model with OPC-UA ingestion\n\nScenario: industrial pump motor monitored via OPC-UA. Temperature sensor\nfeeds a measurement; shaft frequency is transformed to RPM; hourly\nefficiency ratio is computed as a metric.\n\n```text\nSITEWISE: Pump-Motor Model (model-pm7a3x9)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Measurement properties: Temperature(DOUBLE,°C), MotorPower(DOUBLE,kW), ShaftFrequency(DOUBLE,Hz)\n  [✓] Transform properties: RPM = ShaftFrequency * 60, TempF = Temperature * 9\u002F5 + 32\n  [✓] Metric properties: HourlyAvgEfficiency(AVG(RPM\u002FMotorPower), 3600s), HourlyMaxTemp(MAX(Temperature), 3600s)\n  [✓] Attribute properties: SerialNumber(STRING), Manufacturer(STRING), RatedPower(DOUBLE kW)\n  [✓] Asset hierarchy: Pump Station Model → Pump-Motor Model via \"Contains Motors\"\n  [✓] Asset(s): PM-001 (asset-pm8b4y2) — ACTIVE\n  [✓] Gateway: Plant-Floor-Gateway (gw-3c7d8e1) — RUNNING\n  [✓] OPC-UA source: PLC-MotorController — endpoint opc.tcp:\u002F\u002F10.20.30.40:4840, 3 node mappings\n  [✓] Aliases: 3 set (\u002Facme\u002Fplant1\u002Fpumpstation1\u002Fpm001\u002F*)\n  [✓] Ingestion path: OPC-UA → gateway → measurement properties (Temperature, MotorPower, ShaftFrequency)\n  [✓] Storage: warm tier (365 days), disassociated data ENABLED\n  [✓] Alarms: 2 threshold alarms (HighTemp>85C\u002F5min, LowEfficiency\u003C0.4\u002F10min)\n  [✓] Tags: Environment=production, Plant=Plant1, AssetType=PumpMotor\nVERIFICATION_COMMANDS:\n  aws iotsitewise describe-asset-model --asset-model-id model-pm7a3x9\n  aws iotsitewise describe-asset --asset-id asset-pm8b4y2\n  aws iotsitewise describe-gateway --gateway-id gw-3c7d8e1\n  aws iotsitewise list-assets --filter TOPLEVEL --region us-east-1\n```\n\n\n→ Deploy commands for this worked example moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md#worked-example-deploy-commands--pump-motor-model) — create-asset-model with all four property types, wait + create-asset, alias setup, put-gateway-capability-configuration with nodePathMappings.\nLoad that reference on demand before executing this section.\n\n### Decision tree\n\n```text\nWhat type of property is needed for this data point?\n├─ Raw sensor data from OPC-UA or BatchPutAssetPropertyValue?\n│  → MEASUREMENT (DOUBLE | INTEGER | STRING | BOOLEAN) — only ingest target\n├─ Formula computed per data point in near-real-time?\n│  → TRANSFORM (expression references measurement\u002Ftransform properties)\n├─ Time-windowed aggregation over multiple data points?\n│  → METRIC (expression + tumbling interval in seconds)\n└─ Static metadata about the asset (serial, manufacturer)?\n   → ATTRIBUTE (no time series)\n\nNeed parent-child asset relationship?\n  → Declare hierarchy in PARENT MODEL's assetModelHierarchies (NOT on asset)\n  → Poll model until ACTIVE → create parent asset → associate-assets\n\nNeed external data ingestion?\n  ├─ Via gateway (edge)?\n  │  → OPC-UA source with nodePathMappings → set aliases on measurements\n  └─ Via cloud API (IoT Core, Lambda)?\n     → Set alias on measurement → BatchPutAssetPropertyValue by alias\n\nModel stuck in CREATING?\n  → Check transform\u002Fmetric expressions for syntax errors or circular refs\n```\n\n## Error handling\n\n→ Moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md#error-handling) — five failure deep dives (CREATING stall, gateway ERROR, empty dashboards, portal role, alarm never fires).\nLoad that reference on demand before executing this section.\n\n\n## References (load on demand)\n\n- [references\u002Fasset-models-and-properties.md](references\u002Fasset-models-and-properties.md) — property-type semantics and asset-model design detail, incl. Step 2 hierarchy CLI (create-asset-model with assetModelHierarchies, associate-assets).\n- [references\u002Fgateway-and-ingestion.md](references\u002Fgateway-and-ingestion.md) — gateway architecture, OPC-UA and ingestion detail, incl. Step 3 gateway creation, Step 4 OPC-UA source JSON, Step 9 storage \u002F CloudWatch CLI.\n- [references\u002Fportals-dashboards-and-access.md](references\u002Fportals-dashboards-and-access.md) — Step 7 dashboard \u002F portal creation CLI and Step 10 Identity Center SSO + access-policy wiring.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — mindset (three misconceptions), configuration dependency graph, expert heuristics (model inheritance, OPC-UA data flow, transform expressions), Step 11 recent features.\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — worked-example deploy commands (Pump-Motor Model: create-asset-model with all four property types, aliases, put-gateway-capability-configuration).\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — failure deep dives (model stuck CREATING, gateway ERROR, no dashboard data, portal role gaps, alarm never fires).\n\n## Domain\n\nAWS CloudOps \u002F AWS IoT SiteWise Industrial Data Modeling & Asset\nManagement.\n\n## AWS documentation\n\n- **IoT SiteWise User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002F\n- **Asset models** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fasset-models.html\n- **Asset properties** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fasset-properties.html\n- **Transforms and metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Ftransforms-and-metrics.html\n- **Asset hierarchies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fasset-hierarchies.html\n- **SiteWise Edge gateways** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fsw-edge.html\n- **OPC-UA sources** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fconfigure-sources.html\n- **BatchPutAssetPropertyValue** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002FAPIReference\u002FAPI_BatchPutAssetPropertyValue.html\n- **Dashboards and portals** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fdashboards.html\n- **Alarms** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Falarms.html\n- **Identity Center integration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fmonitor-with-portals.html\n","# AWS IoT SiteWise Asset Deployer\n\nAn AWS CloudOps agent skill that deploys AWS IoT SiteWise industrial\ndata infrastructure with correct defaults. The skill walks the operator\nthrough asset model design (four property types), hierarchy composition,\ngateway and OPC-UA configuration, data ingestion paths, aliases,\ndashboards, alarms, and access control, captures modeling and ingestion\ndecisions, explains why each default matters, and emits a\nREADY_TO_DEPLOY checklist with copy-pasteable verification commands.\n\n## Activation keywords\n\ncreate IoT SiteWise asset model, SiteWise asset hierarchy, SiteWise Edge\ngateway, OPC-UA source SiteWise, BatchPutAssetPropertyValue, SiteWise\ndashboard portal, SiteWise alarm, asset property alias, SiteWise\nIdentity Center.\n\n## STRICT output contract\n\nWhen this skill is invoked with a SiteWise-provisioning request\n(create an asset model, build an asset hierarchy, deploy a gateway,\nconfigure OPC-UA ingestion, set up dashboards or alarms, or a partial\nconfiguration), the agent MUST respond with the READY_TO_DEPLOY\nchecklist defined in the \"Output format\" section using the literal\nall-caps labels `SITEWISE:`, `VERDICT:`, `CHECKLIST:`, and\n`VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels breaks\nautomation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Asset model property types | Core model design |\n| Step 2 — Asset hierarchy (parent-child) | Model composition |\n| Step 3 — Gateway and SiteWise Edge | Edge data collection |\n| Step 4 — OPC-UA source configuration | Industrial protocol setup |\n| Step 5 — Data ingestion (BatchPutAssetPropertyValue) | Cloud ingestion path |\n| Step 6 — Asset property aliases | External data binding |\n| Step 7 — Dashboards (project and portal) | Visualization |\n| Step 8 — Alarms (threshold rules) | Operational alerting |\n| Step 9 — Time series storage and CloudWatch | Data persistence |\n| Step 10 — Identity Center for portal access | Access control |\n| Step 11 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fasset-models-and-properties.md | Property type detail |\n| references\u002Fgateway-and-ingestion.md | Gateway + ingestion detail |\n\n## Mindset\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#mindset) — the three misconceptions (property types, gateway mapping, alias necessity).\nLoad that reference on demand before executing this section.\n\n## Configuration dependency graph (novel heuristic)\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#configuration-dependency-graph-novel-heuristic) — 10-row dependency table, hierarchy-in-the-model rule, cross-dependency gotchas.\nLoad that reference on demand before executing this section.\n\n## Expert heuristic: asset model inheritance for standardization\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-asset-model-inheritance-for-standardization) — wind-turbine standardization model and fleet inheritance pattern.\nLoad that reference on demand before executing this section.\n\n## Expert heuristic: OPC-UA data flow to asset properties\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-opc-ua-data-flow-to-asset-properties) — five-hop OPC-UA to gateway to property to dashboard data-flow trace.\nLoad that reference on demand before executing this section.\n\n## Expert heuristic: transform expressions for derived metrics\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-transform-expressions-for-derived-metrics) — transform expression syntax, supported functions, and worked formulas.\nLoad that reference on demand before executing this section.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| IAM permissions for SiteWise | All SiteWise API calls require iotsitewise:* or specific actions | `aws iotsitewise list-asset-models` |\n| Greengrass core device (if using Edge gateway) | Gateway platform is Greengrass V2; needs a registered core device | `aws greengrassv2 list-core-devices` |\n| OPC-UA server endpoint reachable (if using OPC-UA) | Gateway must connect to the OPC-UA server | Confirm endpoint from SCADA\u002FPLC admin |\n| Identity Center instance (if creating a portal) | Portal SSO requires Identity Center | `aws sso-admin list-instances` |\n| SiteWise storage configuration | Warm tier must be configured to store data | `aws iotsitewise describe-storage-configuration` |\n| AWS Region supports SiteWise | SiteWise is not available in all regions | `aws iotsitewise describe-default-encryption-configuration` |\n| Property type decisions finalized | Wrong property types break data flow | Confirm measurement vs transform vs metric vs attribute per data point |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Asset model property types\n\nSiteWise asset models define four property types. Each has a distinct\npurpose and data-flow behavior.\n\n| Property type | Receives external data? | Derives from other properties? | Aggregates over time? | Stores static metadata? |\n|---|---|---|---|---|\n| Measurement | YES (the only ingest target) | No | No | No |\n| Transform | No | YES (formula on measurements, near-real-time) | No | No |\n| Metric | No | YES (formula on measurements\u002Ftransforms, time-windowed) | YES (configurable interval) | No |\n| Attribute | No | No | No | YES (string, integer, boolean, double) |\n\n**Measurement properties** are the data ingestion target. OPC-UA\nsources and BatchPutAssetPropertyValue write to measurements. Each\nmeasurement has a data type: STRING, INTEGER, DOUBLE, BOOLEAN.\n\n**Transform properties** apply a formula to the current value of\nreferenced measurements\u002Ftransforms on each data point. They compute\nnear-real-time derived values (e.g., unit conversions, efficiency\nratios). The expression references other properties by name or ID.\n\n**Metric properties** aggregate data over a specified time window using\na processing configuration (interval in seconds, forward\u002Fbackward time\nwindow). Metrics compute rolling aggregates (e.g., hourly average,\ndaily total, 15-minute max).\n\n**Attribute properties** store static metadata about the asset (serial\nnumber, location, rated capacity). They do NOT have time series data.\n\n## Step 2 — Asset hierarchy (parent-child)\n\n→ Moved to [references\u002Fasset-models-and-properties.md](references\u002Fasset-models-and-properties.md#step-2--asset-hierarchy-parent-child) — parent-model hierarchy CLI, create-asset, wait asset-active, associate-assets.\nLoad that reference on demand before executing this section.\n\n## Step 3 — Gateway and SiteWise Edge\n\n→ Moved to [references\u002Fgateway-and-ingestion.md](references\u002Fgateway-and-ingestion.md#step-3--gateway-and-sitewise-edge) — create-gateway CLI, gateway states, Edge connector component.\nLoad that reference on demand before executing this section.\n\n## Step 4 — OPC-UA source configuration\n\n→ Moved to [references\u002Fgateway-and-ingestion.md](references\u002Fgateway-and-ingestion.md#step-4--opc-ua-source-configuration) — capability configuration CLI and the full OPC-UA source JSON with nodePathMappings.\nLoad that reference on demand before executing this section.\n\n## Step 5 — Data ingestion (BatchPutAssetPropertyValue)\n\nFor cloud-direct ingestion (bypassing the gateway), use\nBatchPutAssetPropertyValue. This is used by IoT Core rules, Lambda\nfunctions, or external integrations.\n\n**Ingest via property alias (recommended for scale):**\n\n```bash\naws iotsitewise batch-put-asset-property-value \\\n  --entries '[{\n    \"entryId\": \"entry-001\",\n    \"propertyAlias\": \"\u002Ffactory\u002Fline1\u002Fturbine1\u002Ftemperature\",\n    \"propertyValues\": [{\n      \"value\": {\"doubleValue\": 72.5},\n      \"timestamp\": {\"timeInSeconds\": 1722816000, \"offsetInNanos\": 0},\n      \"quality\": \"GOOD\"\n    }]\n  }]'\n```\n\n**Ingest via property ID and asset ID:**\n\n```bash\naws iotsitewise batch-put-asset-property-value \\\n  --entries '[{\n    \"entryId\": \"entry-001\",\n    \"assetId\": \"asset-aaa11122\",\n    \"propertyId\": \"prop-bbb22233\",\n    \"propertyValues\": [{\n      \"value\": {\"doubleValue\": 72.5},\n      \"timestamp\": {\"timeInSeconds\": 1722816000, \"offsetInNanos\": 0},\n      \"quality\": \"GOOD\"\n    }]\n  }]'\n```\n\n**Alias-based ingestion is preferred for scale** because it avoids a\nprior DescribeAsset lookup to resolve property IDs. IoT Core rule SQL\nactions can write directly to aliases.\n\n**Batch limits:** up to 10 entries per call, up to 10 property values\nper entry. For high throughput, use multiple calls or a buffering layer\n(Kinesis + Lambda).\n\n## Step 6 — Asset property aliases\n\nAliases map a string path to a specific asset property. They enable\nexternal ingestion without property ID resolution.\n\n**Set an alias on an asset property:**\n\n```bash\naws iotsitewise update-asset-property \\\n  --asset-id \"$TURBINE_ID\" \\\n  --property-id \"$TEMPERATURE_PROP_ID\" \\\n  --property-alias \"\u002Ffactory\u002Fline1\u002Fturbine1\u002Ftemperature\" \\\n  --property-notification-state ENABLED\n```\n\n**Alias naming convention:** use hierarchical paths that mirror the\nphysical topology:\n\n```text\n\u002F\u003Ccompany>\u002F\u003Csite>\u002F\u003Carea>\u002F\u003Cequipment>\u002F\u003Cproperty>\n  \u002Facme\u002Fhoover\u002Fline1\u002Fturbine1\u002Ftemperature\n  \u002Facme\u002Fhoover\u002Fline1\u002Fturbine1\u002Frpm\n  \u002Facme\u002Fhoover\u002Fline1\u002Fturbine1\u002FpowerOutput\n```\n\n**Critical:** aliases must be unique across the entire AWS account.\nDuplicate aliases cause BatchPutAssetPropertyValue to write to the\nwrong asset property.\n\n## Step 7 — Dashboards (project and portal)\n\n→ Moved to [references\u002Fportals-dashboards-and-access.md](references\u002Fportals-dashboards-and-access.md#step-7--dashboards-project-and-portal) — create-project \u002F create-dashboard \u002F create-portal CLI and the portal IAM role.\nLoad that reference on demand before executing this section.\n\n## Step 8 — Alarms (threshold rules)\n\nAlarms monitor asset property values against threshold rules and fire\nwhen conditions are met. Alarms are defined at the MODEL level and\ninherited by all assets created from the model.\n\n**Alarm definition in the asset model:**\n\n```json\n{\n  \"id\": \"alarm-high-temp\",\n  \"name\": \"High Temperature Alarm\",\n  \"alarmState\": {\n    \"stateConfiguration\": {\n      \"alarmType\": \"THRESHOLD\",\n      \"threshold\": {\n        \"comparisonOperator\": \"GT\",\n        \"value\": {\n          \"doubleValue\": 80.0\n        },\n        \"durationInMinutes\": 5,\n        \"propertyId\": \"measurement-temperature-id\"\n      }\n    }\n  }\n}\n```\n\n**Comparison operators:** `GT` (greater than), `LT` (less than),\n`GTE` (greater than or equal), `LTE` (less than or equal),\n`EQ` (equal), `NEQ` (not equal).\n\n**Duration:** the threshold condition must persist for\n`durationInMinutes` before the alarm transitions to ALARM state.\nWithout a duration, the alarm fires on every threshold breach (noisy).\n\n**Alarm states:** `NORMAL`, `ALARM`, `ACKNOWLEDGED`, `SNOOZE_DISABLED`.\n\n**Alarm can trigger:** IoT Core topics, Lambda functions (via alarm\nstate change events), or portal notifications.\n\n## Step 9 — Time series storage and CloudWatch integration\n\n→ Moved to [references\u002Fgateway-and-ingestion.md](references\u002Fgateway-and-ingestion.md#step-9--time-series-storage-and-cloudwatch-integration) — put-storage-configuration, warm tier, ingestion and gateway CloudWatch metrics.\nLoad that reference on demand before executing this section.\n\n## Step 10 — Identity Center for portal access\n\n→ Moved to [references\u002Fportals-dashboards-and-access.md](references\u002Fportals-dashboards-and-access.md#step-10--identity-center-for-portal-access) — SSO portal creation, create-access-policy CLI, project roles.\nLoad that reference on demand before executing this section.\n\n## Step 11 — Recent features\n\n→ Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#step-11--recent-features) — composite models, Modbus, ingestion throughput, dashboard versioning, alarm hysteresis, IdC maturity.\nLoad that reference on demand before executing this section.\n\n## NEVER do these things\n\n1. **NEVER define hierarchies on the asset instance.** Hierarchies are\n   declared in the PARENT asset model's `assetModelHierarchies`. You\n   cannot create parent-child relationships between arbitrary assets at\n   runtime — the model must define the hierarchy structure first.\n\n2. **NEVER ingest data into a transform or metric property.** Only\n   MEASUREMENT properties accept external data. Transforms and metrics\n   derive their values from measurements. Attempting to write to a\n   transform\u002Fmetric via BatchPutAssetPropertyValue fails silently or\n   returns an error.\n\n3. **NEVER create assets from a model that is not ACTIVE.** Model\n   creation is asynchronous. Poll `describe-asset-model` until status\n   is ACTIVE before creating assets. Assets created from a CREATING\n   model fail with a validation error.\n\n4. **NEVER use duplicate asset property aliases.** Aliases must be\n   unique across the entire AWS account. Duplicate aliases cause\n   BatchPutAssetPropertyValue to write to the wrong asset. Always\n   verify alias uniqueness before setting.\n\n5. **NEVER omit the nodePathMappings in OPC-UA source configuration.**\n   Without node-to-alias mappings, the gateway connects to the OPC-UA\n   server but ingests nothing. This is the #1 cause of \"gateway\n   connected but no data\" issues.\n\n6. **NEVER create a portal without Identity Center configured (for SSO\n   mode).** Portal creation with `portalAuthMode: SSO` fails if\n   Identity Center is not set up in the account. Verify the Identity\n   Center instance exists before creating an SSO portal.\n\n7. **NEVER define alarms without a duration.** Without a\n   `durationInMinutes`, the alarm fires on every threshold breach\n   (including momentary spikes). Always set a duration that represents\n   a meaningful sustained condition.\n\n8. **NEVER assume the gateway auto-deploys to any Greengrass device.**\n   The gateway platform parameter must reference a REGISTERED Greengrass\n   V2 core device. The core device must be online and running Greengrass\n   V2 with the SiteWise Edge connector component.\n\n9. **NEVER forget the portal IAM role.** The portal role is what\n   SiteWise assumes to read asset data on behalf of portal users.\n   Without the role (or with insufficient permissions), portal\n   dashboards show no data.\n\n10. **NEVER skip storage configuration.** Without\n    `put-storage-configuration`, data ingestion succeeds but data is\n    not retained in the warm tier (or uses defaults that may not meet\n    retention requirements). Configure the warm tier retention\n    explicitly.\n\n## Output format (STRICT output contract)\n\nWhen this skill is invoked, the agent MUST respond with the block defined\nbelow using the literal all-caps labels `SITEWISE:`, `VERDICT:`,\n`CHECKLIST:`, `VERIFICATION_COMMANDS:`, `FORBIDDEN:`, and\n`DECISION_TREE:`. Do NOT preface the checklist with prose, headings, or\ndisclaimers — emit the block as the first lines of the response.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n### Literal output labels\n\n```text\nSITEWISE: \u003Casset-model-name> (\u003Casset-model-id>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Measurement properties: \u003Cname(DOUBLE|INTEGER|STRING|BOOLEAN), ...>\n  [✓|✗] Transform properties: \u003Cname = expression, ...>\n  [✓|✗] Metric properties: \u003Cname(expression, interval), ...>\n  [✓|✗] Attribute properties: \u003Cname(type), ...>\n  [✓|✗] Asset hierarchy: \u003Cparent-model> → \u003Cchild-model> via \u003Chierarchy-name>\n  [✓|✗] Asset(s): \u003Cname> (\u003Cid>) — ACTIVE\n  [✓|✗] Gateway: \u003Cname> (\u003Cid>) — RUNNING\n  [✓|✗] OPC-UA source: \u003Cname> — endpoint \u003Copc.tcp:\u002F\u002F...>, \u003CN> node mappings\n  [✓|✗] Aliases: \u003CN> set (\u003Cprefix>\u002F*)\n  [✓|✗] Ingestion path: OPC-UA → gateway → measurement properties\n  [✓|✗] Storage: warm tier (\u003CN> days), disassociated data ENABLED\n  [✓|✗] Alarms: \u003CN> threshold alarms (\u003Cnames>)\n  [✓|✗] Tags: \u003Ckey=value>\nVERIFICATION_COMMANDS:\n  aws iotsitewise describe-asset-model --asset-model-id \u003Cmodel-id>\n  aws iotsitewise describe-asset --asset-id \u003Casset-id>\n  aws iotsitewise describe-gateway --gateway-id \u003Cgateway-id>\n```\n\n### FORBIDDEN — NEVER do these\n\n1. NEVER ingest data into a transform or metric property — only\n   MEASUREMENT properties receive external data via\n   BatchPutAssetPropertyValue or OPC-UA sources. Writing to a\n   transform\u002Fmetric fails silently or returns an error.\n\n2. NEVER define hierarchies on the asset instance — hierarchies are\n   declared in the PARENT asset model's `assetModelHierarchies` array.\n   Runtime parent-child association requires a pre-existing model-level\n   hierarchy definition.\n\n3. NEVER create assets from a model that is not ACTIVE — model creation\n   is asynchronous. Poll `describe-asset-model` until `status=ACTIVE`.\n   Assets created from a CREATING model fail with a validation error.\n\n4. NEVER use duplicate asset property aliases — aliases must be unique\n   across the entire AWS account. Duplicates cause\n   BatchPutAssetPropertyValue to write to the wrong asset property.\n\n5. NEVER omit `nodePathMappings` in OPC-UA source configuration —\n   without node-to-alias mappings the gateway connects but ingests\n   nothing. This is the #1 cause of \"gateway connected but no data.\"\n\n6. NEVER define threshold alarms without `durationInMinutes` — without a\n   duration the alarm fires on every transient sensor spike.\n\n7. NEVER skip `put-storage-configuration` — without it ingestion\n   succeeds but data is not retained in the warm tier.\n\n### Worked example — pump-motor model with OPC-UA ingestion\n\nScenario: industrial pump motor monitored via OPC-UA. Temperature sensor\nfeeds a measurement; shaft frequency is transformed to RPM; hourly\nefficiency ratio is computed as a metric.\n\n```text\nSITEWISE: Pump-Motor Model (model-pm7a3x9)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Measurement properties: Temperature(DOUBLE,°C), MotorPower(DOUBLE,kW), ShaftFrequency(DOUBLE,Hz)\n  [✓] Transform properties: RPM = ShaftFrequency * 60, TempF = Temperature * 9\u002F5 + 32\n  [✓] Metric properties: HourlyAvgEfficiency(AVG(RPM\u002FMotorPower), 3600s), HourlyMaxTemp(MAX(Temperature), 3600s)\n  [✓] Attribute properties: SerialNumber(STRING), Manufacturer(STRING), RatedPower(DOUBLE kW)\n  [✓] Asset hierarchy: Pump Station Model → Pump-Motor Model via \"Contains Motors\"\n  [✓] Asset(s): PM-001 (asset-pm8b4y2) — ACTIVE\n  [✓] Gateway: Plant-Floor-Gateway (gw-3c7d8e1) — RUNNING\n  [✓] OPC-UA source: PLC-MotorController — endpoint opc.tcp:\u002F\u002F10.20.30.40:4840, 3 node mappings\n  [✓] Aliases: 3 set (\u002Facme\u002Fplant1\u002Fpumpstation1\u002Fpm001\u002F*)\n  [✓] Ingestion path: OPC-UA → gateway → measurement properties (Temperature, MotorPower, ShaftFrequency)\n  [✓] Storage: warm tier (365 days), disassociated data ENABLED\n  [✓] Alarms: 2 threshold alarms (HighTemp>85C\u002F5min, LowEfficiency\u003C0.4\u002F10min)\n  [✓] Tags: Environment=production, Plant=Plant1, AssetType=PumpMotor\nVERIFICATION_COMMANDS:\n  aws iotsitewise describe-asset-model --asset-model-id model-pm7a3x9\n  aws iotsitewise describe-asset --asset-id asset-pm8b4y2\n  aws iotsitewise describe-gateway --gateway-id gw-3c7d8e1\n  aws iotsitewise list-assets --filter TOPLEVEL --region us-east-1\n```\n\n\n→ Deploy commands for this worked example moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md#worked-example-deploy-commands--pump-motor-model) — create-asset-model with all four property types, wait + create-asset, alias setup, put-gateway-capability-configuration with nodePathMappings.\nLoad that reference on demand before executing this section.\n\n### Decision tree\n\n```text\nWhat type of property is needed for this data point?\n├─ Raw sensor data from OPC-UA or BatchPutAssetPropertyValue?\n│  → MEASUREMENT (DOUBLE | INTEGER | STRING | BOOLEAN) — only ingest target\n├─ Formula computed per data point in near-real-time?\n│  → TRANSFORM (expression references measurement\u002Ftransform properties)\n├─ Time-windowed aggregation over multiple data points?\n│  → METRIC (expression + tumbling interval in seconds)\n└─ Static metadata about the asset (serial, manufacturer)?\n   → ATTRIBUTE (no time series)\n\nNeed parent-child asset relationship?\n  → Declare hierarchy in PARENT MODEL's assetModelHierarchies (NOT on asset)\n  → Poll model until ACTIVE → create parent asset → associate-assets\n\nNeed external data ingestion?\n  ├─ Via gateway (edge)?\n  │  → OPC-UA source with nodePathMappings → set aliases on measurements\n  └─ Via cloud API (IoT Core, Lambda)?\n     → Set alias on measurement → BatchPutAssetPropertyValue by alias\n\nModel stuck in CREATING?\n  → Check transform\u002Fmetric expressions for syntax errors or circular refs\n```\n\n## Error handling\n\n→ Moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md#error-handling) — five failure deep dives (CREATING stall, gateway ERROR, empty dashboards, portal role, alarm never fires).\nLoad that reference on demand before executing this section.\n\n\n## References (load on demand)\n\n- [references\u002Fasset-models-and-properties.md](references\u002Fasset-models-and-properties.md) — property-type semantics and asset-model design detail, incl. Step 2 hierarchy CLI (create-asset-model with assetModelHierarchies, associate-assets).\n- [references\u002Fgateway-and-ingestion.md](references\u002Fgateway-and-ingestion.md) — gateway architecture, OPC-UA and ingestion detail, incl. Step 3 gateway creation, Step 4 OPC-UA source JSON, Step 9 storage \u002F CloudWatch CLI.\n- [references\u002Fportals-dashboards-and-access.md](references\u002Fportals-dashboards-and-access.md) — Step 7 dashboard \u002F portal creation CLI and Step 10 Identity Center SSO + access-policy wiring.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — mindset (three misconceptions), configuration dependency graph, expert heuristics (model inheritance, OPC-UA data flow, transform expressions), Step 11 recent features.\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — worked-example deploy commands (Pump-Motor Model: create-asset-model with all four property types, aliases, put-gateway-capability-configuration).\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — failure deep dives (model stuck CREATING, gateway ERROR, no dashboard data, portal role gaps, alarm never fires).\n\n## Domain\n\nAWS CloudOps \u002F AWS IoT SiteWise Industrial Data Modeling & Asset\nManagement.\n\n## AWS documentation\n\n- **IoT SiteWise User Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002F\n- **Asset models** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fasset-models.html\n- **Asset properties** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fasset-properties.html\n- **Transforms and metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Ftransforms-and-metrics.html\n- **Asset hierarchies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fasset-hierarchies.html\n- **SiteWise Edge gateways** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fsw-edge.html\n- **OPC-UA sources** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fconfigure-sources.html\n- **BatchPutAssetPropertyValue** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002FAPIReference\u002FAPI_BatchPutAssetPropertyValue.html\n- **Dashboards and portals** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fdashboards.html\n- **Alarms** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Falarms.html\n- **Identity Center integration** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fiot-sitewise\u002Flatest\u002Fuserguide\u002Fmonitor-with-portals.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":41},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"supports_pipeline":38},"aws, iot-sitewise, cloudops, deploy, industrial, provisioning, asset-model, opc-ua, edge-gateway, dashboard, alarm, identity-center","1","Jacky Chan — AWS Community Builder","aws-cloudops","Management","0.1.0","aws, iot sitewise, asset model, asset hierarchy, cloudops, deploy, provisioning, opc-ua, measurement, transform, metric, attribute, gateway, greengrass, batchputassetpropertyvalue, alias, dashboard, portal, alarm, identity center","deploy","high","false","capability","Invoke when the user wants to model industrial assets in AWS IoT SiteWise, create asset models with measurement\u002Fmetric\u002Ftransform\u002F attribute properties, build parent-child asset hierarchies, deploy SiteWise Edge gateways on IoT Greengrass, configure OPC-UA source data ingestion, set up asset property aliases for external data feeds, create dashboards and portals, configure threshold-based alarms, or integrate SiteWise with CloudWatch and Identity Center. Do NOT invoke for AWS IoT Core (device connectivity), AWS IoT TwinMaker (digital twins), or AWS IoT Events (event detection) unless the task specifically involves SiteWise asset modeling.","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with iot-sitewise access (and greengrassv2 access if deploying Edge gateway). Works with Terraform aws_iotsitewise_asset_model \u002F aws_iotsitewise_asset \u002F aws_iotsitewise_gateway resources and CloudFormation AWS::IoTSiteWise::AssetModel \u002F Asset \u002F Gateway templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fsitewise-asset-deployer",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill sitewise-asset-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill sitewise-asset-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill sitewise-asset-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6729,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fcloud-ingestion-alias.md",549,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fbaselines\u002Fcloud-ingestion-alias.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fdashboard-portal-sso.md",687,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fbaselines\u002Fdashboard-portal-sso.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fhierarchy-metric-aggregation.md",640,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fbaselines\u002Fhierarchy-metric-aggregation.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fmissing-greengrass-core-device.md",577,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fbaselines\u002Fmissing-greengrass-core-device.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fopcua-gateway-asset-model.md",715,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fbaselines\u002Fopcua-gateway-asset-model.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1791,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",10201,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fcloud-ingestion-alias.md",515,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fprompts\u002Fcloud-ingestion-alias.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fdashboard-portal-sso.md",686,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fprompts\u002Fdashboard-portal-sso.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fhierarchy-metric-aggregation.md",649,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fprompts\u002Fhierarchy-metric-aggregation.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fmissing-greengrass-core-device.md",457,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fprompts\u002Fmissing-greengrass-core-device.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fopcua-gateway-asset-model.md",819,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fevals\u002Fprompts\u002Fopcua-gateway-asset-model.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",8351,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",12475,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fasset-models-and-properties.md",7961,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Freferences\u002Fasset-models-and-properties.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ferror-handling.md",1787,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Freferences\u002Ferror-handling.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fgateway-and-ingestion.md",13675,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Freferences\u002Fgateway-and-ingestion.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Fportals-dashboards-and-access.md",2735,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Freferences\u002Fportals-dashboards-and-access.md",{"path":143,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":144,"sourceHtmlUrl":145},"references\u002Fworked-examples.md",2807,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Freferences\u002Fworked-examples.md",{"path":147,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":148,"sourceHtmlUrl":149},"skill.usf.yaml",4403,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsitewise-asset-deployer\u002Fskill.usf.yaml",[151,158,165,172,179,186],{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]