remote-codespaces

Mount a GitHub Codespace workspace locally over an SSH tunnel via SFTP.

15|2|Updated May 26, 2025
One-click install
npx skills add https://github.com/Manamama/Puzzles_for_AIs --skill remote-codespaces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: remote-codespaces
Source: https://github.com/Manamama/Puzzles_for_AIs/tree/main/skills/remote-codespaces
Command: npx skills add https://github.com/Manamama/Puzzles_for_AIs --skill remote-codespaces

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables secure, pre-authenticated remote access to GitHub Codespaces by mounting the remote workspace locally through an ephemeral SSH tunnel, avoiding public IP exposure.

Core Features & Use Cases

  • Pre-authenticated SSH tunnel via gh CLI to access Codespace without manual keys.
  • Remote filesystem exposure through an internal SFTP server and local port forwarding for seamless file access.
  • Cross-environment mounting on Android with Termux and FUSE-based local mounts, enabling a MiXplorer-style experience.

Quick Start

Prompt the AI to establish an ephemeral Codespace tunnel, start the remote SFTP server, and mount the workspace locally via rclone on Termux.

Frequently Asked Questions about remote-codespaces

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

FAQPage Schema
How do I mount a GitHub Codespace filesystem locally without SSH keys?

You can mount a GitHub Codespace without SSH keys by using the gh CLI to create an ephemeral, pre-authenticated SSH tunnel. The Skill dynamically discovers the workspace, starts a remote SFTP server, and forwards the port locally.

Can I mount a remote Codespace filesystem on Android using Termux?

Yes, this Skill supports cross-environment mounting on Android using Termux and FUSE. It leverages rclone to mount the forwarded SFTP server locally, enabling a MiXplorer-style seamless file access experience on mobile.

What is the best way to access Codespaces without exposing a public IP?

Using a tunnel-based filesystem view is the best way to access Codespaces without exposing a public IP. This approach creates an ephemeral SSH tunnel to securely deliver the remote SFTP server locally over port-forwarding.

Do I need rclone to mount a remote workspace over an SSH tunnel?

You need rclone to mount the remote workspace locally over the SSH tunnel. It connects to the forwarded SFTP port established by the Skill, enabling FUSE-based filesystem mounting in environments like Termux.

How does remote SFTP server startup work inside a GitHub Codespace?

Remote SFTP server startup works by dynamically discovering the active Codespace and launching the SFTP process inside it. The Skill then bridges this remote server to your local environment via local port-forwarding over an SSH tunnel.