Logo Eks Cost Intelligence

Eks Cost Intelligence

Tổ chức
aws-samples
eks-cost-intelligence

Đánh giá hiệu quả chi phí EKS — phân tích 6 khía cạnh, chấm điểm Chi phí có trọng số từ 0–100 và báo cáo khắc phục quy đổi thành tiền. Phân tích hiệu quả điện toán, mức độ sử dụng Spot/Graviton, mạng, lưu trữ, khả năng quan sát và tài nguyên nhàn rỗi. Kích hoạt khi có yêu cầu kiểm toán hoặc rà soát chi phí, phân tích yếu tố thúc đẩy chi phí, đánh giá FinOps, hiệu quả chi tiêu, xác định lãng phí, workload được cấp phát quá mức hoặc phân bổ chi phí theo namespace. Kết hợp dữ liệu Cost Explorer trực tiếp, số liệu sử dụng từ CloudWatch và phân tích tài nguyên Kubernetes.

Add to TypingMind

Tổng quan

Nhà phát hànhaws-samples
Kho mãsample-apex-skills
Tên kỹ năngeks-cost-intelligence
Sao
90
Bản fork
20
Tệp đi kèm
14
Giấy phépMIT-0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 14 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được aws-samples công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Eks Cost Intelligence trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/aws-samples/sample-apex-skills/tree/main/devops-agent/eks-cost-intelligence
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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/devops-agent/eks-cost-intelligence .claude/skills/eks-cost-intelligence
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Eks Cost Intelligence trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Eks Cost Intelligence ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Eks Cost Intelligence với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

EKS Cost Intelligence — DevOps Agent Port

Overview

This skill performs a live cost efficiency assessment of an EKS cluster. It connects via AWS APIs and the Kubernetes API, analyzes cost signals across 6 dimensions, calculates a weighted Cost Score (0-100), and produces a detailed report with dollar-quantified findings, prioritized recommendations, and pre-filled remediation snippets.

This skill is focused on live cost assessment — answering the question: "Where is this cluster wasting money, and how much can I save?"

Prerequisites

Required IAM Permissions (Agent Space Role)

A ready-to-use IAM policy document is available at references/iam-policy.json — attach it directly to your Agent Space execution role.

The following permissions are included:

EKS (required):

  • eks:ListClusters
  • eks:DescribeCluster
  • eks:ListNodegroups
  • eks:DescribeNodegroup
  • eks:ListAddons
  • eks:ListFargateProfiles
  • eks:DescribeFargateProfile

EC2 (required):

  • ec2:DescribeInstances
  • ec2:DescribeVolumes
  • ec2:DescribeSubnets
  • ec2:DescribeVpcEndpoints

Elastic Load Balancing (required):

  • elasticloadbalancing:DescribeLoadBalancers
  • elasticloadbalancing:DescribeTargetGroups
  • elasticloadbalancing:DescribeTargetHealth

Cost Explorer (optional — enables dollar-accurate spend):

  • ce:GetCostAndUsage
  • ce:GetCostForecast

CloudWatch (optional — enables utilization-based analysis):

  • cloudwatch:GetMetricData
  • cloudwatch:ListMetrics
  • logs:StartQuery
  • logs:GetQueryResults

Amazon EFS (optional — enables EFS Intelligent-Tiering/lifecycle checks in the storage dimension):

  • elasticfilesystem:DescribeFileSystems
  • elasticfilesystem:DescribeLifecycleConfiguration

Kubernetes API access (required):

  • The Agent Space must have Kubernetes API access to the target cluster (via EKS Access Entry or aws-auth ConfigMap)
  • Required RBAC: get, list on pods, nodes, deployments, services, persistentvolumeclaims, configmaps, secrets, namespaces, events, endpointslices

When to Use

