← 返回 Skills 市场
Session Cost Tracker
作者
Rushant Ashtputre
· GitHub ↗
· v1.0.0
799
总下载
0
收藏
6
当前安装
1
版本数
在 OpenClaw 中安装
/install session-cost-tracker
功能描述
Track and analyze AI session cost-to-value by logging task, value, and token use to optimize productivity and reduce wasted effort.
安全使用建议
This skill appears to do exactly what it says: locally log session records to ~/.clawdbot/session-costs.json (or a path you set via SESSION_COST_FILE). Before running: inspect the track.sh yourself (it's included), confirm you are comfortable with it creating/writing the data file in your home directory, and ensure you have the expected utilities (jq or python3, bc, uuidgen) or accept the fallbacks. There are no network calls or secret-requiring env vars, but as with any script, run it with a user account that has only the permissions you intend and consider restricting file permissions on the output JSON if it will contain sensitive notes.
功能分析
Type: OpenClaw Skill
Name: session-cost-tracker
Version: 1.0.0
The OpenClaw AgentSkills bundle 'session-cost-tracker' is designed to help agents track the cost and value of their sessions. The `SKILL.md` provides clear instructions for usage and optional manual cron setup, without containing any prompt injection attempts against the agent. The `track.sh` script stores data locally in `~/.clawdbot/session-costs.json` and uses `jq` or Python for safe JSON parsing and manipulation. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. Input handling for logging uses `jq --argjson` or `json.loads`, which safely embed user-provided strings into JSON without shell injection risks. The skill is benign and performs its stated purpose without high-risk behaviors.
能力评估
Purpose & Capability
The name/description (track cost-to-value of agent sessions) matches the included script and instructions. The skill only needs to record task, value, tokens, model, and timestamps to a local file; nothing requested or included (no env secrets, no network endpoints) is unrelated to that purpose.
Instruction Scope
SKILL.md directs the user to run the provided track.sh to log and view stats; the script only reads/writes a local file (default ~/.clawdbot/session-costs.json) and uses standard local utilities (date, mkdir, jq/python3, bc, uuidgen). It does not read unrelated system files, access credentials, or transmit data externally.
Install Mechanism
There is no install spec. This is an instruction-only skill with an included shell script. Nothing is downloaded or extracted from remote URLs. Risk from installation is low — the script is placed locally and executed by the user.
Credentials
No required environment variables or credentials are declared. The script optionally respects SESSION_COST_FILE to override the default path, which is reasonable and proportional to the task.
Persistence & Privilege
The skill does not request persistent platform privileges (always is false). It writes its own data file under the user's home directory and does not modify other skills or system-wide configurations.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install session-cost-tracker - 安装完成后,直接呼叫该 Skill 的名称或使用
/session-cost-tracker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release. Track cost-to-value ratio of agent sessions. Built during 30-day shipping challenge.
元数据
常见问题
Session Cost Tracker 是什么?
Track and analyze AI session cost-to-value by logging task, value, and token use to optimize productivity and reduce wasted effort. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 799 次。
如何安装 Session Cost Tracker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install session-cost-tracker」即可一键安装,无需额外配置。
Session Cost Tracker 是免费的吗?
是的,Session Cost Tracker 完全免费(开源免费),可自由下载、安装和使用。
Session Cost Tracker 支持哪些平台?
Session Cost Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Session Cost Tracker?
由 Rushant Ashtputre(@rushant-123)开发并维护,当前版本 v1.0.0。
推荐 Skills