agentic-cost

Render token and wall-time rollups from .agentic/events.jsonl into a fixed-width table.

12|1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Space-Dinosaurs/DinoStack --skill agentic-cost
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentic-cost
Source: https://github.com/Space-Dinosaurs/DinoStack/tree/main/.openclaw/skills/agentic-cost
Command: npx skills add https://github.com/Space-Dinosaurs/DinoStack --skill agentic-cost

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Render token and wall-time rollups from .agentic/events.jsonl to help teams understand and optimize agentic workloads.

Core Features & Use Cases

  • Generate per-session and per-project rollups showing tokens, wall-time, and optional pricing.
  • Support historical rollups and cross-project comparisons when combined with the global session logs.
  • Use for cost-aware planning and budgeting in AI-assisted development tasks.

Quick Start

Run agentic-cost in your project directory to produce a rollup for the current session.

Frequently Asked Questions about agentic-cost

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I quantify agent token usage and wall-time from event logs?

You can quantify agent token usage and wall-time by rendering rollups from the .agentic/events.jsonl file, which outputs a fixed-width table summarizing per-session and per-project activity metrics.

Can I calculate dollar costs for AI-assisted development sessions?

Yes, you can calculate dollar costs for AI-assisted development sessions by placing a pricing configuration file at ~/.agentic/pricing.yml, which automatically enables dollar columns in the rendered rollup tables.

What do I need to generate cross-project rollups for agentic workloads?

To generate cross-project rollups for agentic workloads, you need Python 3 standard library, optional pyyaml for pricing, and access to global session logs combined with local .agentic/events.jsonl files.

How do I track per-session and per-task metrics for agent activity?

You track per-session and per-task metrics by running the rollup tool in your project directory, which reads the events.jsonl log and parses token counts and wall-time durations into a structured summary table.

Does this tool work without installing external dependencies?

Yes, the tool works using only the Python 3 standard library to parse event logs and generate rollups, requiring just the optional pyyaml package if you want to enable pricing columns.

What is the best way to budget cost-aware planning for agentic development?

The best way to budget cost-aware planning is to generate historical rollups from event logs across all sessions, combining wall-time and token metrics with optional pricing data for comprehensive cost analysis.