Activate when the goal involves:

  • Identifying waste — "what's the biggest cost driver?" or "where am I over-provisioned?"
  • Running a cost audit, cost review, or spending assessment against a live cluster
  • Producing dollar-denominated findings to justify optimization work
  • Cost attribution by namespace, team, or workload
  • Preparing a FinOps review or cost reduction initiative
  • Measuring a cluster's cost efficiency score (0-100)

Out of scope (do not assess):

  • General cost optimization best practices without a live cluster — advisory guidance, not a live assessment
  • Cluster design for cost efficiency — architecture decisions, not point-in-time measurement
  • Operational health reviews — configuration quality, not cost posture
  • Cluster discovery or reconnaissance — topology mapping, not cost analysis
  • Upgrade readiness — version compatibility, not spending efficiency

Assessment Workflow

Execution model — fully autonomous. This skill runs autonomously with no interactive prompts. It proceeds through discovery and assessment without pausing for user input. When the target cluster is ambiguous, it assesses all discovered clusters. When a non-recoverable error occurs (API permission failure, no clusters found, cluster in failed state), it logs the error in the report and terminates.

Error output format:

## Assessment Error — <one-line reason>
**Condition:** <which check failed>
**What was found:** <observed state>
**Recommendation:** <remediation guidance for next run>

Step 0: Pre-flight — Cluster Discovery and Validation

Action 1 — Discover clusters

Use the EKS ListClusters API to discover available clusters in the current region.

Decision table:

ConditionAction
API call fails (auth/permission error)Abort with error — log "Cannot access EKS. The agent role requires eks:ListClusters permission for the configured region." in the report and terminate this assessment.
Zero clusters returnedAbort with error — log "No EKS clusters found in this region." in the report and terminate this assessment.
Exactly one cluster found, none named in requestProceed — state which cluster was auto-selected
Multiple clusters found, one named in requestProceed — use the named cluster
Multiple clusters found, none named in requestProceed — assess all discovered clusters. Note in the report that no specific cluster was targeted, so all clusters in the region are included.

Action 2 — Describe the selected cluster

Use the EKS DescribeCluster API for the target cluster. Extract: cluster name, Kubernetes version, platform version, region, status, account ID.

Action 3 — Validate cluster status

Cluster StatusAction
ACTIVEProceed
CREATING / UPDATING / DELETINGSkip cluster — log "Cluster <name> is in <status> state; skipping until operation completes." If this is the only cluster, terminate with error report.
FAILEDSkip cluster — log "Cluster <name> is in FAILED state; recovery required before cost assessment." If this is the only cluster, terminate with error report.

Action 4 — Gather cluster context

Collect the following using AWS and Kubernetes APIs:

  • Kubernetes version and platform version (from DescribeCluster response)
  • Node groups: use EKS ListNodegroups and DescribeNodegroup APIs for instance types, scaling config, capacity type (ON_DEMAND/SPOT)
  • Add-ons: use EKS ListAddons API
  • Fargate profiles: use EKS ListFargateProfiles API — if any profiles exist, use DescribeFargateProfile for each, note which namespaces/label selectors are Fargate-scheduled, and read references/fargate-costs.md. Fargate pods are billed on rounded-up pod requests (not node capacity), so exclude them from node-based checks and add the Fargate-specific checks to Steps 1–2.
  • Node inventory: use Kubernetes API to list nodes with labels and capacity info
  • Namespace list: use Kubernetes API to list namespaces

Action 5 — Proceed to assessment

Emit cluster summary (name, version, node count, region, account) and immediately begin Step 1. No confirmation required.

Step 1: Compute Efficiency Assessment

Read references/compute-efficiency.md before executing checks.

Checks:

  • CPU and memory request-to-utilization ratios across non-system namespaces
  • Over-provisioned workloads (requests exceed utilization by threshold)
  • Low-utilization nodes indicating consolidation opportunities
  • Karpenter consolidation effectiveness (where installed)
  • Workloads without resource requests or limits
  • Fargate pod request right-sizing against Fargate's vCPU/memory combinations — only when Step 0 found Fargate profiles (read references/fargate-costs.md, Check F1)

