shredstream

shredstream is a skill for Claude Code from agiprolabs/claude-trading-skills. It costs 30 tokens per session (2,540 once invoked), scanned B, original, MIT.

A feed of Solana transaction data taken from the network before validators finish processing a block. It uses direct validator data streams to expose transaction details earlier than normal data services.

In plain words
What is it for?
Use it to build low-latency Solana trading bots, monitor transactions before execution, or supply faster data to an RPC node or validator.
Why use it?
It helps time-sensitive systems react before a transaction is confirmed. It also makes clear that the data shows intended transactions, not whether they later succeed or fail.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the trading-skills plugin — 68 skills shipped together

Good fit Use it to build low-latency Solana trading bots, monitor transactions before execution, or supply faster data to an RPC node or validator.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agiprolabs/claude-trading-skills/shredstream
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agiprolabs/claude-trading-skills --skill shredstream
Clone the repo
git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills

Made for: Claude Code.

Or install trading-skills, the plugin that ships this one along with the rest of its 68 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shredstream

README.md
[![agentmods](https://agentmods.dev/badge/skills/agiprolabs/claude-trading-skills/shredstream/github.svg)](https://agentmods.dev/skills/agiprolabs/claude-trading-skills/shredstream)
Your own site
<a href="https://agentmods.dev/skills/agiprolabs/claude-trading-skills/shredstream"><img src="https://agentmods.dev/badge/skills/agiprolabs/claude-trading-skills/shredstream/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shredstream

Your own site · 80×15
<a href="https://agentmods.dev/skills/agiprolabs/claude-trading-skills/shredstream"><img src="https://agentmods.dev/badge/skills/agiprolabs/claude-trading-skills/shredstream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,540 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 82
    Potential security issue detected. Manual review is recommended.
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
  • medium MCP Rug Pull · line 81
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium Privilege Escalation · line 110
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.02540
Opus 5 $0.00015 $0.01270
Sonnet 5 $0.00006 $0.00508
Haiku 4.5 $0.00003 $0.00254

Measured 12d ago against content hash bf26ade7e117, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

shredstream scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/parse_shredstream_entries.py, scripts/rabbitstream_monitor.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo tcpdump 'udp and dst port 20000'
skills/shredstream/SKILL.md · 277 lines

How it starts

The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ShredStream — Pre-Execution Solana Data

ShredStream gives you transaction data before the validator executes the block — typically 100-500ms earlier than standard Yellowstone gRPC. You see transaction intent, not confirmed results.

This is the fastest path to Solana data for time-critical trading strategies.

How It Works

Solana validators produce blocks by serializing transactions into shreds (~1,228 bytes each, sized for UDP MTU). Shreds propagate through Turbine (Solana's fanout protocol, 2-3 hops). ShredStream bypasses Turbine by receiving shreds directly from leader validators via Jito's Block Engine.

Leader Validator
     │
     ├── Turbine (standard, 2-3 hops, 200-500ms)
     │       └── Your RPC Node → Yellowstone gRPC (post-execution)
     │
     └── Jito Block Engine (direct)
              └── ShredStream Proxy (your server)
                   ├── UDP shreds → Your RPC/Validator (faster block building)
                   └── gRPC entries → Your Trading Bot (decoded transactions)

What You Get vs. What You Don't

Available (Pre-Execution) NOT Available (Needs Execution)
Transaction signatures Success/failure status
Account keys (pubkeys) Balance changes (pre/post)
Instructions (program, accounts, data) Log messages
Address lookup table references Inner instructions (CPI)
Slot number Token balance changes
Compute units consumed

Key tradeoff: Speed for completeness. You see what's about to happen but can't confirm it actually succeeded. Some transactions you see will ultimately fail.

Three Ways to Get Pre-Execution Data

Provider Product Latency Access Cost
Jito ShredStream Proxy ~10-50ms from leader Apply + auth keypair Free (beta)
Shyft RabbitStream ~15-100ms faster than gRPC Shyft gRPC plan From $199/mo
Triton Deshred (SubscribeDeshred) ~6.3ms p50 from shred Triton customer ~$2,900+/mo

Read the full file on GitHub · 277 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 277 lines · 30 tokens per session scan B bf26ade7e117

Subscribe to this mod's changes

shredstream is a skill published in the GitHub repository agiprolabs/claude-trading-skills (354 stars, last pushed 8d ago), licensed MIT. It adds 30 tokens to every session and 2,540 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.