How timurugulava/lucid works
Lucid is a Claude Code skill that turns source material into a cited, visual explanation as a standalone page or narrated video. Its documented workflow runs from style setup and source capture through an anchored claim map, approval, writing and visual direction, then rendering, quality checks, fact-check, and delivery. The graph combines that documented workflow with the sampled scripts’ concrete generation and validation responsibilities. Most orchestration lives in SKILL.md and references; those unsampled instructions are represented only where the README describes them.
Main entry points: writing-rules.md Explanation script · SKILL.md Skill orchestration · render_video.py Video renderer · scenes_from_script.py Scene generator
Components 24
Explanation workflow
- Skill orchestration
SKILL.md - Style onboarding
references/onboarding.md - Source capture
SKILL.md - Anchored claim map
references/writing-rules.md - Map approval
SKILL.md - Page or video
- File and report
SKILL.md
Authoring guidance
- Explanation script
references/writing-rules.md - Visual forms
references/visual-forms.md - Style presets
references/presets - Page build guidance
references/html-build.md - Video build guidance
references/video-build.md - Fact-check instructions
references/fact-check.md
Media generation
- Scene generator
scripts/scenes_from_script.py - Scene templates
assets/scene-skeleton.html - Gemini voice synthesis
scripts/tts.py - Video renderer
scripts/render_video.py
Quality assurance
- Text checker
scripts/check_text.py - Scene validator
scripts/check_scenes.py - Page validator
scripts/check_page.py - Independent fact-check
references/fact-check.md
Other components
- User
- Gemini TTS
- FFmpeg
Connections 30
- User → Skill orchestration: requests explanation
README.md - Skill orchestration → Style onboarding: sets style
README.md - User → Source capture: provides material
README.md - Skill orchestration → Source capture: captures source
README.md - Source capture → Anchored claim map: grounds claims
README.md - Skill orchestration → Map approval: presents map
README.md - Map approval → Explanation script: authorizes drafting
README.md - Explanation script → Text checker: checks script
README.md - Explanation script → Visual forms: uses forms
README.md - Style onboarding → Style presets: selects style
README.md - Explanation script → Scene generator: provides script
README.md - Scene generator → Scene templates: fills templates
scripts/scenes_from_script.py - Scene generator → Video build guidance: follows scene workflow
README.md - Explanation script → Page build guidance: guides page assembly
README.md - Explanation script → Fact-check instructions: supplies claims
README.md - Video build guidance → Gemini voice synthesis: requests narration
README.md - Gemini voice synthesis → Gemini TTS: requests speech
scripts/tts.py - Gemini voice synthesis → Video renderer: provides audio
README.md - Scene generator → Video renderer: provides scenes
README.md - Video renderer → Scene validator: runs validation
scripts/render_video.py - Video renderer → FFmpeg: encodes video
scripts/render_video.py - Video renderer → Page or video: produces video
README.md - Page build guidance → Page or video: produces page
README.md - Page or video → Page validator: checks page
README.md - Fact-check instructions → Independent fact-check: instructs reviewer
README.md - Independent fact-check → Explanation script: returns corrections
README.md - Scene validator → Video renderer: blocks defective render
README.md - Page validator → Skill orchestration: reports quality
README.md - Skill orchestration → File and report: delivers output
README.md - File and report → User: shares result
README.md