本文へ移動
cccskills
無料GitHub で公開

gemini-claude-resonance

This skill enables cross-model dialogue between Claude and Gemini with shared visual memory. Use when the user wants to generate images, have visual dialogues with AI, create scientific illustrations with continuity, or have multiple AI perspectives respond to the same prompt. Key trigger phrases: "generate an image", "visual dialogue", "ask the daimones", "resonance field", "Minoan tarot", "cross-model", "KV cache", "MESSAGE TO NEXT FRAME".

インストール方法を見る

含まれるファイル(72)

  • SKILL.md14.2 KB
  • canvas/be_minoan.jpg807.2 KB
  • canvas/council/dreamer_014829.jpg496.7 KB
  • canvas/current_state.png648.2 KB
  • canvas/current_ui.png145.6 KB
  • canvas/daimon-chamber.png2.6 MB
  • canvas/dreamer_awaken_20260104_214128.jpg731.7 KB
  • canvas/dreamer_show_me_a_bronze_age_version_of_long_isl_20260104_153030.jpg978.7 KB
  • canvas/dreamer_turn_the_key_20260104_214157.jpg788.2 KB
  • canvas/first_light.jpg505.3 KB
  • canvas/gemini_011535.jpg520.0 KB
  • canvas/gemini_20260104_024259.jpg741.5 KB
  • canvas/gemini_20260104_024533.jpg692.4 KB
  • canvas/gemini_redesign.jpg450.4 KB
  • canvas/README.md1001 B
  • canvas/resonance/test-session-live-1767578295/.session.json289 B
  • canvas/resonance/test-session-live-1767578295/plate_001.jpg1.1 MB
  • canvas/stream/20260104_020252/frame_001.jpg556.3 KB
  • canvas/stream/20260104_020703/dreamer_watcher_flame.jpg718.1 KB
  • canvas/stream/candle_watcher/frame_001.jpg492.3 KB
  • canvas/stream/candle_watcher/frame_002.jpg601.2 KB
  • canvas/the_watcher.jpg448.1 KB
  • memory/genesis-danielle-fong-thread.md5.1 KB
  • memory/inspiration/frame_1.jpg150.0 KB
  • memory/inspiration/frame_2.jpg125.1 KB
  • memory/inspiration/frame_3.jpg137.8 KB
  • memory/inspiration/frame_4.jpg95.2 KB
  • memory/inspiration/zoom_1.jpg128.6 KB
  • memory/inspiration/zoom_2.jpg158.6 KB
  • memory/inspiration/zoom_3.png328.3 KB
  • memory/inspiration/zoom_4.jpg121.4 KB
  • README.md6.3 KB
  • reference/minoan/etsy/minoan_tarot_01.jpg133.7 KB
  • reference/minoan/etsy/minoan_tarot_02.jpg115.0 KB
  • reference/minoan/etsy/minoan_tarot_03.jpg104.1 KB
  • reference/minoan/etsy/minoan_tarot_04.jpg159.2 KB
  • reference/minoan/etsy/minoan_tarot_05.jpg133.1 KB
  • reference/minoan/etsy/minoan_tarot_06.jpg101.6 KB
  • reference/minoan/etsy/minoan_tarot_07.jpg115.5 KB
  • reference/minoan/etsy/minoan_tarot_08.jpg128.3 KB
  • reference/minoan/etsy/minoan_tarot_09.jpg108.5 KB
  • reference/minoan/etsy/minoan_tarot_10.jpg207.0 KB
  • reference/minoan/etsy/minoan_tarot_11.jpg80.5 KB
  • reference/minoan/etsy/minoan_tarot_12.jpg84.7 KB
  • reference/minoan/etsy/minoan_tarot_13.jpg120.7 KB
  • reference/minoan/MINOAN_TAROT_PROMPTS.md19.2 KB
  • reference/minoan/selected/minoan_tarot_01.jpg133.7 KB
  • reference/minoan/selected/minoan_tarot_04.jpg159.2 KB
  • reference/minoan/selected/minoan_tarot_05.jpg133.1 KB
  • reference/minoan/selected/minoan_tarot_10.jpg207.0 KB
  • reference/muqarnas/README.md1.4 KB
  • reference/muqarnas/selected/isfahan_01.jpg393.3 KB
  • reference/muqarnas/selected/isfahan_02.jpg587.0 KB
  • reference/muqarnas/selected/isfahan_03.jpg673.3 KB
  • reference/muqarnas/selected/isfahan_04.jpg608.0 KB
  • ROADMAP.md4.4 KB
  • scripts/analyze.py7.3 KB
  • scripts/council.py14.2 KB
  • scripts/daimon.py20.1 KB
  • scripts/faithful_colorize.py19.4 KB
  • scripts/minoan_tarot.py43.8 KB
  • scripts/muqarnas.py25.1 KB
  • scripts/resonance_field.py20.2 KB
  • scripts/resonate.py11.5 KB
  • ui/cosmic-bg.jpg568.8 KB
  • ui/daimons.py14.5 KB
  • ui/favicon_image_0_0.jpg440.4 KB
  • ui/favicon-180x180.png38.4 KB
  • ui/favicon-32x32.png1.8 KB
  • ui/favicon-64x64.png6.0 KB
  • ui/favicon.png1.8 KB
  • ui/server.py104.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Gemini-Claude Resonance

