From opscompanion
Search logs and traces, or run a live tail, when the user asks about current system behavior, incidents, errors, or recent runtime activity.
How this skill is triggered — by the user, by Claude, or both
Slash command
/opscompanion:opscompanion-observabilityThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use OpsCompanion observability commands for live or recent runtime investigation.
Use OpsCompanion observability commands for live or recent runtime investigation.
This skill is for:
Do not use opc search for this. opc search is for stored knowledge and memory, not live telemetry.
Choose the command that matches the user's intent:
opc --agent codex logs "<query>"
opc --agent codex logs tail "<query>" --tui
opc --agent codex traces "<query>"
opc logs| Flag | Default | Description |
|---|---|---|
--service | none | Filter by service name; repeatable |
--severity | none | Filter by severity; repeatable |
--since | 24h | Time range: 1h, 6h, 12h, 24h, 3d, 7d, 14d |
--mode | keyword | Search mode: keyword or regex |
--case-sensitive | off | Enable case-sensitive search |
--limit | 50 | Maximum number of results |
--json | off | Output full API response as JSON |
--ndjson | off | Output one result object per line |
opc logs tail| Flag | Default | Description |
|---|---|---|
--service | none | Filter by service name; repeatable |
--severity | none | Filter by severity; repeatable |
--mode | keyword | Search mode: keyword or regex |
--case-sensitive | off | Enable case-sensitive search |
--limit | 20 | Maximum number of results per poll |
--tui | off | Launch the interactive Bubble Tea tail UI |
opc logs tail does not accept --since.
opc traces| Flag | Default | Description |
|---|---|---|
--service | none | Filter by service name; repeatable |
--since | 24h | Time range: 1h, 6h, 12h, 24h, 3d, 7d, 14d |
--mode | keyword | Search mode: keyword or regex |
--case-sensitive | off | Enable case-sensitive search |
--limit | 50 | Maximum number of results |
--json | off | Output full API response as JSON |
--ndjson | off | Output one result object per line |
| User says | Command to use |
|---|---|
| "what errors are we seeing in api?" | opc --agent codex logs --service api --severity ERROR |
| "tail vercel-app while I test this" | opc --agent codex logs tail --service vercel-app --tui |
| "search for timeout logs in the last hour" | opc --agent codex logs "timeout" --since 1h |
| "find checkout traces" | opc --agent codex traces "checkout" |
| "regex for connection reset" | `opc --agent codex logs "connection reset |
Prefer the narrowest useful service and severity filters before broad free-text queries.
When the user wants to watch a service live, prefer:
opc --agent codex logs tail --service "<service>" --tui
The TUI supports:
j / k or arrow keys to scrollpgup / pgdn for page movementg / G for top and bottomf to toggle follow modeq or Ctrl-C to quit--json or --ndjson.$opscompanion-search.If an observability command fails with a config error, run $opscompanion-init first.
npx claudepluginhub opscompanion/opscompanion-skills --plugin opscompanionOperates a Traceway observability instance via the traceway CLI: login, query exceptions, logs, endpoints, metrics, and debug production issues to root cause.
Views application logs and enables OpenTelemetry-based tracing via TrueFoundry. Supports log filtering, Traceloop SDK instrumentation for Python/TypeScript, and custom spans.
Guides debugging of Kubernetes applications and alerts using VictoriaMetrics metrics, VictoriaLogs, VictoriaTraces via 4-phase protocol with subagents.