terminal-integration

Embeds SwiftTerm TerminalView in SwiftUI apps for SSH streaming and ANSI/VT100 rendering.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/coreymaypray/sloth-skill-tree --skill terminal-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terminal-integration
Source: https://github.com/coreymaypray/sloth-skill-tree/tree/main/plugins/maycrest-automate/skills/terminal-integration
Command: npx skills add https://github.com/coreymaypray/sloth-skill-tree --skill terminal-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enable native terminal embedding and interaction within spatial and visionOS-ready macOS apps using SwiftTerm to render ANSI/VT100 sequences, manage input, and support multiple concurrent sessions in immersive contexts.

Core Features & Use Cases

  • SwiftTerm embedding and lifecycle: Embed TerminalView in SwiftUI or AppKit and manage terminal lifecycle, focus, and resizing.
  • Input/Output pipeline & rendering: Route keyboard input, parse ANSI/VT100 sequences, and render output with low latency and accurate glyph rendering.
  • SSH/Remote sessions: Bridge SSH streams and remote shells to the terminal surface with session persistence and disconnect handling.
  • Spatial UI integration: Configure font, color schemes, and layout to render terminals as spatial panels or HUDs in visionOS-like contexts.

Quick Start

Add TerminalView to your SwiftUI view and initiate a sample local shell session to verify terminal rendering and input.

Frequently Asked Questions about terminal-integration

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

FAQPage Schema
How do I embed a terminal in a SwiftUI app for iOS and macOS?

To embed a terminal in a SwiftUI app, you can integrate SwiftTerm to add TerminalView, manage the terminal lifecycle, handle focus, and support resizing for native iOS and macOS applications.

Can I render ANSI and VT100 sequences in a visionOS spatial panel?

Yes, you can render ANSI and VT100 sequences in visionOS spatial panels by configuring SwiftTerm fonts, color schemes, and layouts to display terminal output as immersive HUDs or panels.

How do I bridge an SSH stream to a terminal view in macOS?

You can bridge SSH streams to a terminal view in macOS by routing remote shells to SwiftTerm, enabling session persistence, streaming data directly to the surface, and handling disconnect events.

What is the best way to manage multiple concurrent terminal sessions in SwiftTerm?

Managing multiple concurrent terminal sessions in SwiftTerm involves establishing separate input and output pipelines for each instance, allowing low latency rendering and accurate glyph output across simultaneous local or remote connections.

Does SwiftTerm support keyboard input routing for embedded terminal sessions?

Yes, SwiftTerm supports keyboard input routing by capturing keystrokes, parsing ANSI and VT100 escape sequences, and feeding the input pipeline to ensure responsive interaction within the embedded terminal surface.

How do I optimize terminal rendering performance for low latency output?

To optimize terminal rendering performance for low latency, SwiftTerm applies performance-oriented rendering optimizations that ensure accurate glyph rendering and smooth visual updates during rapid output streams.