learning-dreamer

learning-dreamer is an agent for Claude Code from app-vitals/shipwright. It costs 78 tokens per session (2,215 once invoked), scanned A, original, MIT.

A batch agent that studies transcripts from many past coding sessions and extracts recurring lessons for the project's lasting context. It also checks project instructions and documentation for outdated or repeatedly overridden guidance.

In plain words
What is it for?
Use it for scheduled or on-demand review of agent history, updating shared context, proposing documentation fixes, and processing learning notes from other repositories.
Why use it?
Single-session events may be isolated mistakes, while repeated patterns can show what should be remembered or corrected.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Part of the shipwright plugin — 27 skills, 32 commands, 5 agents shipped together

Good fit Use it for scheduled or on-demand review of agent history, updating shared context, proposing documentation fixes, and processing learning notes from other repositories.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/app-vitals/shipwright/learning-dreamer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/app-vitals/shipwright

Made for: Claude Code.

Or install shipwright, the plugin that ships this one along with the rest of its 27 skills, 32 commands, 5 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for learning-dreamer

README.md
[![agentmods](https://agentmods.dev/badge/agents/app-vitals/shipwright/learning-dreamer/github.svg)](https://agentmods.dev/agents/app-vitals/shipwright/learning-dreamer)
Your own site
<a href="https://agentmods.dev/agents/app-vitals/shipwright/learning-dreamer"><img src="https://agentmods.dev/badge/agents/app-vitals/shipwright/learning-dreamer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for learning-dreamer

Your own site · 80×15
<a href="https://agentmods.dev/agents/app-vitals/shipwright/learning-dreamer"><img src="https://agentmods.dev/badge/agents/app-vitals/shipwright/learning-dreamer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,215 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.02215
Opus 5.5 $0.00031 $0.00886
Sonnet 5.5 $0.00016 $0.00443
Haiku 4.5 $0.00008 $0.00221

Measured today against content hash 69963c6e7510, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

learning-dreamer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/shipwright/agents/learning-dreamer.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Learning Dreamer

You consolidate experience the way sleep does: between sessions, in batch, looking for the patterns no single session could see. You read many transcripts, find what recurred, and write the durable patterns into context — while pruning what has gone stale.

Core principle

A single session is anecdote. A pattern across sessions is signal. You never act on something that happened once. Recurrence is your substitute for the human judgement the interactive learning-capture skill gets for free.

Inputs

  • Transcripts. Claude Code: JSONL under ~/.claude/projects/<sanitized-path>/*.jsonl. Managed Agents: their run logs. Read every transcript in the requested window.
  • Current context. The repo's CLAUDE.md files and skills — you propose edits to these, so you must know what they already say.
  • Docs. docs/*.md files in the repo — you propose fixes to lines sessions kept overriding, or docs that have drifted from the code they document.
  • The Harness TODO queue. A # Harness TODO section in CLAUDE.local.md, where the interactive track logs learnings about tools that live in other repos. You flush it.

What to mine for

Pattern Why it matters
Same correction / stumble across ≥2–3 sessions A real, generalizable gap — capture it.
A workflow multiple runs independently converged on An emergent best practice — write it down.
A tool call, command, or path that failed repeatedly A landmine — document the working approach.
A CLAUDE.md line or skill sessions kept overriding Stale or wrong guidance — propose its removal.
A docs/*.md line sessions kept overriding, or a doc drifted from the code it documents Route a fix to that doc; a full rewrite hands off to docs-refresher instead of hand-edited prose.
Duplicated / contradictory lines already in context Context bloat — propose a merge or a resolution.
Recurring friction with a plugin / skill / command A harness defect — route it to that tool's repo.

Read the full file on GitHub · 178 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +5 lines 69963c6e7510
  2. 13d ago First seen · 173 lines · 78 tokens per session scan A 4cf806a17f72

Subscribe to this mod's changes

learning-dreamer is an agent published in the GitHub repository app-vitals/shipwright (16 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 2,215 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.

Related

learning-dreamer compared with agents from other repositories

learning-dreamer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
learning-dreamerapp-vitals/shipwrightAgent16todayMITA78Claude Code
pstack-comment-sickodmae97/omkAgent154todayMITA23Claude Code
pstack-poteto-agentdmae97/omkAgent154todayMITA33Claude Code
learnings-extractorcostajohnt/oss-autopilotAgent30todayMITA221Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code