github-codespaces-efficiency
Audit and improve GitHub Codespaces efficiency. Use this skill when a user wants faster Codespaces startup, lower Codespaces spend, slim devcontainers, right-size machines, tune idle timeout, or scope prebuilds to branches with sustained usage.
npx skills add github/awesome-copilot --skill github-codespaces-efficiency --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# GitHub Codespaces Efficiency 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`](./references/codespaces.md) and define a baseline before proceeding with the steps below. ## Use This Skill When - The user wants faster Codespaces startup or lower Codespaces spend. - The repo has a `.devcontainer/` or explicit Codespaces configuration questions. - The user asks for devcontainer optimization, machine sizing, prebuild strategy, or idle-timeout guidance. - The user is setting up Codespaces for the first time or needs help creating a new `.devcontainer/` from scratch. ## Load Only What You Need - [`references/codespaces.md`](./references/codespaces.md) — devcontainer, machine-sizing, prebuild, idle-timeout guidance, and reporting. - [`references/review-rubric.md`](./references/review-rubric.md) — load only for review passes. ## Core Workflow ### 1. Measure first ```bash find .devcontainer -maxdepth 2 -type f gh codespace list repo=$(gh repo view --json nameWithOwner --jq .nameWithOwner) gh api "/repos/$repo/codespaces/machines" `
- Use This Skill When
- Load Only What You Need
- Core Workflow
- 1. Measure first
- 2. Apply guardrails
- 3. Select the top 3 fixes
- 4. Verify
- Required Output
- References
find .devcontainer -maxdepth 2 -type f gh codespace list gh api "/repos/$repo/codespaces/machines"
What does the github-codespaces-efficiency skill do?
Audit and improve GitHub Codespaces efficiency. Use this skill when a user wants faster Codespaces startup, lower Codespaces spend, slim devcontainers, right-size machines, tune idle timeout, or scope prebuilds to branches with sustained usage.
How do I install it?
Run `npx skills add github/awesome-copilot --skill github-codespaces-efficiency --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.