Cron logo

Cron

Community
bacnh85
cron

Use when the user wants scheduled, recurring, or periodic tasks in Pi — cron jobs, reminders, jobs at a specific time ("every morning at 9", "weekly monday", "in 30 minutes"), or automation that should run without being asked each time.

Overview

Publisherbacnh85
Repositorypi-extensions
Skill namecron
Stars
42
Forks
15
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by bacnh85 on GitHub. Read the source before you install it.

Installation

Install the Cron AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/bacnh85/pi-extensions/tree/main/pi-cron/skills/cron
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bacnh85/pi-extensions.git /tmp/pi-extensions
mkdir -p .claude/skills
cp -r /tmp/pi-extensions/pi-cron/skills/cron .claude/skills/cron
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cron in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Cron on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Cron is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

cron — scheduled jobs

Jobs fire a prompt into the live session while pi is running. Past-due jobs catch up once on the next tick (~30s). Storage: <agentDir>/cron/jobs.json.

Creating jobs

  1. Convert the user's natural language to a 5-field cron expression.
  2. Verify it with cron action:"test" schedule:"..." — check the next 5 fire times.
  3. Add it: cron action:"add" name:"<short-name>" schedule:"..." prompt:"...".

Cheatsheet: minute hour day-of-month month day-of-week

  • 0 9 * * mon — Mondays 09:00
  • */30 * * * * — every 30 minutes
  • 0 9 1 * * — first of the month, 09:00
  • 30 8 * * 1-5 — weekdays 08:30

Names: letters/digits/_/./-, max 64 chars. Cap: 20 jobs.

Job prompts

The prompt becomes a standalone turn — no conversation context. Write it self-contained and short: what to do, where, and what to report. Bad: "check it again"; good: "Run npm test in this repo and summarize failures".

Loop guard: for 30s after a fire, add, remove, run, enable, and disable are refused. A fired turn running longer than 30s can still mutate — never write job prompts that schedule further jobs.

Working directory: unpinned jobs deliver only into a session whose cwd matches the job's cwd; a foreign-cwd session marks the fire [FAIL: cwd mismatch …]. Pin model/thinking for cross-cwd reliability (pinned jobs run headless in job.cwd).

Managing

  • cron action:"list" — name, schedule, next/last fire, enabled.
  • cron action:"run" name:"..." — manual fire (result arrives as a follow-up turn).
  • cron action:"disable" name:"..." — pause a job (schedule kept; skipped by ticks and export).
  • cron action:"enable" name:"..." — resume; the next fire is recomputed from now (no surprise catch-up fire).
  • cron action:"add" ... enabled:false — create the job already disabled.
  • cron action:"remove" name:"...".
  • cron action:"export" — crontab lines for 24/7 coverage while pi is closed; hand the block to the user to install (crontab -l | cat - cron.txt | crontab -). Exported lines run headless pi -p --no-session and log under <agentDir>/cron/logs/.

Config

settings.json → "cron": { "enabled": true, "tickMs": 30000 } (global kill switch + tick interval). timeoutMs caps headless (pinned) child runs (SIGTERM at the cap, SIGKILL after a 5s grace; clamped 1min–24h, default 10min) — raise it for long pinned jobs.

Frequently asked questions

What does the Cron AI skill do?

Use when the user wants scheduled, recurring, or periodic tasks in Pi — cron jobs, reminders, jobs at a specific time ("every morning at 9", "weekly monday", "in 30 minutes"), or automation that should run without being asked each time.

Why use Cron on TypingMind?

Because you install it once and use it with any model. Cron is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Cron in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/bacnh85/pi-extensions/tree/main/pi-cron/skills/cron. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Cron?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Cron?

As many as you like. As long as a model supports skills, you can use Cron with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Cron AI skill free?

It is published on GitHub by bacnh85. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