codex-daily

codex-daily is a command for coding agents from omrikais/cctally. It costs 0 tokens per session (1,999 once invoked), scanned B, original, Apache-2.0.

A command that groups Codex usage by date and works offline. Codex is OpenAI’s coding agent.

In plain words
What is it for?
Use it to filter dates, sort or break down daily results, view terminal or JSON output, or create Markdown, HTML, or SVG reports for sharing.
Why use it?
It provides a daily usage view without needing an online connection or a separate upstream command.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/omrikais/cctally/codex-daily
Clone the repo
git clone --depth 1 https://github.com/omrikais/cctally

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-daily

README.md
[![agentmods](https://agentmods.dev/badge/commands/omrikais/cctally/codex-daily.svg)](https://agentmods.dev/commands/omrikais/cctally/codex-daily)
Your own site
<a href="https://agentmods.dev/commands/omrikais/cctally/codex-daily"><img src="https://agentmods.dev/badge/commands/omrikais/cctally/codex-daily.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,999 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01999
Opus 5 $0.00000 $0.01000
Sonnet 5 $0.00000 $0.00400
Haiku 4.5 $0.00000 $0.00200

Measured 3d ago against content hash f3336a41f00d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

codex-daily scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| `--speed {auto,standard,fast}` | Codex pricing tier. `auto` (default) reads `service_tier` from `~/.codex/config.toml`; `fast`\|`priority` there selects fast-tier pricing. `fast`/`standard` force the tier. |
docs/commands/codex-daily.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

codex-daily

Codex (OpenAI) usage grouped by date. Drop-in replacement for upstream ccusage-codex daily, offline.

Canonical form: cctally codex daily (this flat form remains as an alias).

Config and sharing

codex-daily keeps its established daily accounting output and accepts --config PATH as a read-only per-invocation config path. It also accepts the shared --format {md,html,svg}, --theme, --no-branding, --output, --copy, and --open flags. Without --format, legacy terminal, JSON, and empty output remain unchanged. A Codex share artifact visibly identifies Codex and still requires a privacy review before distribution; see share.md.

Synopsis

cctally codex-daily
    [-s YYYY-MM-DD] [-u YYYY-MM-DD]
    [-b] [-o {asc,desc}]
    [--speed {auto,standard,fast}]
    [--json]
    [-z TZ] [-l LOCALE]
    [--compact] [--color] [--noColor]
    [-O | --offline | --no-offline]
    [-d | --debug] [--debug-samples N]

Options

Flag Description
-s, --since YYYY-MM-DD Filter from date (inclusive; YYYY-MM-DD or YYYYMMDD).
-u, --until YYYY-MM-DD Filter until date (inclusive).
-b, --breakdown Show per-model cost breakdown sub-rows.
-o, --order {asc,desc} Sort direction (default asc).
--speed {auto,standard,fast} Codex pricing tier. auto (default) reads service_tier from ~/.codex/config.toml; fast|priority there selects fast-tier pricing. fast/standard force the tier.
--json Output JSON matching ccusage-codex daily format.
-z, --timezone TZ IANA timezone for date bucketing and Date / Last Activity cells.
-l, --locale LOCALE No-op; accepted for drop-in compat.
--compact Force compact table layout regardless of terminal width.
--color / --noColor No-op; accepted for drop-in compat (no ANSI emitted).
-O, --offline / --no-offline No-op; accepted for drop-in compat (always offline).
-d, --debug Emit a stderr "Codex Pricing Debug Report" (totals + the N highest computed-cost sample entries). See Pricing debug report.
--debug-samples N Cap on top-entry sample rows in the --debug report (default 5; N=0 suppresses the sample block; negatives rejected at parse time).

Read the full file on GitHub · 172 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 172 lines · 0 tokens per session scan B f3336a41f00d

Subscribe to this mod's changes

codex-daily is a command published in the GitHub repository omrikais/cctally (5 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,999 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.