Install the "sentry-android-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-android-sdk into .claude/skills/sentry-android-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-android-sdk", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-android-sdk -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "sentry-android-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-android-sdk into .agents/skills/sentry-android-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-android-sdk", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-android-sdk -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "sentry-android-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-android-sdk into .cursor/skills/sentry-android-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-android-sdk", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-android-sdk -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "sentry-android-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-android-sdk into .gemini/skills/sentry-android-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-android-sdk", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-android-sdk -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "sentry-android-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-android-sdk into .github/skills/sentry-android-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-android-sdk", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add getsentry/sentry-for-ai --skill sentry-android-sdk -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "sentry-android-sdk" agent skill from https://github.com/getsentry/sentry-for-ai/tree/main/skills-legacy/sentry-android-sdk into .opencode/skills/sentry-android-sdk/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sentry-android-sdk", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
sentry-android-sdk
GitHub stars
268
Token cost
~7.7k tokens
SKILL.md length
1,955 words
Files
9 (incl. references)
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0
At a glance
Full Sentry SDK setup for Android. An agent skill from getsentry/sentry-for-ai.
Works in 4 steps: Detect → Recommend → Guide → …
Asked to add Sentry to Android
SKILL.md covers Invoke This Skill When, Phase 1: Detect, Phase 2: Recommend and Phase 3: Guide, plus 4 more sections
Needs SENTRY_AUTH_TOKEN
What it does
Sentry Android SDK is an agent skill from getsentry/sentry-for-ai, published by the product's own GitHub organization. Full Sentry SDK setup for Android. Use when asked to "add Sentry to Android", "install sentry-android", "setup Sentry in Android", or configure error monitoring, tracing, profiling, session replay, or logging for Android applications. Supports Kotlin and Java codebases.
Its SKILL.md is about 7.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/crons.md`, `references/error-monitoring.md` and `references/integrations.md`).
It sits in Mobile, covering Android development. It works with Sentry, Android, Kotlin and Java. The repository describes itself as: Teach your AI coding assistant how to use Sentry - setup, debugging, alerts, and more. The licence is Apache-2.0.
When your agent uses it
Asked to add Sentry to Android
Install sentry-android
Setup Sentry in Android
Configure error monitoring
Example prompts
“add Sentry to Android”
“install sentry-android”
“setup Sentry in Android”
“/sentry-android-sdk”
Requirements
Node.js
A credential in SENTRY_AUTH_TOKEN
Workflow steps
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d8fd106. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
No scripts in the folder and no shell commands in SKILL.md (its code samples are kotlin, bash, groovy, xml, toml and java).
From the folder's file list and the shell code blocks in SKILL.md.
Network
Links to these hosts (documentation or services it may open):
docs.sentry.io
github.com
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names these keys or tokens, usually read from environment variables:
SENTRY_AUTH_TOKEN
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Sentry Android SDK loads about 7.7k tokens when it runs, and up to ~38k if it reads all its reference files. Until then it costs about 72 tokens; SKILL.md has 1,955 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~72
When it runs· the whole SKILL.md, loaded when a task matches
~7.7k
With references· SKILL.md plus every file in references/, read only if the agent opens them
~38k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/sentry-android-sdk/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
sentry-android-sdk
description
Full Sentry SDK setup for Android. Use when asked to "add Sentry to Android", "install sentry-android", "setup Sentry in Android", or configure error monitoring, tracing, profiling, session replay, or logging for Android applications. Supports Kotlin and Java codebases.
Opinionated wizard that scans your Android project and guides you through complete Sentry setup — error monitoring, tracing, profiling, session replay, logging, and more.
Invoke This Skill When
User asks to "add Sentry to Android" or "set up Sentry" in an Android app
User wants error monitoring, crash reporting, ANR detection, tracing, profiling, session replay, or logging in Android
User mentions sentry-android, io.sentry:sentry-android, mobile crash tracking, or Sentry for Kotlin/Java Android
User wants to monitor native (NDK) crashes, application not responding (ANR) events, or app startup performance
Note: SDK versions and APIs below reflect current Sentry docs at time of writing (io.sentry:sentry-android:8.33.0, Gradle plugin 6.1.0).
Always verify against docs.sentry.io/platforms/android/ before implementing.
Phase 1: Detect
Run these commands to understand the project before making any recommendations:
bash
# Detect project structure and build system
ls build.gradle build.gradle.kts settings.gradle settings.gradle.kts 2>/dev/null
# Check AGP version and existing Sentry
grep -r '"com.android.application"' build.gradle* app/build.gradle* 2>/dev/null | head -3
grep -ri sentry build.gradle* app/build.gradle* 2>/dev/null | head -10
# Check app-level build file (Groovy vs KTS)
ls app/build.gradle app/build.gradle.kts 2>/dev/null
# Detect Gradle version catalog (libs.versions.toml) — modern AGP projects
ls gradle/libs.versions.toml 2>/dev/null
# Check for existing Sentry entries in the version catalog
grep -iE 'sentry|io\.sentry' gradle/libs.versions.toml 2>/dev/null | head -10
# Check if build files reference the catalog (alias/libs.* usage)
grep -E 'alias\(libs\.|libs\.[a-zA-Z]' build.gradle build.gradle.kts app/build.gradle app/build.gradle.kts 2>/dev/null | head -5
# Detect Kotlin vs Java
find app/src/main -name "*.kt" 2>/dev/null | head -3
find app/src/main -name "*.java" 2>/dev/null | head -3
# Check minSdk, targetSdk
grep -E 'minSdk|targetSdk|compileSdk|minSdkVersion|targetSdkVersion' app/build.gradle app/build.gradle.kts 2>/dev/null | head -6
# Detect Jetpack Compose
grep -E 'compose|androidx.compose' app/build.gradle app/build.gradle.kts 2>/dev/null | head -5
# Detect OkHttp (popular HTTP client — has dedicated integration)
grep -E 'okhttp|retrofit' app/build.gradle app/build.gradle.kts 2>/dev/null | head -3
# Detect Room or SQLite
grep -E 'androidx.room|androidx.sqlite' app/build.gradle app/build.gradle.kts 2>/dev/null | head -3
# Detect Timber (logging library)
grep -E 'timber' app/build.gradle app/build.gradle.kts 2>/dev/null | head -3
# Detect Jetpack Navigation
grep -E 'androidx.navigation' app/build.gradle app/build.gradle.kts 2>/dev/null | head -3
# Detect Apollo (GraphQL)
grep -E 'apollo' app/build.gradle app/build.gradle.kts 2>/dev/null | head -3
# Check existing Sentry initialization
grep -r "SentryAndroid.init\|io.sentry.Sentry" app/src/ 2>/dev/null | head -5
# Check Application class
find app/src/main -name "*.kt" -o -name "*.java" 2>/dev/null | xargs grep -l "Application()" 2>/dev/null | head -3
# Adjacent backend (for cross-linking)
ls ../backend ../server ../api 2>/dev/null
find .. -maxdepth 2 \( -name "go.mod" -o -name "requirements.txt" -o -name "Gemfile" \) 2>/dev/null | grep -v node_modules | head -5
What to determine:
Question
Impact
build.gradle.kts present?
Use Kotlin DSL syntax in all examples
gradle/libs.versions.toml present?
Add Sentry to the version catalog; reference via libs.* in build files
Catalog already has sentry entries?
Reuse the existing version ref; don't duplicate or hardcode versions
minSdk < 26?
Note Session Replay requires API 26+ — silent no-op below that
Compose detected?
Recommend sentry-compose-android and Compose-specific masking
OkHttp present?
Recommend sentry-okhttp interceptor or Gradle plugin bytecode auto-instrumentation
Room/SQLite present?
Recommend sentry-android-sqlite or plugin bytecode instrumentation
Timber present?
Recommend sentry-android-timber integration
Jetpack Navigation?
Recommend sentry-android-navigation for screen tracking
Already has SentryAndroid.init()?
Skip install, jump to feature config
Application subclass exists?
That's where SentryAndroid.init() goes
Phase 2: Recommend
Present a concrete recommendation based on what you found. Don't ask open-ended questions — lead with a proposal:
Recommended (core coverage — always set up these):
✅ Session Replay — records screen captures and user interactions for debugging (API 26+)
Optional (enhanced observability):
⚡ Profiling — continuous UI profiling (recommended) or transaction-based sampling
⚡ Logging — structured logs via Sentry.logger(), with optional Timber bridge
⚡ User Feedback — collect user-submitted bug reports from inside the app
Recommendation logic:
Feature
Recommend when...
Error Monitoring
Always — non-negotiable baseline for any Android app
Tracing
Always for Android — app start time, Activity lifecycle, network latency matter
Session Replay
User-facing production app on API 26+; visual debugging of user issues
Profiling
Performance-sensitive apps, startup time investigations, production perf analysis
Logging
App uses structured logging or you want log-to-trace correlation in Sentry
User Feedback
Beta or customer-facing app where you want user-submitted bug reports
Propose: "For your [Kotlin / Java] Android app (minSdk X), I recommend setting up Error Monitoring + Tracing + Session Replay. Want me to also add Profiling and Logging?"
Phase 3: Guide
Determine Your Setup Path
Project type
Recommended setup
Complexity
New project, no existing Sentry
Gradle plugin (recommended)
Low — plugin handles most config
Existing project, no Sentry
Gradle plugin or manual init
Medium — add dependency + Application class
Manual full control
SentryAndroid.init() in Application
Medium — explicit config, most flexible
Option 1: Wizard (Recommended)
You need to run this yourself — the wizard opens a browser for login
and requires interactive input that the agent can't handle.
Copy-paste into your terminal:
npx @sentry/wizard@latest -i android
It handles login, org/project selection, Gradle plugin setup, dependency
installation, DSN configuration, and ProGuard/R8 mapping upload.
Once it finishes, come back and skip to Verification.
If the user skips the wizard, proceed with Option 2 (Manual Setup) below.
Option 2: Manual Setup
Using a Gradle Version Catalog (gradle/libs.versions.toml)
If Phase 1 detected gradle/libs.versions.toml, add Sentry to the catalog first, then reference it from your build files. This keeps versions centralized and matches modern AGP project conventions.
Note: Optional integration entries omit version.ref — their versions come from the BOM at resolution time. Only sentry-bom needs the version ref.
If the catalog already defines a sentry version, reuse it instead of adding a duplicate entry.
Step 2 — Reference the catalog from build.gradle[.kts]
plugins {
id "com.android.application"
alias libs.plugins.sentry.android.gradle
}
dependencies {
implementation platform(libs.sentry.bom)
implementation libs.sentry.android
}
Then continue with the sentry {} configuration block from Path A, Step 2 below. The rest of the setup (Application class init, manifest registration, verification) is identical.
Path A: Gradle Plugin (Recommended)
The Sentry Gradle plugin is the easiest setup path. It:
Uploads ProGuard/R8 mapping files automatically on release builds
Injects source context into stack frames
Optionally instruments OkHttp, Room/SQLite, File I/O, Compose navigation, and android.util.Log via bytecode transforms (zero source changes)
Step 1 — Add the plugin to build.gradle[.kts] (project-level)
Groovy DSL (build.gradle):
groovy
plugins {
id "io.sentry.android.gradle" version "6.1.0" apply false
}
Kotlin DSL (build.gradle.kts):
kotlin
plugins {
id("io.sentry.android.gradle") version "6.1.0" apply false
}
Step 2 — Apply plugin + add dependencies in app/build.gradle[.kts]
⚠️ Manifest meta-data is a convenient alternative but does not support the full option set. For complex configuration (session replay, profiling, hooks), use SentryAndroid.init().
Verification
After setup, verify Sentry is receiving events:
Test error capture:
kotlin
// In an Activity or Fragment
try {
throw RuntimeException("Sentry Android SDK test")
} catch (e: Exception) {
Sentry.captureException(e)
}
Test tracing:
kotlin
val transaction = Sentry.startTransaction("test-task", "task")
val span = transaction.startChild("test-span", "description")
span.finish()
transaction.finish()
Sentry Android SDK next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Sentry Android SDK compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Sentry Android SDK this skillgetsentry/sentry-for-ai
Looks up Android framework Java and AIDL APIs across versions with the android-api-diff CLI: signatures, availability, source files and hidden-API access code.
Full Sentry SDK setup for Android. An agent skill from getsentry/sentry-for-ai. Sentry Android SDK is an agent skill from getsentry/sentry-for-ai, published by the product's own GitHub organization. Full Sentry SDK setup for Android.
When should I use Sentry Android SDK?
Sentry Android SDK fits situations like: asked to add Sentry to Android; install sentry-android; setup Sentry in Android; configure error monitoring.
How do I install Sentry Android SDK in Claude Code?
Run `npx skills add getsentry/sentry-for-ai --skill sentry-android-sdk -a claude-code`. Or copy the skill folder (skills-legacy/sentry-android-sdk in getsentry/sentry-for-ai) into .claude/skills/sentry-android-sdk in your project. Claude Code loads it when a task matches its description.
How do I install Sentry Android SDK in Codex?
Run `npx skills add getsentry/sentry-for-ai --skill sentry-android-sdk -a codex`. Or copy the skill folder (skills-legacy/sentry-android-sdk in getsentry/sentry-for-ai) into .agents/skills/sentry-android-sdk in your project. Codex loads it when a task matches its description.
Can I use Sentry Android SDK in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add getsentry/sentry-for-ai --skill sentry-android-sdk -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sentry-android-sdk, .gemini/skills/sentry-android-sdk, .github/skills/sentry-android-sdk and .opencode/skills/sentry-android-sdk in your project.
What does Sentry Android SDK need to run?
Going by SKILL.md and its folder, Sentry Android SDK needs credentials named SENTRY_AUTH_TOKEN. Our summary lists: Node.js; A credential in SENTRY_AUTH_TOKEN.
Does Sentry Android SDK access the network?
SKILL.md names 2 domains. As links in the text: docs.sentry.io and github.com. This is read from the text; nothing was executed.
Is Sentry Android SDK safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Sentry Android SDK use?
Sentry Android SDK is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Sentry Android SDK use?
About 7.7k tokens (SKILL.md is roughly 31k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 30k tokens, read only when the agent opens those files.
What are the alternatives to Sentry Android SDK?
Skills that share tags, products or a category with Sentry Android SDK: Android Audio E2E (hyochan/react-native-nitro-sound, 961 stars), Apc Build (Joker-x-dev/AndroidProject-Compose, 102 stars), Dt Setup Android (Dynatrace/dynatrace-for-ai, 161 stars) and Android Dev (OpenMinis/MinisSkills, 440 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Sentry Android SDK?
getsentry (a GitHub organization, an official publisher) maintains it in getsentry/sentry-for-ai, which has 268 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 7, 2026.
Source: getsentry/sentry-for-ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.