polkadot-bulletin

polkadot-bulletin is a skill for Claude Code, Codex from paritytech/polkadot-apps. It costs 56 tokens per session (2,498 once invoked), scanned A, original, Apache-2.0.

A TypeScript toolkit for storing and retrieving data on the Polkadot Bulletin Chain, a blockchain-based storage network. Stored data is identified by a content ID, and can be retrieved through IPFS gateways, which are services for accessing distributed files.

In plain words
What is it for?
Use it to upload single files or batches, calculate content IDs, retrieve stored data, query the Bulletin Chain, or work with its host and standalone connection modes.
Why use it?
It provides the code needed to upload, find, and fetch data without building the chain and gateway communication yourself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to upload single files or batches, calculate content IDs, retrieve stored data, query the Bulletin Chain, or work with its host and standalone connection modes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paritytech/polkadot-apps/polkadot-bulletin
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 paritytech/polkadot-apps --skill polkadot-bulletin
Clone the repo
git clone --depth 1 https://github.com/paritytech/polkadot-apps

Made for: Claude Code, Codex.

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 polkadot-bulletin

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/paritytech/polkadot-apps/polkadot-bulletin"><img src="https://agentmods.dev/badge/skills/paritytech/polkadot-apps/polkadot-bulletin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,498 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.
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.00056 $0.02498
Opus 5 $0.00028 $0.01249
Sonnet 5 $0.00011 $0.00500
Haiku 4.5 $0.00006 $0.00250

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

Security

Grade A, and why

polkadot-bulletin 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 11d 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/polkadot-bulletin/SKILL.md · 300 lines

How it starts

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

Polkadot Bulletin Chain SDK

@polkadot-apps/bulletin is a TypeScript SDK for uploading and retrieving data on the Polkadot Bulletin Chain -- a purpose-built parachain for decentralized data storage. Data is content-addressed using CIDv1 (blake2b-256 hash, raw codec) and retrievable via IPFS gateways.

Key Concepts

  • Content-addressed storage: Data is identified by its CID (Content Identifier), computed deterministically from the bytes via blake2b-256.
  • Two upload paths: Inside a host container (Polkadot Desktop/Mobile), uploads go through the host preimage API automatically. Standalone, a PolkadotSigner or dev signer is used to submit a TransactionStorage.store extrinsic.
  • Two query paths: Inside a host container, queries use the host preimage lookup (with caching). Standalone, data is fetched directly from an IPFS gateway.
  • Environments: "polkadot", "kusama", "paseo" -- currently only "paseo" has a live gateway.

Quick Start: Upload and Fetch

import { BulletinClient } from "@polkadot-apps/bulletin";

// Create a client for the Paseo test network
const bulletin = await BulletinClient.create("paseo");

// Upload data (MUST be Uint8Array, not a string)
const data = new TextEncoder().encode(JSON.stringify({ title: "Hello Bulletin" }));
const result = await bulletin.upload(data);
console.log("CID:", result.cid);

// Fetch it back as JSON
const content = await bulletin.fetchJson<{ title: string }>(result.cid);
console.log(content.title); // "Hello Bulletin"

WARNING: upload() expects Uint8Array, not strings. Always convert with new TextEncoder().encode(...). Passing a string will cause a type error or unexpected behavior.

BulletinClient

The BulletinClient class bundles a typed Bulletin API and IPFS gateway URL so you do not need to pass them on every call. Both upload and query paths auto-resolve based on the runtime environment.

Creating a Client

import { BulletinClient } from "@polkadot-apps/bulletin";

// From an environment name (resolves API via chain-client, gateway from known list)
const client = await BulletinClient.create("paseo");

// From explicit API and gateway (custom setups, testing)
import { getGateway } from "@polkadot-apps/bulletin";
const custom = BulletinClient.from(myApi, "https://my-gateway.example/ipfs/");

Read the full file on GitHub · 300 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. 11d ago First seen · 300 lines · 56 tokens per session scan A e956ec5be2ca

Subscribe to this mod's changes

polkadot-bulletin is a skill published in the GitHub repository paritytech/polkadot-apps (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 56 tokens to every session and 2,498 once invoked, about $0.0003 per session on Opus 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-31.