jobs

jobs is a command for Claude Code from moazbuilds/claudeclaw. It costs 87 tokens per session (1,704 once invoked), scanned A, original, MIT.

A command set for creating, listing, editing, or deleting cron jobs. A cron job is a task that runs automatically on a recurring schedule.

In plain words
What is it for?
It is for setting up recurring prompts or tasks, viewing their schedules, changing them, and removing them.
Why use it?
It removes the need to manage scheduled tasks manually and ensures jobs are stored where the project’s monitoring daemon can find them.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claudeclaw plugin — 3 skills, 10 commands shipped together

Good fit It is for setting up recurring prompts or tasks, viewing their schedules, changing them, and removing them.

Compare 6 commands from other repositories ↓
About the project

ClaudeClaw is a lightweight personal assistant built into Claude Code that runs tasks in the background on schedules and responds through messaging services. It is for people who want Claude Code to handle recurring work, voice commands, and integrations while a daemon remains active. Its catalogue commands, skills, instructions, and plugin provide the assistant’s setup and operating workflows.

moazbuilds/claudeclaw · 1,317 stars · on GitHub

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 moazbuilds/claudeclaw
Claude Code
/plugin install claudeclaw

Made for: Claude Code.

Or install claudeclaw, the plugin that ships this one along with the rest of its 3 skills, 10 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 jobs

README.md
[![agentmods](https://agentmods.dev/badge/commands/moazbuilds/claudeclaw/jobs/github.svg)](https://agentmods.dev/commands/moazbuilds/claudeclaw/jobs)
Your own site
<a href="https://agentmods.dev/commands/moazbuilds/claudeclaw/jobs"><img src="https://agentmods.dev/badge/commands/moazbuilds/claudeclaw/jobs/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 jobs

Your own site · 80×15
<a href="https://agentmods.dev/commands/moazbuilds/claudeclaw/jobs"><img src="https://agentmods.dev/badge/commands/moazbuilds/claudeclaw/jobs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 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,704 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.
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.00087 $0.01704
Opus 5 $0.00044 $0.00852
Sonnet 5 $0.00017 $0.00341
Haiku 4.5 $0.00009 $0.00170

Measured 10d ago against content hash 7e9d8f503aca, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

jobs 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 10d 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/jobs.md · 133 lines

How it starts

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

Manage cron jobs for the heartbeat daemon. Use $ARGUMENTS to determine the action.

Resolving the jobs directory

Read .claude/claudeclaw/settings.json. If the jobsDir field is set, use that path (resolve relative paths against the project root). Otherwise use the default: .claude/claudeclaw/jobs/.

CRITICAL: Job files MUST live under the project-relative jobs directory, NOT under ~/.claude/claudeclaw/jobs/. The daemon only watches the project directory. Using the home directory path will silently fail — the job will never fire.

Parse $ARGUMENTS to identify the sub-command. If no arguments are given, list all jobs.

Sub-commands

list (default when no arguments)

  1. List all .md files in the jobs directory.
  2. For each file, read it and display:
    • Job name (filename without .md)
    • Schedule (cron expression from frontmatter)
    • Notify (true, false, or error — from frontmatter, default true)
    • Prompt (body text, truncated to 100 chars if long)
  3. If no jobs exist, tell the user and show how to create one.

create or add

Create a new cron job interactively.

  1. Use AskUserQuestion to ask:

    • "What should this job be called?" (header: "Job name", options: suggest 2 contextual names based on the project, e.g. "git-summary", "test-runner")
    • "When should it run?" (header: "Schedule", options: "Every hour (0 * * * *)", "Every 6 hours (0 */6 * * *)", "Daily at 9am (0 9 * * *)", "Daily at midnight (0 0 * * *)")
  2. Then ask:

    • "What prompt should Claude execute?" (header: "Prompt", options: suggest 2-3 prompts relevant to the project context)
    • "Should this job send notifications?" (header: "Notify", options: "Always (default)", "Errors only", "Never")
  3. Create the job file at <jobs-directory>/<name>.md with this exact format:

    ---
    schedule: "<cron expression>"
    notify: <true|error|false>
    ---
    <prompt>
    

    Map the notify answer: "Always" → true, "Errors only" → error, "Never" → false. Omit the notify line if the user chose "Always" (it's the default).

Read the full file on GitHub · 133 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. 10d ago First seen · 133 lines · 87 tokens per session scan A 7e9d8f503aca

Subscribe to this mod's changes

jobs is a command published in the GitHub repository moazbuilds/claudeclaw (1,317 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 1,704 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-08-30.