From dream-mentor
**Description**: Maps dream-mentor's memory format to Claude's built-in `/dream` command format, enabling migration when the native feature becomes available.
npx claudepluginhub issacchaos/local-marketplace --plugin dream-mentorThis skill uses the workspace's default tool permissions.
**Description**: Maps dream-mentor's memory format to Claude's built-in `/dream` command format, enabling migration when the native feature becomes available.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides MCP server integration in Claude Code plugins via .mcp.json or plugin.json configs for stdio, SSE, HTTP types, enabling external services as tools.
Description: Maps dream-mentor's memory format to Claude's built-in /dream command format, enabling migration when the native feature becomes available.
Trigger: Used by /mentor migrate subcommand.
Claude Code has a built-in /dream command (currently unreleased or in development). This plugin uses /mentor to avoid name collision. The dream-compat skill provides a bridge so that dream states created with /mentor can be exported to the built-in format when it becomes available.
.claude/dreams/ data is preserved until the user explicitly runs /mentor forgetThe built-in /dream format is not yet fully documented. This skill provides:
/mentor migrateWhen the built-in format is known, only the Format Mapper section below needs updating.
Until the built-in format is documented, /mentor migrate exports dreams as portable JSON:
.claude/dreams/_export/
<dream-name>.json # One file per dream
manifest.json # Export manifest with metadata
{
"schema_version": "1.0.0",
"exported_at": "2026-03-28T10:00:00.000Z",
"exported_by": "dream-mentor-plugin@1.0.0",
"dream": {
"name": "architecture-ref",
"source": {
"type": "github",
"url": "https://github.com/org/repo",
"branch": "main",
"commit": "abc123def456",
"analyzed_at": "2026-03-28T09:00:00.000Z"
},
"layer": {
"priority": 1,
"active": true,
"tags": ["architecture", "patterns"]
},
"analysis": {
"structure": "... full content of structure.md ...",
"patterns": "... full content of patterns.md ...",
"dependencies": "... full content of dependencies.md ...",
"conventions": "... full content of conventions.md ...",
"summary": "... full content of summary.md ..."
}
}
}
{
"schema_version": "1.0.0",
"exported_at": "2026-03-28T10:00:00.000Z",
"dream_count": 2,
"dreams": [
{
"name": "architecture-ref",
"file": "architecture-ref.json",
"source_type": "github",
"priority": 1
},
{
"name": "testing-patterns",
"file": "testing-patterns.json",
"source_type": "local",
"priority": 2
}
]
}
The format mapper transforms portable JSON to the built-in /dream format.
Input: Portable dream JSON (schema above)
Output: Files in the built-in /dream format, written to the correct location
Steps:
1. Read portable JSON
2. Map fields to built-in schema
3. Write to built-in location
4. Validate the output
Until the built-in format is known, the mapper:
.claude/dreams/_export/When the built-in format is documented, update this section with:
/mentor migrate Execution1. Validate dreams exist
- Read DREAMS.md
- If no dreams loaded: error with suggestion to /mentor load first
2. Select dreams to migrate
- --name <name>: single dream
- --all: all active dreams
- Neither: prompt user with AskUserQuestion
3. For each dream:
a. Read all memory files (structure, patterns, deps, conventions, summary)
b. Read source.json and layer.json
c. Assemble portable JSON
d. Run format mapper (currently: write portable JSON)
e. Validate output
4. Write export manifest
5. Display migration summary
- List each dream and its migration status
- Show export location
- Explain next steps
After migration, the user can:
/mentor and built-in /dream side by side/mentor forget --all to remove old format/dream to confirm imported states work/dreamTo detect whether Claude's built-in /dream is available (for future auto-migration prompts):
/dream is registered as a built-in command (not from this plugin)"Claude's built-in /dream is now available. Run /mentor migrate to export your dreams."The portable export format uses schema_version to handle future changes:
1.0.0 — Current: raw markdown analysis content in JSON wrapperThe format mapper should check schema_version and handle older exports gracefully.