Hex1b.McpServer

Hex1b.McpServer is a skill for Claude Code, Codex from mitchdenny/hex1b. It costs 0 tokens per session (1,750 once invoked), scanned A, original, MIT.

Guidance for working with Hex1b, a .NET library for building terminal user interfaces, and its diagnostic tools. The tools can connect to running Hex1b apps and inspect their terminal state.

In plain words
What is it for?
Use it to find running Hex1b applications, connect to them, and capture their terminal screens for diagnosis.
Why use it?
It gives an agent a defined way to discover running diagnostic-enabled apps and examine what they are displaying.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mitchdenny/hex1b/hex1b.mcpserver
Any agent
npx skills add mitchdenny/hex1b --skill hex1b.mcpserver
Clone the repo
git clone --depth 1 https://github.com/mitchdenny/hex1b

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Hex1b.McpServer

README.md
[![agentmods](https://agentmods.dev/badge/skills/mitchdenny/hex1b/hex1b.mcpserver.svg)](https://agentmods.dev/skills/mitchdenny/hex1b/hex1b.mcpserver)
Your own site
<a href="https://agentmods.dev/skills/mitchdenny/hex1b/hex1b.mcpserver"><img src="https://agentmods.dev/badge/skills/mitchdenny/hex1b/hex1b.mcpserver.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,750 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01750
Opus 5 $0.00000 $0.00875
Sonnet 5 $0.00000 $0.00350
Haiku 4.5 $0.00000 $0.00175

Measured 5d ago against content hash 070dbdc36b20, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Hex1b.McpServer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/Hex1b.McpServer/SKILL.md · 214 lines

How it starts

The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hex1b MCP Server Skill

This skill provides guidance for AI agents working with the Hex1b TUI (Terminal User Interface) library and its MCP diagnostic tools.

Overview

Hex1b is a .NET library for building terminal user interfaces with a React-inspired declarative API. The library ships to NuGet as Hex1b.

MCP Tools Reference

The Hex1b MCP server provides tools for interacting with running Hex1b applications that have diagnostics enabled.

Discovery Tools

GetHex1bStacksWithDiagnosticsEnabled

Lists all running Hex1b applications with diagnostics enabled.

  • Returns: Process IDs, app names, dimensions, and socket paths
  • Use this first to discover available applications to connect to
DiscoverHex1bStacks

Discovers and connects to all Hex1b applications with diagnostics enabled.

  • Returns session IDs for each connected application
  • Use session IDs with other tools

Capture Tools

CaptureHex1bTerminal

Captures the terminal screen state.

  • Parameters:
    • processId: Process ID of the Hex1b application
    • savePath: File path to save the capture
    • format: "ansi", "svg", or "text" (default: "ansi")
  • Use for visual debugging and documentation
CaptureTerminalScreen

Captures the terminal screen in various formats.

  • Parameters:
    • sessionId: Session ID of connected terminal
    • format: "text", "ansi", or "svg"
    • savePath: Optional file path to save
  • Unified capture for both local and remote terminals

Input Tools

SendInputToHex1bTerminal

Sends input characters to a Hex1b application.

  • Parameters:
    • processId: Process ID of the target application
    • input: Text to send (supports \n, \t, \x1b escape sequences)
  • Use for simulating user input
SendTerminalKey

Sends a special key to a terminal.

  • Parameters:
    • sessionId: Session ID of terminal
    • key: Key name (Enter, Tab, Escape, Up, Down, Left, Right, F1-F12, etc.)
    • modifiers: Optional array ["Ctrl", "Alt", "Shift"]

Read the full file on GitHub · 214 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 214 lines · 0 tokens per session scan A 070dbdc36b20

Subscribe to this mod's changes

Hex1b.McpServer is a skill published in the GitHub repository mitchdenny/hex1b (175 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,750 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dpg-migration

Migration logic for Azure SDK for .NET data-plane libraries migrating from AutoRest/Swagger to TypeSpec-based generation. Uses MCP tools from the generator-agent server for automated deterministic fixes.

Azure/azure-sdk-for-net · 41 tokens

mitigate-breaking-changes

Patterns and techniques for mitigating breaking changes in Azure management-plane SDKs. Covers SDK-side customizations (partial classes, CodeGenType, CodeGenSuppress) and TypeSpec decorator customizations (clientName, access, markAsPageable, alternateType, hierarchyBuilding).

Azure/azure-sdk-for-net · 60 tokens

generate-code-cs

Generate the code from typespec for C#. Parameter: C# SDK repository root location .

Azure/azure-sdk-for-net · 26 tokens

author-test

Generate a test given sample. Parameters: C# SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; the sample to use as a starting point for the test.

Azure/azure-sdk-for-net · 68 tokens

nunit-code-style

Use when writing or modifying C# method bodies, type declarations, or non-trivial logic in NUnit source. Covers NUnit's taste-and-judgment conventions — exception construction, simplification, naming intent, StringComparison, non-null check form, and var usage — that aren't already caught at build time.

nunit/nunit · 69 tokens

nunit-api-design

Use when adding or modifying public API surface in NUnit — new or changed constraints, attributes, assertions, helpers, or any type/member visibility change. Covers the conventions NUnit maintainers enforce for types that ship to consumers of the framework.

nunit/nunit · 51 tokens