Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

aws-finopsAWS finops 搜索

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

612

周安装

26

GitHub Stars

公开资料未说明

下载量

214
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:aws-finops(AWS finops 搜索)
来源仓库:https://github.com/opsyhq/opsy
仓库路径:skills/aws-finops
安装命令:
npx skills add opsyhq/opsy --skill "aws-finops"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add opsyhq/opsy --skill "aws-finops"

简介

aws-finops 提供 AWS 成本治理和财务运营支持功能。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中实施预算管控策略。
  • 通过 npx skills add opsyhq/opsy --skill "aws-finops" 安装。
  • 依赖 Cost Management 服务集成,需开启详细账单记录。
  • 建议结合标签策略和预留实例规划使用。

SKILL.md

name
aws-finops
description
AWS FinOps cost optimization analysis for Opsy. Use when users ask to analyze AWS costs, find waste, optimize spending, identify idle/underutilized resources, review Reserved Instance or Savings Plans coverage, or generate cost optimization reports. Triggers on "reduce AWS costs", "find unused resources", "cost analysis", "optimize spend", "idle resources", "rightsizing", "savings opportunities", "why is my AWS bill high".

AWS FinOps Skill for Opsy

Step 1: Cost Explorer First

Start with Cost Explorer — one call covers all regions and services:

  1. Spend by service — identifies top cost drivers
  2. Spend by region — shows where resources live
  3. Daily trend — spots anomalies

Focus on services representing >5% of spend.

If Credits Mask Costs ($0 spend)

Check if Resource Explorer is enabled:

aws resource-explorer-2 list-indexes --region us-east-1

If enabled, use it — one call gets ALL resources:

aws resource-explorer-2 search --query-string "*" --region us-east-1

If NOT enabled, use resourcegroupstaggingapi to find all tagged resources:

aws resourcegroupstaggingapi get-resources --region us-east-1

Then query each active region for core services: EC2, RDS, EBS, Lambda, S3, ECS, EKS, NAT Gateways, Load Balancers.

Step 2: Deep Dive Each Resource

For every resource found, gather full details:

  • EC2: Instance type, state, launch time, CloudWatch CPU/memory
  • RDS: Instance class, connections (14d), storage, Multi-AZ, engine
  • EBS: Attachment status, volume type, size, snapshots
  • S3: Lifecycle policies, storage class, versioning
  • Lambda: Invocations (30d), memory, runtime, provisioned concurrency
  • ECS/EKS: Task definitions, service counts, cluster utilization
  • ECR: Repositories, image count, lifecycle policies
  • Load Balancers: Request count (14d), target groups
  • NAT Gateway: Data processed
  • Elastic IPs: Association status
  • CloudWatch Logs: Retention settings
  • Secrets Manager: Secret count

Check EVERY resource for optimization opportunities. Don't skip services.

Step 3: Check Commitment Coverage

  • Savings Plans utilization
  • Reserved Instance coverage gaps
  • Expiring commitments (next 30 days)

Safety Guardrails

Report findings with evidence, suggest investigation — not direct actions:

  • "Instance i-xxx averaged 3% CPU over 30 days — rightsizing candidate"
  • "Volume vol-xxx unattached since [date] — verify before removing"
  • "RDS db-xxx had 0 connections for 14 days — confirm if still needed"

Thresholds:

  • Idle: ~0% utilization for 14+ days
  • Underutilized: <10% average for 14+ days
  • Rightsizing candidate: <30% average

Smart Recommendation Rules

Only flag when action is possible:

SituationAction
Minimum size + in use (db.t3.micro with connections)Skip — already right-sized
Minimum size + idle (db.t3.micro, 0 connections)Flag as idle
Larger size + low utilizationFlag for rightsizing with specific target
Tagged FinOps:Skip=trueSkip
Dev/staging with Environment=devSkip low utilization (expected)

Before flagging, verify:

  1. Is this the minimum size?
  2. Is it actually in use? (connections/invocations/requests)
  3. Is there a smaller option?

Service Checklists

EC2: Utilization, stopped instances (EBS cost), previous-gen types, On-Demand 24/7 → SP/RI

Lambda: Zero invocations (30d), memory vs duration tradeoff, provisioned concurrency

ECS/EKS: Fargate vs EC2, resource requests vs usage, Spot for fault-tolerant

ECR: Lifecycle policies, image count, total size — old images accumulate

RDS: Connection count, Multi-AZ in dev, instance class utilization, storage, previous-gen

DynamoDB: Provisioned vs On-Demand fit, auto-scaling, TTL

ElastiCache/OpenSearch: Node utilization, reserved coverage

S3: Lifecycle policies, storage class, Intelligent-Tiering, incomplete multipart uploads

EBS: Unattached volumes, gp2→gp3, snapshot retention, IOPS necessity

Networking: Cross-AZ transfer, NAT Gateway → VPC endpoints, CloudFront caching

Load Balancers: Zero requests = orphaned, Classic→ALB/NLB

Elastic IPs: Unassociated = $3.60/month each

CloudWatch: Log retention (default infinite), high-res metrics necessity

Secrets Manager: $0.40/month vs free Parameter Store

API Gateway: HTTP API 70% cheaper than REST

Output Requirements

CSV (Required)

account_id,resource_name,status,recommendation_type,potential_savings_monthly,resource_id,region,resource_type,tags,description
123456789012,web-server-prod,Underutilized,Rightsizing to t3.small,45.00,i-0abc123def456,us-east-1,EC2 Instance,"Environment=prod,Team=platform","Avg CPU 8% over 30 days. Current: t3.large"
123456789012,,Unattached,Verify before removing,12.50,vol-0xyz789,us-east-1,EBS Volume,,"100GB gp2 volume unattached since 2024-12-01"
123456789012,raspberry,No-Lifecycle,Add ECR lifecycle policy,2.00,raspberry,us-east-1,ECR Repository,,"47 images totaling 12GB. No lifecycle policy configured"
ColumnDescription
account_idAWS account ID
resource_nameName tag value (empty if untagged)
statusIdle, Underutilized, Oversized, Unattached, Previous-Gen, No-Lifecycle, Uncovered
recommendation_typeSpecific action: Rightsizing to X, Verify before removing, Add ECR lifecycle policy, Switch to gp3, Consider SP/RI
potential_savings_monthlyUSD/month (conservative estimate)
resource_idAWS resource ID
regionAWS region
resource_typeEC2 Instance, EBS Volume, RDS Instance, ECR Repository, S3 Bucket, etc.
tagsResource tags as key=value pairs (from AWS tags, not Name)
descriptionDetails: current state, metrics, why flagged, specific numbers

Summary (Markdown)

## AWS FinOps Summary
**Account:** [id] | **Date:** [date]

### Spend Overview
- Monthly spend: $X,XXX
- Top spenders: [service1] (X%), [service2] (X%), [service3] (X%)

### Findings
- Total potential savings: $X,XXX/month
- Resources flagged: X

### Top 5 Opportunities
1. [resource] - [recommendation] - $X/month

### Next Steps
- [investigation recommendations]

Save as finops-report-[account-id]-[date].csv

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

26.55%
按下载量换算57

OpenCode

22.82%
按下载量换算49

Cursor

20.25%
按下载量换算43

Codex

11.89%
按下载量换算25

Antigravity

7.59%
按下载量换算16

Gemini CLI

3.76%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills