Opik is an open-source platform for tracing, evaluating, and monitoring applications that use large language models, retrieval systems, or AI agents. Teams use it to inspect agent activity, manage prompts, run evaluations, and monitor these applications in production.
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.
git clone --depth 1 https://github.com/comet-ml/opikWrote 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.
[](https://agentmods.dev/rules/comet-ml/opik/backend-reactive-threading)<a href="https://agentmods.dev/rules/comet-ml/opik/backend-reactive-threading"><img src="https://agentmods.dev/badge/rules/comet-ml/opik/backend-reactive-threading/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.
<a href="https://agentmods.dev/rules/comet-ml/opik/backend-reactive-threading"><img src="https://agentmods.dev/badge/rules/comet-ml/opik/backend-reactive-threading.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00259 |
| Opus 5.5 | $0.00000 | $0.00104 |
| Sonnet 5.5 | $0.00000 | $0.00052 |
| Haiku 4.5 | $0.00000 | $0.00026 |
Grade A, and why
backend-reactive-threading 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 today.
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.
What it actually says
Backend Reactive Threading
When writing or reviewing a Mono or Flux chain, load the reactive-threading skill. Before opening the PR, run
its "Validate" steps.
- A blocking or I/O call that returns a plain value (S3 and other AWS SDK calls, JDBI, sync Redisson,
@Cacheablegetters, sync HTTP, file I/O) runs in its ownOffload.blocking(...). - CPU that grows with the input runs in
Offload.cpu(...), never onboundedElasticor a client thread. - Per-item blocking on a
Flux(chunk writes, per-item S3 or lookups): oneOffload.blockingEach(...)right before it. - Never block on
ClickHouseWorker,chc-operation,redisson-nettyorparallel;block()only at the edge. - An entry point (resource, job, subscriber, listener) runs its chain on its own scheduler and records it with
Offload.originalOn. - Light work gets no hop.
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.
- today First seen · 19 lines · 0 tokens per session scan A 8e0257237af7
backend-reactive-threading is a cursor rule published in the GitHub repository comet-ml/opik (23,537 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 259 tokens. 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-12-02.
backend-reactive-threading compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backend-reactive-threadingcomet-ml/opik | Cursor rule | 24k | today | Apache-2.0 | A | 0 | Cursor |
| gatewaycoddy-project/coddy-agent | Cursor rule | 215 | today | MIT | A | 0 | Cursor |
| e2e-testingelie222/inbox-zero | Cursor rule | 13k | today | none | A | 0 | Cursor |
| code-stylecoddy-project/coddy-agent | Cursor rule | 215 | today | MIT | A | 366 | Cursor |
| mcp-debugginggiantswarm/mcp-debug | Cursor rule | 39 | today | Apache-2.0 | A | 0 | Cursor |
| vibes-plug-backendroedyrustam/vibes-plug | Cursor rule | 131 | 5d ago | MIT | A | 0 | Cursor |
| js-sdk-genai-instrumentationopenlit/openlit | Cursor rule | 3.1k | today | Apache-2.0 | A | 0 | Cursor |