Amazon OpenSearch Service および Serverless 向けの移行、セットアップ、検索、ログ分析、トレース分析、エージェント型AI アシスタント(AI が自動判断して行動するシステム)のワークフローをサポートします。以下の6つの機能を備えています: **移行機能** Solr・Elasticsearch・自社管理システムから Amazon OpenSearch Service または Serverless への移行、スキーマ(データ構造)とクエリ(検索命令)の変換、規模設計、本番切り替え **セットアップ機能** ドメイン・Serverless のライフサイクル管理、バージョンアップ、細粒度アクセス制御(ユーザーや部門ごとの権限設定)、監視 **検索機能** ベクトル検索・意味論的検索・複合型検索・検索増強生成(大規模言語モデルを活用した高精度検索)と Bedrock の連携 **ログ分析機能** PPL(クエリ言語)、OSI(ログ収集・処理ツール)、異常検知、ダッシュボード **トレース分析機能** OpenTelemetry スパン(処理の実行記録)、サービスマップ、Data Prepper(データ変換ツール) **AI アシスタント機能** 自然言語によるデータ探索、インシデント調査、根本原因分析 次のような場合に使用: OpenSearch・Amazon OpenSearch Service・Serverless・Elasticsearch・Solr・ベクトル検索・k-NN 検索・意味論的検索・複合型検索・検索増強生成・ログ分析・PPL・トレース分析・ISM・FAISS・HNSW などの機能が必要な場合、または「Migration Assistant」「UltraWarm」「OR1」の利用時、「データを検索する」「ログを分析する」「エラーを調査する」「根本原因を分析する」という目的での利用
Guides migration, provisioning, search, log-analytics, trace-analytics, and Agentic AI Assistant workflows for Amazon OpenSearch Service and Serverless across six capabilities — migration (Solr/ES/self-managed into AOS/AOSS, schema/query translation, sizing, cutover); provisioning (domain + AOSS lifecycle, upgrades, FGAC, monitoring); search (vector / semantic / hybrid / RAG with Bedrock); log-analytics (PPL, OSI, anomaly detection, Dashboards); trace-analytics (OTel spans, service maps, Data Prepper); ai-assistant (natural language data exploration, incident investigation, root cause analysis). Triggers on OpenSearch, AOS, AOSS, Elasticsearch, Solr, vector/k-NN/semantic/hybrid search, RAG, log analytics, PPL, trace analytics, ISM, FAISS, HNSW, Migration Assistant, UltraWarm, OR1, query my data, analyze logs, investigate errors, root cause analysis.
このスキルは、Amazon OpenSearch Service(またはサーバーレス版)について、6つの機能を通じてあらゆる質問に答えます。以下の「ステップ 0」で質問を1つの機能に振り分け、その機能のエントリーポイント(窓口)となるドキュメントを示します。その他すべて(いつ振り分けるか、関連ドキュメント、機能固有の情報、機能間の関連性)は、その機能のエントリーポイントに記載されています。
AWS MCP サーバーの使用を推奨していますが、必須ではありません。 機能別ドキュメントでは、標準的な AWS CLI コマンド(例:
aws opensearch describe-domain、aws opensearchserverless create-collection)を主な構文として示します。AWS MCP サーバーが利用可能な場合、そのcall_awsツールは効率的な別案を提供しますが、このスキルのすべての操作は AWS CLI のみでも動作する必要があります。AOS / AOSS に対するデータプレーン(実際のデータを扱う層)の HTTP リクエストにはawscurlを使用し、SigV4(署名付き認証)に対応しています。この方法は両方のコンテキストで機能します。
以下の 6 つの機能から1 つを選んでください。最初の文で判定した機能を述べてください(例:「判定結果:SEARCH — Bedrock の埋め込み機能を使用したセマンティック検索のセットアップ」)。次に、エントリーポイントドキュメントを読み込んでください。そのドキュメントは振り分けの判断基準を説明し、その機能に関する他のドキュメント一覧を示し、次のステップへ導きます。
| 機能 | エントリーポイント |
|---|---|
| migration(移行) — Solr / Elasticsearch / 自社運用の OpenSearch から AOS または AOSS へ。スキーマ・クエリ変換、サイジング、本番切り替え。 | references/assessment-workflow.md |
| provisioning(構築・管理) — AOS ドメインと AOSS コレクション(データセット)の構築と管理。ライフサイクル、アップグレード、ストレージ層、きめ細かいアクセス制御、監視。 | references/provisioning-reference.md |
| search(検索) — ベクトル / セマンティック / ハイブリッド / 疎行列 / 密行列 / RAG 検索。Bedrock コネクタ、FAISS HNSW と Lucene の比較。 | references/search-semantic-search-guide.md |
| log-analytics(ログ分析) — ログ検索、可視化・監視、PPL(パイプライン処理言語)、OSI インジェスション(データ取り込み)、異常検知、OpenSearch Dashboards。Splunk / Datadog / ELK の代替案。 | references/log-analytics-guide.md |
| trace-analytics(トレース分析) — OpenTelemetry による分散トレース。スパン(処理の最小単位)クエリ、サービスマップ、Data Prepper。 | references/trace-analytics-trace-queries.md |
| ai-assistant(AI アシスタント) — エージェント型 AI アシスタント:インデックス(データベースの索引)を自動認識、最適化された PPL / DSL クエリを自動生成、結果を要約、インシデント調査を一貫して実施。手動でのクエリ作成は不要。 | references/ai-assistant.md |
質問が複数の機能にまたがる場合(例:「Solr から移行してから、新しいドメインで RAG を設定したい」)、回答では最も関連の深い機能を優先し、最後に他の機能のエントリーポイントへの 1 行の引き継ぎを追記してください。
以下のルールはすべての回答に適用されます。機能ごとの特定ルール(サイジング計算、形状判定、Amazon OpenSearch Service 移行アシスタントの機能マトリクス、k-NN エンジン選択)は、共通ルールではなく、各機能のエントリーポイントに記載されています。
レポートヘッダー(複数セクションのある回答の場合)。 複数セクションを含むすべての回答は、1 つのフェンス付きメタデータブロック(区切り線で囲まれたブロック)から始めてください:> Generated: <ISO 8601 タイムスタンプ> | Skill: amazon-opensearch-service v<バージョン番号>。時刻は current_time ツールを呼び出して取得します(UTC の ISO 8601 形式を返します)。スキルバージョンはこのファイルのメタデータから読み込んでください。1 行の簡潔な回答(絞り込まれた実運用の回答、不可能なことの拒否)の場合、ヘッダーはあってもなくても構いませんが、複数セクションの成果物の場合は必須です。レポートタイトルの直後、最初の ## 見出しの前に配置してください。
金額の見積もり厳禁(硬い制約)。 $X/月、約 $1,500、またはその他いかなる金額も表示しないでください。すべてのコスト質問を https://calculator.aws に案内してください。参照ドキュメントに金額が含まれている場合、それは参考情報としてのみ扱い、ユーザーに渡さないでください。
認証情報の漏洩厳禁(硬い制約)。 マスターユーザー名、KMS キーの ARN、VPC エンドポイント URL、インスタンス IP、アカウント ID を生成結果に含めないでください。
A と B の選択では 1 つに絞る。 主な推奨を 1 行で、理由を 1 文で示してください。「B を選ぶ場合は…」という条件付き注記は主な推奨の後に追加できますが、最初に条件付きのみの説明をしないでください。
出所の再述。 最初の 2~3 文で、既知の場合はエンジン・バージョン・規模を再述するか、顧客の質問を具体的な言葉で言い直してください。ユーザーが最初に目にするテキストは、ツール実行の説明、メタコメント、レポートタイトル、または質問の単なる言い換えであってはいけません。
マーケティング調の言葉遣い禁止。 「シームレス」「堅牢」「最高水準」「本番対応」「エンタープライズグレード」「ワールドクラス」「洗練」を使わないでください。また、1 つの推奨文に 3 個以上の曖昧な限定詞(「通常」「一般的に」「ふつう」「ほとんどの場合」)を積み重ねないでください。いつ当てはまり、いつ当てはまらないかを具体的に述べてください。
機能間の引き継ぎ。 ユーザーの質問が複数の機能にまたがる場合(例:「Solr から移行して、新しいドメインで RAG を設定したい」)、回答では最も関連の深い機能に焦点を当て、最後に 1 行の引き継ぎを追加してください:「〇〇機能については、references/<機能名>-<エントリー>.md を参照してください。」
以下の参照ドキュメントは機能固有ではなく、複数の機能で使用されます。機能別エントリーポイントが必要に応じてそれらを読み込みます。SKILL.md は直接読み込みません。
references/sizing.md — サイジング計算、インスタンスファミリーの詳細、OR1 トレードオフ、使用率基準、JVM メモリルール。references/vector-knn.md — k-NN エンジン、メモリ計算、RAG 取り込みパターン、ELSER 代替案。references/observability.md — ログ分析パターン、ISM(インデックス状態管理)、UltraWarm / Cold ストレージ層、Splunk / Datadog 移行ガイド。references/security.md — きめ細かいアクセス制御、暗号化、VPC パターン、監査ログ、コンプライアンス態勢。references/personas.md — ユーザータイプ別の伝え方。references/assessment-gotchas.md — 本番環境での落とし穴カタログ(移行の詳細やリスク / ブロッカーテーブルで番号を引用。各落とし穴に Category: タグがあり、担当分野を判定)。references/assessment-knowledge-retrieval.md — 話題 → ツール → URL のレシピ、一括確認用。アセット(assets/):FULL_ASSESSMENT レンダリング用レポートテンプレート(Solr ソース版、Elasticsearch ソース版、経営層向け要約版)。
big5 ワークロード と自社の判定リストを使用してください。このスキルは 2 つの方法でロードでき、スキル固有のバンドルファイルの場所が異なります。参照ドキュメントを読むか、スクリプトを実行する前に、スキルがどのように読み込まれたか判定してください:
AWS MCP サーバーの retrieve_skill ツール経由でロードされた場合: スキルはローカル・ファイルシステムにインストールされていません。各参照ドキュメントやスクリプトを retrieve_skill で取得する際、file パラメータを使用してください(例:file="references/architecture.md" または file="scripts/deploy.py")。返されたコンテンツからスクリプトを実行してください。これらのパスをローカルで file_read しないでください。ディスク上に存在しません。
ローカルにインストールされている場合(例:.kiro/skills/your-skill/ または ~/.claude/skills/your-skill/):スキルディレクトリから相対パスを使用して、ローカルファイルを読み込みスクリプトを実行してください。
この区別はスキル固有のパッケージファイルにのみ適用されます。ユーザーデータとセッション成果物は、常にユーザーの作業ディレクトリから読み込み、書き込みます。顧客データを retrieve_skill 経由で取得または書き込みしないでください。
This skill answers anything about Amazon OpenSearch Service or Serverless across six capabilities. Step 0 below routes the question to ONE capability and points at that capability's entry-point reference. Everything else — when to dispatch, sub-references, capability-specific facts, cross-capability links — lives in the entry-point reference for that capability.
AWS MCP server is recommended, not required. Capability references show standard AWS CLI commands as the primary syntax (e.g.,
aws opensearch describe-domain,aws opensearchserverless create-collection). Where the AWS MCP server is available, itscall_awstool offers a streamlined alternative — but every operation in this skill MUST work via the AWS CLI alone. Data-plane HTTP calls against AOS / AOSS useawscurlfor SigV4-signed requests; this works in both contexts.
Pick one of the six capabilities below. State the detected capability in your first sentence (e.g., "Detected capability: SEARCH — semantic search setup with Bedrock embeddings."). Then load the entry-point reference; that file describes when to dispatch, indexes the rest of the capability's files, and routes you to the next step.
| Capability | Entry-point reference |
|---|---|
| migration — Solr / Elasticsearch / self-managed OpenSearch into AOS or AOSS. Schema/query translation, sizing, cutover. | references/assessment-workflow.md |
| provisioning — Provisioning and managing AOS domains and AOSS collections. Lifecycle, upgrades, storage tiers, FGAC, monitoring. | references/provisioning-reference.md |
| search — Vector / semantic / hybrid / sparse / dense / RAG retrieval. Bedrock connectors, FAISS HNSW vs Lucene. | references/search-semantic-search-guide.md |
| log-analytics — Log search, observability, PPL, OSI ingestion, anomaly detection, OpenSearch Dashboards. Splunk/Datadog/ELK alternatives. | references/log-analytics-guide.md |
| trace-analytics — Distributed traces with OpenTelemetry. Span queries, service maps, Data Prepper. | references/trace-analytics-trace-queries.md |
| ai-assistant — Agentic AI Assistant: auto-discovers indices, generates optimized PPL/DSL queries, summarizes results, and investigates incidents end-to-end. No manual query crafting needed. | references/ai-assistant.md |
If a prompt spans capabilities (e.g., "migrate from Solr AND set up RAG on the new domain"), pick the dominant capability for the response and close with a one-line handoff to the other capability's entry-point ref.
These rules apply to every response, regardless of capability. Capability-specific rules (sizing math, shape detection, Migration Assistant for Amazon OpenSearch Service capability matrix, k-NN engine selection) live in the entry-point references, not here.
> Generated: <ISO 8601 timestamp> | Skill: amazon-opensearch-service v<N>. Get the time by calling the current_time tool (returns ISO 8601 in UTC). Read the skill version from this file's frontmatter version: field. For one-line answers (terse FOCUSED_OPERATIONAL replies, anti-pattern refusals) the header is optional; for any multi-section deliverable it is REQUIRED. Place it immediately after the report title and before the first ## heading.$X/month, ~$1,500, or any dollar figure. Route every cost question to https://calculator.aws and stop. If a sub-reference contains dollar figures, treat them as informational context only and do NOT pass them through to the user.references/<other-capability>-<entry>.md."These references are not capability-prefixed because they apply across capabilities. Capability entry-point references load them when relevant; SKILL.md never loads them directly.
references/sizing.md — sizing math, instance family details, OR1 trade-offs, watermarks, JVM heap rules.references/vector-knn.md — k-NN engines, memory math, RAG ingestion patterns, ELSER alternatives.references/observability.md — log analytics patterns, ISM, UltraWarm/Cold tiering, Splunk/Datadog migration playbooks.references/security.md — FGAC, encryption, VPC patterns, audit logs, compliance posture.references/personas.md — communication style per persona.references/assessment-gotchas.md — production gotcha catalog (cite by number in Migration specifics or Risks/blockers tables; each gotcha carries a Category: tag that determines its lane).references/assessment-knowledge-retrieval.md — topic → tool → URL recipe for batched verification.Assets (assets/): report templates for FULL_ASSESSMENT renderings (Solr-source, ES-source, executive summary).
big5 workload + your own judgment list.This skill can be loaded two ways, and they resolve the skill's own bundled files from different places. Determine how the skill was loaded before reading a reference or running a script:
retrieve_skill tool: The skill is not
installed on the local filesystem. You MUST fetch each reference or script
via retrieve_skill with the file parameter (e.g.
file="references/architecture.md" or file="scripts/deploy.py"), and
run the script from the returned content. Do NOT file_read these paths
locally — they do not exist on disk..kiro/skills/your-skill/ or
~/.claude/skills/your-skill/): Read and run files from the local skill
directory using relative paths.This distinction applies only to the skill's own packaged files. User data and
session artifacts are always read from and written to the user's working
directory. Never fetch or write customer data through retrieve_skill.
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。