Model Usage Linux
PassAudited by VirusTotal on May 11, 2026.
Overview
Type: OpenClaw Skill Name: model-usage-linux Version: 1.0.0 The skill 'model-usage-linux' is designed to analyze OpenClaw AI token usage and cost from local session JSONL files. The `SKILL.md` provides clear, benign instructions for running the `scripts/usage.py` script. The Python script itself only reads and parses JSONL files from a specified directory (defaulting to `~/.openclaw/agents/main/sessions`), performs calculations, and prints a summary to standard output. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts against the agent. The code is straightforward, uses standard libraries, and strictly adheres to its stated purpose without engaging in any high-risk behaviors.
Findings (0)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Running the skill lets it process local OpenClaw session logs to calculate usage totals.
The script reads local OpenClaw session JSONL files, which may contain sensitive conversation history even though the script only summarizes usage fields.
DEFAULT_SESSIONS_DIR = os.path.expanduser("~/.openclaw/agents/main/sessions") ... jsonl_files = list(sessions_dir.glob("*.jsonl"))Use it only on session directories you are comfortable processing, and prefer --sessions-dir pointing to a limited directory if you want narrower scope.
A user expecting --session to limit analysis to one session could still get aggregate results from all sessions in the directory.
The command-line help suggests a specific-session scope, but main() never uses args.session and instead iterates over every *.jsonl file in the chosen sessions directory.
p.add_argument("--session", help="Specific session ID or 'all' (default: all)") ... for f in jsonl_files:Do not rely on --session for scoping until the script implements it; use a separate directory with only the intended session files if precise limiting is needed.
