Harness Notes

Skill usage

Updated 2026-11-22,

On this page

Whether you can tell which skills get used: in a session, as local counts, in account reports, or as telemetry you collect yourself.

QuestionCursor Agentchecked at 2026.10.12-d47ca18
Skills used in a session

Partly

There is no skill-specific session view or hook. /skills lists the skills the CLI discovered, and you invoke one by hand with /skill-name. When the agent applies a skill itself, it reads that skill's SKILL.md. That read shows up as a readToolCall in --print --output-format stream-json, and a preToolUse/postToolUse hook with matcher Read (or a beforeReadFile hook) can catch it by checking the path.

The hook matchers cover tool types (Shell, Read, Write, Task, MCP:<tool>). None of them is for skills.

On Enterprise teams, OpenTelemetry Export's cursor.skill.activated log carries cursor.conversation.id, so you can list the skills each session used.

Local usage counts

Not supported

The CLI does not keep per-skill usage counts on disk. ~/.cursor/cli-config.json, ~/.cursor/agent-cli-state.json and the per-chat store.db files under ~/.cursor/chats/ have no skill counter. Usage is counted only on Cursor's servers, through the team Analytics API and OpenTelemetry Export.

To count locally, have a postToolUse hook append each Read of a SKILL.md to a file you own.

Account or team reports

Enterprise teams can call the Analytics API endpoints GET https://api.cursor.com/analytics/team/skills and GET /analytics/by-user/skills with an admin API key. Both return daily usage counts per skill_name, the second broken down by user. The Usage Analytics dashboard has no skills chart, and other plans have no skill report.

The Analytics API is for Enterprise teams only and needs an admin:* API key.

Dates default to the last 7 days. Use startDate/endDate for other ranges.

Telemetry you can collect

Enterprise admins can turn on OpenTelemetry Export in Team Settings > OpenTelemetry Export. Cursor's servers then send a cursor.skill.activated log (family skills_hooks_plugins, on by default) over OTLP/HTTP to a collector you run. Each log carries cursor.skill.name, cursor.skill.trigger (agent_read, manually_attached or skill_name_in_prompt), cursor.skill.source and cursor.conversation.id.

The export runs from Cursor's servers. The CLI has no local OTLP setting.

Delivery is at-least-once, so dedupe on cursor.event.id. Nothing from before the destination was set up is sent.

Whether a skill run succeeded

Not supported

No. cursor.skill.activated and the Analytics API skill counts record only that a skill was used. Neither says whether it succeeded or failed. The closest signals are the postToolUseFailure hook and the stream-json result event (is_error), which cover single tool calls and the whole turn, not one skill.

Notes and sources

Cursor Agent, 6 sources
Skills used in a session, 3
Local usage counts, 1
Account or team reports, 1
Telemetry you can collect, 2
Whether a skill run succeeded, 2