
Sentry Python Sdk
This is a comprehensive wizard for setting up Sentry in Python projects. It detects your framework (Django, Flask, FastAPI, Celery, etc.), scans for AI libraries like OpenAI or LangChain, then walks you through a complete configuration covering error monitoring, tracing, profiling, logging, and cron monitoring. The opinionated approach means it recommends specific sample rates and init locations rather than asking you to figure it out. Useful when you need full observability fast and don't want to piece together docs for every integration. The detection phase is smart enough to spot task queues and companion frontends, so it configures multi-process setups correctly. Best for greenfield setup or migrating from basic error tracking to full instrumentation.
- skills.sh installs
- 384
- GitHub stars
- 25
- last updated
- Aug 21, 2026
Install
$ npx -y skills add getsentry/sentry-agent-skills --skill sentry-python-sdk --agent claude-codeInstalls into .claude/skills of the current project.
Files
Sentry Python SDK
Opinionated wizard that scans your Python project and guides you through complete Sentry setup.
Invoke This Skill When
- User asks to "add Sentry to Python" or "setup Sentry" in a Python app
- User wants error monitoring, tracing, profiling, logging, metrics, or crons in Python
- User mentions
sentry-sdk,sentry_sdk, or Sentry + any Python framework - User wants to monitor Django views, Flask routes, FastAPI endpoints, Celery tasks, or scheduled jobs
Note: SDK versions and APIs below reflect Sentry docs at time of writing (sentry-sdk 2.x). Always verify against docs.sentry.io/platforms/python/ before implementing.
Phase 1: Detect
Run these commands to understand the project before making recommendations:
# Check existing Sentry
grep -i sentry requirements.txt pyproject.toml setup.cfg setup.py 2>/dev/null
# Detect web framework
grep -rE "django|flask|fastapi|starlette|aiohttp|tornado|quart|falcon|sanic|bottle" \
requirements.txt pyproject.toml 2>/dev/null
# Detect task queues
grep -rE "celery|rq|huey|arq|dramatiq" requirements.txt pyproject.toml 2>/dev/null
Sponsors
Details
- Repository
- github.com/getsentry/sentry-agent-skills
- Categories
- DevOps & CI/CD, AI & Agent Building, Debugging, Python
- First seen
- Jun 3, 2026
More from getsentry/sentry-agent-skills
All 20- Sentry Cocoa Sdk334
- Sentry Go Sdk321
- Sentry Svelte Sdk319
- Sentry Ruby Sdk311
- Sentry Otel Exporter Setup304
- Sentry Dotnet Sdk303
- Sentry Setup Logging289
- Sentry Setup Tracing253
- Sentry Setup Metrics209
- Sentry React Native Setup150
- Sentry Fix Issues2.6K
- Sentry React Setup1.1K
- Sentry Setup Ai Monitoring900
- Sentry Nextjs Sdk665
- Sentry Pr Code Review637
- Sentry Create Alert596
- Sentry React Sdk586
- Sentry React Native Sdk549
- Sentry Sdk Skill Creator422