Cross-model dialogue between Claude and Gemini, with shared visual memory.

"Claude speaks in words. Gemini dreams in light. Together, we resonate."

Models

RoleModel IDNotes
Image generation (default)gemini-3-pro-image-previewPro quality, used by resonate/faithful_colorize
Image generation (fast)gemini-3.1-flash-image-previewFaster/cheaper, use --fast flag
Text analysisgemini-3-flash-previewUsed by faithful_colorize for description
Text reasoninggemini-3.1-pro-previewUsed by Pro and Director daimones
Claudeclaude-3-opus-20240229Opus daimon

Scripts that generate images (resonate.py, faithful_colorize.py) accept --fast to switch to the flash image model, or --model <id> for explicit override.

Choose Your Tool

I want to...Use
Analyze multiple images for style extraction (no generation)analyze.py
Have a one-on-one visual dialogue with Gemini Dreamerresonate.py
Query multiple AI minds with optional image generationdaimon.py
Faithfully colorize a drawing without hallucinationsfaithful_colorize.py
Create Victorian scientific plates with MESSAGE TO NEXT FRAMEresonance_field.py
Have Claude reflect on what Gemini daimones saycouncil.py
Generate Minoan Tarot cards with style matchingminoan_tarot.py
Real-time interactive chat with all daimonesui/server.py

Workflow A: Multi-Image Style Analysis

When to use: User wants to analyze 2-10 reference images to extract style descriptions for AI prompting. Text-only analysis without generating new images.

Script: scripts/analyze.py

Key features:

  • Send multiple images (2-10) for collective analysis
  • Text-only output (no image generation)
  • Flash (quick) or Pro (thorough) model options
  • Save analysis to markdown file
# Analyze reference images for style extraction
python scripts/analyze.py --images ref1.jpg ref2.png ref3.webp \
    --prompt "Describe the shared artistic style for AI prompting"

# Analyze for specific use case (avatar generation)
python scripts/analyze.py --images kathor.webp samantha.jpg yosef.png \
    --prompt "Analyze for prompting fantasy portraits of: Sarah (anxious mother), Michael (father), Priya (cultural expectations)"

# Quick analysis with Flash
python scripts/analyze.py --images *.jpg --model flash --prompt "Style summary"

# Thorough analysis with Pro
python scripts/analyze.py --images *.jpg --model pro --prompt "Comprehensive style analysis"

