Sentry CLI for Openclaw

A comprehensive command-line interface for managing Sentry.io error monitoring, release workflows, and debug artifact uploads.

iahmadzain
v1.0.1
Feb 5, 2026
0
2.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install sentry-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install sentry-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Sentry CLI?

The Sentry CLI skill provides a robust interface for developers to interact with Sentry.io directly from their terminal or automated pipelines. It is designed to handle the complexities of modern error monitoring, including the management of releases, the association of commits with issues, and the tracking of deployments across multiple environments. By utilizing this within Openclaw Skills, developers can ensure that their production errors are always actionable and mapped correctly to their source code.

This skill is essential for teams looking to automate their DevOps lifecycle, providing tools for both frontend deobfuscation and mobile symbolication. Whether you are managing JavaScript source maps or iOS dSYMs, this skill simplifies the process of getting the right data into Sentry for faster debugging and issue resolution.

Sentry CLI Use Cases

  • Automating the upload of JavaScript source maps to deobfuscate production stack traces.
  • Linking specific git commits to Sentry releases to identify which code changes introduced new errors.
  • Symbolicating crash reports for iOS and Android apps by uploading dSYMs and ProGuard mapping files.
  • Tracking application deployments across staging and production environments to monitor stability over time.
  • Monitoring cron jobs and background tasks via manual check-ins or command wrapping.

How Sentry CLI Works

  1. The user installs the sentry-cli utility through system package managers or npm.
  2. Authentication is established using an API token stored in environment variables or a configuration file.
  3. The skill identifies the project and organization context to target the correct Sentry instance.
  4. During the build process, the skill creates a new release and proposes a version based on version control metadata.
  5. Debug artifacts like source maps or debug symbols are validated and uploaded to Sentry's servers.
  6. Upon deployment, the release is finalized and marked as active in specific environments for real-time monitoring.

Sentry CLI Setup

To get started with this skill, install the CLI tool using one of the following methods:

# macOS
brew install sentry-cli

# npm (cross-platform)
npm install -g @sentry/cli

Once installed, authenticate your environment with Openclaw Skills by logging in or setting an auth token:

# Interactive login
sentry-cli login

# Or set the environment variable
export SENTRY_AUTH_TOKEN="your_auth_token"

You can verify your setup by running sentry-cli info to check connectivity and configuration.

Sentry CLI Data Schema & Taxonomy

The skill manages data across local configuration files and remote Sentry project metadata:

Data Type Description Location/Format
Authentication API tokens and project defaults .sentryclirc (INI format)
Release Info Version strings, commit SHAs, and deploy environments API Metadata
Source Maps .js and .map files for deobfuscation Dist Directory
Debug Files dSYMs for iOS or ProGuard files for Android Build Artifacts
Cron Monitors Monitor slugs and check-in statuses Sentry Monitors API

Sentry CLI Advanced Features

  • Automatic release version proposal using git integration.
  • Debug ID injection into source files for more reliable source map mapping.
  • Native support for GitHub Actions and other CI/CD platforms for automated release finalize workflows.
  • Detailed troubleshooting via debug log levels for artifact upload issues.
  • Support for wrapping shell commands to automatically report execution status to Sentry Monitors.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*