[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C5W6HBFMHC7FHFKVEYFG97":3,"skill-same:01M6C5W6HBFMHC7FHFKVEYFG97":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":56,"linkOnly":57,"markdownContent":58,"markdownBody":59,"frontMatter":60,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":70,"repositoryHtmlUrl":71,"repositoryHomepageUrl":17,"ownerHtmlUrl":72,"ownerBlogUrl":17,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M6C5W6HBFMHC7FHFKVEYFG97","finops-waste","GitHub Actions 浪费识别","Identify GitHub Actions waste — skipped runs, bot triggers, missing concurrency — and suggest fixes. Use when CI costs are high or workflows run too often.","识别 GitHub Actions 中的资源浪费——例如跳过的运行、机器人触发、缺少并发控制——并给出修复建议。当 CI 成本过高或工作流运行过于频繁时使用。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Ffinops-plugin\u002Fskills\u002Ffinops-waste\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BW60ZFWDZV0VMGET8T2FHG","云成本管理与优化","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],"finops","finops waste","Bash","2026","when","suggest fixes","fixes","2025","use","edit","read","repo","gh","format","bot","gh workflow","api","concurrency","github actions","ci","actions","run","workflows","workflow","github","2026-11-10 10:12:30",false,"---\ndescription: \"Identify GitHub Actions waste — skipped runs, bot triggers, missing concurrency — and suggest fixes. Use when CI costs are high or workflows run too often.\"\nargs: \"[repo]\"\nallowed-tools: Bash(gh api *), Bash(gh workflow *), Bash(gh repo *), Bash(bash *), Read, Grep, Glob, Edit, TodoWrite\nargument-hint: Optional repo (owner\u002Fname format, defaults to current repo)\ncreated: 2025-01-30\nmodified: 2026-06-18\nreviewed: 2026-04-25\nname: finops-waste\n---\n\n# \u002Ffinops:waste\n\nIdentify GitHub Actions waste patterns and provide actionable fix suggestions. Analyzes skipped runs, bot triggers, missing concurrency groups, and missing path filters.\n\n## When to Use This Skill\n\n| Use this skill when... | Use a sibling instead when... |\n|---|---|\n| You want actionable fixes for CI cost waste — concurrency, path filters, bot guards | You need a high-level billing and health snapshot — use `\u002Ffinops:overview` |\n| You need to add `cancel-in-progress` to PR workflows | You need workflow run frequency and duration stats — use `\u002Ffinops:workflows` |\n| You are auditing skipped runs and bot-triggered noise | You are auditing cache bloat or stale caches — use `\u002Ffinops:caches` |\n| You want to fix one repo's workflow config | You want to rank waste across many repos — use `\u002Ffinops:compare` |\n\n## Context\n\n- Current repo URL: !`git remote -v`\n- Workflow files: !`find . -path '*\u002F.github\u002Fworkflows\u002F*' -maxdepth 3 \\( -name '*.yml' -o -name '*.yaml' \\)`\n\n## Parameters\n\n| Parameter | Description | Default |\n|-----------|-------------|---------|\n| `repo` | Repository in owner\u002Fname format | Current repository |\n\n## Execution\n\n**1. Run API-based waste analysis:**\n\n```bash\nbash \"${SKILL_DIR}\u002Fscripts\u002Fwaste-analysis.sh\" \"$REPO\"\n```\n\n**2. Workflow file analysis (requires local filesystem):**\n\n```bash\necho \"\"\necho \"=== Workflow File Analysis ===\"\n\nfor f in .github\u002Fworkflows\u002F*.yml .github\u002Fworkflows\u002F*.yaml 2>\u002Fdev\u002Fnull; do\n  [ -f \"$f\" ] || continue\n  name=$(basename \"$f\")\n  issues=\"\"\n\n  # Check for concurrency\n  if ! grep -q \"concurrency:\" \"$f\"; then\n    issues=\"${issues}missing-concurrency \"\n  fi\n\n  # Check for path filters (on push\u002Fpull_request without paths)\n  if grep -qE \"^\\s*(push|pull_request):\" \"$f\" && ! grep -q \"paths:\" \"$f\"; then\n    issues=\"${issues}no-path-filter \"\n  fi\n\n  # Check for bot filter\n  if ! grep -q \"github.event.sender.type\" \"$f\" && ! grep -q \"github.actor\" \"$f\"; then\n    issues=\"${issues}no-bot-filter \"\n  fi\n\n  # Check for cancel-in-progress\n  if grep -q \"pull_request:\" \"$f\" && ! grep -q \"cancel-in-progress:\" \"$f\"; then\n    issues=\"${issues}no-cancel-in-progress \"\n  fi\n\n  if [ -n \"$issues\" ]; then\n    echo \"  $name: $issues\"\n  else\n    echo \"  $name: OK\"\n  fi\ndone\n```\n\n## Fix Suggestions\n\nAfter analysis, provide specific fixes based on findings:\n\n### Fix: Missing Concurrency Group\n\n```yaml\n# Add to workflow file at top level or per-job\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true  # For PR workflows\n```\n\n### Fix: Bot Trigger Filter\n\n```yaml\njobs:\n  build:\n    # Skip if triggered by a bot\n    if: github.event.sender.type != 'Bot'\n    runs-on: ubuntu-latest\n    steps: ...\n```\n\nOr for specific bots:\n```yaml\n    if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]'\n```\n\n### Fix: Add Path Filters\n\n```yaml\non:\n  push:\n    branches: [main]\n    paths:\n      - 'src\u002F**'\n      - 'package.json'\n      - 'package-lock.json'\n    paths-ignore:\n      - '**.md'\n      - 'docs\u002F**'\n      - '.github\u002F**'\n  pull_request:\n    paths:\n      - 'src\u002F**'\n      - 'package.json'\n```\n\n### Fix: Cancel Duplicate PR Runs\n\n```yaml\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n```\n\n## Output Format\n\n```\n=== Waste Analysis: org\u002Frepo ===\n\n=== Skipped Runs ===\nTotal runs: 100\nSkipped: 15 (15%)\n\nBy workflow:\n  CI: 10 skipped\n  CodeQL: 5 skipped\n\n=== Bot-Triggered Runs ===\nBot-triggered: 25\u002F100 runs\n\nBy bot:\n  dependabot[bot]: 15 runs\n  renovate[bot]: 10 runs\n\n=== Workflow File Analysis ===\n  ci.yml: missing-concurrency no-path-filter\n  deploy.yml: OK\n  codeql.yml: no-bot-filter\n\n=== Potential Duplicate Runs ===\n  Commit abc1234: 3 runs (CI, CodeQL, Security)\n\n=== High-Frequency Workflows ===\n  CI: 67 runs in sample - review trigger conditions\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Skipped runs count | `gh run list --limit 100 --json conclusion --jq '[.[] | select(.conclusion==\"skipped\")] | length'` |\n| Failed runs (compact) | `gh run list --limit 50 --status failure --json name,createdAt` |\n| Workflow file check | `bash \"${SKILL_DIR}\u002Fscripts\u002Fwaste-analysis.sh\" \"$REPO\"` |\n| Check concurrency in file | `grep -l \"concurrency:\" .github\u002Fworkflows\u002F*.yml` |\n| Bot-triggered runs | `gh run list --limit 100 --json actor,conclusion --jq '[.[] | select(.actor.login | test(\"\\\\[bot\\\\]\"))] | length'` |\n\n## Post-actions\n\n1. **Offer to apply fixes**: For each issue found, offer to edit the workflow file directly\n2. **Prioritize by impact**: Focus on high-frequency workflows first\n3. **Test recommendations**: Suggest testing changes on a feature branch first\n4. **Create tracking issue**: Optionally create a GitHub issue to track optimization work\n","# \u002Ffinops:waste\n\nIdentify GitHub Actions waste patterns and provide actionable fix suggestions. Analyzes skipped runs, bot triggers, missing concurrency groups, and missing path filters.\n\n## When to Use This Skill\n\n| Use this skill when... | Use a sibling instead when... |\n|---|---|\n| You want actionable fixes for CI cost waste — concurrency, path filters, bot guards | You need a high-level billing and health snapshot — use `\u002Ffinops:overview` |\n| You need to add `cancel-in-progress` to PR workflows | You need workflow run frequency and duration stats — use `\u002Ffinops:workflows` |\n| You are auditing skipped runs and bot-triggered noise | You are auditing cache bloat or stale caches — use `\u002Ffinops:caches` |\n| You want to fix one repo's workflow config | You want to rank waste across many repos — use `\u002Ffinops:compare` |\n\n## Context\n\n- Current repo URL: !`git remote -v`\n- Workflow files: !`find . -path '*\u002F.github\u002Fworkflows\u002F*' -maxdepth 3 \\( -name '*.yml' -o -name '*.yaml' \\)`\n\n## Parameters\n\n| Parameter | Description | Default |\n|-----------|-------------|---------|\n| `repo` | Repository in owner\u002Fname format | Current repository |\n\n## Execution\n\n**1. Run API-based waste analysis:**\n\n```bash\nbash \"${SKILL_DIR}\u002Fscripts\u002Fwaste-analysis.sh\" \"$REPO\"\n```\n\n**2. Workflow file analysis (requires local filesystem):**\n\n```bash\necho \"\"\necho \"=== Workflow File Analysis ===\"\n\nfor f in .github\u002Fworkflows\u002F*.yml .github\u002Fworkflows\u002F*.yaml 2>\u002Fdev\u002Fnull; do\n  [ -f \"$f\" ] || continue\n  name=$(basename \"$f\")\n  issues=\"\"\n\n  # Check for concurrency\n  if ! grep -q \"concurrency:\" \"$f\"; then\n    issues=\"${issues}missing-concurrency \"\n  fi\n\n  # Check for path filters (on push\u002Fpull_request without paths)\n  if grep -qE \"^\\s*(push|pull_request):\" \"$f\" && ! grep -q \"paths:\" \"$f\"; then\n    issues=\"${issues}no-path-filter \"\n  fi\n\n  # Check for bot filter\n  if ! grep -q \"github.event.sender.type\" \"$f\" && ! grep -q \"github.actor\" \"$f\"; then\n    issues=\"${issues}no-bot-filter \"\n  fi\n\n  # Check for cancel-in-progress\n  if grep -q \"pull_request:\" \"$f\" && ! grep -q \"cancel-in-progress:\" \"$f\"; then\n    issues=\"${issues}no-cancel-in-progress \"\n  fi\n\n  if [ -n \"$issues\" ]; then\n    echo \"  $name: $issues\"\n  else\n    echo \"  $name: OK\"\n  fi\ndone\n```\n\n## Fix Suggestions\n\nAfter analysis, provide specific fixes based on findings:\n\n### Fix: Missing Concurrency Group\n\n```yaml\n# Add to workflow file at top level or per-job\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true  # For PR workflows\n```\n\n### Fix: Bot Trigger Filter\n\n```yaml\njobs:\n  build:\n    # Skip if triggered by a bot\n    if: github.event.sender.type != 'Bot'\n    runs-on: ubuntu-latest\n    steps: ...\n```\n\nOr for specific bots:\n```yaml\n    if: github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]'\n```\n\n### Fix: Add Path Filters\n\n```yaml\non:\n  push:\n    branches: [main]\n    paths:\n      - 'src\u002F**'\n      - 'package.json'\n      - 'package-lock.json'\n    paths-ignore:\n      - '**.md'\n      - 'docs\u002F**'\n      - '.github\u002F**'\n  pull_request:\n    paths:\n      - 'src\u002F**'\n      - 'package.json'\n```\n\n### Fix: Cancel Duplicate PR Runs\n\n```yaml\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}\n  cancel-in-progress: true\n```\n\n## Output Format\n\n```\n=== Waste Analysis: org\u002Frepo ===\n\n=== Skipped Runs ===\nTotal runs: 100\nSkipped: 15 (15%)\n\nBy workflow:\n  CI: 10 skipped\n  CodeQL: 5 skipped\n\n=== Bot-Triggered Runs ===\nBot-triggered: 25\u002F100 runs\n\nBy bot:\n  dependabot[bot]: 15 runs\n  renovate[bot]: 10 runs\n\n=== Workflow File Analysis ===\n  ci.yml: missing-concurrency no-path-filter\n  deploy.yml: OK\n  codeql.yml: no-bot-filter\n\n=== Potential Duplicate Runs ===\n  Commit abc1234: 3 runs (CI, CodeQL, Security)\n\n=== High-Frequency Workflows ===\n  CI: 67 runs in sample - review trigger conditions\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Skipped runs count | `gh run list --limit 100 --json conclusion --jq '[.[] | select(.conclusion==\"skipped\")] | length'` |\n| Failed runs (compact) | `gh run list --limit 50 --status failure --json name,createdAt` |\n| Workflow file check | `bash \"${SKILL_DIR}\u002Fscripts\u002Fwaste-analysis.sh\" \"$REPO\"` |\n| Check concurrency in file | `grep -l \"concurrency:\" .github\u002Fworkflows\u002F*.yml` |\n| Bot-triggered runs | `gh run list --limit 100 --json actor,conclusion --jq '[.[] | select(.actor.login | test(\"\\\\[bot\\\\]\"))] | length'` |\n\n## Post-actions\n\n1. **Offer to apply fixes**: For each issue found, offer to edit the workflow file directly\n2. **Prioritize by impact**: Focus on high-frequency workflows first\n3. **Test recommendations**: Suggest testing changes on a feature branch first\n4. **Create tracking issue**: Optionally create a GitHub issue to track optimization work\n",{"args":61,"name":5,"created":62,"modified":63,"reviewed":64,"description":7,"allowed-tools":65,"argument-hint":66},"[repo]",1738195200000,1781740800000,1777075200000,"Bash(gh api *), Bash(gh workflow *), Bash(gh repo *), Bash(bash *), Read, Grep, Glob, Edit, TodoWrite","Optional repo (owner\u002Fname format, defaults to current repo)","main","bdd0582f1a2ba53d21061835bfd72d45f2f954f4","finops-plugin\u002Fskills\u002Ffinops-waste",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add laurigates\u002Fclaude-plugins --skill finops-waste",{"tool":81,"command":82},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill finops-waste",{"tool":84,"command":85},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill finops-waste","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Ffinops-plugin\u002Fskills\u002Ffinops-waste\u002FSKILL.md",true,[89],{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fwaste-analysis.sh","SCRIPT","脚本",2647,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Ffinops-plugin\u002Fskills\u002Ffinops-waste\u002Fscripts\u002Fwaste-analysis.sh",[96,104,126,146,162,184],{"skillNo":97,"name":98,"nameZh":17,"description":99,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":103},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":105,"name":106,"nameZh":17,"description":107,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":56},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[111,112,113,114,115,116,117,118,119,120,39,35,33,121,122,123,124,125,34,41],"show","kitty show image","image","kitty","show image","ls","get","send","open","dev","file","text","with","xdg","via",{"skillNo":127,"name":128,"nameZh":17,"description":129,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":56},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[114,133,134,135,136,137,35,33,138,139,140,34,41,141,40,142,143,144,145,39],"kitty session persistence","session","persistence","false","snapshots","uname","reboot","terminal","write","snapshot","macos","sessions","restore",{"skillNo":147,"name":148,"nameZh":17,"description":149,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":56},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[153,154,114,155,156,116,157,158,117,159,160,39,35,161,33,122,123,140,34,41],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":163,"name":164,"nameZh":17,"description":165,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":56},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[169,170,171,172,173,174,175,42,176,177,39,35,33,178,121,179,180,181,182,183],"docs reference check","check","reference check","reference","docs","links","python3","files","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":185,"name":186,"nameZh":187,"description":188,"descriptionZh":189,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":190,"categories":191,"keywords":198,"publishedAt":56},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[192,195],{"categoryNo":193,"categoryName":194,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":196,"categoryName":197,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[199,200,201,202,175,52,41,203,40,204,205,206,39,33,121,47,207,35,208,209,210,125,34],"youtube upload","upload","youtube","Video","uv run","publishing","data","uv","v3","tags","id","title"]