Stegstr for Openclaw

A steganographic tool for embedding and decoding hidden Nostr messages and arbitrary data within PNG images.

brunkstr
v1.0.1
Feb 7, 2026
1
2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install stegstr

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install stegstr using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Stegstr?

Stegstr is a specialized steganography client designed to hide Nostr messages and arbitrary data payloads inside lossless PNG images. By utilizing this skill within the Openclaw Skills ecosystem, developers can facilitate secure, offline communication that does not require central registration. The tool works by embedding data into the pixel structure of images, allowing for the discreet sharing of JSON bundles, DMs, or text feeds.

This skill provides a bridge between decentralized social protocols and visual media, making it possible to treat images as data carriers. Because it operates on lossless PNG files, the integrity of the hidden data is maintained without the corruption typically introduced by lossy compression formats like JPEG.

Stegstr Use Cases

  • Decoding hidden Nostr events and JSON payloads from steganographic PNG files.
  • Embedding encrypted or raw data bundles into cover images for secure distribution.
  • Automating secret message extraction within AI agent workflows and headless scripts.
  • Generating signed Nostr kind 1 note bundles for offline steganographic posting.

How Stegstr Works

  1. Build the stegstr-cli binary from source using the Rust toolchain.
  2. Create a payload or Nostr bundle using the post command or by preparing a JSON file.
  3. Execute the embed command to inject the payload into a target PNG cover image.
  4. Distribute the modified PNG image through any standard file-sharing channel.
  5. Use the detect or decode commands on the recipient side to extract the original payload from the image pixels.

Stegstr Setup

To set up this skill from Openclaw Skills, ensure you have Rust and Git installed, then run the following commands:

git clone https://github.com/brunkstr/Stegstr.git
cd Stegstr/src-tauri
cargo build --release --bin stegstr-cli

The compiled binary will be available at target/release/stegstr-cli (or stegstr-cli.exe on Windows).

Stegstr Data Schema & Taxonomy

The skill utilizes a specific binary structure within the PNG file to manage hidden data:

Property Value / Description
Magic Header STEGSTR (7 bytes ASCII)
Length 4 bytes, big-endian
Payload UTF-8 JSON or raw binary bytes
Schema Nostr bundle format { "version": 1, "events": [...] }

Note: This skill strictly requires PNG format to avoid data loss.

Stegstr Advanced Features

  • Headless CLI support specifically optimized for integration with AI agents and automated pipelines.
  • Optional payload encryption to ensure that only authorized Stegstr users can detect hidden content.
  • Base64 encoding support for embedding non-textual binary payloads into images.
  • Built-in private key handling for signing Nostr events during the bundle creation process.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*