Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add ai-sdlc-framework/ai-sdlc/plugin install ai-sdlcWrote 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.
[](https://agentmods.dev/commands/ai-sdlc-framework/ai-sdlc/memory-dream)<a href="https://agentmods.dev/commands/ai-sdlc-framework/ai-sdlc/memory-dream"><img src="https://agentmods.dev/badge/commands/ai-sdlc-framework/ai-sdlc/memory-dream/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.
<a href="https://agentmods.dev/commands/ai-sdlc-framework/ai-sdlc/memory-dream"><img src="https://agentmods.dev/badge/commands/ai-sdlc-framework/ai-sdlc/memory-dream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.00993 |
| Opus 5.5 | $0.00014 | $0.00397 |
| Sonnet 5.5 | $0.00007 | $0.00199 |
| Haiku 4.5 | $0.00004 | $0.00099 |
Grade A, and why
memory-dream 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 10d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run a memory dream (AISDLC-729): a synthesis pass over the memory folder that merges duplicates, replaces superseded notes with the latest value, moves finished work into an on-disk archive, condenses large notes and rewrites index lines. It is modelled on a managed-agents "dream": the input is never modified, and you review the output before swapping it in. Nothing here refuses or blocks anything.
Memory notes are private. Never paste note content into chat, PR text or logs; report only the counts and paths the CLI prints.
Run
Resolve the pipeline CLI, then pass $ARGUMENTS straight through. With no arguments, do a dry run first.
# >>> plugin-root preamble
unset PLUGIN_SCRIPTS_DIR
for _c in "${CLAUDE_PLUGIN_DIR:-}" "${CLAUDE_PLUGIN_ROOT}" "$(pwd)/ai-sdlc-plugin" "$(node -e 'const f=require("fs"),p=require("path"),r=(d)=>{try{return f.realpathSync(d)}catch(e){return d}};try{const g=JSON.parse(f.readFileSync(p.join(require("os").homedir(),".claude/plugins/installed_plugins.json"))).plugins,s=[];for(const k in g)if(k.startsWith("ai-sdlc@"))s.push(...g[k]);const o=[];for(let d=process.cwd(),u;u!==d;d=p.dirname(d)){u=d;for(const e of s)if(e.scope!="user"&&e.scope!="managed"&&e.projectPath&&r(e.projectPath)==d)o.push(e)}for(const e of s)if(e.scope=="user")o.push(e);console.log(o.find((e)=>f.existsSync(e.installPath)).installPath)}catch(e){}' 2>/dev/null)"; do
[ -n "$_c" ] && [ -d "$_c" ] && PLUGIN_SCRIPTS_DIR="$_c/scripts" && break
done
[ -n "${PLUGIN_SCRIPTS_DIR:-}" ] || { echo "ERROR: plugin not found: set CLAUDE_PLUGIN_DIR or CLAUDE_PLUGIN_ROOT, or install it (see ~/.claude/plugins/installed_plugins.json)" >&2; exit 1; }
# <<< plugin-root preamble
if [ -z "${PIPELINE_CLI_BIN:-}" ]; then
if [ -f "$PLUGIN_SCRIPTS_DIR/resolve-pipeline-cli.sh" ]; then
PIPELINE_CLI_BIN=$(bash "$PLUGIN_SCRIPTS_DIR/resolve-pipeline-cli.sh") || { echo "ERROR: @ai-sdlc/pipeline-cli not found; export PIPELINE_CLI_BIN=/path/to/pipeline-cli/bin" >&2; exit 1; }
else
PIPELINE_CLI_BIN="$(pwd)/pipeline-cli/bin"
fi
fi
if [ -z "$ARGUMENTS" ]; then ARGUMENTS="run --dry-run"; fi
eval "node \"$PIPELINE_CLI_BIN/cli-memory-dream.mjs\" $ARGUMENTS"
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.
- 10d ago Changed 995a3ba2f503
- 12d ago Changed · +6 lines ed13b1b66e74
- 1mo ago Changed · +2 lines b0763295ff23
- 1mo ago First seen · 39 lines · 36 tokens per session scan A b70cea90e7a7
memory-dream is a command published in the GitHub repository ai-sdlc-framework/ai-sdlc (464 stars, last pushed yesterday), licensed Apache-2.0. It adds 36 tokens to every session and 993 once invoked, about $0.0001 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-10-16.
memory-dream compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memory-dreamai-sdlc-framework/ai-sdlc | Command | 464 | yesterday | Apache-2.0 | A | 36 | Claude Code |
| discoverairblackbox/airblackbox | Command | 25 | 9d ago | Apache-2.0 | A | 12 | Claude Code |
| evidenceairblackbox/airblackbox | Command | 25 | 9d ago | Apache-2.0 | A | 14 | Claude Code |
| complyairblackbox/airblackbox | Command | 25 | 9d ago | Apache-2.0 | A | 13 | Claude Code |
| memorylugassawan/swe-workbench | Command | 3 | today | MIT | A | 29 | Claude Code |
| prunearbiterForge/codeArbiter | Command | 155 | 3d ago | AGPL-3.0 | A | 41 | Claude Code |
| review-gokidboy-man/vibe-engineering | Command | 2 | 17d ago | MIT | A | 49 | Claude Code |