alpha-test

A test tool for checking dreamd’s memory system. It runs automated tests for saving, recalling, ranking, and identifying memories across coding agents.

In plain words
What is it for?
Use it to run dreamd’s plumbing and quality test suites, including checks for memory ranking, source attribution, and promotion.
Why use it?
It shows whether dreamd’s memory pipeline works and whether important memories are returned in useful order.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/botzrdev/dreamd/alpha-test
Any agent
npx skills add botzrDev/dreamd --skill alpha-test
Clone the repo
git clone --depth 1 https://github.com/botzrDev/dreamd

Made for: Claude Code, Codex.

Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,094 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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 $0.00108 $0.02094
Opus 5 $0.00054 $0.01047
Sonnet 5 $0.00022 $0.00419
Haiku 4.5 $0.00011 $0.00209

Measured 2d ago against content hash f03ceda87463, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

alpha-test scanned grade C with 1 finding 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 2d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

`rm -rf "$SANDBOX"` in the `cleanup()` trap, re-run, then read
.claude/skills/alpha-test/SKILL.md · 125 lines

How it starts

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

dreamd alpha test

Two automated suites live at scripts/alpha/:

  1. Plumbing (alpha-suite.sh) — proves a learning appended by one harness is recalled by an independent second harness, on both the daemon path (Phase 2) and the no-daemon JSONL-replay path (Phase 1). Uses lexically-unique payloads, so it proves recall happens but says nothing about whether it's good.
  2. Quality (quality-suite.sh + optional quality_judge.py) — proves the memory is actually good through the MCP boundary: salience-weighted ranking, attribution, and dream-cycle promotion (deterministic gate), plus a fuzzy natural-language relevance report (LLM judge). See Quality suite below.

Both are the code-path proof only; the real GUI round-trip (actual Cursor / Claude Code MCP clients + screenshot) is the manual DEMO-4 runbook, out of scope.

Run

cargo build -p dreamd            # both suites run target/debug/dreamd
scripts/alpha/alpha-suite.sh     # plumbing — pass = "7 passed, 0 failed"
scripts/alpha/quality-suite.sh   # quality golden gate — pass = "14 passed, 0 failed"
scripts/alpha/quality_judge.py   # optional LLM-judge relevance report (needs an API key)

Pass = exit 0 and 7 passed, 0 failed. Needs python3 and git on PATH. The suite redirects HOME=$(mktemp -d), so your real ~/.agent daemon, registry, and memory are never touched — it kills the daemon and deletes the sandbox on exit.

The 7 checks (in order)

  • Phase 2 (daemon up): (1) daemon binds its socket; (2) a claude-code append mints an evt_… id; (3) a separate cursor process recalls that write (polls ~18s for the daemon's ~5s index-commit cadence).
  • Boundary: (4) socket is gone after the daemon is killed.
  • Phase 1 (no daemon): (5) a cursor append mints an evt_… id; (6) a fresh process replays the JSONL and recalls it; (7) that replay also recalls the earlier Phase-2 write.

Diagnosing a failure

The sandbox is deleted on exit. To inspect logs, temporarily comment out rm -rf "$SANDBOX" in the cleanup() trap, re-run, then read $SANDBOX/daemon.log (the script prints the sandbox path on the first line).

Read the full file on GitHub · 125 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. 2d ago First seen · 125 lines · 108 tokens per session scan C f03ceda87463

Subscribe to this mod's changes

alpha-test is a skill published in the GitHub repository botzrDev/dreamd (3 stars, last pushed 3d ago), licensed Apache-2.0. It adds 108 tokens to every session and 2,094 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

od-contribute

One-click contribution flow for OpenDesign (nexu-io/open-design) — even for non-coders. Pick one of four cards (ship a Skill or Design System you made with OD; translate docs; fix a typo / write a blog; report a bug), the agent validates and opens a PR (or issue) for you. Trigger words contribute to open design, ship…

nexu-io/open-design · 104 tokens

clinical-case-report

Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds"…

nexu-io/open-design · 73 tokens

critique

Run a 5-dimension expert design review on any HTML artifact in the project — Philosophy / Visual hierarchy / Detail / Functionality / Innovation, each scored 0–10. Outputs a single self-contained HTML report with a radar chart, evidence-backed scores, and three lists: Keep / Fix / Quick-wins. Use when the brief asks…

nexu-io/open-design · 107 tokens

github-dashboard

GitHub repository analytics dashboard — stars, forks, contributors, issues, pull requests, recent activity, and top contributors. Use when the brief asks for a GitHub repo dashboard, open-source growth report, repository health page, or GitHub analytics view.

nexu-io/open-design · 55 tokens

dcf-valuation

Discounted cash flow valuation and intrinsic value analysis for public companies. Use when the brief asks for DCF, fair value, intrinsic value, price target, undervalued or overvalued analysis, or "what is this company worth?".

nexu-io/open-design · 55 tokens

audio-jingle

Audio generation skill — jingles, beds, voiceover, and sound effects. Routes music requests to Suno V5 / Udio / Lyria, speech to MiniMax TTS / FishAudio / ElevenLabs V3, and SFX to ElevenLabs SFX or AudioCraft. Output is one MP3/WAV file saved to the project folder.

nexu-io/open-design · 78 tokens