data

data is a skill for Claude Code from stellar/stellar-dev-skill. It costs 77 tokens per session (3,124 once invoked), scanned A, original, Apache-2.0.

A reference guide for reading data from the Stellar blockchain, a network for moving digital assets. It covers Stellar RPC, the newer interface, Horizon, the older interface, and tools for deeper history.

In plain words
What is it for?
Use it to read balances, transactions, operations, ledgers, smart-contract events, and other chain state. It also helps retrieve older records through Hubble or Galexie.
Why use it?
It helps developers choose the right data interface and handle live updates, pagination, and the limits on recent history without guessing which API to use.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is For a React/Next.js-specific setup, see the [dapp skill](../dapp/SKILL.md)..

Part of the stellar-dev plugin — 8 skills shipped together

Good fit Use it to read balances, transactions, operations, ledgers, smart-contract events, and other chain state. It also helps retrieve older records through Hubble or Galexie.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/stellar/stellar-dev-skill
agentmods
npx agentmods add skills/stellar/stellar-dev-skill/data

Made for: Claude Code.

Or install stellar-dev, the plugin that ships this one along with the rest of its 8 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 data

README.md
[![agentmods](https://agentmods.dev/badge/skills/stellar/stellar-dev-skill/data/github.svg)](https://agentmods.dev/skills/stellar/stellar-dev-skill/data)
Your own site
<a href="https://agentmods.dev/skills/stellar/stellar-dev-skill/data"><img src="https://agentmods.dev/badge/skills/stellar/stellar-dev-skill/data/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 data

Your own site · 80×15
<a href="https://agentmods.dev/skills/stellar/stellar-dev-skill/data"><img src="https://agentmods.dev/badge/skills/stellar/stellar-dev-skill/data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,124 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00077 $0.03124
Opus 5.5 $0.00031 $0.01250
Sonnet 5.5 $0.00015 $0.00625
Haiku 4.5 $0.00008 $0.00312

Measured 1mo ago against content hash a3fc479d2818, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data scanned grade A with 0 findings 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 1mo ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/data/SKILL.md · 408 lines

How it starts

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

Stellar Data: RPC + Horizon

API access for reading chain state. Stellar RPC is the preferred entry point for new projects; Horizon remains for legacy and historical-query workflows. For deeper history beyond RPC's 7-day window, use Hubble/Galexie.

When to use this skill

  • Calling Stellar RPC methods (getLatestLedger, getLedgerEntries, getEvents, simulateTransaction, sendTransaction)
  • Querying Horizon endpoints (accounts, transactions, operations, effects, ledgers)
  • Streaming live events or operations
  • Pulling historical data beyond RPC's 7-day window (Hubble, Galexie)
  • Choosing between RPC and Horizon for a given workflow
  • Building transactions to send → ../dapp/SKILL.md
  • Smart contract simulation and event emission → ../smart-contracts/SKILL.md
  • Asset balance and trustline lookups → ../assets/SKILL.md
  • Standards (SEP-7 deeplinks, SEP-10 auth) → ../standards/SKILL.md

Overview

Stellar provides two API paradigms:

API Status Use Case
Stellar RPC Preferred Smart contracts, real-time state, new projects
Horizon Legacy-focused Historical data, legacy applications

Recommendation: Use Stellar RPC for all new projects. Use Horizon mainly for historical queries and legacy compatibility paths.

Read the file that matches the task

Task File
RPC methods and usage Stellar RPC (below)
Horizon endpoints, common operations, streaming, pagination horizon.md
Migration strategy Migration: Horizon to RPC (below)
Data history/indexing options Historical Data Access (below)
Environment setup and endpoints Network Configuration (below)

Stellar RPC

Endpoints

Note: SDF directly provides Futurenet public RPC. For Mainnet RPC, select a provider from the RPC providers directory.

Read the full file on GitHub · 408 lines

Files

What ships with it

1 file 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. 1mo ago First seen · 408 lines · 77 tokens per session scan A a3fc479d2818

Subscribe to this mod's changes

data is a skill published in the GitHub repository stellar/stellar-dev-skill (54 stars, last pushed 3d ago), licensed Apache-2.0. It adds 77 tokens to every session and 3,124 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.