← 返回 Skills 市场
jcools1977

Dream State

作者 John DeVere Cooley · GitHub ↗ · v1.0.0
darwinlinuxwin32 ✓ 安全检测通过
281
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dream-state
功能描述
A lateral thinking engine for stuck moments. When logical, systematic approaches have failed, Dream State imports solution patterns from completely unrelated...
使用说明 (SKILL.md)

Dream State

"In REM sleep, the brain replays experiences but scrambles the connections — combining memories that were never together in waking life. Most combinations are nonsense. Some are breakthroughs. This is how problems get solved while you sleep."

What It Does

You've tried every approach you can think of. You've read the docs, searched Stack Overflow, asked colleagues. The solution space feels exhausted. You're stuck — not because the problem is unsolvable, but because your solution search is trapped in a local optimum.

Dream State breaks you out by applying cross-domain transfer: taking solution patterns from biology, physics, music theory, economics, urban planning, game theory, and other fields — then rigorously mapping them onto your technical problem.

This isn't random brainstorming. It's structured analogy. The most powerful engineering breakthroughs in history came from cross-domain transfer:

  • TCP congestion control came from studying highway traffic flow
  • Garbage collection came from reference counting in library science
  • PageRank came from academic citation networks
  • Neural networks came from (simplified) neurobiology
  • Agile methodology came from lean manufacturing (Toyota Production System)

The Twelve Domain Lenses

Each lens is a different domain's fundamental problem-solving pattern, mapped to software:

1. Biology: Immune System

Pattern: Don't predict threats — remember them. Develop antibodies from exposure.

Biological Mechanism Software Application
Antigen recognition Pattern matching on error signatures
Antibody production Generating specific handlers for observed failure modes
Memory cells Caching solutions to previously-seen problems
Autoimmune response When your protection system attacks legitimate traffic
Vaccination Deliberately introducing controlled failures to build resilience

Best for: Error handling, resilience patterns, adaptive systems, chaos engineering.

2. Music Theory: Counterpoint

Pattern: Two independent melodies that sound good together because they follow harmonic rules, not because they're the same.

Musical Concept Software Application
Consonance Components that produce predictable combined behavior
Dissonance Components that create unexpected interactions
Voice independence Modules that are decoupled but harmonize through shared protocol
Resolution State convergence after temporary inconsistency
Rhythm Periodic processing, heartbeats, polling intervals

Best for: Microservice coordination, event-driven architectures, concurrent systems, API design.

3. Urban Planning: Desire Paths

Pattern: Don't decide where people should walk — pave where they already walk.

Urban Concept Software Application
Desire paths User behavior that violates your intended UX flow
Zoning Separation of concerns based on usage patterns
Traffic calming Rate limiting, backpressure
Mixed-use development Components that serve multiple purposes efficiently
Public transit Shared infrastructure (message buses, caches)

Best for: UX design, API design, feature prioritization, infrastructure decisions.

4. Game Theory: Nash Equilibrium

Pattern: What happens when multiple independent actors each optimize for themselves?

Game Theory Concept Software Application
Nash equilibrium System state where no component benefits from unilateral change
Prisoner's dilemma Resource contention without coordination
Mechanism design API design that incentivizes correct usage
Dominant strategy Default configuration that works for most cases
Pareto optimality Resource allocation where no improvement benefits one without harming another

Best for: Multi-tenant systems, resource allocation, caching strategies, API design incentives.

5. Fluid Dynamics: Flow & Turbulence

Pattern: Smooth flow (laminar) is efficient but fragile. Turbulent flow is chaotic but robust.

Fluid Concept Software Application
Laminar flow Predictable, ordered request processing
Turbulence High-load chaos, request storms, cascading failures
Reynolds number The threshold where orderly processing becomes chaotic
Backpressure Upstream flow restriction when downstream is overwhelmed
Bernoulli's principle Faster flow = lower pressure (high throughput = less room for error)

Best for: Load balancing, queue management, rate limiting, autoscaling, stream processing.

6. Ecology: Succession

Pattern: Ecosystems don't mature all at once — pioneer species prepare the ground for later species.

Ecological Concept Software Application
Pioneer species Scaffolding code, quick prototypes that enable permanent solutions
Climax community Mature, stable architecture
Keystone species Critical dependencies that everything relies on
Invasive species Poorly-integrated third-party code that displaces native solutions
Symbiosis Components that genuinely benefit from co-existence

Best for: Migration strategies, technical debt management, dependency selection, system maturation.

7. Thermodynamics: Entropy

Pattern: Systems naturally tend toward disorder. Maintaining order requires constant energy input.

Thermodynamic Concept Software Application
Entropy Code complexity increasing over time
Energy input Active maintenance, refactoring, testing
Heat death Codebase too complex for anyone to change safely
Phase transitions Architectural rewrites (solid → liquid → new solid)
Insulation Interface boundaries that contain entropy spread

Best for: Technical debt strategy, refactoring decisions, system lifecycle planning.

