dreamlink-analysis-pipeline

Orchestrate dream submission validation, OpenAI analysis, citation extraction, and multi-table storage.

Updated Mar 5, 2025
One-click install
npx skills add https://github.com/linguosity/dreamlink3.0 --skill dreamlink-analysis-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dreamlink-analysis-pipeline
Source: https://github.com/linguosity/dreamlink3.0/tree/main/skills/dreamlink-analysis-pipeline
Command: npx skills add https://github.com/linguosity/dreamlink3.0 --skill dreamlink-analysis-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Orchestrates a production-grade dream analysis workflow by coordinating input validation, persistent caching, user-profile aware prompts, OpenAI reasoning, verse extraction, and multi-table storage to deliver consistent, scalable dream interpretations.

Core Features & Use Cases

  • End-to-end dream submission processing with validation, cache lookup, profile fetch, OpenAI analysis, biblical citation extraction, and storage across dream_entries, chatgpt_interactions, and bible_citations.
  • Asynchronous image generation trigger via the dreamlink-image-gen workflow, enabling non-blocking visualizations once analysis is persisted.
  • Robust error handling and recovery with graceful degradation for cache or OpenAI failures, plus actionable telemetry for monitoring and improvement.

Quick Start

Submit a new dream via the dream submission API and let the pipeline validate, analyze with the OpenAI model, extract biblical references, store results, and trigger image generation.

Frequently Asked Questions about dreamlink-analysis-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an automated dream analysis pipeline with OpenAI and Supabase?

An automated dream analysis pipeline coordinates validation, OpenAI reasoning, and multi-table Supabase storage. It processes dream submissions end-to-end, applying user profile personalization and extracting biblical citations before persisting results.

What is the best way to cache AI dream interpretations in a production database?

Caching AI dream interpretations uses TTL-based cache lookups to prevent redundant OpenAI API calls. The pipeline checks for cache misses, retrieves cached analysis if available, and gracefully degrades to a fresh API call if the cache fails.

How do I extract and store biblical citations from OpenAI text analysis?

Extracting and storing biblical citations from OpenAI analysis involves parsing structured JSON outputs and persisting the verse references. The pipeline saves these extracted references into dedicated database tables alongside the main dream entries.

Can I trigger asynchronous image generation after storing dream analysis results?

Yes, you can trigger asynchronous image generation after storing dream analysis results. The pipeline initiates non-blocking visualizations via the dreamlink-image-gen workflow once the analysis is successfully persisted to the database.

How does error recovery work in an end-to-end dream processing workflow?

Error recovery in a dream processing workflow handles cache and OpenAI failures with graceful degradation. It ensures the pipeline continues operating with actionable telemetry for monitoring, rather than crashing during transient service disruptions.

Do I need user profiles to personalize AI-generated dream interpretations?

User profiles are required to personalize AI-generated dream interpretations. The pipeline fetches user data to adjust the reading level and tailor the OpenAI prompts, ensuring the final analysis matches the submitter's specific context.