agentleFS
alanalvestechalanalvestech/hitank/skills/sentry/SKILL.md

sentry

Skill38 starsChanged 8 months agoMITView on GitHub

Monitor and manage Sentry issues, events, releases and projects via API

34 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ghidra, openscad and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • mitsuhikoSkill

    ghidra

    Reverse engineer binaries using Ghidra's headless analyzer. Decompile executables, extract functions, strings, symbols, and analyze call graphs without GUI.

    Also in 3 projects that use this

  • mitsuhikoSkill

    openscad

    Create and render OpenSCAD 3D models. Generate preview images from multiple angles, extract customizable parameters, validate syntax, and export STL files for 3D printing platforms like MakerWorld.

    Also in 3 projects that use this

  • digitalocean-labsSkill

    postgres

    Configure DigitalOcean Managed Postgres with bindable variables or schema isolation. Use when setting up databases, creating users, managing permissions, configuring multi-tenant schemas, or troubleshooting database connectivity on App Platform.

    Also in 3 projects that use this

  • NVIDIASkill

    github

    Interact with GitHub using the gh CLI restricted to REST API only (no GraphQL). Use when the user wants to work with GitHub issues, pull requests, repos, releases, or Actions — especially in sandboxed environments where the GraphQL endpoint may be blocked. Trigger keywords - github, gh, pull request, PR, github issue, github actions, workflow, release, gh api.

    Also in 7 projects that use this

  • +2 more from mitsuhiko

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the output is OK, proceed to the Flow section.

    line 34
  2. Very specific:

    If the output is SETUP_NEEDED, guide the user step by step.

    line 36
  3. Distinctive:

    If the script outputs an error, the token is invalid.

    line 58

“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/sentry

Connect to the Sentry API to monitor issues, browse events, manage releases and resolve errors. Pure Ruby, zero gems — stdlib only.

Structure

scripts/
├── auth.rb          # Bearer token + sentry_request helper (required by all scripts)
├── check_setup.rb   # Check if token exists (outputs OK or SETUP_NEEDED)
├── save_token.rb    # Save and validate an API token
├── organizations.rb # List organizations
├── projects.rb      # List projects for an organization
├── issues.rb        # List issues for a project (optional --query flag)
├── issue.rb         # Get issue details
├── events.rb        # List events for an issue
├── resolve.rb       # Resolve an issue (requires confirmation)
└── releases.rb      # List releases for an organization

Setup (check before using)

ruby ~/.claude/skills/sentry/scripts/check_setup.rb

If the output is OK, proceed to the Flow section.

If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.

Step 1 — Ask the user to create an API token:

You need a Sentry Auth Token. Go to User Settings > Auth Tokens in Sentry:

https://sentry.io/settings/account/api/auth-tokens/

Create a new token with the following scopes:

  • project:read
  • org:read
  • event:read
  • issue:admin (needed to resolve issues)

Copy the token and paste it here.

Step 2 — When the user pastes the token, save it:

ruby ~/.claude/skills/sentry/scripts/save_token.rb 'PASTED_TOKEN'

If the script outputs an error, the token is invalid. Ask the user to double-check and try again.

If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.

Flow

The argument $ARGUMENTS may contain an org slug or project slug.

Step 1: List organizations

ruby ~/.claude/skills/sentry/scripts/organizations.rb

Present the organizations to the user. If $ARGUMENTS matches an org slug, use that org. Otherwise ask which org to work with.

Step 2: List projects

ruby ~/.claude/skills/sentry/scripts/projects.rb ORG_SLUG

Present the projects to the user. If $ARGUMENTS matches a project slug, use that project. Otherwise ask which project to work with.

Step 3: Actions

List issues (most recent, unresolved by default):

ruby ~/.claude/skills/sentry/scripts/issues.rb ORG PROJECT

Search issues with a query:

ruby ~/.claude/skills/sentry/scripts/issues.rb ORG PROJECT --query "is:unresolved level:error"

Get issue details:

ruby ~/.claude/skills/sentry/scripts/issue.rb ISSUE_ID

List events for an issue:

ruby ~/.claude/skills/sentry/scripts/events.rb ISSUE_ID

Resolve an issue (requires user confirmation):

Show the issue details first, then ask: "Do you want to resolve this issue?" Only execute after a "yes".

ruby ~/.claude/skills/sentry/scripts/resolve.rb ISSUE_ID

List releases for an organization:

ruby ~/.claude/skills/sentry/scripts/releases.rb ORG_SLUG

Notes

  • Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
  • Auth via Bearer token
  • Token file: ~/.config/sentry/token (outside the repo, never commit)
  • Resolving issues requires explicit user confirmation
  • Base URL: https://sentry.io/api/0

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.