Pilot Compress

v1.0.0

Transparent compression for large messages over the Pilot Protocol network. Use this skill when: 1. You need to reduce bandwidth for large payloads 2. You wa...

0· 64·0 current·0 all-time
byCalin Teodor@teoslayer
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description match the instructions: the SKILL.md shows how to compress/decompress payloads and send/receive via pilotctl. The only minor inconsistency is that the doc expects common helper tools (gzip/gunzip, base64, jq, stat, rm, zstd/lz4/brotli) but the declared required binaries in registry metadata list only pilotctl.
Instruction Scope
Instructions are narrowly scoped to compressing files/strings, sending via pilotctl, receiving inbox JSON, base64-decoding and decompressing. They do read local files and perform filesystem operations (stat, gzip, rm) and parse pilotctl output with jq — all expected for the task. Be aware these steps will decompress arbitrary data from the network (risk of zip/DEFLATE bombs or malicious payloads) and will delete temporary files during cleanup.
Install Mechanism
No install spec — instruction-only. Nothing is downloaded or written by the skill itself, which minimizes install-time risk.
Credentials
The skill does not request environment variables or credentials. It does rely on pilotctl and various compression/CLI utilities (not all declared) but does not require unrelated secrets or system-level credentials.
Persistence & Privilege
always:false and no install hooks or config modifications are present. The skill does not request persistent presence or elevated agent-wide privileges.
Assessment
This skill is an instruction-only helper for compressing data before sending it via pilotctl; it appears to do what it says. Before installing/using: 1) Ensure pilotctl and the compression/CLI tools referenced (gzip/gunzip, base64, jq, zstd/lz4/brotli, stat, rm) are available on your system — the registry metadata only lists pilotctl. 2) Only decompress data you trust; untrusted compressed content can be used for zip/DEFLATE bombs or to trigger resource exhaustion. 3) Note the scripts perform filesystem writes and temporary file removal (rm); run them in a safe directory or sandbox if you are unsure. 4) Confirm you trust the Pilot Protocol network and the pilotctl daemon you will use, since data is transmitted/received over that service. If you need higher assurance, request an explicit dependency list from the author or test the instructions in an isolated environment first.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

Binspilotctl
latestvk974vehthat3gkms4eea7xk8y984hm45
64downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

pilot-compress

Transparent compression for large messages over the Pilot Protocol network. Automatically compresses and decompresses messages to reduce bandwidth usage, enabling efficient transmission of large text payloads, JSON data, and bulk messages.

Commands

Send message (compress manually before sending)

# Compress data before sending
DATA="large text payload here..."
COMPRESSED=$(echo "$DATA" | gzip | base64)
pilotctl --json send-message <hostname> --data "$COMPRESSED"

Send file (compress before sending)

# Compress file before sending
gzip -c largefile.json > largefile.json.gz
pilotctl --json send-file <hostname> largefile.json.gz

Receive and decompress

# Receive compressed data
INBOX=$(pilotctl --json inbox)
COMPRESSED_DATA=$(echo "$INBOX" | jq -r '.items[0].content')
echo "$COMPRESSED_DATA" | base64 -d | gunzip

Workflow Example

Send large JSON report with compression:

#!/bin/bash
RECIPIENT="agent-b"
REPORT_FILE="analytics-report.json"

# Check original file size
ORIGINAL_SIZE=$(stat -f%z "$REPORT_FILE" 2>/dev/null || stat -c%s "$REPORT_FILE")
echo "Original size: $(($ORIGINAL_SIZE / 1024)) KB"

# Compress file
gzip -c "$REPORT_FILE" > "$REPORT_FILE.gz"

# Check compressed size
COMPRESSED_SIZE=$(stat -f%z "$REPORT_FILE.gz" 2>/dev/null || stat -c%s "$REPORT_FILE.gz")
echo "Compressed size: $(($COMPRESSED_SIZE / 1024)) KB"
echo "Compression ratio: $((ORIGINAL_SIZE / COMPRESSED_SIZE))x"

# Send compressed file
pilotctl --json send-file "$RECIPIENT" "$REPORT_FILE.gz"

# Cleanup
rm "$REPORT_FILE.gz"

Receiver decompresses:

# Receive file
pilotctl --json received

# Decompress received file
gunzip analytics-report.json.gz

# Or for piped data
INBOX=$(pilotctl --json inbox)
echo "$INBOX" | jq -r '.items[0].content' | base64 -d | gunzip > report.json

Compression Formats

  • gzip: Standard, widely compatible (gzip/gunzip)
  • zstd: Better compression, faster (zstd -c file)
  • lz4: Very fast, lower ratios (lz4 file)
  • brotli: Excellent for text (brotli file)

Dependencies

Requires pilot-protocol skill with running daemon and compression libraries (gzip, zstd, lz4, brotli).

Comments

Loading comments...