Ecs Operation Reviewのロゴ

Ecs Operation Review

組織
aws-samples
ecs-operation-review

稼働中の環境(Fargate/EC2/Managed Instances/ECS Anywhere)を対象に、構造化されたAmazon ECS運用卓越性評価を実施し、GREEN/AMBER/REDで採点します。EKS/Kubernetesの場合は使用しないでください(eks-operation-reviewを使用)。8つの領域(クラスターとキャパシティ、ネットワーク、タスク定義、サービスとデプロイの安全性(サーキットブレーカー、ブルーグリーン、カナリア)、サービスの健全性と自動スケーリング(猶予期間、ドレイン、AZのリバランシング)、オブザーバビリティ、セキュリティ態勢、運用プロセス)を評価し、優先順位付きの対応策を記載した評価レポートを作成します。「ECS環境を監査したい」「ECSのヘルスチェック」「ECSの状態をスコア化したい」「ECSサービスをレビューしたい」「ECSクラスターをGREEN/AMBER/REDで評価したい」といった依頼で、単一の領域だけをレビューする場合も対象です。Day 0の設計にはecs-architect、セキュリティ強化にはecs-security、コスト/TCOにはecs-cost-intelligence、オブザーバビリティ設計にはecs-observability、CI/CDエンジニアリングにはecs-devops、リプラットフォーム/リファクタリングにはecs-modernize、読み取り専用のインベントリにはecs-reconを使用してください(関連スキルは利用可能になり次第)。

Add to TypingMind

概要

公開者aws-samples
リポジトリsample-apex-skills
スキル名ecs-operation-review
スター
90
フォーク
20
同梱ファイル
11
ライセンスMIT-0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 11個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    aws-samplesがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ecs Operation Review」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/aws-samples/sample-apex-skills/tree/main/skills/ecs-operation-review
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aws-samples/sample-apex-skills.git /tmp/sample-apex-skills
mkdir -p .claude/skills
cp -r /tmp/sample-apex-skills/skills/ecs-operation-review .claude/skills/ecs-operation-review
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでEcs Operation Reviewを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にEcs Operation Reviewを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ecs Operation Reviewは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

ECS Operation Review

This skill performs a structured, evidence-based operational-excellence assessment of a live Amazon ECS estate — clusters, capacity providers, services, task definitions, and their supporting AWS resources — and produces a rated report (GREEN / AMBER / RED / UNKNOWN / N/A) with prioritized, cited recommendations.

It is the umbrella Day-2 audit that walks the major domains of the Amazon ECS Best Practices Guide (ecs-best-practices.html). It is evaluative (it grades what exists), not generative — it does not design or build new environments, and it defers to the deep ECS skills for remediation depth rather than duplicating them (see "Defers to deep skills").

This skill is for Amazon ECS only. Skip it for EKS / Kubernetes estates — use eks-operation-review instead.

Scope & limitations (known blind spots)

This review is deliberately bounded. It does not currently assess, and should state as out-of-scope in the report:

  • Scheduled and standalone tasks — the audit enumerates workloads via list-services; EventBridge-scheduled tasks and one-off run-task workloads are not examined.
  • ECS Express Mode services — their ALB, security groups, and deployment config are auto-managed by AWS, so checks 2.2 / 4.x / 5.2 would mis-rate them. Mark N/A.
  • Windows and ECS Anywhere (EXTERNAL) workloads — several container-hardening and runtime-monitoring checks (3.x, 7.3, 7.4) assume Linux on Fargate/EC2 and would false-RED Windows or external tasks. Note their presence and mark the affected items N/A.
  • API throttling on large estates — when iterating over many services/task definitions, expect ECS API throttling; paginate and back off (see the pagination note in references/operational-processes.md).

State any of these that apply to the estate explicitly in the report's Scope block rather than silently omitting them.

When to use

Activate for any request to audit, review, health-check, or score an ECS estate's operational posture:

  • "Run an operational review on my ECS cluster / estate"
  • "ECS health check", "score my ECS posture", "GREEN/AMBER/RED my ECS services"
  • "Review my ECS deployment safety / capacity / networking / observability / security posture"
  • Section-scoped reviews of a single domain (e.g., "check my ECS capacity-provider scale-in", "review connection draining on my services", "audit my task-definition hygiene")

Don't use for (route elsewhere)

