api-reviewer

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

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/api-reviewer
Any agent
npx skills add mitchdenny/hex1b --skill api-reviewer
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.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.svg" alt="Measured on agentmods" 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. 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.1 $0.00037 $0.03584
Opus 5 $0.00018 $0.01792
Sonnet 5 $0.00007 $0.00717
Haiku 4.5 $0.00004 $0.00358

Measured 5d ago against content hash 95e22bb55d8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 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.

.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. 5d 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 (175 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 3,584 once invoked, about $0.0002 per session on Opus 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

react-ink

Use this skill when building terminal user interfaces with React Ink - interactive CLI apps, terminal dashboards, progress displays, or keyboard-driven TUI components. Triggers on React Ink, Ink components, terminal UI with React, useInput, useFocus, Box/Text layout, create-ink-app, and any task requiring rich…

pass-agent/loomkin · 77 tokens

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