Rius for Claude Code
A Claude Code plugin that streams your sessions to Rius
as OpenTelemetry GenAI traces. Each session becomes one trace: turns, model
generations with token counts, tool calls and subagents, laid out as a
waterfall that fills in while the session is still running.
Docs ·
Console ·
Getting started ·
Changelog ·
Issues

What Rius sends
Rius is built for Claude Code: the terminal, the desktop app and the IDE
extensions. It doesn't run in claude.ai or Cowork and sees nothing from
them.
The same repository also ships beta support for two other coding agents,
Codex and Cursor. They send the same traces to
the same Rius hosts described below, and each keeps its own sign-in, key and
settings. Everything in this README describes Claude Code unless it says
otherwise.
Installing it sends nothing. You sign in with /rius:login, then choose
each folder to trace. Only you can run these commands: Claude can't run them
for you, and a repository's settings can't turn tracing on.
- Structure only (
/rius:enable-here, the default): the span tree,
model names, token counts, timing, status, tool names, error types, the
kind of command a shell call ran (test, build, ...), a subagent's
type, the folder path and git branch, and the email you signed in with at
/rius:login. No prompts, replies, tool inputs or outputs, subagent
briefs or session name.
- With content (
/rius:enable-content-here): all of the above, plus
your prompts, Claude's replies (never its thinking), tool inputs and tool
outputs, which include file contents and command output.
A folder enabled before 0.5.0 keeps sending content until you run one of the
two commands again; /rius:status says so. RIUS_CAPTURE_CONTENT=false
turns content off everywhere.
Secrets in content mode
Before export, the plugin replaces the secrets it recognises with a marker
such as [redacted:aws-key]: AWS, GCP, GitHub, Slack, Stripe, OpenAI,
Anthropic and Rius keys, JWTs, private keys, password=, secret=,
token= and api_key= style values, and Authorization or Bearer headers.
The output of a read of .env*, *.pem, *.key, id_rsa*,
credentials*, .npmrc, .pypirc or .netrc is replaced whole. This is
best effort: a secret in a format it doesn't know is sent. Each value is
capped at 32 KB.
Fields