# Technical Documentation: Hmbown/PLUGINS

> ℹ️ **Provenance:** Multi-Tier Ingestion · [CodeWiki Reference](https://codewiki.google/github.com/Hmbown/PLUGINS)

### Overview (`README.md`)

# Hunter Bown Plugins

Canonical bundle repo for the `hunter-bown-marketplace` plugin pack.

This repo vendors a curated set of plugin payloads from their upstream source
repos and exposes them from one marketplace root for Claude Code and Codex,
plus a matching OpenCode MCP configuration shape.

## Plugins

| Plugin | Version | Description |
|--------|---------|-------------|
| [autodialectics](./plugins/autodialectics/) | 0.1.0 | Anti-slop harness with contracts, evidence, dialectics, verification, and policy evolution |
| [aleph](./plugins/aleph/) | 0.9.4 | External memory workflow for large local data — search, peek, compute, and recurse |
| [dust](./plugins/dust/) | 0.1.1 | Branchable local-first SQL with repo-native MCP access |

## Marketplace Layout

- Codex marketplace root: [`.agents/plugins/marketplace.json`](./.agents/plugins/marketplace.json)
- Claude Code marketplace root: [`.claude-plugin/marketplace.json`](./.claude-plugin/marketplace.json)
- Shared plugin payloads: [`plugins/`](./plugins)

Canonical marketplace name: `hunter-bown-marketplace`

Each plugin directory contains its own client-specific manifest (`.codex-plugin`
and/or `.claude-plugin`) plus the shared `skills/`, `agents/`, `.mcp.json`,
and launcher scripts consumed by both hosts.

Current vendored upstreams:

- `plugins/autodialectics` ← `/Volumes/VIXinSSD/autodialectics/plugins/autodialectics`
- `plugins/aleph` ← `/Volumes/VIXinSSD/aleph/plugins/aleph`
- `plugins/dust` ← `/Volumes/VIXinSSD/dust/plugins/dust`

## Claude Code

```bash
# Add the marketplace
/plugin marketplace add Hmbown/plugins

# Install a plugin
/plugin install autodialectics@hunter-bown-marketplace
/plugin install aleph@hunter-bown-marketplace
/plugin install dust@hunter-bown-marketplace
```

Or load directly for a single session:

```bash
claude --plugin-dir ./plugins/autodialectics
claude --plugin-dir ./plugins/aleph
claude --plugin-dir ./plugins/dust
```

## Codex

Codex reads [`.agents/plugins/marketplace.json`](./.agents/plugins/marketplace.json)
for the same `hunter-bown-marketplace` bundle. Each vendored plugin also keeps a
`.codex-plugin/plugin.json` manifest inside its own directory.

Add the marketplace via Codex plugin settings or point Codex at this repo
root as a local marketplace checkout.

## OpenCode

OpenCode does not consume Codex or Claude marketplace manifests directly. Use
the same vendored payloads as the source of truth and map MCP entries to the
shared launchers in this repo:

- `aleph` via `/Users/hunterbown/.local/bin/aleph`
- `autodialectics` via `plugins/autodialectics/scripts/run-autodialectics-mcp.sh`
- `dust` via `plugins/dust/scripts/run-dust-mcp.sh`

## Prerequisites

- **autodialectics**: `uv` plus the checkout at `/Volumes/VIXinSSD/autodialectics`
- **aleph**: `pip install "aleph-rlm[mcp]"` (Python >= 3.11)
- **dust**: the checkout at `/Volumes/VIXinSSD/dust` with either a local
  `target/debug` or `target/release` binary, or a working Rust/Cargo toolchain
  so the launcher can fall back to `cargo run -p dust-cli -- mcp`

## Notes

- This repo packages plugin payloads; it is not the system of record for the
  underlying runtimes.
- When upstream plugin payloads change, re-sync the affected directory from the
  source repo and keep the marketplace manifests in this repo aligned.

---

### Overview (`plugins/aleph/README.md`)

# Aleph Plugin

Aleph keeps large files, repos, logs, and documents in external memory so the
host model can search, peek, compute, and recurse without dumping whole
contexts into the prompt.

## Install

```bash
pip install "aleph-rlm[mcp]"
```

The `aleph` executable must be available on `PATH`.

## Skills

| Skill | Description |
|-------|-------------|
| `/aleph` | External memory workflow — load, orient, compute, recurse, converge |

## Subagents

| Agent | Description |
|-------|-------------|
| `@aleph:aleph-expert` | Aleph-backed analysis with external-memory discipline |

## MCP Tools

30+ tools via the `aleph` MCP server including: `load_context`, `load_file`,
`load_workspace_manifest`, `search_context`, `semantic_search`, `peek_context`,
`rg_search`, `exec_python`, `exec_javascript`, `exec_typescript`, `think`,
`evaluate_progress`, `finalize`, `run_recipe`, `sub_query`, and more.

## Portable Defaults

The `.mcp.json` uses a bare `aleph` command (no hardcoded paths) with:
- `--enable-actions` (filesystem/shell tools)
- `--workspace-mode any`
- `--tool-docs concise`

Nested sub-query backend is not pinned — configure at runtime with
`configure(sub_query_backend="claude")`.

---

### Overview (`plugins/autodialectics/README.md`)

# Autodialectics Plugin

Anti-slop harness for keeping LLMs on-task with contracts, evidence, dialectics, verification, and policy evolution.

## Install

```bash
pip install autodialectics
```

## Skills

| Skill | Description |
|-------|-------------|
| `/autodialectics:run` | Compile and execute the anti-slop pipeline for a task |
| `/autodialectics:inspect` | Examine run results, manifests, and artifacts |
| `/autodialectics:benchmark` | Run benchmark suites and manage policy evolution |
| `/autodialectics:replay` | Re-run a stored run with an optional policy override |

## Subagents

| Agent | Description |
|-------|-------------|
| `@autodialectics:dialectical-reviewer` | Structured review of pipeline runs |

## MCP Tools

11 tools via the `autodialectics` MCP server: `health`, `init_runtime`, `compile_task`, `run_task`, `benchmark`, `inspect_run`, `read_artifact`, `evolve_policy`, `promote_policy`, `rollback_policy`, `replay_run`.

## Requirements

- Python >= 3.11
- `autodialectics` package installed and `autodialectics-mcp` on PATH

---

### Overview (`plugins/dust/README.md`)

# Dust Plugin

This plugin packages Dust's MCP server for both Codex and Claude Code.

## What it does

- starts Dust's MCP server from this repo checkout
- prefers `target/debug/dust` from this checkout, then falls back to `target/release/dust`
- keeps the caller's current working directory, so Dust defaults to the active project
- falls back to `cargo run --manifest-path ... -p dust-cli -- mcp` when no local binary has been built yet

## Files

- `.codex-plugin/plugin.json`: plugin metadata for Codex
- `.claude-plugin/plugin.json`: plugin metadata for Claude Code
- `.mcp.json`: plugin-local MCP server configuration
- `scripts/run-dust-mcp.sh`: launcher that resolves the repo root and starts `dust mcp`

## Use it

### Claude Code

```sh
claude --plugin-dir ./plugins/dust
```

Or install it from the shared `hunter-bown-marketplace` bundle.

### Codex

If your Codex build discovers repo-local plugins, enable the `dust` plugin from this checkout.

If plugin discovery is unavailable, register the same launcher manually from the repo root:

```sh
codex mcp add dust -- ./plugins/dust/scripts/run-dust-mcp.sh
```

You can also use an absolute path to the launcher script if you are not in the repo root.

## Notes

- Marketplace ordering for Codex lives in `.agents/plugins/marketplace.json`.
- Marketplace ordering for Claude Code lives in `.claude-plugin/marketplace.json`.
- Dust's MCP tools also accept an explicit `path` argument when you want to target a different project than the current working directory.

---

--- METRICS ---
- Files Extracted: 4
- Estimated Token Budget: ~1823 tokens
- Canonical Reference: https://codewiki.google/github.com/Hmbown/PLUGINS
