server

Serve Axum-based HTTP and WebSocket endpoints for remote TUI interaction and administrative API access.

Updated May 6, 2026
One-click install
npx skills add https://github.com/dbowm91/codegg --skill server-dbowm91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: server
Source: https://github.com/dbowm91/codegg/tree/main/.opencode/skills/server
Command: npx skills add https://github.com/dbowm91/codegg --skill server-dbowm91

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the challenge of accessing and controlling a terminal-based AI agent from remote environments by providing a secure, high-performance HTTP and WebSocket interface.

Core Features & Use Cases

  • Remote TUI Connectivity: Enables interaction with the codegg TUI via WebSocket-based RPC and TuiMessage protocols.
  • Comprehensive API: Provides RESTful endpoints for session management, file operations, workspace control, and MCP service discovery.
  • Security & Reliability: Implements token-based authentication, rate limiting, and path sanitization to ensure safe remote access.

Quick Start

Start the codegg server on the default host and port to enable remote TUI connections.

Frequently Asked Questions about server

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

FAQPage Schema
How do I enable remote TUI access over a network?

Remote TUI access is enabled by deploying an Axum-based HTTP and WebSocket server. This interface allows you to interact with terminal applications and execute administrative commands from remote environments.

What is the best way to secure WebSocket terminal access for AI agents?

Securing WebSocket terminal access requires token-based authentication, rate limiting, and path sanitization. These mechanisms protect remote terminal sessions and prevent unauthorized file system operations.

Can I manage file system operations through a remote HTTP API?

Yes, file system operations can be managed through a comprehensive RESTful API. The server provides dedicated endpoints for workspace control, session management, and secure file manipulation.

Does the Axum server support event streaming for distributed workflows?

The Axum server supports event streaming for distributed AI agent workflows. It utilizes WebSocket-based RPC and TuiMessage protocols to facilitate real-time event broadcasting and session management.

How do I start a WebSocket server for remote terminal interaction?

Start the WebSocket server by launching the application on a designated host and port. This initializes the Axum HTTP interface, enabling remote TUI connections and administrative API access.