Productivity & Leaderboard
Track your focus, productivity streaks, and compete with yourself using Autopilot Insights.
Productivity & Leaderboard
Autopilot isn't just a commit tool—it's a productivity engine. The built-in Focus Engine tracks your coding activity, file modifications, and "in-the-zone" time to provide deep insights into your work habits.
The insights Command
Run autopilot insights to see your personal productivity dashboard directly in your terminal.
autopilot insights
Key Metrics
- Commit Quality Score: An AI-generated score (0-100) that evaluates your commit messages against Conventional Commits standards.
- Focus Time: Total time spent actively editing files.
- Peak Hours: A histogram showing when you are most productive.
- Active Streaks: Consecutive days with coding activity.
Your Personal Leaderboard
While Autopilot is a local-first tool, you can export your data to create your own leaderboards or share stats with your team.
Exporting Data
You can export your session data to CSV or JSON for analysis in Excel, Google Sheets, custom dashboards, or CI artifacts.
autopilot insights --export csv
autopilot insights --export json
This generates an autopilot-insights.csv file containing:
- Timestamp
- Event Type (File Change, Commit, Push)
- File Path
- Duration
autopilot insights --export json generates autopilot-insights.json with the same metrics plus a timestamped metadata wrapper.
Gamifying Your Workflow
Autopilot encourages better habits through "Nudges" and "Micro-Goals".
- Nudges: If you've been editing a file for a long time without committing, Autopilot will gently "nudge" you to save your work.
- Micro-Goals: (Coming Soon) Set daily targets for commits or focus time.
Global Leaderboard (Opt-In)
Autopilot offers an optional global leaderboard to see how your productivity compares with other developers. We designed this feature with strict privacy controls to ensure it remains a fun, optional addition—not a surveillance tool.
Privacy & Trust Rules
- Participation is Opt-In: You are never automatically added to the leaderboard. You must explicitly enable syncing (e.g.,
autopilot config set leaderboard.sync true). - No Code Collected: We only sync metrics (commit counts, focus time, consistency scores). No file contents, diffs, or commit messages are ever sent to our servers.
- Anonymized IDs: We do not store your raw email or username as your primary ID. We use hashed identifiers. GitHub account linking is required via OAuth only to verify identity and prevent spam.
- Autopilot-Only: Rankings include only commits generated by Autopilot to measure automated workflow consistency.
- Insight over Competition: The goal is to highlight consistency and focus, not to encourage commit spam. Algorithms favor steady progress over burst activity.
Dashboard Visualization
For a real-time visual representation of your activity, use the dashboard command:
autopilot dashboard
This opens a live TUI (Text User Interface) showing:
- Status: Current watcher state (Running/Paused).
- Recent Activity: Live log of file changes.
- Next Action: Countdown to the next auto-commit.