send-agent-telemetry
What it does
This skill connects Claude Code or Codex to Sazabi so that every session is searchable. It is for teams who want to see what their coding agents did and track token use and cost.
When to use it
- ✓When you want to know what your coding agents ran last night.
- ✓When you want to track token usage or cost for coding agent sessions.
- ✓When you need an audit of agent activity across a team.
Skill link
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/send-agent-telemetry/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Send Claude Code session telemetry to Sazabi, and keep prompt text out of it unless I opt in.”
5 new skills a week. 1 minute to read.
How it works
The agent asks what may leave the machine, since prompts and tool inputs can contain sensitive data, then sets up an intake address for each agent. Prompt export is off by default unless you choose to include it.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
See what your agents did
Claude Code and Codex have built-in OpenTelemetry exporters. Pointed at Sazabi,
every session becomes searchable: prompts, tool calls and results, model
requests with token counts and cost. Then "what did the agents run last night"
and "which sessions cost the most" are questions for sazabi/logs.ask.
0. How the tools work
The Sazabi MCP server lists only two tools, search and execute. Browse
Sazabi's operations with search and namespace: "sazabi" (an empty query
without a namespace lists connected connectors, not Sazabi operations). Before
calling one, repeat search with namespace: "sazabi", the hit's full name as
the query, and includeInputSchema: true to load its arguments. Then run it
with execute as { name, arguments }, the name copied from the hit (for
example sazabi/logs.ask).
1. Decide what may leave the machine
Ask before exporting prompt text. Prompts and tool inputs can contain code, customer data and credentials. Codex always exports tool-call arguments and truncated results, whatever the prompt setting, so say that plainly when the user picks Codex. Default to prompts off unless the user opts in.
2. Get an intake URL per agent
Run sazabi/logSources.list. If there is no source for this agent yet, create
one with sazabi/logSources.create in manual mode (one source per agent:
Claude Code, Codex) and use the intake endpoint it returns. Keep the URL out of
any committed file.
3. Configure the agent
Claude Code reads the env block of ~/.claude/settings.json (or a
project's .claude/settings.local.json, which must stay untracked):
{
"env": {
"CLAUDE_CODE_ENABLE_TELEMETRY": "1",
"OTEL_LOGS_EXPORTER": "otlp",
"OTEL_EXPORTER_OTLP_PROTOCOL": "http/protobuf",
"OTEL_EXPORTER_OTLP_ENDPOINT": "<intake URL>",
"OTEL_LOG_USER_PROMPTS": "0",
"OTEL_LOG_ASSISTANT_RESPONSES": "0"
}
}
Set OTEL_LOG_ASSISTANT_RESPONSES explicitly: unset, it follows the prompts
setting. Do not set a metrics exporter; Sazabi does not store Claude Code
metrics.
Codex reads ~/.codex/config.toml. Use one [otel] table with an inline
exporter, and the full logs URL including /v1/logs (Codex does not add it):
[otel]
log_user_prompt = false
exporter = { otlp-http = { endpoint = "<intake URL>/v1/logs", protocol = "binary" } }
If [otel] already exists, edit it in place. A second [otel] header is a
TOML error that stops Codex from starting.
Merge into existing files; never overwrite a user's settings.
4. Prove it
Agents load settings at startup, so start a new session and run one prompt.
Then ask sazabi/logs.ask for claude_code.api_request or codex.api_request
events in the last 15 minutes. Report what is flowing, what is excluded, and a
first useful question, such as cost per session today.
Anti-patterns
- Turning on prompt export without asking. It is the user's data, and sometimes their customers'.
- Committing the settings file. It holds the intake URL.
- Assuming it works. A session that started before the change exports nothing new.
FAQ
Are prompts sent by default?
No. The skill keeps prompt export off unless you opt in.
Does Codex send tool details regardless of the prompt setting?
The skill says Codex always exports tool-call arguments and truncated results, so you should know that before choosing it.
What can I ask once data arrives?
You can ask which sessions cost the most or what agents ran in a given time window.
Details
Original description by the author
Stream coding-agent session telemetry (prompts, tool calls, model requests, tokens and cost) from Claude Code or Codex into Sazabi over OpenTelemetry, with privacy settings chosen on purpose. Use when the user wants observability for their coding agents or agent fleet, to track agent token usage or cost, to audit what agents ran, or to send agent telemetry to Sazabi.
repo: ParadevAI/Paradev
Popularity
- GitHub stars
- 16k
- Ranking position
- #10845
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
decide
16kWalks you through design or code decisions one at a time, with clear options and a recommendation. Each answer is logged, and a final summary is given.
mobile-demo-film
16kTurns phone screen recordings into a polished demo video with title cards, a phone frame, and an end card. Good for feature demos and launch clips.
redesign
16kReviews an existing interface component and suggests concrete visual fixes for spacing, contrast, hierarchy, and layout. It can also apply the changes.
superset-settings
16kLets your agent view and change the Paradev desktop app's settings, such as theme, fonts, and notifications, from the command line.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.