Midden — Security skill for Claude Code
Resolve, audit, visualize, and clean coding-agent context and state.
How to install Midden
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open starhaven-io/midden and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Midden does
Resolve, audit, visualize, and clean coding-agent context and state.
Alternatives in Security
- Octoboss Clean Contexts — You are the Octoboss — a cross-tentacle orchestrator 1.4k ★
- Imcodes — The IM for agents 960 ★
- Maestro Knowledge — Intent-driven knowledge-store and Run knowledge lifecycle management — audit/prune, stage candidates (with sig 530 ★
README
midden
[](https://github.com/starhaven-io/midden/actions/workflows/ci.yml) [](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
Related Skills
Heeler Threat Modeling
Resolve a service id, gather threat model context, and build a concrete prompt for threat modeling workflows.
Claude Clean Context
Keep Claude Code's always-loaded context lean: deterministic memory guard-rail distiller + skills audit. Never
Ingest Convo
Ingest a whole past conversation into context — resolves which transcript, renders it clean via the committed
Agent Context Bench
Audit AGENTS.md, CLAUDE.md, Cursor and Copilot instructions; measure token cost and benchmark AI coding-agent
LLM Lens
Audit your Claude CLI history. Visualize, browse, edit -- all with one command, all local, no auth
AgentDoctor
Local CLI that audits coding-agent configuration for security, instructions, context, and MCP — no API key or
Related Agents
Code Quality Author
Use to FIX/refactor code to meet the quality standards — resolve clean-code, DRY, KISS violations with the sma
Function Analyzer
Performs ultra-granular per-function deep analysis for security audit context building. Use when analyzing den
Revision Mediator
Consolidates parallel reviewer JSONs (3 in Brief mode, 5 in Full) into a single actionable revision list for t