# Show HN: Dreamer – Mine your agent sessions for corrections you keep repeating

> Source: <https://github.com/whistler/dreamer>
> Published: 2026-07-08 15:03:01+00:00

Stop repeating the same coding-agent corrections.

Most teams give their coding agent the same feedback over and over: verify
builds and tests before declaring done, don't weaken tests to make them pass,
don't add comments nobody asked for, follow the project's naming conventions.
That feedback rarely makes it into `AGENTS.md`

or `CLAUDE.md`

, so the agent
keeps making the same mistakes.

Dreamer mines your recent coding-agent session history for the corrections that keep recurring, and turns them into concrete additions to your context files, with the original conversation as evidence and your approval required before anything is written.

Dreamer works with **20 coding harnesses** including Claude Code, Codex,
Cursor, OpenCode, Gemini CLI and more.

``` php
session history -> recurring corrections -> context file updates -> fewer repeated corrections
```

Requires Python 3.11-3.13.

```
npx skills add whistler/dreamer --skill dream -g -y
```

Then, in your agent:

```
/dream
/dream --days 14
```

Dreamer proposes context-file updates as a reviewable in-chat plan (instructions, supporting evidence, and destination files) and applies only what you approve.

No provider keys needed; Dreamer uses your existing subscription. Everything
runs locally: session history is read on your machine, context files are
edited on your machine, and nothing is uploaded. Session history comes from
[ cass](https://github.com/Dicklesworthstone/coding_agent_session_search),
which Dreamer installs automatically on first run.

For reviewing patterns, evidence, and trends across many sessions at once, use the dashboard:

```
pipx install agent-dreamer
dreamer serve
```

If you want the CLI to mine sessions without the `/dream`

skill, run
`dreamer run --yes`

after configuring a provider key.

**Patterns** turn repeated corrections into candidate context improvements with
evidence attached.

**Clusters** show where your agent work is concentrated and which kinds of
tasks keep recurring.

**Stats** show activity trends, project volume, and how your workflow changes
over time.

Dreamer works with 20 coding harnesses via `cass`

:

`Codex`

, `Claude Code`

, `Gemini CLI`

, `Cline`

, `OpenCode`

, `Amp`

, `Cursor`

,
`ChatGPT`

, `Aider`

, `Pi-Agent`

, `GitHub Copilot Chat`

, `Copilot CLI`

,
`OpenClaw`

, `Clawdbot`

, `Vibe`

, `Crush`

, `Hermes`

, `Kimi Code`

, `Qwen Code`

,
and `Factory (Droid)`

.

See [CONTRIBUTING.md](/whistler/dreamer/blob/main/CONTRIBUTING.md).
