zcodium-project/zcodium-community-famous-plugins-and-skills/codespace
Claude Code and agent skill by zcodium-project/zcodium-community-famous-plugins-and-skills
- community
Checking that the SKILL.md file is still in the repository.
Create, list, connect to, stop, or delete GitHub Codespaces. Use when the user explicitly wants to manage a remote Codespaces development environment, not for cloning a repository locally.
Install
npx vskill@latest install zcodium-project/zcodium-community-famous-plugins-and-skills/codespaceSKILL.md
GitHub Codespaces
Create, manage, and connect to GitHub Codespaces using the GitHub CLI (gh).
Arguments
$ARGUMENTS
Format: [action] [args...]
create [repo]- Create a new codespacelist- List your codespacescode [name]- Open codespace in VS Codessh [name]- SSH into a codespacestop [name]- Stop a running codespacedelete [name]- Delete a codespace
Examples
Instructions
Required GitHub CLI preflight
Before any workflow step, read ../../references/github-cli-preflight.md and complete it. Do not run workflow commands until gh installation and authentication are verified.
Create Codespace
- Determine repository:
- If repo provided, use it
- If in a git repo, use current repo
- Otherwise, ask user
- Check for devcontainer:
``bash gh api repos/{owner}/{repo}/contents/.devcontainer `` Report if devcontainer exists.
- Prompt for options:
- Machine type (if user wants non-default)
- Branch (default: default branch)
- Region (optional)
- Require final confirmation: Show the verified host, repository, branch,
machine type, region, retention/idle settings, and a warning that Codespaces usage may incur charges. Do not create it until the user explicitly confirms.
- Create codespace non-interactively: Specify the repository and all
selected options. Use --default-permissions so extra devcontainer permissions do not open a prompt; if those permissions are required, stop and explain that the user must review them explicitly. ``bash gh codespace create --repo <owner/repo> --default-permissions \ [--branch <branch>] [--machine <type>] [--location <region>] ``
- Report creation:
``` Created codespace: <name> Machine: 2-core, 4GB RAM Repository: owner/repo Branch: main
Connect with: VS Code: /github:codespace code <name> SSH: /github:codespace ssh <name> Browser: gh codespace code --web -c <name> ```
List Codespaces
Format output:
Open in VS Code
SSH into Codespace
Stop Codespace
If no name provided, show list and let user choose.
Delete Codespace
Show the exact codespace name, repository, branch, state, and unsaved-change warning. After explicit confirmation, delete through the API so no second interactive prompt can block the agent:
Machine Types
Common machine types:
basicLinux- 2 cores, 4GB RAMstandardLinux- 4 cores, 8GB RAMpremiumLinux- 8 cores, 16GB RAMlargePremiumLinux- 16 cores, 32GB RAM
Error Handling
- If the GitHub CLI preflight fails, stop and follow its installation or
browser-authentication guidance; do not run a Codespaces command.
- If codespace limit reached: "Error: Codespace limit reached. Delete unused codespaces."
- If codespace not found: "Error: Codespace '<name>' not found"
- If VS Code not installed: "Tip: Install VS Code or use --web flag for browser"
Billing Note
Remind users: "Note: Codespaces usage may incur charges. Check your billing settings."
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingzcodium-plugins/github/skills/codespace/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zcodium-project/zcodium-community-famous-plugins-and-skills/codespace)