hex1b: Skill for Claude Code

.github/skills/api-reviewer/SKILL.md

api-reviewer is a skill for Claude Code, Codex from mitchdenny/hex1b. It costs 37 tokens per session (3,584 once invoked), scanned A, original, MIT.

A review guide for designing public APIs in the Hex1b codebase, including decisions about which code should be publicly accessible.

In plain words
What is it for?
It supports reviews of public interfaces, accessibility modifiers, terminal components, adapters, and other API design decisions.
Why use it?
It helps API changes fit the codebase's layered architecture and existing conventions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

This is mitchdenny/hex1b's own configuration. It tells Claude Code and Codex how to work on hex1b itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hex1b configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mitchdenny/hex1b. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mitchdenny/hex1b/main/.github/skills/api-reviewer/SKILL.md
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 api-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/mitchdenny/hex1b/api-reviewer/github.svg)](https://agentmods.dev/skills/mitchdenny/hex1b/api-reviewer)
Your own site
<a href="https://agentmods.dev/skills/mitchdenny/hex1b/api-reviewer"><img src="https://agentmods.dev/badge/skills/mitchdenny/hex1b/api-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/mitchdenny/hex1b/api-reviewer"><img src="https://agentmods.dev/badge/skills/mitchdenny/hex1b/api-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00037 $0.03584
Opus 5.5 $0.00015 $0.01434
Sonnet 5.5 $0.00007 $0.00717
Haiku 4.5 $0.00004 $0.00358

Measured 2mo ago against content hash 95e22bb55d8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-reviewer 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 2mo 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.

.github/skills/api-reviewer/SKILL.md · 478 lines

How it starts

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

API Reviewer Skill

This skill captures API design preferences for the Hex1b codebase. Use it when reviewing public APIs, evaluating whether code should be public or internal, or assessing API design decisions made by AI agents.

Codebase Architecture

Hex1b is structured into distinct layers, each with different API design considerations:

Layer 1: Hex1bTerminal (Core)

The foundational layer maintaining an in-memory representation of terminal state.

Component Purpose Accessibility
Hex1bTerminal Core terminal state management Public
Hex1bTerminalBuilder Fluent terminal construction Public
Presentation adapters Output to real terminals, tests, web Public interfaces
Workload adapters Input/output abstraction Public interfaces
Surface, SurfaceCell Low-level cell storage Public (low-level API)

Design note: Hex1bTerminal emerged from the need to properly test TUI components. The adapter pattern enables use in real terminals, unit tests, or projecting state across networks.

Layer 2: Hex1bApp/TUI

The widget/node tree layer, inspired by React/Ink but not beholden to it.

Component Purpose Accessibility
Hex1bApp Root of TUI applications Public
*Widget records Declarative UI configuration Public
*Node classes DOM-like render elements Generally public (for extensibility)
Reconciliation logic Widget→Node synchronization Internal
Layout algorithms Measure/arrange implementation Internal

Layer 3: Automation

Testing and automation infrastructure.

Component Purpose Accessibility
Hex1bTerminalInputSequenceBuilder Fluent input automation Public
CellPatternSearcher Visual assertion matching Public
Hex1bTerminalSnapshot Captured terminal state Public

Design note: Automation APIs are explicitly for external consumers, not just internal testing.

Read the full file on GitHub · 478 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. 2mo ago First seen · 478 lines · 37 tokens per session scan A 95e22bb55d8b

Subscribe to this mod's changes

api-reviewer is a skill published in the GitHub repository mitchdenny/hex1b (181 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 3,584 once invoked, about $0.0001 per session on Opus 5.5. 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

dotnet-techne-csharp-api-design

Use when designing or changing public C#/.NET APIs with compatibility and versioning constraints. Keywords: breaking change, API design, backward compatibility, binary compatibility, deprecation strategy, versioning.

Metalnib/dotnet-episteme-skills · 48 tokens

dotnet-techne-csharp-concurrency-patterns

Use when choosing .NET concurrency patterns for async I/O, queues, pipelines, or thread safety. Keywords: async/await, channels, dataflow, Rx, lock contention, producer consumer, parallel processing.

Metalnib/dotnet-episteme-skills · 53 tokens

dotnet-forge

Generate production-ready .NET Core APIs with Entity Framework, repository pattern, CQRS, and enterprise standards.

vikisingh23/neuraforge-ai · 25 tokens

dotnet-techne-serialisation

Use when selecting serialisation formats and contracts for APIs, messaging, caching, or persistence. Keywords: serialisation, System.Text.Json, source generator, protobuf, messagepack, wire compatibility, AOT.

Metalnib/dotnet-episteme-skills · 49 tokens

worker-services

Build long-running .NET background services with BackgroundService, Generic Host, graceful shutdown, configuration, logging, and deployment patterns suited to workers and daemons. USE FOR: background services; scheduled workers; hosted services; worker extraction; graceful shutdown, health checks, and service hosting…

managedcode/dotnet-skills · 109 tokens

aspnet-core

Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET. USE FOR: working on ASP.NET Core apps, services, or middleware; changing auth, routing, configuration, hosting, or deployment behavior; deciding…

managedcode/dotnet-skills · 122 tokens