/prometheus-flint-skills:flint-sdk-tsfrom prometheus-flint-skills
Install and use the Flint Realtime Fabric TypeScript/JavaScript SDK (@prometheusags/frf-sdk). Covers SpineClient setup, channel subscriptions, event publishing, ack handling, and Connect-RPC transport configuration for browser and Node.js environments.
Ships in prometheus-flint-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use the Flint Realtime Fabric TypeScript SDK to subscribe to channels, publish events, and handle acknowledgements in browser or Node.js applications.
# npm
npm install @prometheusags/frf-sdk
# pnpm
pnpm add @prometheusags/frf-sdk
# yarn
yarn add @prometheusags/frf-sdk
Peer dependencies (Connect-RPC transport):
npm install @connectrpc/connect @connectrpc/connect-web
| Export | Purpose |
|---|---|
SpineClient | Main client for subscribe / publish / ack |
SpineService | Connect-RPC service descriptor |
EventKind | Enum: DATA, SYSTEM, HEARTBEAT |
EventEnvelope | Protobuf message type for events |
SubscribeRequest | Request type for subscribe calls |
PublishRequest / PublishResponse | Request/response for publish |
AckRequest / AckResponse | Request/response for ack |
Channel | Channel descriptor type |
Cursor / Offset | Stream position types |
import { SpineClient } from '@prometheusags/frf-sdk'
import { createConnectTransport } from '@connectrpc/connect-web'
const transport = createConnectTransport({ baseUrl: 'https://your-frf-gateway' })
const client = new SpineClient(transport)
// Subscribe to a channel
const stream = client.subscribe({ channel: { name: 'my-channel' } })
for await (const event of stream) {
console.log(event.kind, event.payload)
await client.ack({ cursor: event.cursor })
}
await client.publish({
channel: { name: 'my-channel' },
payload: new TextEncoder().encode(JSON.stringify({ msg: 'hello' })),
})
| Variable | Purpose |
|---|---|
FRF_GATEWAY_URL | Base URL of the FRF gateway (e.g. https://frf.example.com) |
FRF_AUTH_TOKEN | Bearer token for authenticated channels (optional) |
Source code lives at: <flint-realtime-fabric>/sdks/ts/. Resolve the repository root from the current workspace or FLINT_REPO_ROOT; never assume a machine-specific path.
Generated proto types are in src/gen/flint/v1/ — regenerate with pnpm gen:proto in the flint repo.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/flint-sdk-csharpInstall and use the Flint Realtime Fabric C#/.NET SDK (FlintSdk). Covers NuGet / project reference setup, SpineClient configuration, channel subscriptions, and event publishing for .NET 8+ applications.
/flint-sdk-dartInstall and use the Flint Realtime Fabric Dart/Flutter SDK (frf_dart). Generated from Rust FFI via flutter_rust_bridge 2.11.1. Covers pub.dev installation, SpineClient setup, channel subscriptions, and event publishing for Flutter and Dart applications.
/flint-sdk-goInstall and use the Flint Realtime Fabric Go SDK (github.com/prometheusags/frf/sdks/go). Covers SpineClient setup, channel subscriptions, event publishing, ack handling, and Connect-RPC transport configuration for Go services.
/flint-sdk-kotlinInstall and use the Flint Realtime Fabric Kotlin/Android SDK (frf-kotlin). Covers Gradle integration, SpineClient setup, channel subscriptions, and event publishing for Android and JVM applications via JNI bridge.
/flint-sdk-swiftInstall and use the Flint Realtime Fabric Swift SDK (FrfClient). Covers Swift Package Manager integration, SpineClient setup, channel subscriptions, and event publishing for iOS (16+) and macOS (13+) applications.
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-flint-skills2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026