RequestRoute to
"Which launch type should I use — Fargate vs EC2 vs Managed Instances?", greenfield architecture/design/selectionecs-architect (Day-0 design; generative)
Read-only inventory / "what's in my estate" / discovery report before an auditecs-recon (discovery front door; until then inventory with aws ecs describe-*)
Deep security hardening, task/execution-role trust remediation, PCI/HIPAA/FedRAMP scopingecs-security
Dollar-quantified cost / TCO / Savings Plans / Spot / Graviton right-sizingecs-cost-intelligence
Designing the logs/metrics/traces stack (FireLens vs ADOT vs Datadog)ecs-observability
Building deployment pipelines / choosing rollout strategy / CI-CD engineeringecs-devops
Replatform vs refactor of an existing applicationecs-modernize

The deep ECS sibling skills named above (ecs-architect, ecs-recon, ecs-security, ecs-cost-intelligence, ecs-observability, ecs-devops, ecs-modernize) are part of the ECS skill family and may be rolled out over time; route to them by name where relevant, and if one is not yet available, note that and fall back to the AWS CLI / this skill's audit-depth guidance. General container questions, one-off aws ecs commands, and cluster creation should be handled directly without this skill.

Defers to deep skills

This review scores each domain at audit depth — enough to rate it and flag the top gaps — then hands off. When a finding warrants deeper work, name the sibling skill in the recommendation rather than reproducing its guidance here:

  • Security posture findings (Section 07) → ecs-security for role-trust hardening, secrets, compliance scope.
  • Cost / capacity-efficiency angles surfaced during the capacity review (Section 01) → ecs-cost-intelligence for $-denominated TCO.
  • Observability findings (Section 06) → ecs-observability for stack design.
  • Deployment / release-engineering findings (Section 04) → ecs-devops for pipeline and rollout-strategy design.

The review's own output is an assessment report. Acting on it (mutations, pipeline changes) is a separate, deliberate step the user chooses.

Access model — READ-ONLY

This skill is strictly read-only. It CAN issue read-only calls (aws ecs describe-*/list-*, sts get-caller-identity, application-autoscaling describe-*, autoscaling describe-*, cloudwatch describe-*, ec2 describe-*, ecr describe-*, iam get-*/list-*, elbv2 describe-*, logs describe-*, events list-*, backup list-*, guardduty list-*/get-*, service-quotas get-*/list-*) to discover estate state, and CAN write a markdown/HTML report to the workspace. It CANNOT mutate any resource (no create, update, delete, register, deregister, run-task, or scale operations). Operational reviews are discovery activities; remediation belongs to whatever path the user chooses afterward.

Prerequisites

  • AWS credentials with ECS read access (and read access to CloudWatch, ECR, IAM, ELBv2, Application Auto Scaling, GuardDuty for full coverage). ReadOnly/least-privilege credentials are preferred.
  • AWS CLI v2 configured with a default Region (aws configure get region).
  • Python 3.10+ for the optional HTML report conversion.
  • Optional: the Amazon ECS MCP server (preview) for richer live-estate inspection. If configured, its read tools may be used; the skill works fully with the AWS CLI alone. See ECS MCP server docs. The ECS MCP server is in preview and subject to change — do not depend on it; the AWS CLI is the reliable primary path.

Tool usage rules (invariants)

  1. Do NOT call any tools when this skill is first activated. Wait for the user to explicitly ask for a review.
  2. Do NOT hardcode or guess cluster/service names. Always discover them by listing first.
  3. Do NOT read config files as a connectivity "check". Verify access by making one real read call.
  4. Do NOT retry a failed call more than once. If it fails twice, mark the affected items UNKNOWN with the failure reason and continue.
  5. Always load the relevant references/ file before executing that section's checks.
  6. Never mutate. Only describe/list/get verbs. If a check would require a write, mark UNKNOWN and note it for manual investigation.
  7. Only rate on observed evidence. If a check returns no data, mark UNKNOWN — never assume.

Methodology

Step 0 — Pre-flight

Action 1 — List clusters.

aws ecs list-clusters --output json
  • Success → show the list. If one cluster, confirm: "I found one cluster: . Assess this one?" If many, ask which cluster(s) or whether to assess the whole estate.
  • Failure → STOP (do not retry more than once). Show:

    Cannot list ECS clusters. Check: (1) aws sts get-caller-identity, (2) aws configure get region, (3) that the credentials have ecs:ListClusters.

