integrate-flowlines-opencode-plugin

Installation
SKILL.md

Flowlines OpenCode Plugin Integration Guide

This document helps AI coding agents integrate the @flowlines/opencode-plugin into an OpenCode project.

What is the Flowlines OpenCode Plugin?

@flowlines/opencode-plugin is an OpenCode plugin that captures OpenTelemetry spans and exports them to Flowlines for observability and tracing of AI coding sessions. It initializes the Flowlines SDK, sets up an OpenTelemetry NodeSDK with a Flowlines span processor, and automatically exports all LLM-related spans to the Flowlines backend. The SDK is automatically shut down on process exit.

Prerequisites

  • An OpenCode project with a .opencode/opencode.jsonc configuration file
  • A Flowlines API key

Installation

There is nothing to install manually. OpenCode resolves plugins automatically from npm when listed in the config.

Configuration

Related skills
Installs
3
First Seen
Mar 9, 2026