Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Agent Skill InsightsNew to Visual Studio Code? Get it now.
Agent Skill Insights

Agent Skill Insights

Paul Vatiche

|
1 install
| (0) | Free
Browse installed agent skills, estimate context tokens, and track skill invocations by project.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Agent Skill Insights

Agent Skill Insights is a desktop extension for VS Code and Cursor. It inventories local agent skills, shows the full Markdown body, and reports estimated tokens and manual or automatic invocations by project.

Install and open

  1. Install the VSIX from Extensions: Install from VSIX… in either editor.
  2. Open Agent Skill Insights: Open Skill Catalog from the Command Palette.
  3. Search by name, description, source, or path. Click a skill to read its body or see its invocation history. Use Open… to edit its source, reveal it in your file manager, or open its folder in Cursor when available.

Analytics and skill ranking

Click Agent Skill Insights in the Activity Bar to open the Analytics sidebar. Open full page opens the same dashboard in an editor tab. Filter by project and agent to see invocation counts and the manual and automatic breakdown.

The ranking defaults to most invocations. It can also rank by manual or automatic invocations. It includes recorded skills from other projects, even when their files are outside the current catalog.

Open Unused skills from the sidebar or Analytics to see catalog skills with zero recorded invocations. Search by name, description, or path, and filter by location. Select a skill name to open its source file. The page uses the same recorded history as Analytics.

Discovery

The catalog scans known skill directories in every open local workspace and in your home directory. It includes OpenCode's workspace and global skills directories and skills from registered Claude Code plugins. It also discovers nested Cursor workspace skills, local Cursor plugins, recognized Cursor marketplace installs, Copilot CLI plugins, and installed editor extensions that declare contributes.chatSkills. Symbolic links to the same file are combined and their sources are listed together.

Use the skillViewer.additionalDirectories setting for another local or plugin directory. VS Code paths enabled in chat.agentSkillsLocations and plugins enabled in chat.pluginLocations are also included. The catalog is a local inventory across harnesses. Each agent applies its own eligibility and priority rules. Remote skills and built-in or managed skills without an exposed local file are outside the inventory.

Token estimates and history

Metric What it counts
Catalog tokens The frontmatter name and description, as an estimate of discovery context. Skills with automatic invocation disabled or missing metadata are excluded from the total.
Skill bundle tokens SKILL.md and local supporting UTF-8 text, including references and scripts. The detail view shows coverage. Linked files, dependencies, Git metadata, and cache directories are excluded.
Estimated input tokens per captured load Text returned by a reported skill tool or SKILL.md read. If the hook only identifies the file, the estimate counts that file in full and may overcount partial reads. The history identifies the basis for each estimate.

The extension uses the o200k_base tokenizer locally for all three metrics. Estimates omit model-specific prompt framing, subsequent requests, generated output, caching, and billing. Automatic invocations require an observable tool event. A captured event without countable text or a readable file contributes to the load count and shows a dash for tokens.

Usage by project

Usage by project shows recorded invocations, counts by agent, and token estimates for each project. Select a project to filter catalog activity and each skill's invocation history. A local Git checkout and its linked worktrees share the main checkout's project. Separate clones have separate totals. Outside Git, Agent Skill Insights uses the workspace folder or agent working directory. Existing entries are grouped when the worktree path still resolves. In invocation history, hover over the project name to see the original workspace path.

Manual indicates an explicit skill selection. Automatic indicates an observed agent-initiated load, including loads prompted by a plain-language request. Unknown covers older events and cases where the collector lacks enough information to classify the load.

Select Enable usage tracking for Cursor or Copilot. Expand Tracking for other agents to enable an installed CLI separately. Start a new agent session after setup. Command hooks use local Node.js 20 or later. Codex requires you to review and trust the Agent Skill Insights hooks in its /hooks menu.

Agent Manual Automatic
Cursor and Copilot Recognized /skill-name in a completed turn or matching tool load Reported skill and SKILL.md read tool calls
Claude Code Slash command expansions that resolve to a local skill Successful Skill calls and reported SKILL.md reads
Codex Recognized $skill-name references in completed turns or matching tool loads Recognizable single-file SKILL.md reads, including simple shell reads
OpenCode v1 — Reported skill tool calls

The collector keeps short-lived turn metadata to correlate events. Journals contain skill identifiers, project paths, timestamps, invocation types, and token estimates. They stay on this device. Prompt text, shell commands, and skill contents stay out of the journal. Disabling tracking retains the recorded history. Both editors can read the shared CLI journal under ~/.skill-viewer.

When Cursor runs an imported Claude Code hook, Agent Skill Insights records the load through Cursor's own hook so the dashboard counts it once.

Development

Run npm ci, then press F5 in VS Code or Cursor to compile the extension and open an Extension Development Host.

The TypeScript entry point is src/extension.ts. esbuild produces the extension in dist/extension.js and the standalone hook collector in dist/collector.cjs. Webview HTML, CSS, and JavaScript live in media/.

npm run compile
npm test
npm run package

See Cursor hooks, Copilot hooks, Claude Code hooks, Codex hooks, and the OpenCode v1 plugin interface.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft