CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

tessl/agent-signals

Record which skills and MCP tools your agents use, and send those signals to your Tessl org so you can see which skills are reached for and which are never used

1.00x
Quality

97%

Does it follow best practices?

Impact

100%

1.00x

2 of 3 eval scenarios. Add 1 more for a full score.

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

README.md

agent-signals

Record which skills and MCP tools your coding agents use, and send those signals to your Tessl org. Your org can then see which skills agents reach for, which they never use, and how use changes over time.

Install

Org admins usually enable this plugin for every member from the org policy page. To install it yourself:

tessl install tessl/agent-signals

The plugin needs the Tessl CLI on your PATH, and you must be logged in (tessl login).

What it records

The plugin records one signal for each of these events in an agent session:

  • Skill invocation: the agent calls a skill through the agent's skill tool.
  • Skill read: the agent reads a skill's SKILL.md file, with a file-read tool or a shell command.
  • MCP tool call: the agent calls a tool on an MCP server. When the call goes through a gateway tool that wraps a Tessl tool, the signal names the Tessl tool.
  • Session start: the skills installed for the project and the MCP servers the agent reports.

Each signal holds:

  • the skill or tool name, and its plugin or MCP server;
  • the agent, the session id, and the time;
  • the git repository of the project, when it has one;
  • the model, and the duration of the tool call, when the agent reports them.

The plugin does not record prompts, agent responses, shell commands, file contents, or tool inputs and outputs.

When signals are sent

  1. The hooks write each signal to a local cache: ~/.tessl/agent-signals/<agent>/<encoded-project-path>/signals.jsonl
  2. At session start, and at session end where the agent supports it, the plugin runs tessl cli reconcile-client-state. This sends cached signals to Tessl and removes them from the cache.

Signals are sent only when all of these are true:

  • Agent signals are enabled for your Tessl org.
  • You are logged in to the Tessl CLI as a member of that org. If you belong to more than one Tessl org, your default org must be that org.
  • You have not opted out of usage data sharing. To opt out, set TESSL_SHARE_USAGE_DATA=0.

When a condition is false, signals stay in the local cache and nothing is sent.

Hooks

  • PostToolUse (hooks/emit-signal.sh): records skill invocations, skill reads, and MCP tool calls. It ignores tool calls that cannot produce a signal.
  • SessionStart (hooks/session-start.sh): records the session-start signal, then sends cached signals.
  • Stop (hooks/reconcile.sh): sends cached signals.

The hooks fail open. A hook failure never blocks the tool call or the session, and the hooks print nothing to the agent. The hooks run in the foreground, so each hook adds the time the Tessl CLI takes to record or send signals.

Compatibility

The Stop event is supported by Claude Code, Codex, Cursor, GitHub Copilot, GitHub Copilot for VS Code, and OpenHands. Gemini supports SessionStart but not Stop, so it sends signals only when a session starts.

Check what is recorded

Ask your agent to use the check-agent-signals skill. It explains what the plugin records, and how to read the local cache and find out why a signal is missing.

README.md

tile.json