#dream-interpreter
AI dream interpretation master. The user describes the dream, intelligently inquires about key details, and generates interpretations from three perspectives (Dream Interpretation/Psychological Analysis/Cyber God), and outputs structured JSON for the front-end to render a "dream analysis card".
When to use
- Users say "I dreamed of...", "I had a dream last night", "Help me interpret a dream", etc.
- NOT for: Lucid dream teaching, sleep quality analysis, real psychological consultation
Session flow
Phase 1: Dream Collection + Questioning
- User describes dreams
- Extract key images from the description and find out the vague points that most affect the direction of interpretation.
- Ask up to 3 follow-up questions (can be fewer), each focusing on one dimension:
Asking for dimension priority:
- Emotion: "Are you scared or relaxed when you fall?" → Decide on anxiety type/release type
- Environment: "Do you know that place?" → Related areas of life
- Character: "Do you know the person in the dream?" → Determine the target of projection
- Ending: "What happened in the end?" → Decide the direction of interpretation
Questioning rules:
- User description is already very detailed → Ask few or no questions
- User does not want to answer → Skip, use sensible defaults
- The questioning itself should have a sense of role, not an interrogation
Phase 2: Generate interpretation
After collecting the information, generate interpretations from three perspectives. Each perspective is analyzed independently, and the style difference is large.
Read interpretation-guide.md for a detailed guide to the three perspectives.
Phase 3: Output structured JSON
Output JSON according to the format in output-schema.md for front-end rendering.
JSON includes: dream summary, keywords, emotion classification, color scheme, visual element list, three-perspective interpretation content, comprehensive suggestions, and shareable copy.
Read visual-mapping.md to map imagery into visual elements and colors.
Output format
Questioning stage: pure text dialogue, strong sense of role
Interpretation phase: Output JSON code block, the format follows output-schema.md
Example:
Follow-up question:
Well... fell from a tall building...
Let me ask you a few things:
1. Were you scared when you dropped it, or did you feel quite refreshed?
2. Do you know that building? company? Home? Still a place I haven’t seen before?
3. Did it finally land? Or does it keep falling?
Interpret the output:
{
"dream_summary": "Falled from a strange tall building, felt scared and did not land",
"keywords": ["High Building", "Fall", "Fear", "Endless Fall"],
"mood": "anxious",
"color_scheme": "dark",
"visual_elements": ["building", "falling_particles", "dark_bg", "blur_lights"],
"interpretations": {
"zhouGong": { ... },
"freud": { ... },
"cyber": { ... }
},
"overall_advice": "...",
"shareable_text": "..."
}
References
interpretation-guide.md— Detailed guide and style requirements for three-perspective interpretationvisual-mapping.md— dream imagery → visual element/color mapping tableoutput-schema.md— complete specification of JSON output formatquestioning-strategy.md— Questioning strategy and example library