Agent skill

Yellowstone Grpc

by agiprolabs in agiprolabs/claude-trading-skills

Real-time Solana transaction and account streaming via Yellowstone gRPC (Geyser plugin)

MITAuto-check passedBackend & APIs

Install Yellowstone Grpc

skills CLI
$ npx skills add agiprolabs/claude-trading-skills --skill yellowstone-grpc -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install agiprolabs/claude-trading-skills yellowstone-grpc --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/yellowstone-grpc .claude/skills/yellowstone-grpc && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
yellowstone-grpc
GitHub stars
410
Token cost
~2.4k tokens
SKILL.md length
528 words
Files
7 (incl. scripts, references)
Skills in repo
68
Repo updated
First seen
Licence
MIT

At a glance

Real-time Solana transaction and account streaming via Yellowstone gRPC (Geyser plugin)

  • Works in 4 steps: Get Access → Install Dependencies → Environment Setup → …
  • Tasks that involve gRPC and Protobuf
  • SKILL.md covers Why Yellowstone gRPC, Quick Start, Core Concepts and Common Subscription Patterns, plus 4 more sections
  • Runs Python scripts from its folder; calls uv, git and python; reaches github.com and grpc.ny.shyft.to; needs GRPC_TOKEN

What it does

Yellowstone Grpc is an agent skill from agiprolabs/claude-trading-skills. Real-time Solana transaction and account streaming via Yellowstone gRPC (Geyser plugin)

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/performance.md`, `references/proto_reference.md` and `references/providers.md`).

It sits in Backend & APIs, covering gRPC and Protobuf. It works with gRPC and Solana. The repository describes itself as: 68 trading, DeFi, and quantitative finance Agent Skills. Works with Claude Code, Cursor, Codex, Gemini CLI, and 30+ other tools. The licence is MIT.

When your agent uses it

  • Tasks that involve gRPC and Protobuf

Example prompts

  • “/yellowstone-grpc”

Requirements

  • Python 3
  • Node.js
  • A credential in GRPC_TOKEN

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Get Access
  2. Install Dependencies
  3. Environment Setup
  4. Connect and Subscribe

What it can do on your machine

Read from SKILL.md and the folder at commit 981e1d7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv
    • git
    • python
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com
    • grpc.ny.shyft.to

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GRPC_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Yellowstone Grpc loads about 2.4k tokens when it runs, and up to ~8.8k if it reads all its reference files. Until then it costs about 26 tokens; SKILL.md has 528 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from agiprolabs/claude-trading-skills at commit 981e1d7, republished under its MIT licence (© agiprolabs). 528 words, ~2,356 tokens.

Download SKILL.mdSave it as .claude/skills/yellowstone-grpc/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
yellowstone-grpc
description
Real-time Solana transaction and account streaming via Yellowstone gRPC (Geyser plugin)

Yellowstone gRPC — Real-Time Solana Streaming

Stream every transaction, account update, slot, and block on Solana in real-time using Yellowstone gRPC. This is the foundation for any latency-sensitive Solana trading system — replacing REST polling with push-based streaming at ~5ms slot latency.

Why Yellowstone gRPC

MethodSlot Latency (p90)Use Case
REST polling (getTransaction)~150ms+Historical lookups
WebSocket (onLogs)~10msSimple notifications
Yellowstone gRPC~5msProduction trading systems

Yellowstone is a Geyser plugin that exposes Solana validator data over gRPC. Every major RPC provider runs it. You subscribe to filtered streams of transactions, account changes, slots, blocks, and entries — and the data pushes to you.

Quick Start

1. Get Access

You need a gRPC-enabled RPC provider. See references/providers.md for full comparison.

ProvidergRPC Entry PriceNotes
Shyft$199/moBest value, 7 regions, unlimited bandwidth
Helius$999/moLaserStream, DAS APIs included
Triton One~$2,900/moCreated Yellowstone, lowest latency
QuickNodePlan-dependentMarketplace add-on
Chainstack$49/mo (1 stream)Budget option, limited filters
AlchemyFree tier availableCompute-unit metered
2. Install Dependencies
bash
# Python
uv pip install grpcio grpcio-tools protobuf base58 solders python-dotenv

# Generate Python stubs from proto files
git clone https://github.com/rpcpool/yellowstone-grpc.git
python -m grpc_tools.protoc \
  -I./yellowstone-grpc/yellowstone-grpc-proto/proto/ \
  --python_out=./generated \
  --pyi_out=./generated \
  --grpc_python_out=./generated \
  ./yellowstone-grpc/yellowstone-grpc-proto/proto/*.proto
toml
# Rust — Cargo.toml
[dependencies]
yellowstone-grpc-client = "6.0.0"
yellowstone-grpc-proto = "6.0.0"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
futures = "0.3"
bs58 = "0.5"
bash
# TypeScript
npm install @triton-one/yellowstone-grpc @solana/web3.js
3. Environment Setup
bash
export GRPC_ENDPOINT="https://grpc.ny.shyft.to"  # your provider endpoint
export GRPC_TOKEN="your-x-token-here"              # from provider dashboard
4. Connect and Subscribe
python
import grpc
import os
from generated import geyser_pb2, geyser_pb2_grpc

endpoint = os.environ["GRPC_ENDPOINT"].replace("https://", "")
token = os.environ["GRPC_TOKEN"]

# Authenticated TLS channel
auth_creds = grpc.metadata_call_credentials(
    lambda ctx, cb: cb((("x-token", token),), None)
)
channel = grpc.secure_channel(
    endpoint,
    grpc.composite_channel_credentials(
        grpc.ssl_channel_credentials(), auth_creds
    ),
    options=[("grpc.max_receive_message_length", 64 * 1024 * 1024)],
)
stub = geyser_pb2_grpc.GeyserStub(channel)

Core Concepts

Subscription Types
TypeWhat You GetUse Case
transactionsFull transaction with metadataDEX swap monitoring, copy trading
accountsAccount data on changePool reserve tracking, token supply
slotsSlot progression eventsBlock timing, confirmation tracking
blocksFull block contentsBlock-level analysis
blocks_metaBlock metadata onlyLightweight block tracking
entryBlock entries (shred groups)Low-level validator data
transactions_statusTx status without full dataLightweight confirmation
Filter Logic
  • Multiple filter types (transactions + accounts) = AND — you get updates matching any type
  • Values within arrays (multiple addresses in account_include) = OR
  • Named filters let you distinguish which filter matched in the response
  • Sending a new SubscribeRequest replaces all previous filters
Commitment Levels
LevelSpeedSafetyUse For
PROCESSEDFastestMay be rolled backTime-critical signals
CONFIRMED~400ms slowerSupermajority votedMost trading use cases
FINALIZED~6-12s slowerIrreversibleSettlement verification

Common Subscription Patterns

Show full SKILL.md (214 more words)Show less
Watch All Swaps on a DEX Program
python
# Filter: all non-vote, non-failed transactions involving PumpFun
request = geyser_pb2.SubscribeRequest(
    transactions={
        "pumpfun": geyser_pb2.SubscribeRequestFilterTransactions(
            account_include=["6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"],
            vote=False,
            failed=False,
        )
    },
    commitment=geyser_pb2.CommitmentLevel.PROCESSED,
)
Track Specific Wallets
python
request = geyser_pb2.SubscribeRequest(
    transactions={
        "whales": geyser_pb2.SubscribeRequestFilterTransactions(
            account_include=[
                "WalletAddress1...",
                "WalletAddress2...",
            ],
            vote=False,
            failed=False,
        )
    },
    commitment=geyser_pb2.CommitmentLevel.CONFIRMED,
)
Monitor Pool Reserves (Account Subscription)
python
request = geyser_pb2.SubscribeRequest(
    accounts={
        "raydium_pools": geyser_pb2.SubscribeRequestFilterAccounts(
            account=["PoolAddress1...", "PoolAddress2..."],
        )
    },
    commitment=geyser_pb2.CommitmentLevel.PROCESSED,
)
Reduce Bandwidth with Data Slicing
python
# Only get the first 40 bytes of account data (e.g., just the discriminator + key fields)
request = geyser_pb2.SubscribeRequest(
    accounts={
        "token_accounts": geyser_pb2.SubscribeRequestFilterAccounts(
            owner=["TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"],
            filters=[
                geyser_pb2.SubscribeRequestFilterAccountsFilter(
                    token_account_state=True
                )
            ],
        )
    },
    accounts_data_slice=[
        geyser_pb2.SubscribeRequestAccountsDataSlice(offset=0, length=40)
    ],
)

Parsing Transaction Updates

When you receive a SubscribeUpdateTransaction, extract:

python
for update in stream:
    if update.HasField("transaction"):
        tx = update.transaction
        info = tx.transaction
        sig = base58.b58encode(info.signature).decode()
        slot = tx.slot

        msg = info.transaction.message
        account_keys = [base58.b58encode(k).decode() for k in msg.account_keys]

        # Instructions
        for ix in msg.instructions:
            program = account_keys[ix.program_id_index]
            accounts = [account_keys[i] for i in ix.accounts]
            data = ix.data  # bytes — decode per program IDL

        # Token balance changes (post-execution)
        meta = info.meta
        for tb in meta.post_token_balances:
            mint = tb.mint
            owner = tb.owner
            amount = tb.ui_token_amount.ui_amount

See references/proto_reference.md for complete field documentation.

Production Architecture

[gRPC Stream] → [Bounded Channel] → [Processing Workers]
                   (1K-100K cap)      ├─ Parse instructions
                                      ├─ Update state / DB
                                      └─ Trigger actions

Critical patterns:

  • Decouple I/O from processing — never block the gRPC stream
  • Reconnect with exponential backoff (100ms → 60s cap)
  • Use from_slot to resume after disconnection (subtract ~32 slots for reorg safety)
  • Ping every 15-30 seconds to keep connection alive
  • Filter vote: false always — vote transactions are ~70% of all traffic
  • Set max_receive_message_length to 64MB+ (default 4MB is too small)

See references/performance.md for full production checklist.

Key Program IDs for Trading

ProgramAddressWhat It Does
PumpFun6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6PToken launches, bonding curve trades
PumpSwapPSwapMdSai8tjrEXcxFeQth87xC4rRsa4VA5mhGhXkPPumpFun graduated token swaps
Raydium AMM675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8Legacy AMM swaps
Raydium CLMMCAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqKConcentrated liquidity
Raydium CPMMCPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1CConstant product MM
Orca WhirlpoolwhirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCcConcentrated liquidity
Meteora DLMMLBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxoDynamic liquidity MM
Jupiter V6JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4Swap aggregator
Token ProgramTokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DASPL token operations

Files

References
  • references/providers.md — Provider comparison: endpoints, pricing, auth, features
  • references/subscription_filters.md — Complete filter reference with examples for every filter type
  • references/proto_reference.md — Key protobuf message definitions and field documentation
  • references/performance.md — Connection management, reconnection, backpressure, production checklist
Scripts
  • scripts/subscribe_transactions.py — Stream and parse transactions filtered by program ID
  • scripts/monitor_wallets.py — Watch specific wallets for on-chain activity

© agiprolabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in skills/yellowstone-grpc of agiprolabs/claude-trading-skills.

  • SKILL.md
  • references/performance.md
  • references/proto_reference.md
  • references/providers.md
  • references/subscription_filters.md
  • scripts/monitor_wallets.py
  • scripts/subscribe_transactions.py

Open the folder on GitHubat commit 981e1d7

Compare with similar skills

Yellowstone Grpc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Yellowstone Grpc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Yellowstone Grpc this skillagiprolabs/claude-trading-skills410—~2.4kAutomated safety check: PassMIT
Release Rebasejito-foundation/geyser-grpc-plugin145—~836Automated safety check: PassCustom licence
Quicknode Skillinternet-court/internet-court-skill6.6k—~11kAutomated safety check: PassMIT
Quicknodesendaifun/skills1301 repos~5.5kAutomated safety check: NotesApache-2.0
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT
Golang Proantoniopaya22/go-rest-template1723 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Release Rebase

    jito-foundation/geyser-grpc-plugin

    A skill your agent uses when updating this repo to match a new jito-solana release line such as v4.0.

    145 GitHub stars~836 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Quicknode Skill

    internet-court/internet-court-skill

    Quicknode blockchain infrastructure for 80+ chains: Core RPC API, Streams, Webhooks, Blazar WSS, Solana gRPC, HyperCore gRPC, SQL Explorer, Metaplex DAS API, Blockbook, Ordinals & Runes API, Swap…

    6.6k GitHub stars~11k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Quicknode

    sendaifun/skills

    Quicknode blockchain infrastructure for Solana — RPC endpoints, DAS API (Digital Asset Standard) for NFTs and compressed assets, Yellowstone gRPC streaming, Priority Fee API, Streams (real-time data…

    130 GitHub starsUsed in 1 repo~5.5k tokens
    Backend & APIsAuto-check: notes
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Golang Pro

    antoniopaya22/go-rest-template

    Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with…

    172 GitHub starsUsed in 3 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Debug Grpc Connection

    GetBindu/Bindu

    Diagnose gRPC connection issues between the Bindu core and a language SDK.

    10k GitHub stars~1.2k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed

More from agiprolabs/claude-trading-skills

All 68 skills in this repo
  • Backtrader

    agiprolabs/claude-trading-skills

    Event-driven backtesting with bar-by-bar execution, complex order types, multiple analyzers, and custom indicators

    410 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Birdeye API

    agiprolabs/claude-trading-skills

    Solana token market data via Birdeye — prices, OHLCV, trades, token metadata, security checks, and trader activity

    410 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Coingecko API

    agiprolabs/claude-trading-skills

    Broad crypto market data from CoinGecko covering 13,000+ tokens.

    410 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Cointegration Analysis

    agiprolabs/claude-trading-skills

    Cointegration testing for pairs trading using Engle-Granger, Johansen, and rolling stability analysis

    410 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Copy Trading

    agiprolabs/claude-trading-skills

    Wallet evaluation, monitoring, and copy-trade strategy design for Solana DEX trading

    410 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Correlation Analysis

    agiprolabs/claude-trading-skills

    Cross-asset correlation analysis including rolling correlation, hierarchical clustering, tail dependence, and regime-dependent correlation

    410 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Yellowstone Grpc

What does Yellowstone Grpc do?

Real-time Solana transaction and account streaming via Yellowstone gRPC (Geyser plugin). Yellowstone Grpc is an agent skill from agiprolabs/claude-trading-skills.

When should I use Yellowstone Grpc?

Yellowstone Grpc fits situations like: tasks that involve gRPC and Protobuf.

How do I install Yellowstone Grpc in Claude Code?

Run `npx skills add agiprolabs/claude-trading-skills --skill yellowstone-grpc -a claude-code`. Or copy the skill folder (skills/yellowstone-grpc in agiprolabs/claude-trading-skills) into .claude/skills/yellowstone-grpc in your project. Claude Code loads it when a task matches its description.

How do I install Yellowstone Grpc in Codex?

Run `npx skills add agiprolabs/claude-trading-skills --skill yellowstone-grpc -a codex`. Or copy the skill folder (skills/yellowstone-grpc in agiprolabs/claude-trading-skills) into .agents/skills/yellowstone-grpc in your project. Codex loads it when a task matches its description.

Can I use Yellowstone Grpc in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agiprolabs/claude-trading-skills --skill yellowstone-grpc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yellowstone-grpc, .gemini/skills/yellowstone-grpc, .github/skills/yellowstone-grpc and .opencode/skills/yellowstone-grpc in your project.

What does Yellowstone Grpc need to run?

Going by SKILL.md and its folder, Yellowstone Grpc needs Python for the scripts in its folder, the command-line tools its instructions call (uv, git, python and npm) and credentials named GRPC_TOKEN. Our summary lists: Python 3; Node.js; A credential in GRPC_TOKEN.

Does Yellowstone Grpc access the network?

SKILL.md names 2 domains. In commands or code: github.com and grpc.ny.shyft.to; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Yellowstone Grpc safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Yellowstone Grpc use?

Yellowstone Grpc is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Yellowstone Grpc use?

About 2.4k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.5k tokens, read only when the agent opens those files.

What are the alternatives to Yellowstone Grpc?

Skills that share tags, products or a category with Yellowstone Grpc: Release Rebase (jito-foundation/geyser-grpc-plugin, 145 stars), Quicknode Skill (internet-court/internet-court-skill, 6.6k stars), Quicknode (sendaifun/skills, 130 stars) and Use Yaak (mountain-loop/yaak, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Yellowstone Grpc?

agiprolabs (a GitHub user) maintains it in agiprolabs/claude-trading-skills, which has 410 GitHub stars. The repository holds 68 skills in this directory. The repository was last updated on September 3, 2026.

Source: agiprolabs/claude-trading-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.