Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By orq-ai Verified Orgv0.6.1MITIn 1 marketplace
Sends each Claude Code session to Orq as nested traces of turns, tool calls and subagents. Hooks on every prompt and tool call send prompts and responses to Orq, and tracing needs an Orq API key.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
orq, tracing, opentelemetry, otlp, observability, llm-observability, tool-call-tracing, claude-code ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
ORQ_API_KEYOptional. Leave blank to use ORQ_API_KEY env var or the orqi CLI profile (see plugin docs for resolution order).
SensitivestringOptional
Automatically trace Claude Code sessions to Orq. Captures sessions, turns, tool calls, LLM responses, and subagents as hierarchical OTLP spans.
claude plugin marketplace add orq-ai/assistant-plugins
claude plugin install orq-trace@orq-claude-plugin
orq.claude_code.session (root, carries the whole conversation)
├── chat claude-opus-4-6 (LLM response)
├── execute_tool Bash (tool call)
├── chat claude-opus-4-6 (LLM response)
├── execute_tool Read (tool call)
├── subagent.Explore (subagent)
│ ├── execute_tool Grep (subagent tool)
│ └── chat claude-opus-4-6 (subagent LLM)
├── claude.context.compact (compaction event)
└── claude_code.error.rate_limit (API error event)
An API key must be resolvable for tracing to activate. The hook reads it from the first of these that is non-empty:
| Source | Description |
|---|---|
Plugin option ORQ_API_KEY | Prompted for when you enable the plugin (stored as a sensitive value); change it with /plugin configure. Claude Code passes it to the hook as CLAUDE_PLUGIN_OPTION_ORQ_API_KEY. |
ORQ_API_KEY env var | Used when the plugin option is empty. |
The hook does not read ~/.orq/config.json or any orq CLI profile.
Migrating from profile-based setup (0.5.x and earlier). ORQ_TRACE_PROFILE, ORQ_PROFILE and the orq CLI's current profile are no longer consulted. If you relied on them, enter your key as the plugin option (/plugin configure) or export ORQ_API_KEY in your shell.
| Variable | Description | Default |
|---|---|---|
ORQ_BASE_URL | Override API base URL | https://my.orq.ai |
ORQ_OTLP_ENDPOINT | Explicit OTLP ingest URL, for hosts where the derived api. host does not serve OTLP (e.g. staging) | Derived from base URL |
OTEL_EXPORTER_OTLP_ENDPOINT | Override the full OTLP endpoint URL (wins over ORQ_OTLP_ENDPOINT) | — |
OTEL_EXPORTER_OTLP_HEADERS | Extra headers for OTLP endpoint (comma-separated key=value) | — |
| Variable | Description | Default |
|---|---|---|
TRACE_ORQ_REDACT_CONTENT | Strip ALL input/output content from traces (true/1) | false |
ORQ_TRACE_MAX_CONTENT_LEN | Truncate content exceeding this character limit | No limit |
| Variable | Description | Default |
|---|---|---|
ORQ_TRACE_USER | User identity attached to traces (filterable as metadata.user) | Falls back to git config user.email |
| Variable | Description | Default |
|---|---|---|
ORQ_DEBUG | Enable debug logging to stderr and /tmp/orq-trace-debug.log (true/1) | false |
ORQ_CLAUDE_STATE_DIR | Override session state directory | ~/.claude/state |
API Key:
1. CLAUDE_PLUGIN_OPTION_ORQ_API_KEY (plugin option)
2. ORQ_API_KEY env var
3. none: tracing stays off
Base URL: ORQ_BASE_URL, else https://my.orq.ai
OTLP endpoint: OTEL_EXPORTER_OTLP_ENDPOINT, else ORQ_OTLP_ENDPOINT,
else derived from the base URL (my. -> api.)
Empty values are treated as unset.
| Hook | Purpose |
|---|---|
SessionStart | Initialize session state, capture git context and user |
UserPromptSubmit | Record the prompt and advance the turn count (emits no span) |
Stop | Process transcript, emit tool + LLM spans incrementally |
StopFailure | Emit error span for API failures (rate limits, etc.) |
PostToolUse | Record successful tool calls (name, input, response) in session state |
PostToolUseFailure | Track failed tool calls |
PreCompact | Emit context compaction event span |
SubagentStart | Track subagent lifecycle |
SubagentStop | Emit subagent + child spans |
SessionEnd | Batch-send root + turn + transcript spans, cleanup |
Content is automatically scanned for sensitive data before sending:
7-day copy clicks
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub orq-ai/assistant-plugins --plugin orq-trace