NiyazHz

Underpin — AI skill for Claude Code

AI community

A claim–evidence ledger for AI agents (CLI · MCP · hooks): re-checks evidence and flags what breaks.

How to install Underpin

This entry records only its repository, not the path inside it, so there is no exact command to give. Open NiyazHz/underpin and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Underpin does

A claim–evidence ledger for AI agents (CLI · MCP · hooks): re-checks evidence and flags what breaks.

Alternatives in AI

  • Opencues — Turn any text field into a two-way LLM channel: it reads what you write and fills what you ask 43 ★
  • Agent Guardrails — Checks AI-generated code changes before merge: scope, validation, risk, review evidence, and optional Verity r 32 ★
  • Agent Command Atlas — A searchable, source-linked atlas of AI coding-agent commands, flags, shortcuts, MCP, permissions, skills, and 24 ★

README

underpin

[![CI](https://github.com/NiyazHz/underpin/actions/workflows/ci.yml/badge.svg)](https://github.com/NiyazHz/underpin/actions/workflows/ci.yml) **Status: experimental, v0.2.** Data format and CLI may still change.

**Your agent said "the tests pass" on Monday and built on it all week. underpin tells you which conclusions to re-check when that stops being true.**

AI coding agents build on facts they established earlier ("the tests pass", "the limit is 30 %", "the API returns v2"), and when the code or a source changes, nobody notices which conclusions just went stale. **underpin is a ledger for those claims:** it records what each claim rests on (commands, sources, other claims), re-checks that evidence when it goes stale, and shows which conclusions are shaky when a premise breaks. It works from the command line and plugs into Claude Code via MCP and hooks.

![underpin serve replays a small ledger: claims turn green as evidence comes in, then a retracted exchange rate turns the claims built on it amber; the 2D view shows why](docs/images/replay.gif)

*A small example ledger (a currency converter, ECB rates of 2026-11-03 via frankfurter.dev): the timeline replays how claims get their evidence, then a reviewer retracts the USD rate (#1) and the cascade travels up to "Release 0.3 can ship".*

Quickstart

Needs Rust (stable, 1.89 or newer). The web UI is prebuilt and embedded; Node is not needed. Building takes a few minutes.

cargo install --git https://github.com/NiyazHz/underpin    # or: cargo install --path . in a clone

A small project: `discount.txt` holds a discount, and `check.sh` passes as long as it is at most 30. The `cite` step reads the GitHub API, so it needs network access.

$ mkdir underpin-demo && cd underpin-demo
$ ec