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.
mdr add kevinlin/skills/agent-insights@v1.6.1Pins 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
mdr add kevinlin/skills/agent-insights@sha256:3a5f13a2288500f7The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.6.1 latest | 2026-07-24 | a7168a2 | 8,274 B | A | view · diff |
| v1.6.0 | 2026-07-22 | e14c789 | 8,258 B | A | view · diff |
| v1.5.7 | 2026-07-17 | 008f8cd | 7,858 B | A | view |
Audit of the latest version
- 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
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.