Repository navigation
opencode-analytics v0.1.0
First public release of opencode-analytics.
Highlights
- local SQLite-backed analytics for OpenCode skill usage
- tracking for skill and skill_use
- built-in slash commands for overview, detail, health, recent runs, and export
- zero-config default setup with optional opencodeAnalytics overrides
- degraded runtime handling that preserves reads after write failures
Install
Install command:
npm install opencode-analytics@0.1.0
Then add this to opencode.json:
{
"plugin": ["opencode-analytics"]
}
Built-in commands
- /skill-analytics-overview
- /skill-analytics-detail
- /skill-analytics-health [name]
- /skill-analytics-recent [limit]
- /skill-analytics-export [limit]
Docs
- Install: https://github.com/dokkazy/opencode-analytics/blob/main/docs/install.md
- Configuration: https://github.com/dokkazy/opencode-analytics/blob/main/docs/configuration.md
- Commands: https://github.com/dokkazy/opencode-analytics/blob/main/docs/commands.md
- Migration: https://github.com/dokkazy/opencode-analytics/blob/main/docs/migration-from-local-plugin.md
Notes
- Phase 1 ships skill analytics only
- data stays local to the machine
- no hosted dashboard or remote telemetry is included in this release