Code Insights
Description
Each session is analyzed to extract structured insights — decisions with trade-offs and alternatives, learnings with root causes, and prompt quality scores across 5 dimensions with actionable before/after takeaways.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Code Insights
Turn your AI coding sessions into knowledge.
Extract decisions, learnings, and prompt quality scores. Detect patterns. Get better at working with AI.
npx @code-insights/cli
Analyzes your sessions from **Claude Code, Cursor, Codex CLI, Copilot CLI, and VS Code Copilot Chat** to extract structured insights — decisions with trade-offs, learnings with root causes, prompt quality with actionable feedback, and cross-session patterns that surface what's working and what's not. All stored locally in SQLite, browsable through terminal analytics and a built-in dashboard.
**No accounts. No cloud. No data leaves your machine.**
**Claude Code users: zero-config analysis, zero cost.** Install the hook once. Every session gets analyzed automatically using your Claude subscription.
code-insights install-hook
**Works with Ollama — free, local, zero API keys.** If you have [Ollama](https://ollama.com) installed, `code-insights` will detect it automatically and use it for AI analysis. No account, no cost, no data leaves your machine.
ollama pull llama3.3 # recommended npx @code-insights/cli # Ollama detected automatically
What You Get
Decisions, Learnings & Prompt Quality
Each session is analyzed to extract structured insights — decisions with trade-offs and alternatives, learnings with root causes, and prompt quality scores across 5 dimensions with actionable before/after takeaways.
Cross-Session Patterns
...
Related Skills
mcp-server-postgres
Read-only PostgreSQL database access.
Data mcp-server-sqlite
SQLite database interaction and querying.
Data mcp-server-google-maps
Google Maps integration for location data.
Data Bitbucket Data Center
---
Data Csv Data Summarizer
Automatically analyze CSV files and generate comprehensive insights with visualizations
Data Financial Services
Reference agents, skills, and data connectors for the financial-services workflows we see most — investment ba
Data