Data collection uses:

  • Kubernetes API to list pods with resource requests/limits per namespace
  • CloudWatch Container Insights metrics (pod CPU/memory utilization) via CloudWatch GetMetricData API
  • Kubernetes API to list nodes with allocatable resources and current allocations

If metrics-server or Container Insights is unavailable, mark utilization checks as SKIPPED and proceed with request-only analysis.

Step 2: Spot/Graviton Adoption Assessment

Read references/spot-graviton-adoption.md before executing checks.

Checks:

  • Graviton (arm64) adoption percentage vs x86 (amd64)
  • Node groups/NodePools without arm64 in allowed architectures
  • Workloads with explicit amd64 affinity that could run on arm64
  • Spot vs On-Demand capacity percentage
  • Stateless multi-replica workloads on On-Demand only
  • Instance type diversity for Spot availability
  • Node Termination Handler or Karpenter interruption handling
  • Interruption-tolerant workloads running on Fargate (EKS has no Fargate Spot) — only when Step 0 found Fargate profiles (read references/fargate-costs.md, Check F2)

Data collection uses:

  • Kubernetes API to list nodes (labels: kubernetes.io/arch, karpenter.sh/capacity-type, eks.amazonaws.com/capacityType)
  • EKS DescribeNodegroup API for capacity type and instance types
  • Kubernetes API to list deployments/statefulsets for affinity rules and replica counts

Step 3: Networking Cost Assessment

Read references/networking-costs.md before executing checks.

Checks:

  • Topology-aware routing configuration on cross-AZ services
  • Instance mode vs IP mode on load balancers
  • VPC endpoints for ECR, S3, STS
  • Cross-AZ traffic potential based on pod distribution
  • NAT Gateway cost estimation

Data collection uses:

  • Kubernetes API to list services (annotations for topology hints, target-type)
  • Kubernetes API to list EndpointSlices (zone distribution)
  • EC2 DescribeVpcEndpoints API for existing endpoints
  • CloudWatch GetMetricData API for NAT Gateway bytes processed

Step 4: Storage Cost Assessment

Read references/storage-costs.md before executing checks.

Checks:

  • PersistentVolumes using gp2 (flag for gp3 migration)
  • PVCs bound but not mounted by any running pod
  • Over-provisioned volumes (used vs provisioned capacity)
  • EFS Intelligent-Tiering and lifecycle policies

Data collection uses:

  • Kubernetes API to list PersistentVolumes and PersistentVolumeClaims
  • Kubernetes API to list pods (volumeMounts cross-reference)
  • EC2 DescribeVolumes API for volume type, size, and state
  • EFS DescribeFileSystems and DescribeLifecycleConfiguration APIs

Step 5: Observability Cost Assessment

Read references/observability-costs.md before executing checks.

Checks:

  • EKS control plane logging configuration (all log types enabled unnecessarily)
  • High-cardinality metric sources (Prometheus scrape configs, CloudWatch agent)
  • DEBUG/TRACE log levels in production namespaces
  • Log filtering/sampling configurations (FluentBit, CloudWatch agent)

Data collection uses:

  • EKS DescribeCluster API (logging configuration)
  • CloudWatch GetMetricData API (log group ingestion bytes)
  • Kubernetes API to list ConfigMaps (FluentBit, CloudWatch agent, ADOT configs)
  • Kubernetes API to list pods (environment variables for log levels)

Step 6: Idle Resource Detection

Read references/idle-resources.md before executing checks.

Checks:

  • Deployments scaled to zero replicas for extended periods
  • LoadBalancer Services with no healthy backend endpoints
  • Namespaces with no running workloads but allocated quotas
  • Orphaned ConfigMaps and Secrets not referenced by running workloads

