
Agent insights
Builds a cross-tool report on how you use your local AI coding agent sessions
Agent insights is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- shell, Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Agent insights
Agent insights reads the session logs that AI coding tools such as Claude Code, Cursor, Codex and GitHub Copilot keep on your machine, covering a chosen window of recent days. It parses each tool's storage format, drops trivial sessions, and compares usage across tools rather than inside one vendor's history.
The workflow runs in stages: a scan that normalizes sessions and caches metadata, per-session extraction of goals, outcomes, satisfaction and friction, an aggregation step that totals the results, and a rendering step that writes a self-contained HTML report. A bundled Python script handles the deterministic parts using only the standard library, and the skill also detects when it is running in a sandbox that cannot see the host's logs.
Everything stays on the local machine and the script makes no network calls. Python 3 is required, and the skill needs access to the agent log directories of the host. Intermediate files and the report are written under a per-user data folder.
When your agent uses it
Generate a cross-tool usage insights report from locally stored AI coding agent sessions (Claude Code, Claude Cowork, GitHub Copilot for VS Code/CLI/JetBrains, Cursor, Codex, Kiro, Antigravity, OpenCode) over the last N days, default 30. Use when the user invokes /agent-insights, asks for insights, analytics, or a report on their agent sessions, asks how they're using their coding agents or what's working or causing friction, wants to compare their coding agent tools, or asks what their AI coding patterns look like, even when they don't say "report".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs shell and Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- Includes binary files(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 25 files (1.3 MB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ai-sdlc-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add kevinlin/skills
/plugin install ai-sdlc-skills@ai-sdlcOr copy only this skill to ~/.claude/skills/agent-insights:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kevinlin/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/agent-insights &&
cp -R "$tmp/agent-insights" ~/.claude/skills/agent-insights &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/agent-insights inside it instead.
Copy the skill folder to ~/.agents/skills/agent-insights to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kevinlin/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/agent-insights &&
cp -R "$tmp/agent-insights" ~/.agents/skills/agent-insights &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/agent-insights inside it instead.
Copy the skill folder to ~/.cursor/skills/agent-insights to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kevinlin/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/agent-insights &&
cp -R "$tmp/agent-insights" ~/.cursor/skills/agent-insights &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/agent-insights inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/kevinlin/skills.git --path agent-insightsOr copy the folder to ~/.gemini/skills/agent-insights yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/agent-insights:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kevinlin/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/agent-insights &&
cp -R "$tmp/agent-insights" ~/.copilot/skills/agent-insights &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/agent-insights inside it instead.
Get the folder:
git clone --depth 1 https://github.com/kevinlin/skills.gitThen copy skills/agent-insights into your agent's skills folder as agent-insights. Agents that support SKILL.md read one folder per skill.
What it does
- Cross-tool session scanning
- Discovers and parses locally stored sessions from several AI coding agents over a configurable number of days.
- Session facet extraction
- Extracts goal, outcome, satisfaction, friction and user expertise for each session in batches.
- Skill invocation counting
- Counts skill usage deterministically from tool logs and slash commands, merging names across tools.
- Self-contained HTML report
- Renders a local report with narrative sections, per-tool breakdowns and usage charts.
- Sandbox detection
- Checks whether the host's agent logs are reachable and explains when they are not.
- Local-only privacy
- Keeps all processing and cached transcript snippets on the user's machine.
Good for
- Compare how I use Claude Code versus Cursor over the last month
- Show what my coding agent sessions say about friction and what is working
- Summarize my AI coding patterns across tools for the past week
- Find which skills I invoked most often across my agent sessions
- Generate a 90-day report of my coding agent usage
Agent insights FAQ
What does the skill need to run?
Python 3 is required, using only the standard library. It reads session logs that already exist on the local machine and must run where those logs are reachable, not inside a sandbox that cannot see the host filesystem.
Does Agent insights send my session data anywhere?
No. The skill runs locally, the script makes no network calls, and transcript snippets only appear in the local report and cache.
What is the default time window?
The default is the last 30 days. The number of days is clamped to between 1 and 365.
Which tools does Agent insights read sessions from?
It covers Claude Code, Claude Cowork, GitHub Copilot for VS Code, CLI and JetBrains, Cursor, Codex, Kiro, Antigravity and OpenCode.
How do I install Agent insights in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/agent-insights to use it in all your projects, or to .claude/skills/agent-insights in one project. Or install the ai-sdlc-skills plugin, which includes it: /plugin marketplace add kevinlin/skills, then /plugin install ai-sdlc-skills@ai-sdlc.
Does Agent insights run scripts?
Yes. It runs shell and Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Agent insights?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Agent insights?
The closest alternatives to Agent insights are Agent skill stack, Agentic actions auditor, Agent architecture audit, Awesome agent skills and Agent eval.
Where this comes from
- Description: from the skill's own SKILL.md.
More from kevinlin/skills

Gives your agent a senior-engineer checklist for reviewing diffs, PRs and branches
- Open source
- 5 GitHub stars
- Developer tools

Removes AI-writing tells from any text and rewrites it to fit its genre
- Open source
- 5 GitHub stars
- Writing style

Produces structured HTML gap analysis reports and a master gap register for bids
- Open source
- 5 GitHub stars
- Productivity

Generates styled HTML/CSS architecture and pipeline diagrams that embed directly
- Open source
- 5 GitHub stars
- Developer tools

Turns meeting recordings and notes into speaker-attributed transcripts and verified recaps
- Open source
- 5 GitHub stars
- Productivity

Guides an agent through research, planning and phased implementation for complex tasks
- Open source
- 5 GitHub stars
- Developer tools




