- Home
- Skills
- DevOps & Cloud
- Hangar Setup
More screenshots
Works with the AI Agents you already use
Hangar Setup
Deploy Hangar to run Claude Code and Codex CLI in a persistent web UI accessible from any device.
$5
Hangar Setup
Example session with this skill installed
I want to set up Hangar using Docker on my Linux server. My projects are in /home/dev/projects and I use Tailscale.
- Read your context and instructions
- Compiled the hangar setup
I will help you set up Hangar in Docker with Tailscale integration. First, I need to check your user IDs and then we will configure the environment.
Running id -u and id -g...
Output: UID=1000, GID=1000.
Hangar Docker Setup Plan
- Clone and Prepare:
git clone https://github.com/PresWiFi/hangar.git && cd hangar
cp .env.example .env
- Environment Configuration:
Update your.envwith these values:
WORKSPACE=/home/dev/projectsUID=1000GID=1000TZ=UTC(or your local zone)HANGAR_BIND=127.0.0.1
- Deploy with Tailscale:
Run the following to start Hangar with the Tailscale sidecar:
docker compose -f docker-compose.yml -f docker-compose.tailscale.yml up -d --build
- Retrieve Setup Code:
docker compose logs hangar
Next steps
- Copy the 6-digit setup code from the logs.
- Visit
http://<your-tailscale-ip>:7878in your browser. - Create your owner account and link your Claude or ChatGPT credentials in Settings.
Connects securely to your tools. The creator never sees your data.
About this skill
Hangar provides a persistent web interface for Claude Code and Codex CLI, allowing you to run long-running agent sessions from any device without keeping a terminal open. This skill helps you deploy and configure Hangar on home servers, NAS devices, VPS instances, or local machines to move agentic workflows from the CLI to a browser-based UI.
What it does
- Persistent sessions manages agent runs inside tmux so they continue executing even if the browser or connection is closed.
- Multi-device access enables using Claude Code or Codex from a phone, tablet, or secondary laptop via a specialized mobile key bar.
- Provider integration configures connections for Claude.ai, ChatGPT, GitHub, and local models via Ollama or llama.cpp.
- Deployment automation provides guided setup for Docker, Proxmox LXC, or bare-metal Linux/macOS environments.
- Remote connectivity secures access using Tailscale for remote work or OpenID Connect for single sign-on.
How it works
- Environment Audit verifies dependencies like Docker, Python 3.10+, or Proxmox availability.
- Configuration generates and edits the
.envfile to map workspaces, time zones, and user IDs. - Deployment executes the installation commands and retrieves the one-time setup code from logs.
- Account Linking assists with the device-code sign-in flow for Claude and OpenAI providers.
Frameworks & tools
Uses Hangar (Python/React), Docker Compose, tmux, and Tailscale. Integrates with Claude Code, Codex CLI, Ollama, and llama.cpp.
Why this beats prompting it yourself
Manual setup often fails on permission issues between the container and the host workspace or session persistence in tmux. This skill handles UID/GID mapping and provides specific troubleshooting for common network or authentication errors that generic prompts miss.
Use cases
- Set up a coding agent on a home server to access via phone while away.
- Migrate a local Claude Code session to a persistent web UI.
- Deploy Hangar as a Proxmox LXC for a dedicated development environment.
- Configure SSO for team access to a shared agent host.
Known limitations
Does not support port forwarding to the public internet due to security risks. Requires manual device code entry for provider authentication. Windows users must use WSL.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.
Requires WSL for Windows installations. Does not support direct port forwarding to the public internet. Initial account linking requires manual device-code entry.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 10 days ago
- Software
Python
Git