Data collection uses:

  • Kubernetes API to list deployments (replicas=0, last-update timestamps)
  • Kubernetes API to list services of type LoadBalancer and their endpoints
  • ELB DescribeTargetHealth API for backend health status
  • Kubernetes API to list namespaces, resource quotas, and running pods per namespace

Step 7: Score Calculation

Read references/report-generation.md for the scoring algorithm.

Apply the scoring model:

  • Start at 100 points
  • Apply severity-weighted deductions per dimension (capped at dimension maximum)
  • Skipped dimensions contribute zero deduction
  • Classify final score: OPTIMIZED (90-100), GOOD (75-89), FAIR (60-74), NEEDS_WORK (40-59), CRITICAL (0-39)

Step 8: Report Generation

Read references/report-generation.md for the report template.

Generate the report directly in markdown:

  1. Build master finding list sorted by severity then savings
  2. Generate markdown report using the template from references/report-generation.md
  3. Use filename pattern: EKS-Cost-Intelligence-{cluster}-{YYYY-MM-DD}-{HHMM}.md

The report includes:

  • Executive summary with total estimated spend and projected savings
  • Cost Score with classification and per-dimension breakdown
  • Prioritized recommendations sorted by savings impact
  • Per-dimension findings with remediation snippets
  • Methodology and confidence notes
  • Disclaimer footer

Cost Score

The skill calculates a weighted cost efficiency score:

DimensionMax DeductionWhat It Measures
Compute Efficiency25 ptsCPU/memory waste, over-provisioning, missing requests
Spot/Graviton Adoption20 ptsSpot percentage, Graviton eligibility, instance diversity
Networking Costs15 ptsCross-AZ traffic, VPC endpoints, topology routing
Storage Costs15 ptsgp2->gp3, unused PVCs, oversized volumes
Observability Costs10 ptsControl plane logging, metric cardinality, log levels
Idle Resources15 ptsZero-scale deploys, orphaned LBs, empty namespaces

Score Classification:

  • 90-100: OPTIMIZED — Excellent cost efficiency
  • 75-89: GOOD — Minor optimization opportunities
  • 60-74: FAIR — Several areas need attention
  • 40-59: NEEDS_WORK — Significant waste detected
  • 0-39: CRITICAL — Major cost inefficiencies across multiple dimensions

