schedule-remove

schedule-remove is a command for coding agents from jshchnz/claude-code-scheduler. It costs 8 tokens per session (504 once invoked), scanned A, original, MIT.

A command for deleting a scheduled task by its ID or name and unregistering it from the computer’s scheduler.

In plain words
What is it for?
Use it to find a task, confirm its details, remove its schedule, and optionally delete its log files.
Why use it?
It removes unwanted automation and prevents the task from running again.

Command

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

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/jshchnz/claude-code-scheduler/schedule-remove
Clone the repo
git clone --depth 1 https://github.com/jshchnz/claude-code-scheduler

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-remove

README.md
[![agentmods](https://agentmods.dev/badge/commands/jshchnz/claude-code-scheduler/schedule-remove.svg)](https://agentmods.dev/commands/jshchnz/claude-code-scheduler/schedule-remove)
Your own site
<a href="https://agentmods.dev/commands/jshchnz/claude-code-scheduler/schedule-remove"><img src="https://agentmods.dev/badge/commands/jshchnz/claude-code-scheduler/schedule-remove.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 504 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00008 $0.00504
Opus 5 $0.00004 $0.00252
Sonnet 5 $0.00002 $0.00101
Haiku 4.5 $0.00001 $0.00050

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

Security

Grade A, and why

schedule-remove 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 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.

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.

commands/schedule-remove.md · 95 lines

What it actually says

Remove Scheduled Task

Remove a task from the schedule configuration and unregister from the native scheduler.

Usage

/schedule remove <task-id-or-name>

Process

  1. Find Task

    • Search by exact ID match first
    • Then search by name (case-insensitive)
    • Check both project and global configs
  2. Confirm Removal

    • Show task details before removing
    • Ask for confirmation: "Remove task 'Daily Code Review'? (y/n)"
  3. Remove Task

    • Unregister from native scheduler (launchd/cron/schtasks)
    • Remove from schedules.json
    • Optionally delete log files
  4. Confirm Success

    • Show confirmation message
    • Remind about /schedule list to verify

Example Interaction

User: /schedule remove daily-review

Claude: Found task:
- Name: Daily Code Review
- ID: a1b2c3d4-...
- Schedule: Weekdays at 9:00 AM
- Scope: project

Are you sure you want to remove this task? (y/n)
> y

Task "Daily Code Review" has been removed.
- Unregistered from launchd
- Removed from .claude/schedules.json

Run /schedule list to verify.

Error Handling

Task not found:

Task "xyz" not found.

Available tasks:
- daily-review (Daily Code Review)
- weekly-audit (Weekly Dependency Audit)

Try: /schedule remove daily-review

Multiple matches:

Multiple tasks match "review":
1. daily-review - Daily Code Review (project)
2. pr-review - PR Review Reminder (global)

Please specify the exact task ID:
  /schedule remove daily-review

Options

If the user passes arguments:

  • $ARGUMENTS contains the task ID or name
  • If no argument, show /schedule list first and ask which to remove

Cleanup

Optionally ask if they want to delete associated log files:

Delete log files for this task? (y/n)
> n

Log files preserved at ~/.claude/logs/a1b2c3d4.log
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 · 95 lines · 8 tokens per session scan A 0de807c80971

Subscribe to this mod's changes

schedule-remove is a command published in the GitHub repository jshchnz/claude-code-scheduler (510 stars, last pushed 7mo ago), licensed MIT. It adds 8 tokens to every session and 504 once invoked, about $0.0000 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-08-31.