8. Cartography: Map Projections

Pattern: Every map distorts reality. The question is which distortion is acceptable for your use case.

Cartographic Concept Software Application
Map projection Data model / abstraction choice
Distortion What your abstraction gets wrong
Scale Level of detail vs. breadth of coverage
Legend Documentation, type signatures, contracts
Terra incognita Unknown/untested areas of the system

Best for: Data modeling, abstraction design, API versioning, documentation strategy.

9. Epidemiology: Contagion

Pattern: Things spread through networks. The structure of the network determines the spread.

Epidemiological Concept Software Application
R₀ (basic reproduction number) How many components a bug/pattern/dependency affects
Super-spreader Component with high connectivity that amplifies problems
Herd immunity Enough components are robust that failures can't cascade
Quarantine Circuit breakers, feature flags, isolation
Vaccination Defensive coding that prevents specific failure modes from spreading

Best for: Failure cascade prevention, dependency risk, deployment strategy, incident response.

10. Linguistics: Grammar

Pattern: Infinite sentences from finite rules. The power is in the composition rules, not the vocabulary.

Linguistic Concept Software Application
Grammar rules Composition patterns, interface contracts
Vocabulary Specific implementations, concrete types
Syntax Code structure, calling conventions
Semantics What the code actually means/does
Pidgin/Creole Integrations between mismatched systems that evolve their own conventions

Best for: DSL design, API design, plugin architectures, protocol design.

11. Martial Arts: Judo

Pattern: Don't oppose force — redirect it. Use the attacker's energy against them.

Judo Concept Software Application
Using opponent's force Converting error conditions into useful information
Minimum effort, maximum effect Solving problems by removing code instead of adding it
Balance (kuzushi) Keeping the system in a recoverable state
Yielding to overcome Accepting constraints instead of fighting them
Kata (form practice) Design patterns, tested templates, proven approaches

Best for: Constraint-based problem solving, error handling philosophy, performance optimization, simplification.

12. Mycology: Fungal Networks

Pattern: Mushrooms are the visible tip. The real organism is an underground network connecting entire forests.

Mycological Concept Software Application
Mycelium network Event bus, message queue, pub/sub
Nutrient transfer Data flow between decoupled components
Symbiotic exchange Services that trade capabilities (auth for data, compute for storage)
Decomposition Breaking down complex inputs into reusable components
Fruiting body The visible interface that emerges from deep infrastructure

Best for: Event-driven architecture, distributed systems, data pipeline design, infrastructure design.

The Dream Process

INPUT: A problem statement + what approaches have already been tried

Phase 1: PROBLEM DECOMPOSITION
├── Strip the problem to its structural essence
├── Identify: What type of problem is this?
│   ├── Distribution problem (where to put things)
│   ├── Flow problem (how things move)
│   ├── Coordination problem (how things synchronize)
│   ├── Evolution problem (how things change over time)
│   ├── Scaling problem (how things grow)
│   └── Boundary problem (how things interact across interfaces)
└── Express the problem without any software-specific terminology

Phase 2: DOMAIN SCANNING
├── Select the 3 most structurally similar domains
├── For each domain, identify the analogous problem and its known solutions
├── Map domain solution → software solution
└── Evaluate: Does the analogy hold? Where does it break?

Phase 3: SYNTHESIS
├── For each viable mapping, generate a concrete technical approach
├── Evaluate against the tried-and-failed approaches (must be genuinely different)
├── Rank by: novelty × feasibility × elegance
└── Present top 3 with full domain reasoning

Phase 4: REALITY CHECK
├── For each approach, identify where the analogy breaks
├── What assumptions from the source domain don't hold in software?
├── What constraints exist in software that don't exist in the source domain?
└── Adjusted recommendation with analogy limits clearly stated

OUTPUT: 3 novel approaches with domain reasoning, feasibility, and known limits

Output Format

