Skip to main content

finops-overview

FinOps snapshot — org billing, workflow stats, cache usage. Use when you want a high-level view of CI spending or workflow health before diving deeper.

来源信息

仓库
laurigates/claude-plugins
最近来源活动
2026年8月8日 14:57
检测到的 SKILL.md 语言
英语
星标
60
分支
6

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
description
FinOps snapshot — org billing, workflow stats, cache usage. Use when you want a high-level view of CI spending or workflow health before diving deeper.
args
[org]
allowed-tools
Bash(gh api *), Bash(gh repo *), Bash(gh workflow *), Bash(bash *), Read, TodoWrite
argument-hint
Optional org name (defaults to current repo's org)
created
2025-01-30T00:00:00.000Z
modified
2026-06-18T00:00:00.000Z
reviewed
2026-04-25T00:00:00.000Z
name
finops-overview
# /finops:overview Display a quick FinOps summary including org-level billing (if admin) and current repository workflow/cache statistics. ## When to Use This Skill | Use this skill when... | Use a sibling instead when... | |---|---| | You need a first-look snapshot of CI costs, cache, and workflow health | You need a detailed cache breakdown — use `/finops:caches` | | You want billing + cache + workflow stats in one view before drilling deeper | You need per-workflow run frequency and duration analysis — use `/finops:workflows` | | You are deciding which finops skill to run next | You want to find and fix CI waste patterns — use `/finops:waste` | | You want a single-repo summary | You want to benchmark across many repos in an org — use `/finops:compare` | ## Context - Current repo URL: !`git remote -v` ## Parameters | Parameter | Description | Default | |-----------|-------------|---------| | `org` | GitHub organization name | Current repo's owner | ## Execution ```bash bash "${SKILL_DIR}/scripts/billing-summary.sh" $ARGS ``` ## Output Format ``` === Org Billing: orgname === Minutes: 1234/2000 included, 0 paid === Org Cache Usage === 45 caches, 2340MB total === Repo: orgname/reponame === Cache: 12 caches, 450MB Workflows (last 30 days): CI: 45 runs (40 ok, 3 fail, 2 skip) Deploy: 12 runs (12 ok, 0 fail, 0 skip) CodeQL: 30 runs (28 ok, 0 fail, 2 skip) === Waste Indicators === Skipped runs: 4/87 Workflows missing concurrency: 2 ``` ## Agentic Optimizations | Context | Command | |---------|---------| | Org billing (JSON) | `gh api "/orgs/{org}/settings/billing/usage" --jq '.usageItems'` | | Repo cache summary | `gh api "/repos/{owner}/{repo}/actions/caches" --jq '{total: .total_count}'` | | Workflow list | `gh workflow list --json name,state` | | Recent runs (compact) | `gh run list --limit 20 --json status,conclusion,name` | | Compact overview | `bash "${SKILL_DIR}/scripts/billing-summary.sh" $ARGS` | ## Post-actions Suggest next steps based on findings: - High skipped runs -> `/finops:waste` - High cache usage -> `/finops:caches` - Want detailed workflow analysis -> `/finops:workflows` - Compare across repos -> `/finops:compare`
在 GitHub 查看