← ClaudeAtlas

rollbar-clilisted

Perform Rollbar error monitoring operations using the Rollbar HTTP API via curl. Use for querying items, occurrences, and deploys.
abdullahkhawer/devops-skills · ★ 7 · DevOps & Infrastructure · score 78
Install: claude install-skill abdullahkhawer/devops-skills
# Rollbar CLI Skill Use the instance and rules below when constructing all Rollbar API commands. ## Configuration Update the table below with your Rollbar credential file paths: | Environment | Read Token File | Project | |---|---|---| | Production | `~/.rollbar/prod.token` | `<your-prod-project>` | | Staging | `~/.rollbar/staging.token` | `<your-staging-project>` | If the target environment is unclear, ask the user before running any command. ## Prerequisites (one-time setup by user) Generate a Rollbar project access token with `read` scope (**Project Settings → Access Tokens**) for each environment and save it to the corresponding token file. Never print or display token values. Do not perform these steps yourself. ```bash mkdir -p ~/.rollbar && echo "<your-read-token>" > <TOKEN_FILE> && chmod 600 <TOKEN_FILE> ``` ## Command Format ```bash curl -s "https://api.rollbar.com/api/1/<endpoint>?access_token=$(cat <TOKEN_FILE>)" | jq . ``` ## Available API Endpoints ### Read-only (safe, no confirmation needed) | Endpoint | Method | Description | |---|---|---| | `/api/1/items` | GET | List items (grouped errors) | | `/api/1/item/<id>` | GET | Get a specific item | | `/api/1/item/<id>/instances` | GET | List occurrences of an item | | `/api/1/deploys` | GET | List deploys | | `/api/1/project` | GET | Get project details | ### Mutating operations (confirm with user before running) | Endpoint | Method | Description | |---|---|---| | `/api/1/item/<id>` | PATCH | Update i