Key differences from eks-upgrade-check scoring:

  • No hard-blocker override (cost issues don't prevent cluster operation)
  • Severity-weighted deductions within each dimension
  • Skipped dimensions excluded entirely (not penalized)

Data Sources

SourceAccess MethodWhat It Provides
AWS Cost ExplorerCost Explorer GetCostAndUsage APIActual spend by service/tag
CloudWatch Container InsightsCloudWatch GetMetricData APICPU/memory utilization per pod/node
Kubernetes APIKubernetes list/get operationsResource requests, limits, replica counts, PVCs
EC2 APIEC2 DescribeInstances APIInstance types, pricing tier, Spot vs On-Demand

If Cost Explorer is unavailable, the skill falls back to node-based cost estimation (see references/cost-estimation-fallback.md).

Default Time Window

Cost Explorer queries use a 7-day lookback by default (matching the 7-day window used for CloudWatch utilization checks). If the request names a different window (e.g., "last 30 days"), apply the requested window to all Cost Explorer queries. Whichever window is used, record it in the report metadata (Analysis Window field) so findings are reproducible and comparable across runs.


Out of Scope (v1)

The following are intentionally excluded from the initial release and may be added in future versions:

AreaRationale
Savings Plans / RI coverage scoringData is collected (see cost-data-collection.md) but not scored as a dimension. SP/RI decisions are account-level purchasing decisions, not cluster-level configuration. Findings are surfaced as informational notes when coverage < 70%, but do not contribute to the Cost Score.
Namespace/team cost attribution as a scored dimensionThe skill reports namespace cost allocation in the report's methodology section, but does not score attribution quality. Attribution is an observability concern, not a waste indicator.
GPU utilization efficiencyOnly relevant for ML-heavy clusters. Deferred to a future enhancement.
Non-prod time-based downscalingHigh-ROI quick win but requires time-series analysis beyond a point-in-time assessment. Planned for Idle Resources dimension enhancement.
Internet egress optimizationCovered partially by NAT Gateway analysis; full egress optimization is out of scope.

Operational Rules

  1. Do NOT hardcode or guess cluster names. Always discover clusters by listing them first.
  2. Do NOT retry a failed API call more than once. If it fails twice, log the failure, skip that check, and continue.
  3. Always read the relevant reference file before executing checks for that dimension.
  4. Do NOT duplicate general advisory content. Keep recommendations specific to cost findings with actionable remediation steps.
  5. Emit findings as structured output following the schema in references/findings-format.md.

Steering File Map

Before executing checks for any dimension, read the corresponding reference file from references/.

User RequestReference File(s) to Load
Full cost assessment / audit / reviewALL dimension files in order (Steps 1-6), then report-generation.md
Compute efficiency / over-provisioning / CPU wastereferences/compute-efficiency.md
Spot / Graviton / instance types / arm64references/spot-graviton-adoption.md
Networking costs / cross-AZ / NAT / VPC endpointsreferences/networking-costs.md
Storage costs / gp2 / PVC / EBSreferences/storage-costs.md
Observability / logging / metrics / cardinalityreferences/observability-costs.md
Idle resources / unused / orphaned / zero-scalereferences/idle-resources.md
Fargate profiles / Fargate pod pricing / request roundingreferences/fargate-costs.md
Score calculation / scoring algorithmreferences/report-generation.md
Generate report / produce reportreferences/report-generation.md
Cost data collection / API callsreferences/cost-data-collection.md
Waste formulas / dollar calculationreferences/waste-calculation.md
Fallback estimation / no Cost Explorerreferences/cost-estimation-fallback.md
Finding format / output schemareferences/findings-format.md

Report Output

  • Format: Markdown
  • Filename: EKS-Cost-Intelligence-{cluster}-{YYYY-MM-DD}-{HHMM}.md

The agent generates the report directly — no external conversion tools required.

The report includes:

  • Executive summary with total estimated spend and projected savings
  • Cost Score with classification and per-dimension breakdown
  • Prioritized recommendations sorted by savings impact
  • Per-dimension findings with remediation snippets
  • Methodology and confidence notes
  • Disclaimer footer

This skill is provided as sample code for educational and demonstration purposes only. Findings should be reviewed and validated before acting on them. See the project's README and LICENSE for full terms.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Eks Cost Intelligence làm được gì?

Đánh giá hiệu quả chi phí EKS — phân tích 6 khía cạnh, chấm điểm Chi phí có trọng số từ 0–100 và báo cáo khắc phục quy đổi thành tiền. Phân tích hiệu quả điện toán, mức độ sử dụng Spot/Graviton, mạng, lưu trữ, khả năng quan sát và tài nguyên nhàn rỗi. Kích hoạt khi có yêu cầu kiểm toán hoặc rà soát chi phí, phân tích yếu tố thúc đẩy chi phí, đánh giá FinOps, hiệu quả chi tiêu, xác định lãng phí, workload được cấp phát quá mức hoặc phân bổ chi phí theo namespace. Kết hợp dữ liệu Cost Explorer trực tiếp, số liệu sử dụng từ CloudWatch và phân tích tài nguyên Kubernetes.

Vì sao nên dùng Eks Cost Intelligence trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Eks Cost Intelligence là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Eks Cost Intelligence trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/aws-samples/sample-apex-skills/tree/main/devops-agent/eks-cost-intelligence. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Eks Cost Intelligence?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Eks Cost Intelligence với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Eks Cost Intelligence với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Eks Cost Intelligence có miễn phí không?

Có. Kỹ năng này được aws-samples phát hành trên GitHub theo giấy phép MIT-0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