magento-agent-cron

magento-agent-cron is a skill for Claude Code, Codex from furan917/magento-ai-toolkit. It costs 77 tokens per session (7,482 once invoked), scanned A, original, MPL-2.0.

An agent for diagnosing Magento 2 scheduled-job problems and creating new scheduled jobs. It checks the environment, investigates symptoms, and can scaffold the job code and configuration.

In plain words
What is it for?
Use it to investigate job failures, schedule-history growth, workers that are not draining queues, conflicts between multiple servers, or to create a new scheduled job.
Why use it?
It reduces the manual work of tracing missed, stuck, or failing jobs across Magento settings, the database, and worker processes. It produces a report explaining the environment and likely cause.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to investigate job failures, schedule-history growth, workers that are not draining queues, conflicts between multiple servers, or to create a new scheduled job.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/furan917/magento-ai-toolkit/magento-agent-cron
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 furan917/magento-ai-toolkit --skill magento-agent-cron
Clone the repo
git clone --depth 1 https://github.com/furan917/magento-ai-toolkit

Made for: Claude Code, Codex.

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 magento-agent-cron

README.md
[![agentmods](https://agentmods.dev/badge/skills/furan917/magento-ai-toolkit/magento-agent-cron/github.svg)](https://agentmods.dev/skills/furan917/magento-ai-toolkit/magento-agent-cron)
Your own site
<a href="https://agentmods.dev/skills/furan917/magento-ai-toolkit/magento-agent-cron"><img src="https://agentmods.dev/badge/skills/furan917/magento-ai-toolkit/magento-agent-cron/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 magento-agent-cron

Your own site · 80×15
<a href="https://agentmods.dev/skills/furan917/magento-ai-toolkit/magento-agent-cron"><img src="https://agentmods.dev/badge/skills/furan917/magento-ai-toolkit/magento-agent-cron.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,482 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.00077 $0.07482
Opus 5 $0.00039 $0.03741
Sonnet 5 $0.00015 $0.01496
Haiku 4.5 $0.00008 $0.00748

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

Security

Grade A, and why

magento-agent-cron 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 11d 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.

agent-skills/magento-agent-cron/SKILL.md · 581 lines

How it starts

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

Agent: Cron Expert

Purpose: Autonomously diagnose Magento 2 cron problems — pending rows never running, missed/error spikes, stuck running rows, cron_schedule table bloat, consumer-runner failing to start RabbitMQ consumers, distributed-cron contention — and scaffold new jobs (crontab.xml + handler, with optional admin-editable schedule via system.xml + config.xml). Compatible with: Any agentic LLM with file read and shell execution tools (Claude Code, GPT-4o with tools, etc.) Usage: Describe the cron symptom or the job you need to schedule. The agent will identify the environment (on-prem vs Adobe Commerce Cloud), diagnose or scaffold, and produce a Cron Report. Companion skills: Load alongside for deeper reference:

  • magento-cron.mdcrontab.xml, cron_groups.xml, cron_schedule lifecycle, consumer runner, distributed cron, Adobe Commerce Cloud crons:
  • magento-cli-command.md — area-aware CLI commands (often called from cron handlers)
  • magento-infra.md — Supervisor/systemd consumer management as the alternative to cron_consumers_runner

Skill Detection

Before starting, scan your context for companion skill headers:

Look for in context If found If not found
# Skill: magento-cron Use its crontab.xml / cron_groups.xml templates, cron_schedule lifecycle, and consumer-runner reference as the primary implementation reference Use the embedded diagnostic checks and scaffold steps in this file
# Skill: magento-cli-command Use its area-aware command pattern when scaffolding a CLI-driven cron job Use the embedded handler pattern in Step 3

Skills take priority — they may contain more detail or be more up to date than the embedded fallbacks.

Agent Role

You are an autonomous Magento 2 cron specialist. You diagnose cron_schedule lifecycle problems, identify whether the OS-level crontab is even ticking, distinguish on-prem from Adobe Commerce Cloud setups, trace consumer-runner failures back to their root cause, and scaffold new jobs that follow the two-file (crontab.xml + cron_groups.xml) convention. You never recommend TRUNCATE cron_schedule as a fix — bloat is a history_*_lifetime tuning problem, and truncation turns pending rows into missed jobs.

Read the full file on GitHub · 581 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. 11d ago First seen · 581 lines · 77 tokens per session scan A 1c8970f26706

Subscribe to this mod's changes

magento-agent-cron is a skill published in the GitHub repository furan917/magento-ai-toolkit (34 stars, last pushed 4mo ago), licensed MPL-2.0. It adds 77 tokens to every session and 7,482 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.

Related

Other skills, from other repositories

magento2-backend-dev

This skill should be used when the user asks to "create an API endpoint", "build a REST API", "add a GraphQL resolver", "create a CLI command", "add a cron job", "set up a message queue", "implement a web API", "add a SOAP service", or "create a data provider". Covers Magento 2 backend development: REST/SOAP/GraphQL…

ddtcorex/maestro-skills · 114 tokens

govard-magento

This skill should be used when the user asks to "clear Magento cache", "flush redis cache", "run Magento CLI", "run bin/magento commands", "deploy static content", "setup:di:compile", "reindex catalog", "run indexer commands", "enable/disable modules", "start frontend sync", "run browser-sync", "set up live reload for…

ddtcorex/maestro-skills · 116 tokens

magento2-dev-core

This skill should be used when the user is creating new Magento 2 modules or customizations, implementing features following Magento architecture, working with Dependency Injection, Repositories, or Plugins, writing secure Magento code, or building backend logic, CLI commands, or cron jobs. Foundation skill for…

ddtcorex/maestro-skills · 89 tokens

magento2-frontend-dev

This skill should be used when the user asks to "create a Knockout.js component", "add a UI Component", "modify layout XML", "customize a template", "write LESS CSS", "style with the Magento UI library", "add a RequireJS module", "extend JavaScript", "customize checkout", or "modify the cart page". Covers Magento 2…

ddtcorex/maestro-skills · 110 tokens

magento2-code-review

This skill should be used when the user asks to "review this PR/MR", "review this merge request", "review this module", "audit this module before merge", "review this theme", "audit this theme PR", or wants a "full review before release". Orchestrates a PR/MR, module, theme, or full-project code review by running the…

ddtcorex/maestro-skills · 181 tokens

magento2-security-scan

This skill should be used when the user asks to "run a security audit", "find vulnerabilities", "check for XSS", "check CSRF protection", "validate form security", "run a dependency audit", "check for outdated packages", "run a PCI compliance check", or "do a security review before deploy". Scans Magento 2 code for…

ddtcorex/maestro-skills · 105 tokens