bugsnag-cli

Use the bugsnag-cli command-line tool to interact with the Bugsnag Data Access API. Use this skill whenever the user mentions Bugsnag errors, wants to investigate production bugs tracked in Bugsnag, check project health or stability metrics, list organizations/projects/releases, configure their Bugsnag CLI access, or needs help with any bugsnag-cli command syntax. Also triggers when the user asks about error trends, crash-free rates, or wants to comment on Bugsnag errors from the terminal.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "bugsnag-cli" with this command: npx skills add yoanbernabeu/bugsnag-cli/yoanbernabeu-bugsnag-cli-bugsnag-cli

bugsnag-cli

A fast, agent-friendly CLI for the Bugsnag Data Access API. Outputs JSON by default (ideal for agents and scripts), supports --format table for human reading.

When to read which reference

Pick the reference file that matches the user's intent:

User intentReference file
Install, configure, authenticate, first stepsreferences/quickstart.md
Investigate a specific error (details, events, trends, comments)references/investigate-error.md
Assess overall project health (error counts, trends, stability, releases)references/project-health.md
Look up exact command syntax, flags, or optionsreferences/command-reference.md

If unsure, start with references/command-reference.md — it covers every command.

Quick overview

Authentication

Three methods (checked in this priority order):

  1. Flag: --api-token TOKEN or -t TOKEN
  2. Env var: BUGSNAG_API_TOKEN
  3. Config file: ~/.bugsnag-cli.yaml (created via bugsnag configure --api-token TOKEN)

Available commands

CommandDescription
bugsnag configureSave auth token and defaults to config file
bugsnag organizations listList organizations
bugsnag projects list/getList or get project details
bugsnag errors list/getList errors with filters, or get error details
bugsnag events list/getList event occurrences, or get event details
bugsnag trends project/errorView error trends over time
bugsnag collaborators listList organization collaborators
bugsnag comments list/createList or add comments on errors
bugsnag releases listList project releases
bugsnag stability trendView crash-free session rate
bugsnag versionPrint CLI version

Global flags

FlagShortDefaultDescription
--api-token-tBugsnag API token
--format-fjsonOutput format: json or table
--per-page30Results per page (1-100)
--all-pages-afalseFetch all pages
--base-urlhttps://api.bugsnag.comAPI base URL
--config~/.bugsnag-cli.yamlConfig file path

Output format

JSON lists return: {"data": [...], "total_count": N, "has_more": bool}

Single items return the object directly. Errors go to stderr as {"error": "..."}.

Exit codes

CodeMeaning
0Success
1General error
2Configuration error (missing token/flag)
3API error (401, 403, 404, 500)
4Network error (timeout, DNS, connection refused)

Common workflows

First setup:

bugsnag configure --api-token TOKEN
bugsnag organizations list
bugsnag projects list --org-id ORG_ID

Investigate an error: read references/investigate-error.md

Project health check: read references/project-health.md

Need exact flag syntax: read references/command-reference.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

slidev-quick-start

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

slidev-styling

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

slidev-syntax-guide

No summary provided by upstream source.

Repository SourceNeeds Review