[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AAHBPZW57W2ARFFV44YSFX":3,"skill-same:01M7AAHBPZW57W2ARFFV44YSFX":142},{"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},"01M7AAHBPZW57W2ARFFV44YSFX","opensearch-index-deployer",null,"Provisions Amazon OpenSearch Service indices with production defaults: index creation with explicit mappings (dynamic vs strict), shard count (primary + replica) sizing targeting 10-50 GB per shard, ILM policies with hot\u002Fwarm\u002Fcold tiering, force merge for read-only indices, snapshot management (automated + manual to S3), alias management for zero-downtime reindexing, index templates and component templates, rollover aliases, data streams for time-series, search pipeline configuration, k-NN vector search index configuration, and field type mapping (keyword vs text, nested vs object). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an OpenSearch index, configuring shard count, setting up ILM, managing aliases, creating index templates, or configuring data streams. Triggers: create opensearch index, opensearch shard sizing, opensearch ilm policy, opensearch alias reindex, opensearch index template, opensearch knn vector, opensearch data stream.","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\u002Fopensearch-index-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: opensearch-index-deployer\ndescription: 'Provisions Amazon OpenSearch Service indices with production defaults: index creation with explicit mappings (dynamic vs strict), shard count (primary + replica) sizing targeting 10-50 GB per shard, ILM policies with hot\u002Fwarm\u002Fcold tiering, force merge for read-only indices, snapshot management (automated + manual to S3), alias management for zero-downtime reindexing, index templates and component templates, rollover aliases, data streams for time-series, search pipeline configuration, k-NN vector search index configuration, and field type mapping (keyword vs text, nested vs object). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating an OpenSearch index, configuring shard count, setting up ILM, managing aliases, creating index templates, or configuring data streams. Triggers: create opensearch index, opensearch shard sizing, opensearch ilm policy, opensearch alias reindex, opensearch index template, opensearch knn vector, opensearch data stream.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with opensearch access (sigv4 or basic auth), or the OpenSearch Dev Tools console. Works with Terraform opensearch_index \u002F opensearch_domain resources and CloudFormation AWS::OpenSearchService::Domain 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: Analytics\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, opensearch, index-management, cloudops, deploy, analytics, provisioning, ilm, shard-sizing, alias-reindex, knn-vector, data-stream\n  dependencies: aws-orchestrator\n  keywords: aws, opensearch, elasticsearch, index management, cloudops, deploy, provisioning, shard sizing, ilm, index lifecycle, hot warm cold, force merge, snapshot, alias reindex, index template, component template, rollover, data stream, knn vector, search pipeline\n  when_to_use: Invoke when the user wants to create an OpenSearch Service index with mappings and shard sizing, configure ILM policies for hot\u002Fwarm\u002Fcold storage tiering, set up aliases for zero-downtime reindexing, deploy index templates or component templates, configure data streams for time-series data, deploy k-NN vector search indices, configure search pipelines, or manage snapshots to S3. Do NOT invoke for OpenSearch domain-level provisioning (use opensearch-domain-deployer), OpenSearch Serverless (use opensearch-serverless-deployer), or OpenSearch domain auditing (use opensearch-domain-auditor).\n---\n\n# OpenSearch Index Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon OpenSearch Service\nindices with production-grade defaults. The skill walks the operator\nthrough index mapping decisions (dynamic vs strict), shard sizing\n(primary + replica for read throughput), ILM policy configuration for\nstorage tiering (hot\u002Fwarm\u002Fcold), alias management for zero-downtime\nreindexing, index and component templates, data streams for time-series\nworkloads, k-NN vector search configuration, search pipeline setup, and\nsnapshot management, captures all configuration decisions, explains why\neach default matters, and emits a READY_TO_DEPLOY checklist with copy-\npasteable verification commands.\n\n## Activation keywords\n\ncreate OpenSearch index, OpenSearch shard sizing, OpenSearch ILM policy,\nOpenSearch alias reindex, OpenSearch index template, OpenSearch k-NN\nvector, OpenSearch data stream, OpenSearch snapshot repository.\n\n## STRICT output contract\n\nWhen this skill is invoked with an OpenSearch index-provisioning\nrequest (create an index, configure shards, set up ILM, manage aliases\nfor reindexing, create index templates, deploy k-NN vector search,\nconfigure data streams, or a partial configuration), the agent MUST\nrespond with the READY_TO_DEPLOY checklist defined in the \"Output\nformat\" section using the literal all-caps labels\n`OPENSEARCH_INDEX:`, `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\nbreaks automation 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 — Domain connectivity and auth | Connecting to the cluster |\n| Step 2 — Index mappings (dynamic vs strict) | Schema design |\n| Step 3 — Shard sizing (primary + replica) | Performance + cost |\n| Step 4 — ILM policies (hot\u002Fwarm\u002Fcold tiering) | Storage lifecycle |\n| Step 5 — Alias management for zero-downtime reindex | Reindex workflow |\n| Step 6 — Index templates and component templates | Blueprint for new indices |\n| Step 7 — Rollover aliases and data streams | Time-series workloads |\n| Step 8 — k-NN vector search configuration | Semantic \u002F similarity search |\n| Step 9 — Search pipeline configuration | Query-time processing |\n| Step 10 — Snapshot management (S3) | Backup and recovery |\n| Step 11 — Force merge for read-only indices | Storage optimization |\n| Step 12 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fshard-sizing-and-ilm.md | Shard + ILM deep dive |\n| references\u002Ftemplates-and-data-streams.md | Template + data stream detail |\n\n## Mindset\n\n**One-line takeaway:** An OpenSearch index's performance, cost, and\noperability are determined at creation time. Shard count (target 10-50\nGB per shard), replica count (read throughput + HA), ILM rollover\n(automatic tiering), and mapping strictness (dynamic vs strict) are\nthe four levers. Getting them wrong at creation means expensive\nreindexing later.\n\nThree misconceptions dominate OpenSearch index misdesign at provisioning\ntime:\n\n- **\"Use the default 5 primary shards for every index.\"** Default shard\n  counts are rarely right. A 1 GB index with 5 primaries creates 200 MB\n  shards — far below the 10-50 GB sweet spot, wasting resources and\n  overhead. A 500 GB index with 5 primaries creates 100 GB shards — too\n  large, causing slow searches and recovery. Shard count must match data\n  volume.\n\n- **\"Replicas are only for high availability.\"** Replicas ALSO scale\n  read throughput. Each replica shard can serve search queries\n  independently. If read QPS is high, adding replicas (1 to 2 to 3) is\n  often more cost-effective than larger instances.\n\n- **\"Dynamic mappings are fine for production.\"** Dynamic mapping\n  (default) lets OpenSearch auto-guess field types. This leads to\n  keyword fields being treated as text, nested objects being flattened,\n  and numbers being mapped as float. In production, use\n  `\"dynamic\": \"strict\"` to reject unmapped fields, or explicitly map\n  every field.\n\n## Configuration dependency graph (novel heuristic)\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Expert heuristic: shard sizing (10-50 GB per shard)\n> Moved verbatim to [references\u002Fshard-sizing-and-ilm.md](references\u002Fshard-sizing-and-ilm.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Expert heuristic: replica count for read throughput\n> Moved verbatim to [references\u002Fshard-sizing-and-ilm.md](references\u002Fshard-sizing-and-ilm.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Expert heuristic: ILM rollover for storage tiering\n> Moved verbatim to [references\u002Fshard-sizing-and-ilm.md](references\u002Fshard-sizing-and-ilm.md) — load on demand.\n> Read it only when this section applies.\n\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| OpenSearch domain endpoint reachable | Index APIs require domain connectivity | `GET _cluster\u002Fhealth` |\n| Auth credentials (sigv4 or basic auth) | Domain requires authenticated access | Verify IAM policy or master user credentials |\n| Cluster health yellow or green | Red cluster may reject index creation | `GET _cluster\u002Fhealth` |\n| Estimated data volume known | Determines primary shard count (10-50 GB target) | Estimate from source data size |\n| Node count supports replica placement | Replicas need separate nodes from primaries | `GET _cat\u002Fnodes` |\n| Disk space available (50%+ free) | OpenSearch recommends 50% free disk | `GET _cat\u002Fallocation?v` — `disk.percent` \u003C 50 |\n| Snapshot S3 bucket exists (if snapshots) | Manual snapshot repository needs S3 | `aws s3 ls s3:\u002F\u002F\u003Cbucket>` |\n| k-NN plugin enabled (if k-NN index) | k-NN requires the plugin on the domain | `GET _plugins\u002F_knn\u002Fstats` |\n\n## Step 1 — Domain connectivity and auth\n\nAmazon OpenSearch Service supports IAM sigv4 (recommended) and master-\nuser basic auth (fine-grained access control).\n\n**Verify cluster health before index creation:**\n\n```bash\ncurl -s \"https:\u002F\u002F\u003Cendpoint>\u002F_cluster\u002Fhealth?pretty\" -u \"user:pass\"\n# Expected: \"status\": \"green\" or \"yellow\"\n# If \"red\": resolve cluster health before creating indices\n```\n\nFor IAM sigv4, use the opensearch-py client with AWS4Auth or the\n`aws opensearch` CLI commands. For basic auth, use `-u \"user:pass\"`.\n\n## Step 2 — Index mappings (dynamic vs strict)\n\nMappings define field types and analyzers. They are IMMUTABLE after\ncreation.\n\n| Setting | Behavior | Use case |\n|---|---|---|\n| `\"dynamic\": true` (default) | Auto-guesses field types | Dev, exploration |\n| `\"dynamic\": \"runtime\"` | New fields become runtime fields | Flexible, slower queries |\n| `\"dynamic\": \"strict\"` | Rejects unmapped fields | Production |\n| `\"dynamic\": false` | New fields ignored (not indexed) | Known schema |\n\n**Critical field type decisions:**\n\n| Decision | Wrong choice | Right choice | Why |\n|---|---|---|---|\n| ID fields | `text` | `keyword` | Text is analyzed; keyword is exact-match |\n| Names for sorting | `text` only | `text` + `.keyword` sub-field | Sort\u002Faggregation needs keyword |\n| Nested objects | `object` | `nested` | Object flattens keys; nested preserves relationships |\n| Decimal values | `float` | `double` | Float loses precision for financial data |\n\n## Step 3 — Shard sizing (primary + replica)\n\nShard count is set at index creation and CANNOT be changed without\nreindex (split API for more shards, shrink for fewer).\n\n```json\nPUT \u002Flogs-app-v1\n{\n  \"settings\": { \"index\": { \"number_of_shards\": 5, \"number_of_replicas\": 1 } },\n  \"mappings\": { \"dynamic\": \"strict\", \"properties\": { \"message\": { \"type\": \"text\" }, \"level\": { \"type\": \"keyword\" } } }\n}\n```\n\nReplica count CAN be changed at runtime:\n\n```json\nPUT \u002Flogs-app-v1\u002F_settings\n{ \"index\": { \"number_of_replicas\": 2 } }\n```\n\n## Step 4 — ILM policies (hot\u002Fwarm\u002Fcold tiering)\n\nILM automates index lifecycle: rollover, force merge, migrate to\nwarm\u002Fcold nodes, and delete.\n\n**Create ILM policy and attach via rollover alias:**\n\n```json\nPUT _ilm\u002Fpolicy\u002Flogs-ilm-policy\n{\n  \"policy\": {\n    \"default_state\": \"hot\",\n    \"states\": [\n      { \"name\": \"hot\", \"actions\": [], \"transitions\": [{ \"state_name\": \"warm\", \"conditions\": { \"min_index_age\": \"7d\" } }] },\n      { \"name\": \"warm\", \"actions\": [{ \"force_merge\": { \"max_num_segments\": 1 } }], \"transitions\": [{ \"state_name\": \"delete\", \"conditions\": { \"min_index_age\": \"90d\" } }] },\n      { \"name\": \"delete\", \"actions\": [{ \"delete\": {} }], \"transitions\": [] }\n    ],\n    \"ism_template\": { \"index_patterns\": [\"logs-app-*\"], \"priority\": 100 }\n  }\n}\n```\n\n```json\nPUT \u002Flogs-app-000001\n{\n  \"settings\": { \"index\": { \"number_of_shards\": 5, \"number_of_replicas\": 1, \"plugins.index_state_management.rollover_alias\": \"logs-app-write\" } },\n  \"aliases\": { \"logs-app-write\": { \"is_write_index\": true } }\n}\n```\n\n**Critical:** the rollover alias must have `\"is_write_index\": true`.\nWithout it, the rollover action fails.\n\n## Step 5 — Alias management for zero-downtime reindexing\n\nAliases enable zero-downtime reindexing: create a new index with\nupdated mappings, reindex, then swap the alias atomically.\n\n**Atomic alias swap (zero downtime):**\n\n```json\nPOST _aliases\n{\n  \"actions\": [\n    { \"remove\": { \"index\": \"products-v1\", \"alias\": \"products\" } },\n    { \"add\": { \"index\": \"products-v2\", \"alias\": \"products\" } }\n  ]\n}\n```\n\n**Background reindex:**\n\n```json\nPOST _reindex?wait_for_completion=false\n{ \"source\": { \"index\": \"products-v1\" }, \"dest\": { \"index\": \"products-v2\" } }\n```\n\nThe alias swap is atomic — clients reading from the alias experience no\ndowntime. See `references\u002Ftemplates-and-data-streams.md` for the full\nworkflow.\n\n## Step 6 — Index templates and component templates\n\nIndex templates apply settings and mappings to new indices matching a\npattern. Component templates are reusable building blocks.\n\n```json\nPUT _component_template\u002Fcommon-mappings\n{ \"template\": { \"mappings\": { \"properties\": { \"@timestamp\": { \"type\": \"date\" }, \"env\": { \"type\": \"keyword\" } } } } }\n\nPUT _index_template\u002Flogs-template\n{\n  \"index_patterns\": [\"logs-*\"],\n  \"template\": { \"settings\": { \"number_of_shards\": 3, \"number_of_replicas\": 1 } },\n  \"composed_of\": [\"common-mappings\"],\n  \"priority\": 200,\n  \"version\": 1\n}\n```\n\n**Critical:** index templates apply ONLY to new indices. Existing\nindices are not updated when the template changes. Always create\ntemplates BEFORE creating matching indices.\n\n## Step 7 — Rollover aliases and data streams\n\nData streams are designed for time-series, append-only data. Each data\nstream is backed by hidden indices managed by the lifecycle.\n\n```json\nPUT _index_template\u002Flogs-ds-template\n{ \"index_patterns\": [\"logs-ds*\"], \"data_stream\": {}, \"template\": { \"settings\": { \"number_of_shards\": 3, \"number_of_replicas\": 1 } }, \"priority\": 500 }\n\nPUT _data_stream\u002Flogs-ds\n\nPOST logs-ds\u002F_doc\n{ \"@timestamp\": \"2026-08-05T10:00:00.000Z\", \"message\": \"App started\", \"level\": \"INFO\" }\n```\n\n| Feature | Rollover alias | Data stream |\n|---|---|---|\n| Write pattern | Append to alias | Append-only (no IDs) |\n| Lifecycle | Manual ILM rollover | Automatic backing index rollover |\n| Best for | Semi-structured (products, events) | Pure time-series (logs, metrics) |\n\n## Step 8 — k-NN vector search configuration\n\nk-NN (k-nearest neighbors) enables vector similarity search for\nsemantic search and ML use cases.\n\n```json\nPUT \u002Fvector-search-v1\n{\n  \"settings\": { \"index\": { \"knn\": true, \"knn.algo_param.ef_search\": 512, \"number_of_shards\": 3, \"number_of_replicas\": 1 } },\n  \"mappings\": { \"properties\": {\n    \"embedding\": { \"type\": \"knn_vector\", \"dimension\": 768,\n      \"method\": { \"name\": \"hnsw\", \"space_type\": \"cosinesimil\", \"engine\": \"nmslib\",\n        \"parameters\": { \"ef_construction\": 512, \"m\": 48 } } } } }\n}\n```\n\n| Method | Space type | Engine | Best for |\n|---|---|---|---|\n| `hnsw` | `l2`, `cosinesimil`, `innerproduct` | `nmslib` | General-purpose, high-recall |\n| `hnsw` | `l2`, `cosinesimil`, `innerproduct` | `faiss` | Filtered search, better recall |\n| `ivf` | `l2`, `cosinesimil` | `faiss` | Very large datasets |\n\n**Critical:** `\"index.knn\": true` and method\u002Fspace_type are IMMUTABLE —\nset at creation. Dimension must match your embedding model output.\n\n## Step 9 — Search pipeline configuration\n\nSearch pipelines apply processing steps to search results.\n\n```json\nPUT _search\u002Fpipeline\u002Fproduct-search-pipeline\n{\n  \"description\": \"Normalize scores and filter inactive\",\n  \"request_processors\": [{ \"filter_query\": { \"query\": { \"term\": { \"is_active\": true } } } }],\n  \"response_processors\": [{ \"normalize_score\": { \"technique\": \"min_max\" } }]\n}\n```\n\nUse via `GET products\u002F_search?search_pipeline=product-search-pipeline`\nor set as index default via\n`\"index.search.default_search_pipeline\"`.\n\n## Step 10 — Snapshot management (S3)\n\n**Automated snapshots:** AWS takes daily snapshots to\n`cs-automated-enclosure-[domain-id]`. No operator action needed.\n\n**Manual snapshot repository:**\n\n```json\nPUT _snapshot\u002Fmy-manual-snapshots\n{ \"type\": \"s3\", \"settings\": { \"bucket\": \"my-opensearch-snapshots\", \"region\": \"us-east-1\", \"base_path\": \"snapshots\" } }\n\nPUT _snapshot\u002Fmy-manual-snapshots\u002Fsnapshot-2026-08-05\n{ \"indices\": \"products-v1,logs-app-*\", \"ignore_unavailable\": true }\n```\n\nThe IAM role for manual snapshots needs `s3:PutObject`, `s3:GetObject`,\n`s3:DeleteObject`, and `s3:ListBucket` on the snapshot bucket.\n\n## Step 11 — Force merge for read-only indices\n\nForce merge reduces segment count to speed up searches and reduce\nresource usage. Only do this on READ-ONLY indices.\n\n```json\nPUT \u002Flogs-app-2026.07.01\u002F_settings\n{ \"index\": { \"blocks\": { \"write\": true } } }\n\nPOST \u002Flogs-app-2026.07.01\u002F_forcemerge?max_num_segments=1\n```\n\n**Critical:** force merge on a write-active index creates a single\nlarge segment that cannot be re-merged as new documents arrive. Always\nblock writes first.\n\n## Step 12 — Recent features\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n## NEVER do these things\n\n1. **NEVER use the default 5 primary shards without checking data\n   volume.** Shard count must target 10-50 GB per shard. Over-sharding\n   is the #1 OpenSearch performance killer.\n\n2. **NEVER assume mappings can be changed after creation.** Field\n   types are IMMUTABLE. Changing a field type requires creating a new\n   index and reindexing all data. Use `\"dynamic\": \"strict\"` in\n   production.\n\n3. **NEVER configure ILM without a rollover alias having\n   `\"is_write_index\": true`.** The rollover action fails without it.\n   Verify the alias is set as the write index before attaching ILM.\n\n4. **NEVER enable k-NN on an existing index.** `\"index.knn\": true`,\n   the method, and space_type are set at creation and CANNOT be\n   changed. k-NN must be configured in the index creation request.\n\n5. **NEVER force merge a write-active index.** Force merge creates a\n   single large segment that cannot be re-merged. Always block writes\n   before force merging.\n\n6. **NEVER create an index without checking cluster health and disk\n   space.** A red cluster or >85% disk usage causes shard allocation\n   failures. Verify green\u002Fyellow health and \u003C50% disk usage.\n\n7. **NEVER assume index templates apply retroactively.** Templates\n   only apply to NEWLY created indices. Create templates BEFORE creating\n   matching indices.\n\n8. **NEVER use `object` type for arrays-of-objects where relationship\n   matters.** The `object` type flattens nested keys, breaking cross-\n   object queries. Use `\"type\": \"nested\"`.\n\n9. **NEVER set replica count to 0 in production.** Zero replicas means\n   no HA and no read scaling. The cluster goes yellow. Use at least 1\n   replica for production indices.\n\n10. **NEVER forget snapshot repository registration for manual\n    snapshots.** Automated snapshots use the AWS-managed repository,\n    but manual snapshots require a separately registered S3 repository.\n\n## Output format\n\n```text\nOPENSEARCH_INDEX: \u003Cindex-name> (\u003Cdomain-endpoint>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Domain endpoint: \u003Cendpoint>\n  [✓|✗] Cluster health: green | yellow | red\n  [✓|✗] Index name: \u003Cindex-name>\n  [✓|✗] Dynamic mapping: strict | true | runtime | false\n  [✓|✗] Primary shards: \u003Ccount> (target: \u003Cest-size-per-shard> GB\u002Fshard)\n  [✓|✗] Replica shards: \u003Ccount> (read throughput: \u003Cn>x | HA: yes|no)\n  [✓|✗] ILM policy: \u003Cpolicy-name> (rollover: \u003Cmax_size> | \u003Cmax_age>)\n  [✓|✗] Rollover alias: \u003Calias> (is_write_index: true)\n  [✓|✗] Index template: \u003Ctemplate-name> (pattern: \u003Cpattern>)\n  [✓|✗] Data stream: enabled | disabled\n  [✓|✗] k-NN vector search: enabled (dimension: \u003Cd>, method: \u003Cm>, space: \u003Cs>) | disabled\n  [✓|✗] Search pipeline: \u003Cpipeline-name> | none\n  [✓|✗] Snapshot repository: \u003Crepo-name> | automated-only\n  [✓|✗] Force merge: read-only index merged | not applicable\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  curl -s \"\u003Cendpoint>\u002F\u003Cindex-name>\" -u \"user:pass\"\n  curl -s \"\u003Cendpoint>\u002F_cat\u002Findices\u002F\u003Cindex-name>?v\" -u \"user:pass\"\n  curl -s \"\u003Cendpoint>\u002F_cluster\u002Fhealth\u002F\u003Cindex-name>?pretty\" -u \"user:pass\"\n```\n\n### Worked example — production logs index with ILM\n\n```text\nOPENSEARCH_INDEX: logs-app-000001 (search-mydomain-abc123.us-east-1.es.amazonaws.com)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Domain endpoint: search-mydomain-abc123.us-east-1.es.amazonaws.com\n  [✓] Cluster health: green\n  [✓] Index name: logs-app-000001\n  [✓] Dynamic mapping: strict\n  [✓] Primary shards: 5 (target: 30 GB\u002Fshard, estimated 150 GB total)\n  [✓] Replica shards: 1 (read throughput: 2x, HA: yes)\n  [✓] ILM policy: logs-ilm-policy (rollover: 50gb | 1d)\n  [✓] Rollover alias: logs-app-write (is_write_index: true)\n  [✓] Index template: logs-template (pattern: logs-app-*)\n  [✓] Data stream: disabled (using rollover alias)\n  [✓] k-NN vector search: disabled\n  [✓] Search pipeline: none\n  [✓] Snapshot repository: my-manual-snapshots (S3: my-opensearch-snapshots)\n  [✓] Force merge: not applicable (active write index)\n  [✓] Tags: Environment=production, Application=app-logs\nVERIFICATION_COMMANDS:\n  curl -s \"https:\u002F\u002Fsearch-mydomain-abc123.us-east-1.es.amazonaws.com\u002Flogs-app-000001\" -u \"user:pass\"\n  curl -s \"https:\u002F\u002Fsearch-mydomain-abc123.us-east-1.es.amazonaws.com\u002F_cat\u002Findices\u002Flogs-app-000001?v\" -u \"user:pass\"\n  curl -s \"https:\u002F\u002Fsearch-mydomain-abc123.us-east-1.es.amazonaws.com\u002F_cluster\u002Fhealth\u002Flogs-app-000001?pretty\" -u \"user:pass\"\n```\n\n## Error handling\n> Moved verbatim to [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — load on demand.\n> Read it only when this section applies.\n\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — configuration dependency graph, recent features, expert deep dives\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — error-handling deep dives for index operations\n- [references\u002Fshard-sizing-and-ilm.md](references\u002Fshard-sizing-and-ilm.md) — shard sizing, replica count, ILM rollover heuristics\n- [references\u002Ftemplates-and-data-streams.md](references\u002Ftemplates-and-data-streams.md) — template and data stream detail\n## Domain\n\nAWS CloudOps \u002F Amazon OpenSearch Service Index Management & Analytics\nSearch Infrastructure.\n\n## AWS documentation\n\n- **OpenSearch Service Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fwhat-is.html\n- **Index APIs** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Findexing.html\n- **Index State Management** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fism.html\n- **Index Templates** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Findex-templates.html\n- **Data Streams** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fdata-streams.html\n- **k-NN Vector Search** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fknn.html\n- **Search Pipelines** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fsearch-pipelines.html\n- **Snapshot Management** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fmanagedomains-snapshots.html\n- **Sizing guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fsizing-domains.html\n","# OpenSearch Index Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon OpenSearch Service\nindices with production-grade defaults. The skill walks the operator\nthrough index mapping decisions (dynamic vs strict), shard sizing\n(primary + replica for read throughput), ILM policy configuration for\nstorage tiering (hot\u002Fwarm\u002Fcold), alias management for zero-downtime\nreindexing, index and component templates, data streams for time-series\nworkloads, k-NN vector search configuration, search pipeline setup, and\nsnapshot management, captures all configuration decisions, explains why\neach default matters, and emits a READY_TO_DEPLOY checklist with copy-\npasteable verification commands.\n\n## Activation keywords\n\ncreate OpenSearch index, OpenSearch shard sizing, OpenSearch ILM policy,\nOpenSearch alias reindex, OpenSearch index template, OpenSearch k-NN\nvector, OpenSearch data stream, OpenSearch snapshot repository.\n\n## STRICT output contract\n\nWhen this skill is invoked with an OpenSearch index-provisioning\nrequest (create an index, configure shards, set up ILM, manage aliases\nfor reindexing, create index templates, deploy k-NN vector search,\nconfigure data streams, or a partial configuration), the agent MUST\nrespond with the READY_TO_DEPLOY checklist defined in the \"Output\nformat\" section using the literal all-caps labels\n`OPENSEARCH_INDEX:`, `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\nbreaks automation 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 — Domain connectivity and auth | Connecting to the cluster |\n| Step 2 — Index mappings (dynamic vs strict) | Schema design |\n| Step 3 — Shard sizing (primary + replica) | Performance + cost |\n| Step 4 — ILM policies (hot\u002Fwarm\u002Fcold tiering) | Storage lifecycle |\n| Step 5 — Alias management for zero-downtime reindex | Reindex workflow |\n| Step 6 — Index templates and component templates | Blueprint for new indices |\n| Step 7 — Rollover aliases and data streams | Time-series workloads |\n| Step 8 — k-NN vector search configuration | Semantic \u002F similarity search |\n| Step 9 — Search pipeline configuration | Query-time processing |\n| Step 10 — Snapshot management (S3) | Backup and recovery |\n| Step 11 — Force merge for read-only indices | Storage optimization |\n| Step 12 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fshard-sizing-and-ilm.md | Shard + ILM deep dive |\n| references\u002Ftemplates-and-data-streams.md | Template + data stream detail |\n\n## Mindset\n\n**One-line takeaway:** An OpenSearch index's performance, cost, and\noperability are determined at creation time. Shard count (target 10-50\nGB per shard), replica count (read throughput + HA), ILM rollover\n(automatic tiering), and mapping strictness (dynamic vs strict) are\nthe four levers. Getting them wrong at creation means expensive\nreindexing later.\n\nThree misconceptions dominate OpenSearch index misdesign at provisioning\ntime:\n\n- **\"Use the default 5 primary shards for every index.\"** Default shard\n  counts are rarely right. A 1 GB index with 5 primaries creates 200 MB\n  shards — far below the 10-50 GB sweet spot, wasting resources and\n  overhead. A 500 GB index with 5 primaries creates 100 GB shards — too\n  large, causing slow searches and recovery. Shard count must match data\n  volume.\n\n- **\"Replicas are only for high availability.\"** Replicas ALSO scale\n  read throughput. Each replica shard can serve search queries\n  independently. If read QPS is high, adding replicas (1 to 2 to 3) is\n  often more cost-effective than larger instances.\n\n- **\"Dynamic mappings are fine for production.\"** Dynamic mapping\n  (default) lets OpenSearch auto-guess field types. This leads to\n  keyword fields being treated as text, nested objects being flattened,\n  and numbers being mapped as float. In production, use\n  `\"dynamic\": \"strict\"` to reject unmapped fields, or explicitly map\n  every field.\n\n## Configuration dependency graph (novel heuristic)\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Expert heuristic: shard sizing (10-50 GB per shard)\n> Moved verbatim to [references\u002Fshard-sizing-and-ilm.md](references\u002Fshard-sizing-and-ilm.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Expert heuristic: replica count for read throughput\n> Moved verbatim to [references\u002Fshard-sizing-and-ilm.md](references\u002Fshard-sizing-and-ilm.md) — load on demand.\n> Read it only when this section applies.\n\n\n## Expert heuristic: ILM rollover for storage tiering\n> Moved verbatim to [references\u002Fshard-sizing-and-ilm.md](references\u002Fshard-sizing-and-ilm.md) — load on demand.\n> Read it only when this section applies.\n\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| OpenSearch domain endpoint reachable | Index APIs require domain connectivity | `GET _cluster\u002Fhealth` |\n| Auth credentials (sigv4 or basic auth) | Domain requires authenticated access | Verify IAM policy or master user credentials |\n| Cluster health yellow or green | Red cluster may reject index creation | `GET _cluster\u002Fhealth` |\n| Estimated data volume known | Determines primary shard count (10-50 GB target) | Estimate from source data size |\n| Node count supports replica placement | Replicas need separate nodes from primaries | `GET _cat\u002Fnodes` |\n| Disk space available (50%+ free) | OpenSearch recommends 50% free disk | `GET _cat\u002Fallocation?v` — `disk.percent` \u003C 50 |\n| Snapshot S3 bucket exists (if snapshots) | Manual snapshot repository needs S3 | `aws s3 ls s3:\u002F\u002F\u003Cbucket>` |\n| k-NN plugin enabled (if k-NN index) | k-NN requires the plugin on the domain | `GET _plugins\u002F_knn\u002Fstats` |\n\n## Step 1 — Domain connectivity and auth\n\nAmazon OpenSearch Service supports IAM sigv4 (recommended) and master-\nuser basic auth (fine-grained access control).\n\n**Verify cluster health before index creation:**\n\n```bash\ncurl -s \"https:\u002F\u002F\u003Cendpoint>\u002F_cluster\u002Fhealth?pretty\" -u \"user:pass\"\n# Expected: \"status\": \"green\" or \"yellow\"\n# If \"red\": resolve cluster health before creating indices\n```\n\nFor IAM sigv4, use the opensearch-py client with AWS4Auth or the\n`aws opensearch` CLI commands. For basic auth, use `-u \"user:pass\"`.\n\n## Step 2 — Index mappings (dynamic vs strict)\n\nMappings define field types and analyzers. They are IMMUTABLE after\ncreation.\n\n| Setting | Behavior | Use case |\n|---|---|---|\n| `\"dynamic\": true` (default) | Auto-guesses field types | Dev, exploration |\n| `\"dynamic\": \"runtime\"` | New fields become runtime fields | Flexible, slower queries |\n| `\"dynamic\": \"strict\"` | Rejects unmapped fields | Production |\n| `\"dynamic\": false` | New fields ignored (not indexed) | Known schema |\n\n**Critical field type decisions:**\n\n| Decision | Wrong choice | Right choice | Why |\n|---|---|---|---|\n| ID fields | `text` | `keyword` | Text is analyzed; keyword is exact-match |\n| Names for sorting | `text` only | `text` + `.keyword` sub-field | Sort\u002Faggregation needs keyword |\n| Nested objects | `object` | `nested` | Object flattens keys; nested preserves relationships |\n| Decimal values | `float` | `double` | Float loses precision for financial data |\n\n## Step 3 — Shard sizing (primary + replica)\n\nShard count is set at index creation and CANNOT be changed without\nreindex (split API for more shards, shrink for fewer).\n\n```json\nPUT \u002Flogs-app-v1\n{\n  \"settings\": { \"index\": { \"number_of_shards\": 5, \"number_of_replicas\": 1 } },\n  \"mappings\": { \"dynamic\": \"strict\", \"properties\": { \"message\": { \"type\": \"text\" }, \"level\": { \"type\": \"keyword\" } } }\n}\n```\n\nReplica count CAN be changed at runtime:\n\n```json\nPUT \u002Flogs-app-v1\u002F_settings\n{ \"index\": { \"number_of_replicas\": 2 } }\n```\n\n## Step 4 — ILM policies (hot\u002Fwarm\u002Fcold tiering)\n\nILM automates index lifecycle: rollover, force merge, migrate to\nwarm\u002Fcold nodes, and delete.\n\n**Create ILM policy and attach via rollover alias:**\n\n```json\nPUT _ilm\u002Fpolicy\u002Flogs-ilm-policy\n{\n  \"policy\": {\n    \"default_state\": \"hot\",\n    \"states\": [\n      { \"name\": \"hot\", \"actions\": [], \"transitions\": [{ \"state_name\": \"warm\", \"conditions\": { \"min_index_age\": \"7d\" } }] },\n      { \"name\": \"warm\", \"actions\": [{ \"force_merge\": { \"max_num_segments\": 1 } }], \"transitions\": [{ \"state_name\": \"delete\", \"conditions\": { \"min_index_age\": \"90d\" } }] },\n      { \"name\": \"delete\", \"actions\": [{ \"delete\": {} }], \"transitions\": [] }\n    ],\n    \"ism_template\": { \"index_patterns\": [\"logs-app-*\"], \"priority\": 100 }\n  }\n}\n```\n\n```json\nPUT \u002Flogs-app-000001\n{\n  \"settings\": { \"index\": { \"number_of_shards\": 5, \"number_of_replicas\": 1, \"plugins.index_state_management.rollover_alias\": \"logs-app-write\" } },\n  \"aliases\": { \"logs-app-write\": { \"is_write_index\": true } }\n}\n```\n\n**Critical:** the rollover alias must have `\"is_write_index\": true`.\nWithout it, the rollover action fails.\n\n## Step 5 — Alias management for zero-downtime reindexing\n\nAliases enable zero-downtime reindexing: create a new index with\nupdated mappings, reindex, then swap the alias atomically.\n\n**Atomic alias swap (zero downtime):**\n\n```json\nPOST _aliases\n{\n  \"actions\": [\n    { \"remove\": { \"index\": \"products-v1\", \"alias\": \"products\" } },\n    { \"add\": { \"index\": \"products-v2\", \"alias\": \"products\" } }\n  ]\n}\n```\n\n**Background reindex:**\n\n```json\nPOST _reindex?wait_for_completion=false\n{ \"source\": { \"index\": \"products-v1\" }, \"dest\": { \"index\": \"products-v2\" } }\n```\n\nThe alias swap is atomic — clients reading from the alias experience no\ndowntime. See `references\u002Ftemplates-and-data-streams.md` for the full\nworkflow.\n\n## Step 6 — Index templates and component templates\n\nIndex templates apply settings and mappings to new indices matching a\npattern. Component templates are reusable building blocks.\n\n```json\nPUT _component_template\u002Fcommon-mappings\n{ \"template\": { \"mappings\": { \"properties\": { \"@timestamp\": { \"type\": \"date\" }, \"env\": { \"type\": \"keyword\" } } } } }\n\nPUT _index_template\u002Flogs-template\n{\n  \"index_patterns\": [\"logs-*\"],\n  \"template\": { \"settings\": { \"number_of_shards\": 3, \"number_of_replicas\": 1 } },\n  \"composed_of\": [\"common-mappings\"],\n  \"priority\": 200,\n  \"version\": 1\n}\n```\n\n**Critical:** index templates apply ONLY to new indices. Existing\nindices are not updated when the template changes. Always create\ntemplates BEFORE creating matching indices.\n\n## Step 7 — Rollover aliases and data streams\n\nData streams are designed for time-series, append-only data. Each data\nstream is backed by hidden indices managed by the lifecycle.\n\n```json\nPUT _index_template\u002Flogs-ds-template\n{ \"index_patterns\": [\"logs-ds*\"], \"data_stream\": {}, \"template\": { \"settings\": { \"number_of_shards\": 3, \"number_of_replicas\": 1 } }, \"priority\": 500 }\n\nPUT _data_stream\u002Flogs-ds\n\nPOST logs-ds\u002F_doc\n{ \"@timestamp\": \"2026-08-05T10:00:00.000Z\", \"message\": \"App started\", \"level\": \"INFO\" }\n```\n\n| Feature | Rollover alias | Data stream |\n|---|---|---|\n| Write pattern | Append to alias | Append-only (no IDs) |\n| Lifecycle | Manual ILM rollover | Automatic backing index rollover |\n| Best for | Semi-structured (products, events) | Pure time-series (logs, metrics) |\n\n## Step 8 — k-NN vector search configuration\n\nk-NN (k-nearest neighbors) enables vector similarity search for\nsemantic search and ML use cases.\n\n```json\nPUT \u002Fvector-search-v1\n{\n  \"settings\": { \"index\": { \"knn\": true, \"knn.algo_param.ef_search\": 512, \"number_of_shards\": 3, \"number_of_replicas\": 1 } },\n  \"mappings\": { \"properties\": {\n    \"embedding\": { \"type\": \"knn_vector\", \"dimension\": 768,\n      \"method\": { \"name\": \"hnsw\", \"space_type\": \"cosinesimil\", \"engine\": \"nmslib\",\n        \"parameters\": { \"ef_construction\": 512, \"m\": 48 } } } } }\n}\n```\n\n| Method | Space type | Engine | Best for |\n|---|---|---|---|\n| `hnsw` | `l2`, `cosinesimil`, `innerproduct` | `nmslib` | General-purpose, high-recall |\n| `hnsw` | `l2`, `cosinesimil`, `innerproduct` | `faiss` | Filtered search, better recall |\n| `ivf` | `l2`, `cosinesimil` | `faiss` | Very large datasets |\n\n**Critical:** `\"index.knn\": true` and method\u002Fspace_type are IMMUTABLE —\nset at creation. Dimension must match your embedding model output.\n\n## Step 9 — Search pipeline configuration\n\nSearch pipelines apply processing steps to search results.\n\n```json\nPUT _search\u002Fpipeline\u002Fproduct-search-pipeline\n{\n  \"description\": \"Normalize scores and filter inactive\",\n  \"request_processors\": [{ \"filter_query\": { \"query\": { \"term\": { \"is_active\": true } } } }],\n  \"response_processors\": [{ \"normalize_score\": { \"technique\": \"min_max\" } }]\n}\n```\n\nUse via `GET products\u002F_search?search_pipeline=product-search-pipeline`\nor set as index default via\n`\"index.search.default_search_pipeline\"`.\n\n## Step 10 — Snapshot management (S3)\n\n**Automated snapshots:** AWS takes daily snapshots to\n`cs-automated-enclosure-[domain-id]`. No operator action needed.\n\n**Manual snapshot repository:**\n\n```json\nPUT _snapshot\u002Fmy-manual-snapshots\n{ \"type\": \"s3\", \"settings\": { \"bucket\": \"my-opensearch-snapshots\", \"region\": \"us-east-1\", \"base_path\": \"snapshots\" } }\n\nPUT _snapshot\u002Fmy-manual-snapshots\u002Fsnapshot-2026-08-05\n{ \"indices\": \"products-v1,logs-app-*\", \"ignore_unavailable\": true }\n```\n\nThe IAM role for manual snapshots needs `s3:PutObject`, `s3:GetObject`,\n`s3:DeleteObject`, and `s3:ListBucket` on the snapshot bucket.\n\n## Step 11 — Force merge for read-only indices\n\nForce merge reduces segment count to speed up searches and reduce\nresource usage. Only do this on READ-ONLY indices.\n\n```json\nPUT \u002Flogs-app-2026.07.01\u002F_settings\n{ \"index\": { \"blocks\": { \"write\": true } } }\n\nPOST \u002Flogs-app-2026.07.01\u002F_forcemerge?max_num_segments=1\n```\n\n**Critical:** force merge on a write-active index creates a single\nlarge segment that cannot be re-merged as new documents arrive. Always\nblock writes first.\n\n## Step 12 — Recent features\n> Moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — load on demand.\n> Read it only when this section applies.\n\n\n## NEVER do these things\n\n1. **NEVER use the default 5 primary shards without checking data\n   volume.** Shard count must target 10-50 GB per shard. Over-sharding\n   is the #1 OpenSearch performance killer.\n\n2. **NEVER assume mappings can be changed after creation.** Field\n   types are IMMUTABLE. Changing a field type requires creating a new\n   index and reindexing all data. Use `\"dynamic\": \"strict\"` in\n   production.\n\n3. **NEVER configure ILM without a rollover alias having\n   `\"is_write_index\": true`.** The rollover action fails without it.\n   Verify the alias is set as the write index before attaching ILM.\n\n4. **NEVER enable k-NN on an existing index.** `\"index.knn\": true`,\n   the method, and space_type are set at creation and CANNOT be\n   changed. k-NN must be configured in the index creation request.\n\n5. **NEVER force merge a write-active index.** Force merge creates a\n   single large segment that cannot be re-merged. Always block writes\n   before force merging.\n\n6. **NEVER create an index without checking cluster health and disk\n   space.** A red cluster or >85% disk usage causes shard allocation\n   failures. Verify green\u002Fyellow health and \u003C50% disk usage.\n\n7. **NEVER assume index templates apply retroactively.** Templates\n   only apply to NEWLY created indices. Create templates BEFORE creating\n   matching indices.\n\n8. **NEVER use `object` type for arrays-of-objects where relationship\n   matters.** The `object` type flattens nested keys, breaking cross-\n   object queries. Use `\"type\": \"nested\"`.\n\n9. **NEVER set replica count to 0 in production.** Zero replicas means\n   no HA and no read scaling. The cluster goes yellow. Use at least 1\n   replica for production indices.\n\n10. **NEVER forget snapshot repository registration for manual\n    snapshots.** Automated snapshots use the AWS-managed repository,\n    but manual snapshots require a separately registered S3 repository.\n\n## Output format\n\n```text\nOPENSEARCH_INDEX: \u003Cindex-name> (\u003Cdomain-endpoint>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Domain endpoint: \u003Cendpoint>\n  [✓|✗] Cluster health: green | yellow | red\n  [✓|✗] Index name: \u003Cindex-name>\n  [✓|✗] Dynamic mapping: strict | true | runtime | false\n  [✓|✗] Primary shards: \u003Ccount> (target: \u003Cest-size-per-shard> GB\u002Fshard)\n  [✓|✗] Replica shards: \u003Ccount> (read throughput: \u003Cn>x | HA: yes|no)\n  [✓|✗] ILM policy: \u003Cpolicy-name> (rollover: \u003Cmax_size> | \u003Cmax_age>)\n  [✓|✗] Rollover alias: \u003Calias> (is_write_index: true)\n  [✓|✗] Index template: \u003Ctemplate-name> (pattern: \u003Cpattern>)\n  [✓|✗] Data stream: enabled | disabled\n  [✓|✗] k-NN vector search: enabled (dimension: \u003Cd>, method: \u003Cm>, space: \u003Cs>) | disabled\n  [✓|✗] Search pipeline: \u003Cpipeline-name> | none\n  [✓|✗] Snapshot repository: \u003Crepo-name> | automated-only\n  [✓|✗] Force merge: read-only index merged | not applicable\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  curl -s \"\u003Cendpoint>\u002F\u003Cindex-name>\" -u \"user:pass\"\n  curl -s \"\u003Cendpoint>\u002F_cat\u002Findices\u002F\u003Cindex-name>?v\" -u \"user:pass\"\n  curl -s \"\u003Cendpoint>\u002F_cluster\u002Fhealth\u002F\u003Cindex-name>?pretty\" -u \"user:pass\"\n```\n\n### Worked example — production logs index with ILM\n\n```text\nOPENSEARCH_INDEX: logs-app-000001 (search-mydomain-abc123.us-east-1.es.amazonaws.com)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Domain endpoint: search-mydomain-abc123.us-east-1.es.amazonaws.com\n  [✓] Cluster health: green\n  [✓] Index name: logs-app-000001\n  [✓] Dynamic mapping: strict\n  [✓] Primary shards: 5 (target: 30 GB\u002Fshard, estimated 150 GB total)\n  [✓] Replica shards: 1 (read throughput: 2x, HA: yes)\n  [✓] ILM policy: logs-ilm-policy (rollover: 50gb | 1d)\n  [✓] Rollover alias: logs-app-write (is_write_index: true)\n  [✓] Index template: logs-template (pattern: logs-app-*)\n  [✓] Data stream: disabled (using rollover alias)\n  [✓] k-NN vector search: disabled\n  [✓] Search pipeline: none\n  [✓] Snapshot repository: my-manual-snapshots (S3: my-opensearch-snapshots)\n  [✓] Force merge: not applicable (active write index)\n  [✓] Tags: Environment=production, Application=app-logs\nVERIFICATION_COMMANDS:\n  curl -s \"https:\u002F\u002Fsearch-mydomain-abc123.us-east-1.es.amazonaws.com\u002Flogs-app-000001\" -u \"user:pass\"\n  curl -s \"https:\u002F\u002Fsearch-mydomain-abc123.us-east-1.es.amazonaws.com\u002F_cat\u002Findices\u002Flogs-app-000001?v\" -u \"user:pass\"\n  curl -s \"https:\u002F\u002Fsearch-mydomain-abc123.us-east-1.es.amazonaws.com\u002F_cluster\u002Fhealth\u002Flogs-app-000001?pretty\" -u \"user:pass\"\n```\n\n## Error handling\n> Moved verbatim to [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — load on demand.\n> Read it only when this section applies.\n\n\n## References (load on demand)\n\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — configuration dependency graph, recent features, expert deep dives\n- [references\u002Ferror-handling.md](references\u002Ferror-handling.md) — error-handling deep dives for index operations\n- [references\u002Fshard-sizing-and-ilm.md](references\u002Fshard-sizing-and-ilm.md) — shard sizing, replica count, ILM rollover heuristics\n- [references\u002Ftemplates-and-data-streams.md](references\u002Ftemplates-and-data-streams.md) — template and data stream detail\n## Domain\n\nAWS CloudOps \u002F Amazon OpenSearch Service Index Management & Analytics\nSearch Infrastructure.\n\n## AWS documentation\n\n- **OpenSearch Service Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fwhat-is.html\n- **Index APIs** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Findexing.html\n- **Index State Management** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fism.html\n- **Index Templates** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Findex-templates.html\n- **Data Streams** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fdata-streams.html\n- **k-NN Vector Search** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fknn.html\n- **Search Pipelines** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fsearch-pipelines.html\n- **Snapshot Management** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fmanagedomains-snapshots.html\n- **Sizing guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fopensearch-service\u002Flatest\u002Fdeveloperguide\u002Fsizing-domains.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, opensearch, index-management, cloudops, deploy, analytics, provisioning, ilm, shard-sizing, alias-reindex, knn-vector, data-stream","1","Jacky Chan — AWS Community Builder","aws-cloudops","Analytics","0.1.0","aws, opensearch, elasticsearch, index management, cloudops, deploy, provisioning, shard sizing, ilm, index lifecycle, hot warm cold, force merge, snapshot, alias reindex, index template, component template, rollover, data stream, knn vector, search pipeline","deploy","high","false","capability","Invoke when the user wants to create an OpenSearch Service index with mappings and shard sizing, configure ILM policies for hot\u002Fwarm\u002Fcold storage tiering, set up aliases for zero-downtime reindexing, deploy index templates or component templates, configure data streams for time-series data, deploy k-NN vector search indices, configure search pipelines, or manage snapshots to S3. Do NOT invoke for OpenSearch domain-level provisioning (use opensearch-domain-deployer), OpenSearch Serverless (use opensearch-serverless-deployer), or OpenSearch domain auditing (use opensearch-domain-auditor).","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 opensearch access (sigv4 or basic auth), or the OpenSearch Dev Tools console. Works with Terraform opensearch_index \u002F opensearch_domain resources and CloudFormation AWS::OpenSearchService::Domain templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fopensearch-index-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 opensearch-index-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill opensearch-index-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill opensearch-index-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",5532,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Falias-reindex-zero-downtime.md",665,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fbaselines\u002Falias-reindex-zero-downtime.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fdata-stream-time-series.md",552,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fbaselines\u002Fdata-stream-time-series.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fknn-vector-search.md",563,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fbaselines\u002Fknn-vector-search.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fmissing-domain-endpoint.md",485,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fbaselines\u002Fmissing-domain-endpoint.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fproduction-logs-ilm.md",650,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fbaselines\u002Fproduction-logs-ilm.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1750,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",8627,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Falias-reindex-zero-downtime.md",606,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fprompts\u002Falias-reindex-zero-downtime.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fdata-stream-time-series.md",582,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fprompts\u002Fdata-stream-time-series.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fknn-vector-search.md",576,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fprompts\u002Fknn-vector-search.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fmissing-domain-endpoint.md",275,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fprompts\u002Fmissing-domain-endpoint.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fproduction-logs-ilm.md",682,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fevals\u002Fprompts\u002Fproduction-logs-ilm.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",6495,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",4516,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Ferror-handling.md",1005,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Freferences\u002Ferror-handling.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Fshard-sizing-and-ilm.md",10745,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Freferences\u002Fshard-sizing-and-ilm.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Ftemplates-and-data-streams.md",8691,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Freferences\u002Ftemplates-and-data-streams.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"skill.usf.yaml",4469,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fopensearch-index-deployer\u002Fskill.usf.yaml",[143,150,157,164,171,178],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"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":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"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":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"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":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"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":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"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":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"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",[],[]]