본문으로 건너뛰기
Skillpedia
에이전트16k · #10845

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/send-agent-telemetry/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