How this skill is triggered — by the user, by Claude, or both
Slash command
/codespace-tools:create-codespaceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Do not run `gh codespace create` directly** — it fails without `--machine` in non-interactive terminals.
Do not run gh codespace create directly — it fails without --machine in non-interactive terminals.
Use the script at scripts/create-codespace.mjs relative to this skill's plugin directory:
node "$(dirname "$(dirname "$(cd "$(dirname "$0")" && pwd)")")/scripts/create-codespace.mjs" --repo <owner/repo> [options]
Only --repo is required (unless --profile provides it). Everything else has smart defaults:
| Flag | Default | Description |
|---|---|---|
--repo | (required) | GitHub repo in owner/repo format |
--branch | main | Branch to create from |
--machine | auto-picked | Prefers prebuild-ready, then largest. Validated against the repo's available machines. |
--devcontainer-path | auto-detected | Used if the repo has exactly one devcontainer config |
--location | GitHub default | EastUs, WestUs2, WestEurope, SouthEastAsia |
--display-name | none | Display name for the codespace |
--profile | none | Load a saved profile as defaults. Explicit flags override profile values. |
--save-as | none | Save the resolved config as a named profile for reuse. |
JSON with ok: true/false. On success: codespaceName, state, machine, machineDisplay, branch, devcontainerPath, timedOut.
On error: error message plus context (e.g. availableMachines if machine name was invalid).
--save-as with a short name (e.g. the repo name) so they can reuse it later.--profile <name> next time.npx claudepluginhub altinokdarici/claude-plugins --plugin codespace-toolsCreates private GitHub repo with branch protection, squash merges only, Actions permissions, Pages deployment, MIT license, and README using GitHub CLI. Use for new repo initialization.
Configures GitHub repository via gh CLI with main branch protection rules, issue/PR templates, standard labels, .gitignore, and metadata. For new or existing professional projects.
Guides GitHub CLI (gh) commands for creating/managing PRs, issues, CI runs, releases, auth, and JSON scripting from terminal.