Back to list
Piebald-AI

types

by Piebald-AI

Fast, cross-platform, real-time token usage tracker and cost monitor for Gemini CLI / Claude Code / Codex CLI / Qwen Code / Cline / Roo Code / Kilo Code / GitHub Copilot / OpenCode / Pi Agent / Piebald.

91🍴 9📅 Jan 23, 2026

SKILL.md


name: types description: Reference for Splitrail's core data types. Use when working with ConversationMessage, Stats, DailyStats, or other type definitions.

Key Types

Read src/types.rs for full definitions.

Core Types

  • ConversationMessage - Normalized message format across all analyzers. Contains application source, timestamp, hashes for deduplication, model info, token/cost stats, and role.

  • Stats - Comprehensive usage metrics for a single message including token counts, costs, file operations, todo tracking, and composition stats by file type.

  • DailyStats - Pre-aggregated stats per date with message counts, conversation counts, model breakdown, and embedded Stats.

  • Application - Enum identifying which AI coding tool a message came from.

  • MessageRole - User or Assistant.

Hashing Strategy

  • local_hash: Deduplication within a single analyzer
  • global_hash: Deduplication on upload to Splitrail Cloud

Aggregation

Use crate::utils::aggregate_by_date() to group messages into daily stats. See src/utils.rs.

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon