analytics-dashboard
Skill0 starsChanged 3 months agoMITView on GitHub
User behavior tracking and analytics dashboards. Apply automatically when the request matches; the user does not need to mention this skill.
- Reads credentials
5 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- EvezArt/evez-skillsedited, first seen Nov 1, 2026
- graphed-inc/marketing-skillstheir own version, first seen Oct 25, 2026
- charlie947/social-media-skillstheir own version, first seen Sep 15, 2026
- wltn7810-dotcom/claude-skilltheir own version, first seen Jul 13, 2026
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- EvezArt/evez-skills★ 399% same
Wrote their own version · 4
- charlie947/social-media-skills★ 4.4ksame name
- graphed-inc/marketing-skills★ 30same name
- mahiunfiltered/claude-code-skills★ 1same name
- wltn7810-dotcom/claude-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository76 other files it gives its agents.
- app-store-submission-packagerSkill
- digital-product-inventorSkill
- ios-testflight-github-actionsSkill
- meta-ads-analyzerSkill
- get-to-know-a-clientSkill
- investigate-before-recommendSkill
- production-system-auditSkill
- similarweb-analyticsSkill
- stock-analysisSkill
- system-architectSkill
- autonomous-github-syncSkill
- autonomous-sync-scriptSkill
- github-gem-seekerSkill
- organize-github-reposSkill
- using-git-worktreesSkill
- brainstorm-logosSkill
- brand-driven-ux-overhaulSkill
- canvas-designSkill
- excel-generatorSkill
- frontend-designSkill
- inspirational-music-video-productionSkill
- theme-factorySkill
- video-generatorSkill
- multiplayer-game-builderSkill
- promo-code-systemSkill
- realistic-ai-persona-builderSkill
- role-based-access-controlSkill
- serverless-debuggingSkill
- vertical-expansion-blueprintSkill
- manus-mcp-configuratorSkill
- mcp-auto-recoverySkill
- mcp-builderSkill
- mcp-connector-testerSkill
- mcp-ecosystem-optimizerSkill
- voice-ai-integrationSkill
- api-endpoint-builderSkill
- database-schema-generatorSkill
- testing-frameworkSkill
- deployment-automationSkill
- error-monitoring-setupSkill
- github-workflow-automationSkill
- email-system-builderSkill
- feature-flag-systemSkill
- user-authentication-systemSkill
- cron-job-schedulerSkill
- file-upload-systemSkill
- notification-systemSkill
- payment-integrationSkill
- search-implementationSkill
- debug-mining-engineSkill
- doc-coauthoringSkill
- docxSkill
- internet-skill-finderSkill
- pdfSkill
- pptxSkill
- project-handoff-ingestionSkill
- serverless-debuggingSkill
- skill-arsenal-builderSkill
- skill-creatorSkill
- skill-demo-builderSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 13 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use this skill when the request matches its description.
- Very specific: line 71
Next.js: - Add to app/layout.tsx:
- Distinctive: line 84
Python/Flask: - Add to app initialization:
- Distinctive: line 136
Use in your app:
- Distinctive: line 362
Check API key is correct
- Distinctive: line 363
Verify analytics is initialized
- Distinctive: line 364
Check browser console for errors
- Distinctive: line 365
Test in production mode
- Distinctive: line 368
Verify API endpoint exists
- Distinctive: line 370
Ensure data is being tracked
- Distinctive: line 371
Check network tab for errors
- Distinctive: line 377
Use sampling for high-volume
- Distinctive: line 388
Test and debug: 30 min
- Distinctive: line 391
Run setup script: 5 min
“Common” is measured: kept by at least 6 in 10 of the 5 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.
Files
Overview
User behavior tracking and analytics dashboards. Apply automatically when the request matches; the user does not need to mention this skill.
This skill should apply automatically when the request matches; the user does not need to mention this skill.
Usage
Use this skill when the request matches its description. The skill is discovered automatically; the user does not need to mention the skill explicitly.
Analytics Dashboard Skill
Automate setup of analytics tracking and dashboard generation for web applications.
Purpose
This skill helps you implement comprehensive analytics tracking and create beautiful dashboards to understand user behavior, track conversions, and measure product success.
When to Use
- Adding analytics to a new application
- Implementing event tracking for user actions
- Creating analytics dashboards
- Switching analytics providers
- Setting up conversion tracking
- Building admin analytics views
What It Does
- Detects project type (Next.js, React, Express, Python)
- Installs analytics dependencies (PostHog, Mixpanel, Amplitude, Segment)
- Creates analytics configuration with initialization code
- Generates dashboard components with key metrics
- Provides tracking patterns for common events
- Includes best practices for performance and privacy
Quick Start
1. Run Setup Script
python3 /home/ubuntu/skills/analytics-dashboard/scripts/setup_analytics.py \
/path/to/your/project \
posthog \
YOUR_API_KEYArguments:
project_dir: Path to your projectprovider: Analytics provider (posthog, mixpanel, amplitude, segment)api_key: Your analytics API key
2. Initialize Analytics
Next.js - Add to app/layout.tsx:
import { initAnalytics } from '@/lib/analytics'
export default function RootLayout({ children }) {
useEffect(() => {
initAnalytics()
}, [])
return <html>{children}</html>
}Python/Flask - Add to app initialization:
from analytics import track_event, identify_user
@app.before_request
def track_page_view():
if current_user.is_authenticated:
track_event(current_user.id, 'page_view', {
'path': request.path
})3. Track Events
import { trackEvent } from '@/lib/analytics'
// Track button click
<button onClick={() => trackEvent('signup_clicked', {
location: 'homepage'
})}>
Sign Up
</button>
// Track form submission
const handleSubmit = (data) => {
trackEvent('form_submitted', {
form_name: 'contact',
fields: Object.keys(data)
})
}
// Track conversion
trackEvent('purchase_completed', {
amount: 99.99,
currency: 'USD',
items: 3
})4. Add Dashboard
Copy the generated dashboard component:
cp /home/ubuntu/skills/analytics-dashboard/templates/dashboard.tsx \
/path/to/your/project/components/Use in your app:
import AnalyticsDashboard from '@/components/AnalyticsDashboard'
export default function AdminPage() {
return <AnalyticsDashboard />
}Supported Providers
PostHog (Recommended)
- Best for: Startups, product analytics
- Features: Session replay, feature flags, A/B testing
- Pricing: Generous free tier
- Setup time: 5 minutes
Mixpanel
- Best for: User behavior analysis
- Features: Funnels, retention, cohorts
- Pricing: Free up to 100k events/month
- Setup time: 10 minutes
Amplitude
- Best for: Product-led growth
- Features: Behavioral analytics, predictions
- Pricing: Free up to 10M events/month
- Setup time: 10 minutes
Segment
- Best for: Multiple analytics tools
- Features: Single API for all providers
- Pricing: Free up to 1k users/month
- Setup time: 15 minutes
Key Metrics to Track
Engagement
- Daily Active Users (DAU)
- Weekly Active Users (WAU)
- Monthly Active Users (MAU)
- Session duration
- Pages per session
Conversion
- Signup conversion rate
- Trial-to-paid conversion
- Purchase completion rate
- Funnel drop-off points
Retention
- Day 1, 7, 30 retention
- Churn rate
- Cohort analysis
Product
- Feature adoption rate
- User flows
- A/B test results
Event Tracking Patterns
Page Views
useEffect(() => {
trackEvent('page_view', {
path: window.location.pathname,
referrer: document.referrer
})
}, [pathname])User Actions
trackEvent('button_clicked', {
button_name: 'signup',
location: 'homepage_hero'
})User Identification
identifyUser(user.id, {
email: user.email,
plan: user.subscription_plan,
signup_date: user.created_at
})Conversions
trackEvent('purchase_completed', {
amount: total,
currency: 'USD',
payment_method: 'stripe'
})Dashboard Components
The generated dashboard includes:
- Key Metrics Cards
- Total events
- Unique users
- Average session duration
- Bounce rate
- Charts
- User growth (line chart)
- Top events (bar chart)
- Conversion funnel
- Tables
- Top pages by views
- Top events by count
- Recent user activity
Best Practices
Performance
- ✅ Load analytics asynchronously
- ✅ Batch events together
- ✅ Debounce high-frequency events
- ❌ Don't block page load
Privacy
- ✅ Get user consent (GDPR)
- ✅ Provide opt-out mechanism
- ✅ Anonymize sensitive data
- ❌ Don't track PII without consent
Data Quality
- ✅ Include context with events
- ✅ Use consistent naming
- ✅ Test in development
- ❌ Don't track too much
Files Generated
Scripts
scripts/setup_analytics.py- Automated setup script
Templates
templates/dashboard.tsx- Analytics dashboard component
References
references/analytics_patterns.md- Comprehensive guide (300+ lines)
Workflow
- Setup → Run script to install and configure
- Initialize → Add analytics to app entry point
- Track → Add event tracking throughout app
- Dashboard → Add dashboard component for viewing
- Optimize → Refine based on data
Examples
E-commerce Site
// Product viewed
trackEvent('product_viewed', {
product_id: product.id,
category: product.category,
price: product.price
})
// Added to cart
trackEvent('add_to_cart', {
product_id: product.id,
quantity: 1,
cart_total: cart.total
})
// Purchase completed
trackEvent('purchase_completed', {
order_id: order.id,
total: order.total,
items: order.items.length
})SaaS Application
// Trial started
trackEvent('trial_started', {
plan: 'pro',
trial_days: 14
})
// Feature used
trackEvent('feature_used', {
feature_name: 'export_data',
usage_count: user.export_count
})
// Subscription upgraded
trackEvent('subscription_upgraded', {
from_plan: 'basic',
to_plan: 'pro',
mrr_change: 20
})Troubleshooting
Events not showing up
- Check API key is correct
- Verify analytics is initialized
- Check browser console for errors
- Test in production mode
Dashboard not loading
- Verify API endpoint exists
- Check CORS settings
- Ensure data is being tracked
- Check network tab for errors
Performance issues
- Batch events together
- Debounce high-frequency events
- Load analytics asynchronously
- Use sampling for high-volume
Time Savings
Manual Setup: 2-3 hours
- Research providers: 30 min
- Install dependencies: 15 min
- Write configuration: 45 min
- Create dashboard: 60 min
- Test and debug: 30 min
With This Skill: 15-20 minutes
- Run setup script: 5 min
- Configure API keys: 5 min
- Add tracking: 5 min
- Test: 5 min
Time Saved: ~2 hours per project
Related Skills
deployment-automation- Deploy with analytics configureduser-authentication-system- Identify users after loginfeature-flag-system- Track feature flag usageerror-monitoring-setup- Combine with error tracking
Resources
- PostHog Documentation
- Mixpanel Best Practices
- Amplitude Playbook
- Analytics Patterns Reference
Built with best practices, privacy-conscious, performance-optimized.
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
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.

