agent-insights SKILL.md skillA

agent-insights from kevinlin/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kevinlin/skills/agent-insights@v1.6.1

Pins v1.6.1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kevinlin/skills
Path
agent-insights/SKILL.md
Versions recorded
3
Latest version
v1.6.1, committed Jul 24, 2026
First version recorded
Jul 17, 2026
Size
8,274 bytes
Repository stars
5
License
MIT

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…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# agent-insights

Cross-tool version of Claude Code's builtin `/insights`. Everything runs locally;
no session data leaves the machine.

`SKILL_DIR` below means this skill's directory; `SCRIPT` means
`python3 <SKILL_DIR>/scripts/agent_insights.py`. All intermediate files live in
`~/.agent-insights/` (override with `--data-dir` on every subcommand, e.g. for tests).

## Arguments

One optional argument: number of days to analyze. Default 30, clamp to 1..365.
Non-numeric input: tell the user, then proceed with 30.

## Pipeline

### Step 0 — Detect runtime

```bash
SCRIPT detect
```

Detects whether this skill is running on the host machine (where the user's agent logs
live) or inside a **sandboxed runtime** such as Claude Cowork, whose Bubblewrap container
does not mount the host filesystem. Reads the JSON result:

- If `sandboxed` is `false`, continue to Step 1.
- If `sandboxed` is `true`, the host machine's agent log directories are **not reachable**
  from this runtime. Do **not** run a full report from here: it would be empty or cover
  only the sandbox's own session. Instead, tell the user:
  - the detected `runtime` and `confidence`, and the `signals` that fired;
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kevinlin/skills/agent-insights@sha256:3a5f13a2288500f7

The line at the top of this page pins the label v1.6.1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7rslczidbvk7mlh3.svg)](https://markdownregistry.com/a/art_7rslczidbvk7mlh3)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jul 17, 2026 and Jul 24, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
v1.6.1 latest2026-07-24 a7168a2 8,274 BA view · diff
v1.6.02026-07-22 e14c789 8,258 BA view · diff
v1.5.72026-07-17 008f8cd 7,858 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8274 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kevinlin/skills · 5 stars · license MIT · pushed 2026-10-27 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7rslczidbvk7mlh3
GET https://markdownregistry.com/api/v1/resolve?ref=kevinlin/skills/agent-insights
GET https://markdownregistry.com/api/v1/blob/3a5f13a2288500f7a27006f4b31734d5f186f40b50e66f6d4913a449dd45aea4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kevinlin/skills

CLAUDE.md CLAUDE.md file
kevinlin/skills · CLAUDE.md
git:20261027.0d3e083 · audit A · 5 stars
code-review-expert SKILL.md skill
kevinlin/skills · code-review-expert/SKILL.md · Expert code review with a senior engineer lens — covers architecture, SOLID principles, security vulnerabilities…
v1.0.0 · audit A · 5 stars
declawed SKILL.md skill
kevinlin/skills · declawed/SKILL.md · De-slop pass for any text: mechanically scans for the statistical tells of AI writing (the "not X but Y" reflex…
v1.2.2 · audit A · 5 stars
gap-analysis SKILL.md skill
kevinlin/skills · gap-analysis/SKILL.md · Use when producing or updating a gap-analysis HTML report. Triggers on "gap analysis", "gap register", "gap index"…
v1.1.0 · audit A · 5 stars
html-diagram SKILL.md skill
kevinlin/skills · html-diagram/SKILL.md · Use when the user needs an architecture or system diagram, a CI/CD, build, or release pipeline, an ETL or data…
v1.2.2 · audit A · 5 stars
research-plan-implement SKILL.md skill
kevinlin/skills · research-plan-implement/SKILL.md · Complete Research \u2192 Plan \u2192 Implement workflow for complex tasks. Use this skill whenever the user faces…
v1.0.0 · audit A · 5 stars
spec-coding SKILL.md skill
kevinlin/skills · spec-coding/SKILL.md · Guide users through spec-driven development — from goal clarification through requirements, design, task planning, and…
v1.0.1 · audit A · 5 stars
spec-compact SKILL.md skill
kevinlin/skills · spec-compact/SKILL.md · Compact a spec plan (or design doc) markdown file after the implementation has shipped: strip the transient how — code…
v1.1.2 · audit A · 5 stars
CLAUDE.md@spec-compact/evals/fixtures/repos/lint-debris CLAUDE.md file
kevinlin/skills · spec-compact/evals/fixtures/repos/lint-debris/CLAUDE.md
git:20260814.841991c · audit B · 5 stars
CLAUDE.md@spec-compact/evals/fixtures/repos/shipped-plan CLAUDE.md file
kevinlin/skills · spec-compact/evals/fixtures/repos/shipped-plan/CLAUDE.md
git:20260814.841991c · audit B · 5 stars
CLAUDE.md@spec-compact/evals/fixtures/repos/unshipped-plan CLAUDE.md file
kevinlin/skills · spec-compact/evals/fixtures/repos/unshipped-plan/CLAUDE.md
git:20260814.841991c · audit B · 5 stars
spec-lint SKILL.md skill
kevinlin/skills · spec-lint/SKILL.md · Lint the project's specification docs (requirements / design / plan / task markdown): orphan specs, dead cross-doc…
v1.2.1 · audit A · 5 stars

Every file in kevinlin/skills

Browse by kind, by grade A, or by owner.