Terminal apps with SharpConsoleUI
Builds full screen .NET terminal apps with windows, tables and forms in SharpConsoleUI, so tools feel like apps.
What we improved
Brought the essential method into SKILL.md so it works without the reference files: a short explanation of how the window system, layout and UI thread fit together, a full screen app shell, a multi window example, a grid with a working data
Improved by YourAISkill from the original by managedcode, under its MIT licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.
Claude's review
8/10 Thorough guide to a niche .NET TUI library Claude would not know, with working app shells, threading rules, dialogs, markup escaping and named pitfalls.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Use SharpConsoleUI to build full terminal (TUI) applications in .NET — equally suited to full-screen single-window apps and multi-window desktops with overlapping draggable windows — using a compositor, a DOM layout engine, and 40+ reactive controls (data tables, tree views, forms, an embedded PTY terminal, markdown, charts, video). USE FOR: interactive console apps, full-screen TUIs, multi-window terminal desktops, dashboards, wizards, and admin/monitoring UIs that need focus, mouse, and flicker-free rendering over local terminals or SSH; NativeAOT console tools. DO NOT USE FOR: simple line-based CLI output or argument parsing; non-interactive scripts; GUI/desktop (WPF/WinForms) or web UIs. INVOKES: inspect the project, add the SharpConsoleUI package, scaffold a window/control tree, and build/run to verify the app renders.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: sharpconsoleui
description: "Build full terminal (TUI) applications in .NET with SharpConsoleUI: full-screen single-window apps or multi-window desktops with overlapping, draggable windows, using a compositor, a WPF-style layout engine and a large set of controls (tables, trees, lists, forms, grids, markdown, charts, an embedded PTY terminal, images and video). Covers install and templates, a minimal app, a full-screen app shell, grid layout, the single UI thread rules with working background-update code, built-in dialogs, toasts, markup and escaping, production patterns, and the pitfalls that cause freezes or compile errors. USE FOR: interactive console apps, dashboards, wizards, admin and monitoring UIs that need focus, mouse and flicker-free rendering locally or over SSH; NativeAOT console tools. DO NOT USE FOR: plain line-based CLI output or argument parsing, non-interactive scripts, desktop GUI (WPF/WinForms) or web UIs."
compatibility: "Requires a .NET 8.0+ console project (net8.0/net9.0/net10.0) that can reference the `SharpConsoleUI` package and run against a modern terminal. Uses a retained-mode UI on a single cooperative UI thread, not immediate-mode Console.Write."
---
<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by managedcode. See CHANGES.md. -->
# SharpConsoleUI terminal application framework
API names below were checked against the SharpConsoleUI source (v2.11, November 2026). If a call does not compile on your version, check the control's page in the docs site before guessing.
## Trigger On
- an interactive terminal UI: dashboards, wizards, settings screens, admin or monitoring consoles
- a full-screen single-window TUI that owns the whole terminal
- a multi-window terminal desktop: overlapping windows with drag, resize, minimize, maximize, z-order, modal windows and mouse support
- flicker-free rendering that stays clean over SSH (diff-based cell buffer, not full repaints)
- rich controls: data tables, tree and list views, forms, an embedded PTY terminal, markdown, charts, images or video
- a NativeAOT-ready console application with a real UI
Do not trigger for plain line-based CLI tools, argument parsing, or non-interactive scripts.
## Install
```bash
dotnet add package SharpConsoleUI
# or start from a template:
dotnet new install SharpConsoleUI.Templates
dotnet new tui-app -n MyApp # starter: list, button, notification
dotnet new tui-dashboard -n MyDash # full-screen dashboard with tabs and live metrics
dotnet new tui-multiwindow -n MyApp # two windows, master-detail
```
Targets `net8.0`, `net9.0`, `net10.0`. Sources: NuGet `SharpConsoleUI`, GitHub `nickprotop/ConsoleEx`, docs at https://nickprotop.github.io/ConsoleEx/.
Namespaces you will need: `SharpConsoleUI`, `SharpConsoleUI.Builders` (the `Controls` factory and builders), `SharpConsoleUI.Controls`, `SharpConsoleUI.Drivers`, `SharpConsoleUI.Layout` (`GridLength`, `TextJustification`), `SharpConsoleUI.Themes` (`ColorRole`), `SharpConsoleUI.Configuration` (`ConsoleWindowSystemOptions`), `SharpConsoleUI.Core` (`NotificationSeverity`), `SharpConsoleUI.Dialogs`, `SharpConsoleUI.Parsing` (`MarkupParser`).
## How it works (enough to avoid bugs)
`NetConsoleDriver` → `ConsoleWindowSystem` (owns all windows, runs the loop) → `Window` (built with `WindowBuilder`) → controls added with `AddControl`. Each window lays out its controls (measure, arrange, paint) into its own cell buffer; a compositor merges the buffers and writes only changed cells to the terminal. `windowSystem.Run()` blocks the calling thread, which becomes the **UI thread**: all rendering, input and event handlers run there.
...From managedcode's repository, MIT licence.
Related skills
-
Checked
.NET trimming and Native AOT
Fixes trimming and Native AOT warnings in your .NET code step by step, so your app publishes small and fast.
9/101 credit -
Checked
MAUI safe area layout
Handles safe areas and edge to edge layouts in .NET MAUI, so content clears notches and the keyboard.
7/101 credit -
Checked
Xamarin.Forms to .NET MAUI
Moves your Xamarin.Forms app to .NET MAUI and keeps its store identity and user data, so nothing breaks quietly.
8/101 credit -
Checked
Godot C# scripting
Writes, ports and debugs C# scripts for Godot 4, so your game builds and runs without the common C# traps.
8/101 credit -
Checked
.NET Native Interop Helper
Writes correct P/Invoke calls from .NET to C and C++ libraries, avoiding crashes, leaks and garbled text.
8/101 credit -
Checked
Dotnet Performance Tracing
Picks the right tool and commands to capture .NET performance data for a production slowdown.
7/101 credit