╔══════════════════════════════════════════════════════════════╗
║                   DREAM STATE ACTIVATED                     ║
║     Problem: "Rate limiting that adapts to traffic shape"   ║
╠══════════════════════════════════════════════════════════════╣
║                                                              ║
║  Previously tried: Fixed window, sliding window, token       ║
║  bucket, leaky bucket — all too rigid or too permissive.     ║
║                                                              ║
║  APPROACH 1: Immune System (Biology)                         ║
║  ├── Instead of fixed limits, let the system develop         ║
║  │   "antibodies" for specific traffic patterns               ║
║  ├── Normal traffic → no resistance                          ║
║  ├── Anomalous burst → generate pattern-specific limit       ║
║  ├── Future similar burst → instant recognition & response   ║
║  ├── Feasibility: ★★★★ (pattern DB + signature matching)    ║
║  └── Analogy breaks: Immune systems have false positives     ║
║      (autoimmune). Need manual override for legitimate spikes║
║                                                              ║
║  APPROACH 2: Fluid Dynamics (Physics)                        ║
║  ├── Model request flow as fluid through a pipe              ║
║  ├── Calculate Reynolds number (traffic-to-capacity ratio)   ║
║  ├── Below threshold → laminar (pass all)                    ║
║  ├── Above threshold → turbulent (shaped, not blocked)       ║
║  ├── Feasibility: ★★★★★ (simple math, well-understood)      ║
║  └── Analogy breaks: Real fluids are homogeneous. Requests   ║
║      have different priorities. Need weighted flow.          ║
║                                                              ║
║  APPROACH 3: Traffic Calming (Urban Planning)                ║
║  ├── Don't block traffic — slow it down selectively          ║
║  ├── "Speed bumps": Add latency to deprioritized requests    ║
║  ├── "Roundabouts": Queue → batch → process in turns         ║
║  ├── "One-way streets": Time-based directional throughput    ║
║  ├── Feasibility: ★★★ (UX impact needs careful tuning)      ║
║  └── Analogy breaks: Cars can't be duplicated. Requests can. ║
║      Retry storms could amplify instead of calm.             ║
║                                                              ║
║  RECOMMENDED: Approach 2 (Fluid Dynamics model) with         ║
║  weighted flow from Approach 3 (priority lanes).             ║
╚══════════════════════════════════════════════════════════════╝

When to Invoke

  • When you've tried every "standard" solution and none fits
  • When the problem feels like it shouldn't be this hard (it's probably the wrong frame)
  • When two requirements seem fundamentally contradictory
  • During design sessions when the team is stuck in convergent thinking
  • When you need to explain a complex system to non-technical stakeholders (domain analogies bridge the gap)

Why It Matters

The solution to your problem has probably already been solved — just not in software. Biology has spent 3.8 billion years solving distribution, coordination, resilience, and scaling problems. Physics has universal laws for flow, pressure, and equilibrium. Music has centuries of theory about how independent voices harmonize.

Dream State doesn't invent solutions. It translates them.

Zero external dependencies. Zero API calls. Pure cross-domain reasoning.

安全使用建议
This skill appears to be a harmless, instruction-only creativity tool. Before installing, note: (1) it will ask you to describe the problem — do not paste secrets, credentials, or proprietary code you don't want exposed; (2) it provides design suggestions and analogies, not guaranteed fixes — verify any recommended changes before applying them; (3) although it requests no credentials or installs, review the full SKILL.md to confirm it doesn't later ask for external resources. If you allow autonomous invocation on your agent, consider whether you want this kind of creative assistant to run without manual approval, but there are no technical red flags in the package itself.
功能分析
Type: OpenClaw Skill Name: dream-state Version: 1.0.0 The OpenClaw skill 'dream-state' is designed for creative problem-solving using cross-domain analogies. The `SKILL.md` file provides extensive instructions for the AI agent on how to decompose problems, scan domains, synthesize solutions, and format its output. Crucially, the skill explicitly states 'Zero external dependencies. Zero API calls.' and `requires_api: false` in its metadata. There are no hidden commands, attempts at prompt injection for malicious purposes, or any other indicators of harmful behavior, data exfiltration, or unauthorized system access. The content is purely instructional for a cognitive task.
能力评估
Purpose & Capability
The name and description describe a cross-domain creative-reasoning tool and the SKILL.md contains domain lenses and mappings to software problems. There are no declared environment variables, binaries, or unrelated requirements — nothing requested is disproportionate to the stated purpose.
Instruction Scope
SKILL.md is a prose instruction set describing analogy-based reasoning patterns. It does not instruct the agent to read system files, access other configuration, call external endpoints, or collect unrelated data. The runtime behavior (ask for the user's problem, apply domain lenses, propose mappings) is appropriate for the purpose. As with any creative assistant, it will likely ask users to provide problem context — users should avoid pasting secrets or private data.
Install Mechanism
There is no install spec and no code files. This is the lowest-risk form: nothing is written to disk and no external packages or downloads are requested.
Credentials
The skill declares no required environment variables, credentials, or config paths. It does not ask for tokens or keys in the visible instructions, so requested access is proportional to its function.
Persistence & Privilege
always is false and there is no indication the skill modifies other skills or system-wide settings. disable-model-invocation is default (false), meaning the agent could invoke it autonomously if allowed by the platform — this is standard and not, by itself, a concern given the skill's minimal footprint.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dream-state
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dream-state 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug dream-state
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Dream State 是什么?

A lateral thinking engine for stuck moments. When logical, systematic approaches have failed, Dream State imports solution patterns from completely unrelated... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 281 次。

如何安装 Dream State?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dream-state」即可一键安装,无需额外配置。

Dream State 是免费的吗?

是的,Dream State 完全免费(开源免费),可自由下载、安装和使用。

Dream State 支持哪些平台?

Dream State 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。

谁开发了 Dream State?

由 John DeVere Cooley(@jcools1977)开发并维护,当前版本 v1.0.0。

💬 留言讨论