{"slug": "show-hn-dreamer-mine-your-agent-sessions-for-corrections-you-keep-repeating", "title": "Show HN: Dreamer – Mine your agent sessions for corrections you keep repeating", "summary": "Dreamer, a new open-source tool, mines coding-agent session history to identify recurring corrections and proposes updates to context files like AGENTS.md or CLAUDE.md, requiring user approval before applying changes. It supports 20 coding harnesses including Claude Code, Codex, and Cursor, runs locally, and uses existing subscriptions without needing provider keys.", "body_md": "Stop repeating the same coding-agent corrections.\n\nMost teams give their coding agent the same feedback over and over: verify\nbuilds and tests before declaring done, don't weaken tests to make them pass,\ndon't add comments nobody asked for, follow the project's naming conventions.\nThat feedback rarely makes it into `AGENTS.md`\n\nor `CLAUDE.md`\n\n, so the agent\nkeeps making the same mistakes.\n\nDreamer 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.\n\nDreamer works with **20 coding harnesses** including Claude Code, Codex,\nCursor, OpenCode, Gemini CLI and more.\n\n``` php\nsession history -> recurring corrections -> context file updates -> fewer repeated corrections\n```\n\nRequires Python 3.11-3.13.\n\n```\nnpx skills add whistler/dreamer --skill dream -g -y\n```\n\nThen, in your agent:\n\n```\n/dream\n/dream --days 14\n```\n\nDreamer proposes context-file updates as a reviewable in-chat plan (instructions, supporting evidence, and destination files) and applies only what you approve.\n\nNo provider keys needed; Dreamer uses your existing subscription. Everything\nruns locally: session history is read on your machine, context files are\nedited on your machine, and nothing is uploaded. Session history comes from\n[ cass](https://github.com/Dicklesworthstone/coding_agent_session_search),\nwhich Dreamer installs automatically on first run.\n\nFor reviewing patterns, evidence, and trends across many sessions at once, use the dashboard:\n\n```\npipx install agent-dreamer\ndreamer serve\n```\n\nIf you want the CLI to mine sessions without the `/dream`\n\nskill, run\n`dreamer run --yes`\n\nafter configuring a provider key.\n\n**Patterns** turn repeated corrections into candidate context improvements with\nevidence attached.\n\n**Clusters** show where your agent work is concentrated and which kinds of\ntasks keep recurring.\n\n**Stats** show activity trends, project volume, and how your workflow changes\nover time.\n\nDreamer works with 20 coding harnesses via `cass`\n\n:\n\n`Codex`\n\n, `Claude Code`\n\n, `Gemini CLI`\n\n, `Cline`\n\n, `OpenCode`\n\n, `Amp`\n\n, `Cursor`\n\n,\n`ChatGPT`\n\n, `Aider`\n\n, `Pi-Agent`\n\n, `GitHub Copilot Chat`\n\n, `Copilot CLI`\n\n,\n`OpenClaw`\n\n, `Clawdbot`\n\n, `Vibe`\n\n, `Crush`\n\n, `Hermes`\n\n, `Kimi Code`\n\n, `Qwen Code`\n\n,\nand `Factory (Droid)`\n\n.\n\nSee [CONTRIBUTING.md](/whistler/dreamer/blob/main/CONTRIBUTING.md).", "url": "https://wpnews.pro/news/show-hn-dreamer-mine-your-agent-sessions-for-corrections-you-keep-repeating", "canonical_source": "https://github.com/whistler/dreamer", "published_at": "2026-07-08 15:03:01+00:00", "updated_at": "2026-07-08 15:12:33.414003+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents", "ai-tools"], "entities": ["Dreamer", "Claude Code", "Codex", "Cursor", "OpenCode", "Gemini CLI", "GitHub Copilot", "cass"], "alternates": {"html": "https://wpnews.pro/news/show-hn-dreamer-mine-your-agent-sessions-for-corrections-you-keep-repeating", "markdown": "https://wpnews.pro/news/show-hn-dreamer-mine-your-agent-sessions-for-corrections-you-keep-repeating.md", "text": "https://wpnews.pro/news/show-hn-dreamer-mine-your-agent-sessions-for-corrections-you-keep-repeating.txt", "jsonld": "https://wpnews.pro/news/show-hn-dreamer-mine-your-agent-sessions-for-corrections-you-keep-repeating.jsonld"}}