From github-codespaces-efficiency
Audits and improves GitHub Codespaces efficiency: faster startup, lower spend, slim devcontainers, right-sized machines, tuned idle timeout, and scoped prebuilds.
How this skill is triggered — by the user, by Claude, or both
Slash command
/github-codespaces-efficiency:github-codespaces-efficiencyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill as a lean entrypoint for GitHub Codespaces efficiency work. Inspect the repo, identify waste, and load only needed references.
Use this skill as a lean entrypoint for GitHub Codespaces efficiency work. Inspect the repo, identify waste, and load only needed references.
If no .devcontainer/ exists yet, load references/codespaces.md and define a baseline before proceeding with the steps below.
.devcontainer/ or explicit Codespaces configuration questions..devcontainer/ from scratch.references/codespaces.md — devcontainer, machine-sizing, prebuild, idle-timeout guidance, and reporting.references/review-rubric.md — load only for review passes.find .devcontainer -maxdepth 2 -type f
gh codespace list
repo=$(gh repo view --json nameWithOwner --jq .nameWithOwner)
gh api "/repos/$repo/codespaces/machines"
If gh auth fails or the user lacks repo admin scope, proceed with static analysis of .devcontainer/ files; mark machine-type and prebuild recommendations as unverified.
Look for: devcontainer image >2 GB or more than 10 features, machine type larger than usage data supports, missing devcontainer-lock.json (recommend adding — many repos predate lock-file support), prebuilds scoped too broadly, and idle timeout mismatched to usage patterns.
Check each proposed fix against these rules before recommending it:
.devcontainer/ exists; flag (do not drop) changes that restructure an existing config.From the six candidates below, keep only those supported by audit evidence from step 1 and passing all guardrails from step 2. Rank survivors by estimated monthly cost savings (USD). Select all candidates that meet both criteria, up to a maximum of 3.
release/* branches active in the last 14 days, and branches with more than 5 Codespaces per week; disable for all othersWaste sources: [top cost or startup-time drivers]
Proposed fixes: [top 3 changes supported by audit evidence and passing guardrails]
Validation: [proven live / static-only / remaining risk]
Impact:
references/codespaces.mdreferences/review-rubric.md — load when reviewing completed efficiency work3plugins reuse this skill
First indexed Jun 6, 2026
npx claudepluginhub simplycubed/skills --plugin github-codespaces-efficiencyAudits and improves GitHub Codespaces efficiency: faster startup, lower spend, slim devcontainers, right-sized machines, tuned idle timeout, and scoped prebuilds.
Diagnoses devcontainer configuration problems and guides setup for VS Code, Codespaces, and Docker environments. Useful for slow startup, parity issues, or multi-service complexity.
Configures dev containers and GitHub Codespaces with devcontainer.json schema, features, lifecycle hooks, port forwarding, and VS Code customizations.