Action 2 — Describe the selected cluster(s).

aws ecs describe-clusters --clusters <name> --include SETTINGS CONFIGURATIONS TAGS STATISTICS ATTACHMENTS --output json

Show: cluster name, Region, account ID, status, registered capacity providers, default capacity-provider strategy, containerInsights setting, running/pending task counts, and tags.

Action 3 — Enumerate services and capacity providers (verifies read access).

aws ecs list-services --cluster <name> --output json
aws ecs describe-capacity-providers --output json
  • Success → proceed. Failure → mark the affected sections UNKNOWN and continue.

Action 4 — Confirm. Ask: "Ready to start the operational review on ( services)?" Proceed only after the user confirms.

Steps 1–8 — Run the assessment

For each domain, in section order, read the corresponding references/ file first, then execute its checks and rate each item with the rubric below. If a whole section fails (permissions, timeouts), mark all its items UNKNOWN with a note and continue — one failed section must not block the rest.

#SectionReference file
01Clusters & Capacity (scale-in correctness, Managed Instances, capacity-provider strategy)references/cluster-capacity.md
02Networking (awsvpc, ENI/SG-per-task, subnet IP capacity, VPC endpoints, Service Connect)references/networking.md
03Task Definitions (task size, images, volumes, log config, task/execution roles referenced)references/task-definitions.md
04Services & Deployment Safety (circuit breaker + rollback, native blue/green, canary/linear, min/max healthy %)references/services-deployment.md
05Service Health & Autoscaling (health-check grace period, LB health check, connection draining, service auto scaling, AZ rebalancing, placement)references/service-health-scaling.md
06Observability (Container Insights enhanced, FireLens/awslogs, retention, alerting, tracing)references/observability.md
07Security Posture (role trust & least privilege, secrets, container hardening, GuardDuty, ECR scanning)references/security-posture.md
08Operational Processes (IaC provenance/tagging, DR/backup, runbooks, on-call, Fargate task retirement)references/operational-processes.md

Section-scoped requests load only the matching file(s) and produce a focused report.

Step 9 — Generate the report

Read references/report-generation.md and follow it exactly. See references/scoring-rubric.md for the full rating rules and the mandatory consistency contract.

Rating rubric (summary)

RatingMeaning
🟢 GREENFully implemented — matches ECS best practices
🟡 AMBERPartial or inconsistent — improvement opportunity
🔴 REDNot implemented or significant gap — action needed
⬜ UNKNOWNCannot be determined from estate data — investigate manually
⚪ N/ACheck does not apply to this estate (compute model / architecture) — excluded from scoring and from Investigate Manually

Prioritize by blast radius: security > availability > cost. Every RED must carry a specific, cited, actionable recommendation. Full rules: references/scoring-rubric.md.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ecs Operation Review」では何ができますか?

稼働中の環境(Fargate/EC2/Managed Instances/ECS Anywhere)を対象に、構造化されたAmazon ECS運用卓越性評価を実施し、GREEN/AMBER/REDで採点します。EKS/Kubernetesの場合は使用しないでください(eks-operation-reviewを使用)。8つの領域(クラスターとキャパシティ、ネットワーク、タスク定義、サービスとデプロイの安全性(サーキットブレーカー、ブルーグリーン、カナリア)、サービスの健全性と自動スケーリング(猶予期間、ドレイン、AZのリバランシング)、オブザーバビリティ、セキュリティ態勢、運用プロセス)を評価し、優先順位付きの対応策を記載した評価レポートを作成します。「ECS環境を監査したい」「ECSのヘルスチェック」「ECSの状態をスコア化したい」「ECSサービスをレビューしたい」「ECSクラスターをGREEN/AMBER/REDで評価したい」といった依頼で、単一の領域だけをレビューする場合も対象です。Day 0の設計にはecs-architect、セキュリティ強化にはecs-security、コスト/TCOにはecs-cost-intelligence、オブザーバビリティ設計にはecs-observability、CI/CDエンジニアリングにはecs-devops、リプラットフォーム/リフ...

TypingMindでEcs Operation Reviewを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ecs Operation Reviewはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにEcs Operation Reviewをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/aws-samples/sample-apex-skills/tree/main/skills/ecs-operation-reviewを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ecs Operation Reviewを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ecs Operation Reviewで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもEcs Operation Reviewを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ecs Operation Review」は無料ですか?

はい。aws-samplesがMIT-0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