Midden banner
starhaven-io starhaven-io

Midden

Security community

Description

Resolve, audit, visualize, and clean coding-agent context and state.

Installation

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

README

midden

[![CI](https://github.com/starhaven-io/midden/actions/workflows/ci.yml/badge.svg)](https://github.com/starhaven-io/midden/actions/workflows/ci.yml) [![License: AGPL-3.0-only](https://img.shields.io/badge/License-AGPL--3.0--only-blue.svg)](LICENSE)

A CLI tool that resolves, audits, visualizes, and cleans the heap of context and state Codex and Claude Code accumulate.

The name: **midden**, an archaeological term for a refuse heap — kitchen scraps, broken pottery, lost things — that tells you what life was like in the layer below. Agent memory and `~/.claude.json` are exactly that.

Why

For installing skills, managing MCP server lists, or browsing the marketplace, plenty of tools already exist. Use those.

midden picks up where they leave off. Coding agents accumulate generated memories, layered repository instructions, session evidence, project mappings, local settings, and ephemeral worktrees, while almost nothing in the loop makes that state legible or removes it. midden surfaces what's actually active for a directory with provenance, flags what's stale or leaking, and prunes the state nothing else cleans up.

Installation

Homebrew

brew install starhaven-io/tap/midden

crates.io

cargo install midden

From releases

Download a prebuilt binary from [GitHub Releases](https://github.com/starhaven-io/midden/releases). There is no committed CHANGELOG — release notes live on the GitHub Releases page. Binaries are available for:

  • Linux amd64, glibc — x86_64-unknown-linux-gnu
  • Linux arm64, glibc — aarch64-unknown-linux-gnu
  • Linux amd64, musl (static) — x86_64-unknown-linux-musl
  • Linux arm64, musl (static) — aarch64-unknown-linux-musl
  • macOS Apple Silicon — aarch64-apple-darwin

The `gnu` builds link against the system glibc. They are built on Ubuntu 24.04, so they require **glibc 2.39 or newer** (Ubuntu 24.04+, Debian 13+, Fedora 40+). On older releases