# Gh Slimify

> Use this skill when the user wants to migrate GitHub Actions workflows to ubuntu-slim runner, reduce CI costs, or analyze workflow eligibility.

- Skill: `javimosch/gh-slimify` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/gh-slimify`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/gh-slimify/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/gh-slimify

---


# gh-slimify Plugin

Automatically detect and migrate GitHub Actions to ubuntu-slim for cost-efficient CI.

## Commands

### Scan
- `gh-slimify workflow scan` — Scan workflows for migration candidates

### Fix
- `gh-slimify workflow fix` — Migrate eligible jobs to ubuntu-slim

## Usage Examples
- "Scan all workflows for ubuntu-slim migration"
- "Fix workflows automatically"
- "Skip duration check for faster scan"

## Installation

```bash
gh extension install fchimpan/gh-slimify
```

## Examples

```bash
# Scan specific workflow
gh slimify .github/workflows/ci.yml

# Scan all workflows
gh slimify --all

# Fix eligible jobs
gh slimify fix .github/workflows/ci.yml

# Fix all with force (include jobs with warnings)
gh slimify fix --all --force

# Skip duration check
gh slimify --all --skip-duration

# JSON output for CI
gh slimify --json --all
```

## Key Features
- Auto-detects migration eligibility
- Skips Docker/service container jobs
- Checks execution time (max 15 min)
- Safe/warning/ineligible classification
- JSON output for automation
- Blocked-pattern enforcement

