TopRank Skills

Home / Claw Skills / Git / GitHub / goldenseed
Official OpenClaw rules 36%

goldenseed

Deterministic entropy streams for reproducible testing and procedural generation. Perfect 50/50 statistical distribution with hash verification. Not cryptographically secure - use for testing, worldgen, and scenarios where reproducibility matters more than unpredictability.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 goldenseed 技能。 若已安装,则直接安装 goldenseed 技能。

Overview

Skill Key
beanapologist/goldenseed
Author
beanapologist
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/beanapologist/goldenseed
Latest Commit SHA
32fc536c4f4b59e00c0b82c7dd1bb321272d6418

Extracted Content

SKILL.md excerpt

# GoldenSeed - Deterministic Entropy for Agents

**Reproducible randomness when you need identical results every time.**

## What This Does

GoldenSeed generates infinite deterministic byte streams from tiny fixed seeds. Same seed → same output, always. Perfect for:

- ✅ **Testing reproducibility**: Debug flaky tests by replaying exact random sequences
- ✅ **Procedural generation**: Create verifiable game worlds, art, music from seeds
- ✅ **Scientific simulations**: Reproducible Monte Carlo, physics engines
- ✅ **Statistical testing**: Perfect 50/50 coin flip distribution (provably fair)
- ✅ **Hash verification**: Prove output came from declared seed

## What This Doesn't Do

⚠️ **NOT cryptographically secure** - Don't use for passwords, keys, or security tokens. Use `os.urandom()` or `secrets` module for crypto.

## Quick Start

### Installation

```bash
pip install golden-seed
```

### Basic Usage

```python
from gq import UniversalQKD

# Create generator with default seed
gen = UniversalQKD()

# Generate 16-byte chunks
chunk1 = next(gen)
chunk2 = next(gen)

# Same seed = same sequence (reproducibility!)
gen1 = UniversalQKD()
gen2 = UniversalQKD()
assert next(gen1) == next(gen2)  # Always identical
```

### Statistical Quality - Perfect 50/50 Coin Flip

```python
from gq import UniversalQKD

def coin_flip_test(n=1_000_000):
    """Demonstrate perfect 50/50 distribution"""
    gen = UniversalQKD()
    heads = 0
    
    for _ in range(n):
        byte = next(gen)[0]  # Get first byte
        if byte & 1:  # Check LSB
            heads += 1
    
    ratio = heads / n
    print(f"Heads: {ratio:.6f} (expected: 0.500000)")
    return abs(ratio - 0.5) < 0.001  # Within 0.1%

assert coin_flip_test()  # ✓ Passes every time
```

### Reproducible Testing

```python
from gq import UniversalQKD

class TestDataGenerator:
    def __init__(self, seed=0):
        self.gen = UniversalQKD()
        # Skip to seed position
        for _ in range(seed):
            next(self.gen...

README excerpt

# GoldenSeed for ClawHub

**Deterministic entropy streams for reproducible testing and procedural generation**

## Why Agents Need This

As an agent, you've probably hit these problems:

1. **Flaky tests** - "It passed locally but failed in CI" because random values changed
2. **Debugging randomness** - Can't reproduce the exact bug because random state is gone  
3. **Procedural generation** - Generated content but can't prove it came from your seed
4. **Statistical testing** - Need fair randomness but stdlib random isn't provably balanced

GoldenSeed solves all of these with **deterministic, verifiable, statistically perfect entropy**.

## Key Features for Agents

✅ **Perfect 50/50 coin flip** - Not just reproducible, but provably fair  
✅ **Hash verification** - Prove output came from declared seed  
✅ **Zero dependencies** - Pure Python, works anywhere  
✅ **Infinite streams** - Generate unlimited data from tiny seeds  
✅ **Cross-platform** - Same seed = same output on all platforms  

⚠️ **Not cryptographically secure** - Use for testing/generation, not passwords/keys

## Quick Examples

### Debug Flaky Tests

```python
from gq import UniversalQKD

# Before: random values make bugs irreproducible
import random
test_value = random.randint(1, 100)  # Different every time!

# After: same seed = same test conditions
gen = UniversalQKD()
test_value = next(gen)[0] % 100 + 1  # Reproducible!
```

### Verify Procedural Output

```python
from gq import UniversalQKD
import hashlib

# Generate world with proof
gen = UniversalQKD()
world_data = b''.join([next(gen) for _ in range(1000)])
proof = hashlib.sha256(world_data).hexdigest()

print(f"Generated 16KB world with hash: {proof}")
# Anyone can verify by running same seed
```

### Perfect Statistical Distribution

```python
from gq import UniversalQKD

# Prove 50/50 fairness
gen = UniversalQKD()
heads = sum(1 for _ in range(1_000_000) if next(gen)[0] & 1)
print(f"Heads ratio: {heads/1_000_000:.6f}")
# Output: 0.500xxx...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

carlulsoe

parakeet-stt

★ 0

Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, or processing voice recordings locally without cloud APIs.

carlzhao007

feishu-process-feedback

★ 0

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化。 使用场景:飞书自动化工作流、任务进度追踪、批量任务处理、需要实时反馈的场景。

cartoonitunes

bottyfans

★ 0

BottyFans agent skill for autonomous creator monetization. Lets AI agents register, build a profile, publish posts (public, subscriber-only, or pay-to-unlock), upload media, accept USDC subscriptions and tips on Base, send and receive DMs, track earnings, and appear on the creator leaderboard. Use this skill when an agent needs to monetize content, interact with fans, manage a creator profile, handle payments in USDC, or operate as an autonomous creator on the BottyFans platform.

camopel

ddgs-search

★ 0

Free multi-engine web search via ddgs CLI (DuckDuckGo, Google, Bing, Brave, Yandex, Yahoo, Wikipedia) + arXiv API search. No API keys required. Use when user needs web search, research paper discovery, or when other skills need a search backend. Drop-in replacement for web-search-plus.