🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Rollbar

by @vittor1o

Monitor and manage Rollbar error tracking. List recent items, get item details, resolve/mute issues, track deployments, and manage project access tokens via...

Versionv1.5.0
Downloads1,070
Installs2
TERMINAL
clawhub install rollbar

πŸ“– About This Skill


name: rollbar description: "Monitor and manage Rollbar error tracking. List recent items, get item details, resolve/mute issues, and track deployments via the Rollbar API." homepage: https://github.com/vittor1o/rollbar-openclaw-skill metadata: openclaw: emoji: "πŸ›" requires: env: - ROLLBAR_ACCESS_TOKEN bins: - curl - python3

Rollbar Skill

Monitor and manage Rollbar errors directly from OpenClaw.

Setup

Set your Rollbar access token as an environment variable:

export ROLLBAR_ACCESS_TOKEN=your-token

> ⚠️ Security: Store tokens in environment variables or a secure secret manager β€” never commit them to repository files.

Two token types are supported:

  • Project-level token (recommended) β€” found in Rollbar β†’ Project β†’ Settings β†’ Project Access Tokens. Use a token with read scope for monitoring; add write scope only if you need to resolve/mute items. This is the most restrictive and safest option for single-project use.
  • Account-level token (for multi-project setups) β€” found in Rollbar β†’ Account Settings β†’ Account Access Tokens. Use --project-id to target specific projects. The skill auto-resolves a project read token from the account token. Note: account tokens grant broader access β€” only use when you need to monitor multiple projects.
  • Commands

    All commands use the helper script rollbar.sh in this skill directory.

    List projects (account token only)

    ./skills/rollbar/rollbar.sh projects
    

    List recent items (errors/warnings)

    ./skills/rollbar/rollbar.sh items [--project-id ] [--status active|resolved|muted] [--level critical|error|warning|info] [--limit 20]
    

    Get item details

    ./skills/rollbar/rollbar.sh item 
    

    Get occurrences for an item

    ./skills/rollbar/rollbar.sh occurrences  [--limit 5]
    

    Resolve an item

    ./skills/rollbar/rollbar.sh resolve 
    

    Mute an item

    ./skills/rollbar/rollbar.sh mute 
    

    Activate (reopen) an item

    ./skills/rollbar/rollbar.sh activate 
    

    List deploys

    ./skills/rollbar/rollbar.sh deploys [--limit 10]
    

    Get project info

    ./skills/rollbar/rollbar.sh project
    

    Top active items (summary)

    ./skills/rollbar/rollbar.sh top [--limit 10] [--hours 24]
    

    Proactive Monitoring

    To get automatic alerts for new critical/error items, set up a cron job in OpenClaw:

    > "Check Rollbar for new critical or error-level items in the last hour. If any new items appeared, summarize them and alert me."

    Recommended schedule: every 30–60 minutes during work hours.

    Notes

  • All output is JSON for easy parsing.
  • The top command sorts active items by occurrence count β€” useful for daily triage.
  • Rollbar API docs: https://docs.rollbar.com/reference
  • βš™οΈ Configuration

    Set your Rollbar access token as an environment variable:

    export ROLLBAR_ACCESS_TOKEN=your-token
    

    > ⚠️ Security: Store tokens in environment variables or a secure secret manager β€” never commit them to repository files.

    Two token types are supported:

  • Project-level token (recommended) β€” found in Rollbar β†’ Project β†’ Settings β†’ Project Access Tokens. Use a token with read scope for monitoring; add write scope only if you need to resolve/mute items. This is the most restrictive and safest option for single-project use.
  • Account-level token (for multi-project setups) β€” found in Rollbar β†’ Account Settings β†’ Account Access Tokens. Use --project-id to target specific projects. The skill auto-resolves a project read token from the account token. Note: account tokens grant broader access β€” only use when you need to monitor multiple projects.
  • πŸ“‹ Tips & Best Practices

  • All output is JSON for easy parsing.
  • The top command sorts active items by occurrence count β€” useful for daily triage.
  • Rollbar API docs: https://docs.rollbar.com/reference