codespaces

Manage GitHub Codespaces with persistent tmux sessions and gh cs ssh.

3|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/scaryrawr/scarypilot --skill codespaces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codespaces
Source: https://github.com/scaryrawr/scarypilot/tree/main/plugins/codespaces/skills/codespaces
Command: npx skills add https://github.com/scaryrawr/scarypilot --skill codespaces

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Codespaces enable rapid development but require reliable remote access, session persistence, and secure port forwarding to work effectively across multiple environments.

Core Features & Use Cases

  • Discovery of codespaces with gh cs list
  • Establishing a persistent remote session per codespace using a local tmux-based helper
  • Remote execution via gh cs ssh and Copilot CLI
  • Managing multiple codespaces concurrently

Quick Start

Connect to a codespace by listing with gh cs list, then start a persistent remote session using the ensure-connection.sh script.

Frequently Asked Questions about codespaces

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage persistent remote sessions across multiple GitHub Codespaces?

To manage persistent remote sessions across GitHub Codespaces, use a local tmux-based helper to establish connections. This coordinates multiple concurrent environments securely, ensuring session persistence via gh cs ssh.

What is the best way to execute remote commands in a Codespace using Copilot CLI?

The best way to execute remote commands using Copilot CLI is through gh cs ssh. This allows direct shell access to the Codespace environment, enabling remote execution and monitoring status across your active development environments.

Can I use tmux to coordinate connections and monitor status for cloud development environments?

Yes, you can use a local tmux-based helper to coordinate connections and monitor status for cloud development environments. It establishes a persistent remote session per codespace, allowing reliable remote access and concurrent management.

How do I discover and connect to available Codespaces for remote work?

To discover and connect to available Codespaces, list active environments using gh cs list, then establish a persistent connection by running the ensure-connection.sh script to start your remote work session securely.

Do I need the gh ado-codespaces extension to enable remote work sessions?

Yes, the gh ado-codespaces extension is required to enable remote work sessions. It provides the underlying discovery and connection mechanisms needed to coordinate local tmux helpers with remote command execution via gh cs ssh.