monster-echo

CortexTerminal2 — AI skill for Claude Code

AI community

CortermTerminal2 是一个面向 AI Coding Agent 的远程终端客户端,让你可以在手机上连接服务器,继续操作 Claude Code、Codex、Copilot 等终端任务.

How to install CortexTerminal2

This entry records only its repository, not the path inside it, so there is no exact command to give. Open monster-echo/CortexTerminal2 and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What CortexTerminal2 does

CortermTerminal2 是一个面向 AI Coding Agent 的远程终端客户端,让你可以在手机上连接服务器,继续操作 Claude Code、Codex、Copilot 等终端任务。

Alternatives in AI

  • CLI Continues — resume any AI coding session in another tool — Claude Code, Copilot, Gemini, Codex, Cursor 1.5k ★
  • Agmsg — Cross-vendor messaging for CLI AI coding agents — let Claude Code, Codex, Gemini & Copilot talk to each other 1.5k ★
  • Codesight — Universal AI context generator 979 ★

README

Corterm

**Remote Terminals, Everywhere.**

[简体中文](README.zh-CN.md)

[![CI](https://github.com/monster-echo/CortexTerminal2/actions/workflows/ci.yml/badge.svg)](https://github.com/monster-echo/CortexTerminal2/actions/workflows/ci.yml) [![Gateway Package](https://img.shields.io/badge/ghcr.io-corterm--gateway-blue?logo=docker)](https://github.com/monster-echo/CortexTerminal2/pkgs/container/corterm-gateway) [![Worker Release](https://img.shields.io/github/v/release/monster-echo/CortexTerminal2?label=worker&logo=github)](https://github.com/monster-echo/CortexTerminal2/releases)

Corterm is a remote terminal platform. Install a lightweight Worker on any machine, deploy the Gateway, and access your terminals from any browser or mobile device -- your shell keeps running even after you close the tab.

Architecture

graph LR
    classDef client fill:#e1f5fe,stroke:#01579b,stroke-width:2px,color:#01579b;
    classDef gateway fill:#fff3e0,stroke:#e65100,stroke-width:2px,color:#e65100;
    classDef worker fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px,color:#2e7d32;

    subgraph Client ["Client"]
        Console["💻 Console
Browser · React + xterm.js
iOS · Android native"]:::client end subgraph DMZ ["Gateway · DMZ"] Gateway["🚪 Gateway
Auth · Routing · Session stickiness"]:::gateway end subgraph Cluster ["Worker · intranet cluster"] Worker1["⚡ Worker
PTY · Shell"]:::worker Worker2["⚡ Worker
PTY · Shell"]:::worker end Console <-->|"SignalR / WebSocket · JWT"| Gateway Gateway <-->|"SignalR / WebSocket"| Worker1 Gateway <-.->|"SignalR"| Worker2
  • Gateway -- Central server handling authentication, session routing, and real-time communication.
  • Worker -- Lightweight agent that runs on your machines, manages PTY sessions, and streams I/O back to the Gateway.
  • Console -- Browser-based terminal UI served by the Gateway.