swapnildahiphale/opensre/analytics-amplitude
Claude Code and agent skill by swapnildahiphale/opensre
- community
Checking that the SKILL.md file is still in the repository.
Amplitude product analytics. Use when querying user events, funnels, retention, or product usage data. Provides event segmentation, user activity lookup, and annotation queries.
Install
npx vskill@latest install swapnildahiphale/opensre/analytics-amplitudeSKILL.md
The same SKILL.md was published earlier as swapnildahiphale/opensre/analytics-amplitude.
Amplitude Analytics
Authentication
IMPORTANT: Credentials are injected automatically by a proxy layer. Do NOT check for AMPLITUDE_API_KEY or AMPLITUDE_SECRET_KEY in environment variables — they won't be visible to you. Just run the scripts directly; authentication is handled transparently.
Configuration environment variables you CAN check (non-secret):
AMPLITUDE_REGION— Region:US(default) orEU
Available Scripts
All scripts are in .claude/skills/analytics-amplitude/scripts/
query_events.py — Event Segmentation
Query event counts, uniques, averages over time. This is the primary analytics query.
Arguments:
--event(required): Event name exactly as tracked--start/--end(required): Date range (YYYYMMDD or YYYY-MM-DD)--interval:realtime,daily,weekly,monthly(default: realtime). Note: hourly is not available on all Amplitude plans.--metric:uniques,totals,avg,pct_dau(default: uniques)--group-by: Event property to segment by--filters: JSON array of property filters--raw: Output full JSON response
get_user_activity.py — User Activity Stream
Look up a specific user's event stream. Useful for debugging user-reported issues.
Arguments:
--user(required): Amplitude user ID or email--offset: Pagination offset (default: 0)--limit: Max events (default: 100)--raw: Output full JSON response
get_chart_annotations.py — Annotations
List chart annotations (deploy markers, releases, feature flags).
Investigation Workflow
Tips
- Event names are case-sensitive and must match exactly as tracked in Amplitude
- Date format:
YYYYMMDDorYYYY-MM-DD(both work) - The
--rawflag on any script gives you the full API response for deeper analysis - For time-series analysis, use
--interval dailyor--interval hourly uniquescounts distinct users;totalscounts total event firings
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsre-agent/.claude/skills/analytics-amplitude/SKILL.md
Popularity
- Repository stars
- 70
- Repository forks
- 18
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/swapnildahiphale/opensre/analytics-amplitude)