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
آخر نشاط في المصدر
٨ أغسطس ٢٠٢٦ في ١٤:٥٧
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٦٠
التفرعات
٦

خيارات التثبيت

يُحدَّد 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