send-agent-telemetry
ما الذي تفعله
تربط هذه المهارة Claude Code أو Codex بـ Sazabi، فتصبح كل جلسة قابلة للبحث. وهي موجهة إلى الفرق التي تريد أن ترى ما فعله وكلاء البرمجة وأن تتابع استهلاك الرموز والتكلفة.
متى تستخدمها
- ✓عندما تريد معرفة ما نفّذه وكلاء البرمجة لديك الليلة الماضية.
- ✓عندما تريد تتبع استهلاك الرموز أو تكلفة جلسات وكلاء البرمجة.
- ✓عندما تحتاج إلى مراجعة نشاط الوكلاء عبر فريق كامل.
رابط المهارة
https://github.com/ParadevAI/Paradev/blob/main/plugins/sazabi/skills/send-agent-telemetry/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أرسل بيانات جلسات Claude Code إلى Sazabi، واحتفظ بنص الأوامر خارجها ما لم أختر إدراجه.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يسألك وكيلك عما قد يغادر الحاسوب، لأن الأوامر ومدخلات الأدوات قد تحتوي على بيانات حساسة، ثم يعد عنوان استقبال لكل وكيل. تصدير الأوامر مُعطّل افتراضياً ما لم تختر تفعيله.
المحتوى التقني (ملف 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
- الترخيص
- —
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
decide
16kيأخذك خلال قرارات التصميم أو الكود واحداً تلو الآخر، مع خيارات واضحة وتوصية. تُسجَّل كل إجابة وفي النهاية يُعطى ملخص.
mobile-demo-film
16kيحوّل تسجيلات شاشة الهاتف إلى فيديو عرض منسق، فيه بطاقات عنوان وإطار هاتف وبطاقة ختامية. مناسب لعروض الميزات ومقاطع الإطلاق.
redesign
16kيراجع مكوّن واجهة موجوداً، ويقترح إصلاحات بصرية محددة للمسافات والتباين والتسلسل الهرمي والتخطيط. ويمكنه تطبيق التغييرات أيضاً.
superset-settings
16kيتيح لوكيلك عرض إعدادات تطبيق Paradev المكتبي وتغييرها، مثل السمة والخطوط والإشعارات، من سطر الأوامر.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.