schedule-history

schedule-history is a command for Claude Code from jshchnz/claude-code-scheduler. It costs 10 tokens per session (1,368 once invoked), scanned B, original, MIT.

A command for browsing the recorded runs of scheduled tasks and opening a run’s full log.

In plain words
What is it for?
Use it to review recent task runs across projects, check their status, and inspect a selected execution.
Why use it?
It helps you quickly see which tasks succeeded or failed without searching log files by hand.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/home/Documents/GitHub.

Part of the scheduler plugin — 1 skill, 7 commands shipped together

Good fit Use it to review recent task runs across projects, check their status, and inspect a selected execution.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add jshchnz/claude-code-scheduler
Claude Code
/plugin install scheduler

Made for: Claude Code.

Or install scheduler, the plugin that ships this one along with the rest of its 1 skill, 7 commands.

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 schedule-history

README.md
[![agentmods](https://agentmods.dev/badge/commands/jshchnz/claude-code-scheduler/schedule-history/github.svg)](https://agentmods.dev/commands/jshchnz/claude-code-scheduler/schedule-history)
Your own site
<a href="https://agentmods.dev/commands/jshchnz/claude-code-scheduler/schedule-history"><img src="https://agentmods.dev/badge/commands/jshchnz/claude-code-scheduler/schedule-history/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 schedule-history

Your own site · 80×15
<a href="https://agentmods.dev/commands/jshchnz/claude-code-scheduler/schedule-history"><img src="https://agentmods.dev/badge/commands/jshchnz/claude-code-scheduler/schedule-history.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 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,368 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00010 $0.01368
Opus 5 $0.00005 $0.00684
Sonnet 5 $0.00002 $0.00274
Haiku 4.5 $0.00001 $0.00137

Measured 8d ago against content hash 245e670fd6d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

schedule-history 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 8d 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.

cat ~/.claude/logs/once.file-listing-e3df455d.log
commands/schedule-history.md · 181 lines

How it starts

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

Execution History

View recent task executions across all projects. Interactive by default - select an execution to see the full log.

Usage

/scheduler:schedule-history [options]

Process

  1. Scan Log Files

    List all log files in ~/.claude/logs/:

    ls -la ~/.claude/logs/*.log 2>/dev/null
    

    For each .log file:

    • Get modification time (= last execution time)
    • Check for corresponding .error.log file
    • Determine status: error log with content = failure, otherwise success
  2. Get Task Metadata (optional)

    For each task, try to read plist for project path:

    cat ~/Library/LaunchAgents/com.claude.schedule.<task-id>.plist 2>/dev/null
    

    Extract WorkingDirectory for project path.

  3. Display Interactive List

    Show numbered list sorted by most recent first:

    EXECUTION HISTORY
    
    #   TIME              TASK ID                       PROJECT              STATUS
    ─────────────────────────────────────────────────────────────────────────────────
    1   5 min ago         once.file-listing-e3df455d    ~/Documents/GitHub   OK
    2   11 hours ago      loc-review-joshing            ~/Documents/GitHub   FAIL
    
    Select a number to view full log, or press Enter to exit:
    
  4. On Selection - Show Full Log

    When user selects a number (e.g., "1"):

    cat ~/.claude/logs/once.file-listing-e3df455d.log
    

    If there's an error log:

    cat ~/.claude/logs/<task-id>.error.log
    
  5. Show Actions After Log

    ─────────────────────────────────────────────────────────────────────────────────
    [E] View error log    [R] Re-run task    [B] Back to list    [Q] Quit
    

Output Format

List View

╭─────────────────────────────────────────────────────────────────────────────╮
│  EXECUTION HISTORY                                                          │
╰─────────────────────────────────────────────────────────────────────────────╯

  #   TIME              TASK ID                       PROJECT              STATUS
  ─────────────────────────────────────────────────────────────────────────────
  1   5 minutes ago     once.file-listing-e3df455d    ~/Documents/GitHub   ✓ OK
  2   11 hours ago      loc-review-joshing            ~/Documents/GitHub   ✗ FAIL

  ─────────────────────────────────────────────────────────────────────────────
  2 executions found │ 1 succeeded │ 1 failed

Select a number (1-2) to view full log:

Read the full file on GitHub · 181 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. 8d ago First seen · 181 lines · 10 tokens per session scan B 245e670fd6d4

Subscribe to this mod's changes

schedule-history is a command published in the GitHub repository jshchnz/claude-code-scheduler (510 stars, last pushed 7mo ago), licensed MIT. It adds 10 tokens to every session and 1,368 once invoked, about $0.0001 per session on Opus 5. 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.