Loading...
Loading...
Investigate and analyse Rollbar errors, items, occurrences, deploys, and project health using the rollbar CLI. Use when asked to investigate Rollbar errors, search error items, check deploy status, run RQL queries, get occurrence details, or analyse any Rollbar data.
npx skill4agent add delexw/claude-code-misc rollbar-readerrollbar$ARGUMENTS[0]"active errors last 24h""top items production""item 12345""deploys this week""last 24h""yesterday""2026-03-01 to 2026-03-05"$ARGUMENTS[1].rollbar-reader-tmp/rollbarnpm install -g @delexw/rollbar-clirollbar config set-token <project> <token>rollbar config set-default <project>rollbar config set-account-token <token>.rollbar-reader-tmp/.rollbar-reader-tmp/
├── items.json # Error items list
├── occurrences/
│ └── <ITEM_ID>.json # Occurrences per item
├── deploys.json # Deploy history
├── rql-results.json # RQL query results (if used)
├── reports/
│ ├── top-active.json # Top active items report
│ └── occurrence-counts.json # Occurrence count data
└── report.md # Final analysis reportrollbarwhich rollbarnpm install -g @delexw/rollbar-clirollbar config list--projectelements-storefront--project <name>rollbar config list# Query items for a specific project
rollbar --project elements-storefront items list --status active
# Query occurrences for a specific project
rollbar --project elements-backend occurrences listrollbar config show--projectmkdir -p <OUT_DIR>/occurrences <OUT_DIR>/reports<OUT_DIR>$ARGUMENTS[1].rollbar-reader-tmp/$ARGUMENTS[0]--format jsonrollbar items# List all active items (default project)
rollbar items list --status active
# List active critical items for a specific project
rollbar --project my-app items list --status active --level critical
# List active errors (not warnings/info)
rollbar --project my-app items list --status active --level error
# List resolved items
rollbar --project my-app items list --status resolved
# List muted items
rollbar items list --status muted
# Paginate through results
rollbar --project my-app items list --status active --page 2--statusactiveresolvedmuted--levelcriticalerrorwarninginfodebug# Get item by numeric ID
rollbar items get --id 123456789
# Get item by UUID
rollbar items get --uuid "abcd1234-ef56-7890-abcd-ef1234567890"
# Get item by project counter (the "#123" number shown in Rollbar UI)
rollbar --project my-app items get --counter 123rollbar occurrences# List recent occurrences (default project)
rollbar occurrences list
# List occurrences for a specific project
rollbar --project my-app occurrences list
# Paginate
rollbar --project my-app occurrences list --page 2items listitems get# Get all occurrences for item ID 123456789
rollbar --project my-app occurrences list-by-item 123456789
# Paginate through occurrences
rollbar --project my-app occurrences list-by-item 123456789 --page 2# Get full occurrence detail
rollbar occurrences get 987654321rollbar config listrollbar --project <name> items list --status active --level errorrollbar --project <name> items get --id <item_id>rollbar --project <name> occurrences list-by-item <item_id>rollbar occurrences get <occurrence_id>$ARGUMENTS[0]"last 24h""yesterday""2026-03-01 to 2026-03-05"--hours$ARGUMENTS[0]<OUT_DIR>/report.md<OUT_DIR>/report.md| Name | When to Read |
|---|---|
| references/setup-guide.md | Installation and configuration guide |