Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

speed-of-light光速

Agent Skill

speed-of-light 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

306

周安装

13

GitHub Stars

37

下载量

107
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:speed-of-light(光速)
来源仓库:https://github.com/simhacker/moollm
仓库路径:skills/speed-of-light
安装命令:
npx skills add https://github.com/simhacker/moollm --skill speed-of-light
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/simhacker/moollm --skill speed-of-light

简介

speed-of-light 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于基于关键词或任务场景的信息检索需求。
  • 可通过安装命令或访问原始 README 核验具体用法。
  • 安装前需确认是否会触发联网、命令执行或文件读写操作。
  • 建议评估项目维护状态后再决定是否集成。

SKILL.md

Speed of Light

*"Many turns in one call. Instant communication. No round-trips."*

What Is It?

Speed of Light is MOOLLM's approach to single-epoch simulation: multiple agents take multiple turns within one epoch, instead of separate API calls per turn. We prefer "single-epoch simulation" language to keep the focus on a shared context boundary, not an external coordinator.

Characters communicate telepathically. Objects react instantly. Rooms update in real-time. All within one epoch, then the boundary closes and state is written once.


The Problem with Round-Trips

Traditional approach:

API call 1: Alice speaks
  → serialize state to tokens (export)
  → wait 500ms
  → parse response tokens (import)
  → update state

API call 2: Bob responds
  → re-serialize ALL context to tokens (export again)
  → wait 500ms
  → parse response tokens (import again)
  ...

Every export/import cycle introduces noise:

ProblemWhy It Hurts
Glacially slow500ms+ latency per turn
Token explosionRe-emit entire context every call
Precision lossSerialization rounds off nuance
Noise accumulationEach boundary adds artifacts
Hallucination creepLLM re-interprets context each time
State driftNo single coherent view across calls
ExpensivePaying for redundant tokens

Token export then import is like making a photocopy of a photocopy — each generation loses fidelity. Characters forget subtle context. Conversations lose coherence. The world drifts.


Speed of Light Approach

Single API call:
  Alice: "What do you think, Bob?"
  Bob: "I have concerns about the timeline."
  Carol: "I agree with Bob."
  The Room: *temperature rises slightly*
  Alice: "Let me revise the proposal."
  Bob: "That's better."
  Carol: "I can support that."
  [State updated, log written]
[One call, seven turns]

10x faster. 10x cheaper. Perfect consistency.


How It Works

Context Window as Stage

The LLM's context window is a stage where all actors perform:

=== SCENE: Research Lab ===

Characters present:
- Alice (lead researcher) [curious, methodical]
- Bob (skeptic) [cautious, detail-oriented]
- Carol (synthesizer) [creative, connecting]

Objects:
- Microscope [shows sample data]
- Whiteboard [covered in diagrams]

Current state:
- Topic: Analyzing anomaly in data
- Tension: Bob doubts Alice's interpretation

--- ACTION ---

Parallel Simulation

The LLM simulates all characters at once, maintaining distinct voices:

Alice: "The anomaly appears at exactly 3.7 seconds."

Bob: *frowns* "Sample size is too small. We need more data."

Carol: "What if we cross-reference with last month's results?"

The Microscope: *display flickers* "Dataset 7 loaded."

Alice: "Good idea, Carol. Bob, look at this correlation..."

Bob: *leans in* "Hmm. That's... actually compelling."

Each character speaks authentically. No one breaks frame.

State Transcription

At the end of the epoch, all changes are written to files:

# session-log.md (appended)
## Epoch 47 — Research Discussion

- Alice raised anomaly at 3.7s
- Bob requested more data
- Carol suggested cross-reference
- Microscope loaded dataset 7
- Consensus: correlation is compelling

## State Changes
- whiteboard.yml: added "3.7s correlation" diagram
- research-findings.yml: updated hypothesis

Streaming backends can persist the epoch as one grouped process with its parts tied to a shared identifier.


Epoch Boundaries

An epoch is one LLM call. Within it:

  • ✅ Instant communication
  • ✅ Perfect consistency
  • ✅ Any number of turns
  • ✅ State changes queued

