Skip to content
Back to skills

Rule Run Statistics

ASecurity

Statistics of a run, thread, call conversation, agent or sub-agent are computed by the daemon over every row of the run — never folded from the renderer's loaded window or bounded by a capped listing. A repository rule for apps/daemon/src/**, apps/ui/src/renderer/**; read it before editing a file there.

  • 8 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 9, 2026
ai-agentsnode

Works with

  • cli

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add geniro-io/geniro-app --skill rule-run-statistics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rule Run Statistics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rule Run Statistics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/geniro-io-rule-run-statistics/badge)](https://www.skillsdirectory.com/skills/geniro-io-rule-run-statistics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rule-run-statistics
description: "Statistics of a run, thread, call conversation, agent or sub-agent are computed by the daemon over every row of the run — never folded from the renderer's loaded window or bounded by a capped listing. A repository rule for apps/daemon/src/**, apps/ui/src/renderer/**; read it before editing a file there."
---
<!-- GENERATED by scripts/sync-agent-rules.mjs from .claude/rules/run-statistics.md. DO NOT EDIT: edit the source, then run `pnpm sync:agent-rules`. -->

# Statistics are counted by the daemon, over every row

A figure that describes a run, a thread, a call conversation, an agent or a sub-agent — tool counts, spend, tokens spent, worked time, turn counts, cache expiry — states the whole history, not what happens to be loaded. A context reading is a level (the newest one), not a statistic. A tool count is the agent's own calls, every one its CLI made (a call a card hides included); a nested sub-agent or call has a count of its own.

- The daemon computes it over every row of the run: an aggregate over `items`, or a total written by increments. The renderer never folds it from loaded `items`; the transcript is a window, and a fold silently describes the window.
- A listing cap never bounds a figure. A route that caps a heavy listing (the call briefs under `CALL_CONTEXT_SNAPSHOT_LIMIT`) carries the figures in a separate uncapped list (`NodeStateWire.callFigures`).
- The renderer adds only what no durable figure holds yet — the turn in flight, or rows written after the daemon's read (a `…ThroughSeq` cut-off) — on top of the daemon's figure. Its own fold is a fallback only while the daemon has no figure at all.
- A new statistic ships with a daemon spec that pins it over rows outside any window or cap (a call past the listing cap, a turn older than the loaded page).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.