← Back to Skills Marketplace
highnoonoffice

Token Cost Time

by highnoonoffice · GitHub ↗ · v0.1.3 · MIT-0
cross-platform ✓ Security Clean
77
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install token-cost-time
Description
Estimate LLM task token usage, cost, and duration using rule-based classification and optional local profile data without external dependencies.
Usage Guidance
This skill is internally consistent and runs entirely locally, but before installing: 1) Review and accept that it will write two files under your home directory (~/.token-cost-time/profile.json and execution-log.jsonl). Those logs contain model names, token counts, durations, costs, retries, and timestamps (they do not include prompt text or model outputs). 2) If you wire automation (cron or agent hooks) to call record(), ensure that automation does not capture or write sensitive prompt or output content into these logs. 3) The package.json in the bundle lists version 0.1.0 while registry metadata is 0.1.3 — consider verifying source/origin and integrity if provenance matters. 4) Because this runs as Node code, inspect the shipped files yourself or run in an isolated environment if you have heightened security/privacy requirements.
Capability Analysis
Type: OpenClaw Skill Name: token-cost-time Version: 0.1.3 The skill bundle is a utility for estimating and tracking LLM token usage, costs, and durations. It operates entirely locally using Node.js built-ins, storing profile and log data in the user's home directory (~/.token-cost-time/). Analysis of the source code (src/record.js, src/models.js) and documentation (SKILL.md) confirms the tool has no external dependencies, makes no network calls, and contains no evidence of malicious intent or high-risk vulnerabilities.
Capability Assessment
Purpose & Capability
Name/description match the actual code: rule-based classification, baseline priors, cost calculation, local recording, and a CLI. The files and functions provided (calibrate, record, compare) are exactly what the README claims. No unrelated binaries or credentials are requested.
Instruction Scope
SKILL.md and the CLI limit operations to classification, estimation, and local recording. The README suggests wiring a cron that reads 'session_status' to auto-record runs — that integration may read other session metadata in your environment. The skill itself does not collect prompts or outputs, only model name, token counts, duration, cost, retries, and timestamps. Confirm any automated integration does not forward sensitive prompt/content to the logs.
Install Mechanism
No install spec or network downloads; this is a local JS module intended to run with Node (>=18). All source files are included and use Node built-ins only. No remote code fetching or archive extraction is present.
Credentials
The skill requires no environment variables, no credentials, and no special config paths beyond writing to files under the user's home directory (default: ~/.token-cost-time/). That file access is proportional to the purpose (local profile + execution log).
Persistence & Privilege
Does not request always:true or elevated privileges. It persists its own profile and log under ~/.token-cost-time and does not modify other skills or system-wide agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install token-cost-time
  3. After installation, invoke the skill by name or use /token-cost-time
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.3
Now ships full source. calibrate, record, compare, classify, CLI — all included. Install and run immediately.
v0.1.2
Removed scanner-triggering patterns from docs. No functional changes.
v0.1.1
Pre-execution LLM estimator. Rule-based task classifier, baseline priors for 8 models, per-user calibration via record(). Self-improving: estimates tune to your actual workload over time. Includes self-improvement guide.
Metadata
Slug token-cost-time
Version 0.1.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Token Cost Time?

Estimate LLM task token usage, cost, and duration using rule-based classification and optional local profile data without external dependencies. It is an AI Agent Skill for Claude Code / OpenClaw, with 77 downloads so far.

How do I install Token Cost Time?

Run "/install token-cost-time" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Token Cost Time free?

Yes, Token Cost Time is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Token Cost Time support?

Token Cost Time is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Token Cost Time?

It is built and maintained by highnoonoffice (@highnoonoffice); the current version is v0.1.3.

💬 Comments