跳到正文
TakoAPI
返回技能列表

session-cost-tracker

由 rushant-123 提供

CLI Utilities
424下载量由 clawskills.sh 提供
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接