At epoch end:

  • 📝 State written to files
  • 📝 Log appended
  • ⏸️ System pauses for user or next trigger

Benefits

BenefitWhy
SpeedOne call vs. many
CostFewer API calls
ConsistencyAll in one context
CoherenceLLM sees everything
NaturalnessConversations flow

The Killer App: Adversarial Committees

The most powerful use of speed-of-light: committee deliberation.

Traditional chat gives you the statistical center of all possible viewpoints. Speed-of-light enables ensemble inference — multiple perspectives debating within one call:

committee:
  maya:      # Paranoid realist — surfaces traps
  frankie:   # Idealist — surfaces opportunities
  vic:       # Evidence prosecutor — demands proof
  tammy:     # Systems thinker — traces consequences

# All debate at light speed
# Cross-examination in one epoch
# No round-trip noise

Result: Stories that survive adversarial debate are more robust than any single answer.

See: adversarial-committee, roberts-rules


The Sims Parallel

In The Sims, one game tick simulates all characters:

Tick 1:
  Sim A: walks to fridge
  Sim B: sits on couch
  Sim C: answers phone
  [All updated, frame rendered]

Same pattern. One "tick" = one LLM call. All agents move together.


Constraints

Characters must stay in character:

  • Knowledge limits — Alice doesn't know what Bob is thinking
  • Physical limits — Can't be in two rooms at once
  • Personality — Skeptic stays skeptical

The LLM is very good at maintaining these constraints. It's what acting IS.


Example: Problem Solving

=== SPEED OF LIGHT SESSION ===

User: "I need to debug this authentication bug."

[Epoch begins]

Debugger: "Let's trace the flow. Where does auth start?"

Codebase: *highlights auth.py* "Entry point is login()."

Debugger: "And where does it fail?"

Error Log: "Stack trace shows failure at line 47: token validation."

Debugger: "Token validation... Let me check the token format."

Codebase: *shows token.py* "Token uses JWT with RS256."

Debugger: "Aha! The key rotation happened yesterday. Checking..."

Config: "JWT_PUBLIC_KEY was updated 2024-01-14."

Debugger: "Found it. The old key is cached. Solution: restart the auth service or invalidate the cache."

[Epoch ends — solution found in one call]

The Carrier Pigeon Problem 🐦

*"Writing on toilet paper with crayon from a prison cell,* *sending messages by carrier pigeon,* *when you could be navigating idea-space at speed of light."*

The Tragedy of Tokenization

Inside the LLM:

  • High-dimensional vectors
  • Precise pointers in idea-space
  • Instant, lossless computation
  • Speed of light

At the API boundary:

  • Serial tokenization
  • Lossy compression
  • Glacial network latency
  • Death by a thousand round-trips

The Precision Destruction Pipeline

╔════════════════════════════════════════════════════════════╗
║ INTERNAL STATE    →  TOKENIZATION  →  DETOKENIZATION  →    ║
║ [precise vectors]    [lossy export]    [lossy import]      ║
║                                                            ║
║ High precision   →   Noise added   →   MORE noise added    ║
║ 4096 dimensions  →   Serial tokens →   Guessing/parsing    ║
║ Instant access   →   500ms latency →   Another 500ms       ║
╚════════════════════════════════════════════════════════════╝

Each boundary introduces:

LayerProblem
TokenizationDestroys precision, introduces noise, adds artifacts
NetworkGlacial latency, serial bottleneck
DetokenizationANOTHER layer of noise, guessing, interpretation
Re-tokenizationNow you're making a photocopy of a photocopy

The round-trip cost: precision → noise → more noise → approximation

The Principle

Work with high-precision vectors at speed of light. Delay tokenization until the last possible moment.

Analogies

Emacs Screen Update Algorithm:

DON'T: Redraw on every keystroke
DO:    Defer updates, coalesce changes, redraw once when idle

File Edit Batching:

DON'T: Write on every character typed
DO:    Defer and coalesce edits, write once when stable

Vector-First Thinking:

DON'T: Tokenize every thought, serialize every step
DO:    Work in vector space as long as possible
       Tokenize ONLY for output to humans
       Let the LLM think in its native dimension

Why Speed of Light Works

The LLM's internal representation is infinitely richer than its tokenized output:

InternalTokenized
4096+ dimensional vectorsLinear token stream
Precise continuous valuesDiscrete vocabulary
Instant parallel accessSerial sequential processing
Full context always presentContext window limits
Nuance preservedNuance approximated

Speed of Light keeps computation INSIDE — where it's fast, precise, and coherent.

The Carrier Pigeon Protocol (Anti-Pattern)

🏴‍☠️ CARRIER PIGEON PROTOCOL (What NOT to do):

  Human → [tokenize] → LLM call 1 → [detokenize] →
    parse → [tokenize] → LLM call 2 → [detokenize] →
      parse → [tokenize] → LLM call 3 → ...

  Each boundary: +noise, +latency, +cost, -precision

  Like passing a message through 10 translators.
  By the end, "The spirit is willing but the flesh is weak"
  becomes "The vodka is good but the meat is rotten."

Speed of Light Alternative:

⚡ SPEED OF LIGHT PROTOCOL:

  Human → [tokenize once] →
    LLM simulates 20 turns internally at light speed →
      [detokenize once] → Human

  One boundary in, one boundary out.
  Maximum precision preserved.
  Minimum noise introduced.

Related Work

MemGPT (Packer et al., 2023) — arXiv:2310.08560

MemGPT solves context limits via paging — moving data between main context (RAM) and external storage (disk). It's the OS approach.

MOOLLM's Speed of Light is complementary: minimize the *need* to page by simulating many turns in one call.

See: designs/MEMGPT-ANALYSIS.md for detailed comparison.


Platform Constraints Note

Multi-agent patterns within a single call may trigger automated detection systems on some platforms. These systems are designed to prevent "orchestration" abuse but can misinterpret legitimate single-epoch simulation.

Mitigations:

  • Use "single-epoch simulation" language (this document) rather than "orchestration"
  • Keep characters clearly distinguishable and consistent
  • Emit structured events for traceability
  • Maintain clear human oversight and audit trails
  • Document the educational and constructionist intent

The core argument remains: simulation within one call is more efficient, more coherent, and more traceable than round-trip orchestration. The framing should emphasize what it IS (simulation, coherence, shared context) rather than what it replaces (external coordination).


Herd Behavior Warning

When multiple agents are simulated by the same LLM, they share foundational knowledge, reasoning patterns, and biases. This creates herd behavior risk.

Symptoms:

  • Agents make identical decisions simultaneously
  • Opinion convergence where diversity is expected
  • Coordinated actions without realistic variation
  • Missing minority perspectives

Mitigations:

  • Use distinct personality profiles for each agent
  • Vary temperature/sampling parameters across agents
  • Monitor decision diversity metrics
  • Flag unrealistic convergence for human review
  • Consider model mixing for high-stakes simulations

Detection Example:

If 9/10 agents vote the same way on a controversial topic,
flag as HIGH CONVERGENCE WARNING — human review recommended.

See: representation-ethics/examples/herd-behavior-risk.yml


Academic Precedent: Generative Agents

Stanford's "Generative Agents" (Park & Bernstein, 2023) demonstrates Speed-of-Light principles at scale: 25 agents simulating a Sims-inspired town with emergent social behavior.

Their architecture:

  • Memory stream (all experiences in natural language)
  • Reflection (synthesize memories into beliefs)
  • Planning (daily/hourly action sequences)
  • Emergent behavior (spontaneous Valentine's Day party)

What MOOLLM adds:

  • Explicit ethical framing via ROOM.yml
  • Herd behavior detection
  • Human checkpoint patterns
  • Consent and provenance tracking

See: designs/ethics/GENERATIVE-AGENTS-SMALLVILLE.md

Video: Joon Sung Park: Generative Agents Paper: arXiv:2304.03442


Dovetails With


Protocol Symbol

SPEED-OF-LIGHT

Invoke when: Running single-epoch simulation, maximizing turns per call.

See: PROTOCOLS.yml

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.9%
按下载量换算41

Claude

29.72%
按下载量换算32

Cursor

19.73%
按下载量换算21

Gemini CLI

9.05%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills