Skip to main content

Cron command plugin for Takopi.

Project description

takopi-cron

cron command plugin for takopi. run a prompt on an interval and post results back into your chat.

This is intentionally simple:

  • It runs in-process inside Takopi (so Takopi must be running).
  • It does not survive restarts (you re-run /cron start after restart).

requirements

uv for installation (curl -LsSf https://astral.sh/uv/install.sh | sh)

python 3.14+ (uv python install 3.14)

takopi installed

install

recommended (installs the plugin into takopi's uv tool environment):

uv tool install -U takopi --with takopi-cron

if you installed takopi via pip (or you're running takopi from a project venv), install the plugin into the same environment:

pip install -U takopi-cron

enable it:

[plugins]
enabled = ["takopi-cron"]

usage

Start a job (runs once immediately, then repeats):

/cron start 6 Write a summary of today's PRs and what I should review next.

Stop the job for the current chat/thread:

/cron stop

Status:

/cron status

List all running cron jobs:

/cron list

Run once (no scheduling):

/cron run What changed since yesterday?

Seed presets (from config):

/cron seed list
/cron seed start daily_summary

Seed presets start in the chat/thread where you run the command.

Tips:

  • Put an engine directive at the start of the prompt, e.g. /claude ...
  • Put a project directive at the start of the prompt, e.g. /myproj ...
  • Put a branch directive at the start of the prompt, e.g. @feat/foo ...

config

In ~/.takopi/takopi.toml:

[plugins.cron]
# Optional: restrict who can control cron jobs
allowed_user_ids = [12345678]

# Optional: whether cron ticks should notify (default: true)
notify = true

# Optional: seed presets (saved cron definitions). they do not auto-start; you
# start them later with `/cron seed start ...`.
[[plugins.cron.seed]]
id = "daily_summary"
every_hours = 6
prompt = "/codex summarize what changed since the last cron tick"
# notify = true            # optional override
# enabled = false          # optional

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

takopi_cron-0.0.2.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

takopi_cron-0.0.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file takopi_cron-0.0.2.tar.gz.

File metadata

  • Download URL: takopi_cron-0.0.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for takopi_cron-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d1bdff47c881ada6bc8c99fb26fb4bb40080453960cbf1b13ff6f5728234d78b
MD5 c41099cc6f405b031fea180f7e222757
BLAKE2b-256 94ae915a324f868aec75c3954fff071372c147f1f4f86b20e1121b2298c66ce4

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_cron-0.0.2.tar.gz:

Publisher: workflow.yml on richardliang/takopi-cron

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file takopi_cron-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: takopi_cron-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for takopi_cron-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e949d4dd8688f0db9bb70806ed88fda37f188fa5b2cf388835d33827cfbcd3e
MD5 645b2ff9e2202b21c2ae5cc6df67476b
BLAKE2b-256 a8d2f70b8f63153304e3ec0660ee3d20af513fcfa281485f5d09173c7f660aa4

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_cron-0.0.2-py3-none-any.whl:

Publisher: workflow.yml on richardliang/takopi-cron

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page