time-of-day

time-of-day is a skill for Claude Code, Codex from hoangsonww/Claude-Code-Agent-Monitor. It costs 74 tokens per session (716 once invoked), scanned A, original, MIT.

An activity analysis that groups Claude Code sessions and events by hour of day and day of week. It compares when you work most often with when your output is highest or lowest.

In plain words
What is it for?
Use it to find busy hours, productive time windows, low-output periods, and activity trends for a project or date range.
Why use it?
It helps reveal work patterns that are difficult to spot in a list of session timestamps.

Skill for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also agents/openai.yaml present. Also seen: mentions Claude Code.

Part of the ccam-productivity plugin — 6 skills, 3 commands, 2 agents shipped together

Good fit Use it to find busy hours, productive time windows, low-output periods, and activity trends for a project or date range.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoangsonww/claude-code-agent-monitor/time-of-day
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.

Any agent
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill time-of-day
Clone the repo
git clone --depth 1 https://github.com/hoangsonww/Claude-Code-Agent-Monitor

Made for: Claude Code, Codex.

Or install ccam-productivity, the plugin that ships this one along with the rest of its 6 skills, 3 commands, 2 agents.

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 time-of-day

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangsonww/claude-code-agent-monitor/time-of-day/github.svg)](https://agentmods.dev/skills/hoangsonww/claude-code-agent-monitor/time-of-day)
Your own site
<a href="https://agentmods.dev/skills/hoangsonww/claude-code-agent-monitor/time-of-day"><img src="https://agentmods.dev/badge/skills/hoangsonww/claude-code-agent-monitor/time-of-day/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for time-of-day

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangsonww/claude-code-agent-monitor/time-of-day"><img src="https://agentmods.dev/badge/skills/hoangsonww/claude-code-agent-monitor/time-of-day.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 716 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00074 $0.00716
Opus 5 $0.00037 $0.00358
Sonnet 5 $0.00015 $0.00143
Haiku 4.5 $0.00007 $0.00072

Measured 9d ago against content hash 3221ec116cc5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

time-of-day scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ccam-productivity/skills/time-of-day/SKILL.md · 67 lines

How it starts

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

Time of Day

Profile activity and productivity across the hours of the day and days of the week.

Input

The user provides: $ARGUMENTS

This may be:

  • empty or "all" (default: all available sessions)
  • a window like "last 30 days" or "last 90 days" to limit the analysis
  • a project path to scope the analysis to one cwd

Data Sources

Endpoint Returns
GET /api/sessions?limit=500 Sessions with started_at, ended_at, status, cwd, cost, and metadata (turn_count, total_turn_duration_ms) — primary source for hour/weekday bucketing
GET /api/events?session_id=X Events with timestamp and event_type (PreToolUse, PostToolUse, Stop, Compaction, APIError, etc.) — finer-grained activity within sessions and error timing
GET /api/analytics daily_sessions / daily_events (365d) and sessions_by_status for trend context and completion baselines

Report Sections

1. Activity by Hour of Day

Bucket sessions (by started_at) and events (by timestamp) into 24 hourly bins. Show a text bar chart of session and event counts per hour. Identify the busiest hours by raw volume.

2. Productivity by Hour of Day

For each hour bin, compute completion rate (completed / total sessions started in that hour) and average sustained turn time (total_turn_duration_ms / turn_count, ms → minutes). Distinguish "active" hours (high volume) from "productive" hours (high completion + sustained turns).

3. Day-of-Week Pattern

Bucket the same metrics into 7 weekday bins. Table: weekday, sessions, completion rate, avg cost, dominant model.

4. Peak vs. Low-Output Windows

  • Peak windows: hours/days with high completion rate and long sustained turns.
  • Low-output windows: hours/days with high abandonment/error/Compaction rates or fragmented short turns. Pull error timing from /api/events event types (APIError, Compaction) to corroborate.

5. Schedule Recommendation

Suggest which hour/weekday blocks to reserve for deep work and which to use for lighter or shallower tasks, grounded in the buckets above.

Read the full file on GitHub · 67 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 67 lines · 74 tokens per session scan A 3221ec116cc5

Subscribe to this mod's changes

time-of-day is a skill published in the GitHub repository hoangsonww/Claude-Code-Agent-Monitor (991 stars, last pushed 3d ago), licensed MIT. It adds 74 tokens to every session and 716 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.