send-agent-telemetry
できること
このスキルは、Claude CodeやCodexをSazabiに接続し、すべてのセッションを検索できるようにします。コーディングエージェントが何をしたかを確認し、トークンの使用量と費用を追跡したいチーム向けです。
使う場面
- ✓昨夜、コーディングエージェントが何を実行したかを知りたいとき。
- ✓コーディングエージェントのセッションについて、トークンの使用量や費用を追跡したいとき。
- ✓チーム全体でエージェントの活動を監査する必要があるとき。
スキルのリンク
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/send-agent-telemetry/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Claude Codeのセッションのテレメトリーを、Sazabiに送るように設定してください。オプトインしない限り、プロンプトのテキストは含めないでください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、プロンプトやツールの入力に機密データが含まれることがあるため、マシンの外に何が出てよいかをあなたに尋ねます。そのうえで、各エージェントの取り込み用アドレスを設定します。プロンプトの書き出しは、あなたが選ばない限り既定ではオフです。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
プロンプトは既定で送られますか?
いいえ。このスキルは、あなたがオプトインするまでプロンプトの書き出しをオフにしておきます。
プロンプトの設定にかかわらず、Codexはツールの詳細を送りますか?
はい。このスキルは、Codexがツール呼び出しの引数と切り詰められた結果を常に書き出すと述べているので、選ぶ前にそれを知っておく必要があります。
データが届いた後、何を尋ねられますか?
どのセッションのコストが最も高いか、特定の時間帯にエージェントが何を実行したかなどを尋ねられます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 16k
- ランキング
- #10845
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
decide
16kエージェントが、設計やコードの決定を明確な選択肢と推奨を添えて一つずつ進められるよう支援し、最後に要約を示します。
mobile-demo-film
16kエージェントが、スマートフォンの画面録画を、タイトルカード、電話のフレーム、エンドカード付きの洗練されたデモ動画に変えられるよう支援します。
redesign
16kエージェントが、既存のインターフェースを見直し、余白、コントラスト、階層、レイアウトの具体的な修正案を示せるよう支援します。
superset-settings
16kエージェントが、Paradevデスクトップアプリのテーマ、フォント、通知などの設定を、コマンドラインから確認し変更できるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。