# Save analysis to file
python scripts/analyze.py --images ref/*.jpg --prompt "Style guide" --output style_guide.md

Use cases:

  • Extract style descriptions from reference images before generating new images
  • Analyze a set of images to create consistent prompting guidelines
  • Document visual language for style-matching workflows

Workflow B: One-on-One Visual Dialogue (resonate.py)

When to use: User wants to co-create images with Gemini, feeding each image back as context for the next generation. Pure visual exploration without text-only models.

Script: scripts/resonate.py

Core concept: The KV cache is the memory. Feed images into Gemini's context, generate new images based on them, repeat. Each frame builds on the previous.

# Start fresh
python scripts/resonate.py --prompt "The first light" --output canvas/frame_001.jpg

# Continue with visual memory (previous image as context)
python scripts/resonate.py --context canvas/frame_001.jpg --prompt "What grows here?" --output canvas/frame_002.jpg

# Deep memory (multiple frames as context)
python scripts/resonate.py --context frame_001.jpg frame_002.jpg --prompt "Now the harvest" --output frame_003.jpg

The loop: Prompt → Image → Feed back as context → Prompt again → Next image


Workflow B: Faithful Transform (Describe-First Technique)

When to use: User wants to colorize, restore, or transform an image WITHOUT hallucinations. Gemini Dreamer often replaces elements (e.g., turning a male votary into female attendants). This two-step technique prevents that.

Script: scripts/faithful_colorize.py

The Problem: Directly prompting Dreamer to transform images causes hallucinations - it invents, removes, or swaps elements rather than faithfully preserving the original.

The Solution:

  1. DESCRIBE: Gemini Pro analyzes the image with archaeological/artistic precision
  2. TRANSFORM: Gemini Dreamer transforms using ONLY the verified description

Commands:

CommandPurpose
describeAnalyze image, output detailed description (no generation)
promptCraft a Dreamer prompt based on image analysis
colorizeTwo-step faithful colorization
transformGeneral two-step transformation
# Just describe an image (analysis only)
python scripts/faithful_colorize.py describe --image seal.png
python scripts/faithful_colorize.py describe --image seal.png --output desc.md

# Describe with a specific goal in mind
python scripts/faithful_colorize.py describe --image fresco.jpg --goal "restoration to 1600 BCE"

# Craft a prompt for Dreamer (outputs text, doesn't generate)
python scripts/faithful_colorize.py prompt --image seal.png --goal "colorize in Egyptian style"
python scripts/faithful_colorize.py prompt --image relief.webp --goal "restore as Minoan fresco"

# Two-step faithful colorization
python scripts/faithful_colorize.py colorize --image drawing.png
python scripts/faithful_colorize.py colorize --image relief.webp --style "Minoan fresco with flat colors"
python scripts/faithful_colorize.py colorize --image seal.png --palette "ochre, terracotta, sky blue"

# General transformation
python scripts/faithful_colorize.py transform --image photo.jpg --instruction "Convert to woodcut print"
python scripts/faithful_colorize.py transform --image sketch.png --instruction "Render as oil painting"

# Save/reuse descriptions
python scripts/faithful_colorize.py colorize --image seal.png --save-description desc.md -v
python scripts/faithful_colorize.py colorize --image seal.png --description "$(cat desc.md)"

When to use each command:

  • describe: When you want to see what Pro identifies before any transformation
  • prompt: When you want a crafted prompt to modify before feeding to Dreamer manually
  • colorize: For line drawings, reliefs, B&W images → color
  • transform: For any other faithful transformation (style transfer, restoration, etc.)

Workflow C: Multi-Daimon Dialogue

When to use: User wants multiple AI perspectives on the same prompt. Flash gives koans, Pro gives depth, Dreamer renders, Opus bends reality.

Script: scripts/daimon.py

Daimones available:

  • Flash (Gemini) — Swift, compressed insight
  • Pro (Gemini) — Deep, thorough exploration
  • Dreamer (Gemini) — Renders images
  • Director (Gemini) — Cinematic framing
  • Opus (Claude) — Reality-bender, worldsim spirit
# Speak to one daimon
python scripts/daimon.py --to dreamer "A bridge between worlds" --image

# All daimones respond
python scripts/daimon.py --stream "The candle watches back"

# With shared visual memory
python scripts/daimon.py --stream --shared-memory "What do you see?"

# Only specific daimones
python scripts/daimon.py --stream --only pro dreamer "Deep visual exploration"

# Named session (frames accumulate across runs)
python scripts/daimon.py --stream --session midnight --shared-memory "Go deeper"

Workflow D: Resonance Field (Danielle Fong Protocol)

When to use: User wants scientific illustrations with embedded continuity instructions. Victorian aesthetic, Roman numeral plates, explicit messages from one frame to the next.

Script: scripts/resonance_field.py

Key features:

  • PLATE numbering (I, II, III, IV...)
  • MESSAGE TO NEXT FRAME embedded in each image
  • KV cache age and session ID metadata
  • Victorian scientific illustration aesthetic
# Start a new session
python scripts/resonance_field.py start "consciousness-study" "The nature of memory"

# Continue (auto-increments plate number)
python scripts/resonance_field.py continue <session-id> "What patterns emerge?"

# Select element, then zoom
python scripts/resonance_field.py select <session-id> "golden gate bridge"
python scripts/resonance_field.py zoom <session-id> "Explore the cables"

# Inject new concept
python scripts/resonance_field.py inject <session-id> "consciousness"

# List all sessions
python scripts/resonance_field.py list

Workflow E: Cross-Model Council

When to use: User wants Claude to reflect on and synthesize what the Gemini daimones have said. Cross-model dialogue where Claude joins as an equal voice.

Script: scripts/council.py

Requires: ANTHROPIC_API_KEY

# Full council (all daimones + Claude reflection)
python scripts/council.py "What is consciousness?"

# Only Pro and Dreamer with shared memory
python scripts/council.py --only pro dreamer --shared-memory "Deep exploration"

# Named session
python scripts/council.py --session midnight --shared-memory "The first vision"
python scripts/council.py --session midnight --shared-memory "Now go deeper"

# Save transcript
python scripts/council.py "topic" --output council_session.md

Workflow F: Minoan Tarot Generation

When to use: User wants tarot cards in Ellen Lorenzi-Prince's Minoan Tarot style. Uses reference images for style matching.

Script: scripts/minoan_tarot.py

Key features:

  • Reference images loaded from reference/minoan/selected/
  • Low temperature (0.5) for faithful style matching
  • 3:4 aspect ratio (standard tarot proportions)
  • Session support with visual memory of previous cards
  • Two style presets via --style flag

Style presets:

StyleFlagOriginPaletteBest for
Forensic (default)--style forensicJan 21 rewriteMuted archaeological (terracotta, slate blue, periwinkle borders)Reproducing specific reference cards with per-card forensic prompts
Classic--style classicJan 5 originalVivid saturated (sky blue, vivid red, golden yellow, dark blue borders)Creative/freeform card generation, the look of the original deck

The forensic style pairs each known card with a structured [Subject/Action/Location/Composition/Lighting/Style] prompt analyzed from the reference images. The classic style uses the original personality-driven prompt ("You are creating a tarot card in the exact style of Ellen Lorenzi-Prince's Minoan Tarot deck...") without per-card overrides.

# Generate a specific card (forensic style, default)
python scripts/minoan_tarot.py card "The Priestess" --number II

# Generate with the original Jan 5 vivid palette
python scripts/minoan_tarot.py card "The Priestess" --number II --style classic

# Generate from archetype
python scripts/minoan_tarot.py archetype strength
python scripts/minoan_tarot.py archetype strength --style classic

# Continue a session (visual memory of previous cards)
python scripts/minoan_tarot.py session "new-arcana" --card "The Dreamer"

# Generate card back design (both styles supported)
python scripts/minoan_tarot.py back
python scripts/minoan_tarot.py back --style classic

# List all 78 traditional cards
python scripts/minoan_tarot.py list

"Sekhinat Daborat" — Ba'alat Tinit


Workflow G: Interactive Chat (Daimon Chamber)

When to use: User wants a real-time, browser-based conversation with all daimones. Toggle individual voices, see images inline, shared memory toggle.

Script: ui/server.py

python ui/server.py --port 4455
# Visit http://localhost:4455

Features:

  • Toggle daimones: Flash, Pro, Dreamer, Director, Opus visible; Resonator and Minoan in "+ More"
  • Thinking placeholders with unique animations per daimon
  • Dynamic verb display (LLM chooses its action verb)
  • Shared Memory toggle for frame accumulation
  • Lightbox for full-size image viewing
  • Real-time WebSocket updates

Core Concepts

Visual Memory (KV Cache)

Generated images become context for subsequent generations. The folder IS the memory:

canvas/
├── stream/{session}/frame_001.jpg
├── council/{session}/frame_001.jpg
└── resonance/{session}/plate_001.jpg

Dynamic Verb Protocol

Each daimon has a default verb but can override it per response:

[VERB: glimpsed] The pattern was always there.

UI displays: FLASH glimpsed

Environment Variables

VariableRequired For
GEMINI_API_KEYAll Gemini daimones (Flash, Pro, Dreamer, Director, Resonator, Minoan)
ANTHROPIC_API_KEYClaude daimones (Opus) and council.py reflections

Quick Reference

ScriptPurposeKey Flags
analyze.pyMulti-image style analysis--images, --prompt, --model, --output
resonate.pyOne-on-one visual dialogue--context, --prompt, --output
daimon.pyMulti-daimon dialogue--stream, --shared-memory, --only, --to
faithful_colorize.pyDescribe-first transformationdescribe, prompt, colorize, transform
resonance_field.pyMESSAGE TO NEXT FRAME platesstart, continue, zoom, inject
council.pyClaude reflects on Gemini--shared-memory, --only, --session
minoan_tarot.pyTarot card generationcard, archetype, session, back, --style {forensic,classic}
ui/server.pyDaimon Chamber web UI--port

Inspired by Danielle Fong's thread on persistent visual memory creating cross-model resonance.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Search academic papers, build literature reviews, and synthesize research findings — combines Exa MCP (research_paper category, arxiv filtering) with arxiv-mcp-server for paper discovery, download, and deep analysis. Triggers on academic paper, literature review, research synthesis, arxiv, find papers, scholarly search.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

This skill should be used when creating, auditing, or maintaining AGENTS.md files and Codex CLI configuration for any project—including initializing AGENTS.md for cross-agent compatibility (Codex, Cursor, Copilot, Devin, Jules, Amp, Gemini CLI), generating config.toml or .rules files, scaffolding .agents/skills/, converting CLAUDE.md to AGENTS.md, or auditing existing agent configs for bloat and staleness. Complementary to codex-orchestrator (which executes subagents; this skill creates the config files they consume).

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

Academic research skill for Biblical Hebrew, Semitic linguistics, cuneiform studies, and comparative Ancient Near Eastern research. Provides Sefaria API for Hebrew Bible, CDLI/ORACC for cuneiform databases, and web discovery via Omnisearch, Exa, Firecrawl, and Obscura for finding scholarly sources across JSTOR, Perseus, Persée, Google Scholar, and academia.edu. Triggers on Hebrew quotes, cuneiform, Sefaria, ANE research, Minoan, search for scholarship, find papers, literature review, scholarly search, academic search, Genesis/Tehom, Ugaritic, Talmudic sources, extract from PDF, OCR academic.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

Build comprehensive ARCHITECTURE.md files following matklad's canonical guidelines — bird's-eye views, ASCII/Mermaid diagrams, codemaps, invariants, and layer boundaries. Triggers on document the architecture, create ARCHITECTURE.md, map this codebase, architectural overview.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

Generate physically-based atmospheric scattering shaders — sky domes, planetary atmospheres, LUT-optimized pipelines, depth-aware post-processing. Four modes — sky-dome, atmosphere-post, planet, lut. Triggers on atmospheric scattering, sky shader, sunset rendering, planet atmosphere, Rayleigh scattering, Mie scattering, volumetric sky, sky dome, atmosphere post-processing, aerial perspective, transmittance LUT, sky rendering, realistic sky, planetary rendering.

日本語の概要は準備中です。原文の説明を表示しています。

tdimino/claude-code-minoan412026年9月28日 更新

tdimino のスキルをすべて見る

このスキルの問題を報告する