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.
npx agentmods add skills/mitchdenny/hex1b/hex1b.mcpservernpx skills add mitchdenny/hex1b --skill hex1b.mcpservergit clone --depth 1 https://github.com/mitchdenny/hex1bWrote 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.
[](https://agentmods.dev/skills/mitchdenny/hex1b/hex1b.mcpserver)<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>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.
| Model | Per session | Once 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 |
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.
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.
- Documentation: https://hex1b.dev
- Repository: https://github.com/AsciiCraft/hex1b
- NuGet: https://www.nuget.org/packages/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 applicationsavePath: File path to save the captureformat: "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 terminalformat: "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 applicationinput: Text to send (supports\n,\t,\x1bescape sequences)
- Use for simulating user input
SendTerminalKey
Sends a special key to a terminal.
- Parameters:
sessionId: Session ID of terminalkey: Key name (Enter, Tab, Escape, Up, Down, Left, Right, F1-F12, etc.)modifiers: Optional array ["Ctrl", "Alt", "Shift"]
What ships with it
17 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- CapturingPresentationAdapter.cs 2.3 KB
- Hex1b.McpServer.csproj 2.5 KB
- ITerminalTarget.cs 3.3 KB
- LocalTerminalTarget.cs 3.1 KB
- Program.cs 2.0 KB
- README.md 2.6 KB
- RemoteTerminalTarget.cs 12 KB
- TerminalSession.cs 17 KB
- TerminalSessionManager.cs 14 KB
- Tools/CaptureTools.cs 6.0 KB
- Tools/DiagnosticsTools.cs 21 KB
- Tools/InputTools.cs 4.1 KB
- Tools/RecordingTools.cs 5.7 KB
- Tools/SessionManagementTools.cs 9.9 KB
- Tools/SkillTools.cs 2.2 KB
- Tools/ToolResults.cs 7.5 KB
- Tools/UnifiedTerminalTools.cs 17 KB
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.
- 5d ago First seen · 214 lines · 0 tokens per session scan A 070dbdc36b20
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.
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.
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).
generate-code-cs
Generate the code from typespec for C#. Parameter: C# SDK repository root location .
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.
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-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.