تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

session-cost-tracker

بواسطة rushant-123

CLI Utilities
424التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Track the cost-to-value ratio of your agent sessions.

الوصف

ما الذي تفعله هذه المهارة

Tracks the cost-to-value ratio of agent sessions by logging token usage alongside a subjective value category. Stores sessions locally and surfaces patterns like high-cost/low-value work or zero-value heartbeat cycles.

Most cost dashboards show token spend without tying it to outcomes; this links cost directly to delivered value in a single log.

متى تستخدمها

  • Logging value delivered after fixing a CI pipeline with an agent
  • Identifying task types that consistently produce zero output
  • Weekly review of which sessions were worth their token cost
  • Deciding whether to start a task based on past ROI patterns
  • Batching heartbeat checks after noticing they rarely produce verifiable artifacts

مثال على سير العمل

الإدخال

User asks: log a session where I fixed the CI pipeline

الوكيل
  1. 1

    Run ./track.sh quick with the task description

  2. 2

    Assign a value category (high, medium, low, or zero)

  3. 3

    Provide the estimated token count for the session

  4. 4

    Session is appended to ~/.clawdbot/session-costs.json

الإخراج

Session logged; ./track.sh stats shows the new entry and updated cost-to-value summary

التثبيت

clawhub install rushant-123/session-cost-tracker

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط