Skip to main content
Run any Skill in Manus
with one click

session-cost-accounting

Stars2
Forks1
UpdatedJuly 5, 2026 at 12:02

Calculate the token cost of an agent session INCLUDING all its subagent children, using agentsview (uvx agentsview). Use when the owner asks "what has this session cost", "how much did last night cost", when planning subagent fan-outs against a budget, or when writing a retrospective that should carry real spend numbers. The one-liner is tools/session-cost.sh; this doc records the working recipe and the traps (main-only usage under-counts by ~40%, sync first, JSON key names).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly