frontend-multi-tab

Coordinate isolated frontend tab sessions with independent backend connections and per-tab state.

2|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/liuyu520/cc-connect-fork --skill frontend-multi-tab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-multi-tab
Source: https://github.com/liuyu520/cc-connect-fork/tree/main/.claude/skills/frontend-multi-tab
Command: npx skills add https://github.com/liuyu520/cc-connect-fork --skill frontend-multi-tab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Isolate and manage multiple frontend sessions in a single page, giving each tab its own isolated state and independent backend connection to prevent cross-talk and improve UX.

Core Features & Use Cases

  • Independent per-tab WebSocket/HTTP connections
  • Complete UI isolation with a shared container and a TabBar
  • Background persistence via hidden sessions to avoid reconnect delays when switching tabs
  • Use cases: parallel workspaces, multi-window chats, multiple API clients, and multi-tab UI patterns where each tab runs its own instance of a backend.

Quick Start

Create a container that manages multiple isolated tab instances, each with its own WebSocket connection, and render them with persistent hidden sessions for seamless switching.

Frequently Asked Questions about frontend-multi-tab

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

FAQPage Schema
How do I isolate multiple React frontend sessions within a single page?

Isolating multiple frontend sessions within a single page requires a container-driven architecture with a factory-based TabState generator. This provides independent per-tab state and backend connections, preventing cross-talk between parallel workspaces.

Can I maintain separate WebSocket connections for each tab without backend changes?

Yes, you can maintain separate WebSocket connections per tab without backend changes. The architecture uses hidden persistent sessions to keep background connections alive, avoiding reconnect delays when switching between multiple isolated instances.

What is the best way to manage per-tab state isolation for parallel workspaces?

The best way to manage per-tab state isolation is using reusable TabBar and VibeSession components with a factory-based TabState generator. This ensures each tab maintains its own lifecycle and state independently within the shared container.

Does this multi-tab UI pattern support multiple terminal panels and API clients?

Yes, this multi-tab UI pattern supports multiple terminal panels and independent API clients. Each tab runs its own backend instance, making it suitable for multi-window chats and parallel workspaces with complete UI isolation.

Why do hidden persistent sessions prevent reconnect delays when switching tabs?

Hidden persistent sessions prevent reconnect delays by keeping background WebSocket and HTTP connections alive in the DOM. When switching back to a tab, its state and connection remain active, ensuring seamless transitions without re-establishing network links.