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 startafter 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file takopi_cron-0.0.3.tar.gz.
File metadata
- Download URL: takopi_cron-0.0.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c35c7aa68771bc2a43e544f7161ea79068ccc38cd02f6d7ac8af8ff990a0afd7
|
|
| MD5 |
3bd5d37ca458cdf5da60bf54af652726
|
|
| BLAKE2b-256 |
40a4431d8d144aba6487e32bb12086c6020a2e9fb3bb398d35e0a01c362b6fd2
|
Provenance
The following attestation bundles were made for takopi_cron-0.0.3.tar.gz:
Publisher:
workflow.yml on richardliang/takopi-cron
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
takopi_cron-0.0.3.tar.gz -
Subject digest:
c35c7aa68771bc2a43e544f7161ea79068ccc38cd02f6d7ac8af8ff990a0afd7 - Sigstore transparency entry: 1097862198
- Sigstore integration time:
-
Permalink:
richardliang/takopi-cron@a057b8f94144f30f7062fa8fca62316c13a714c9 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/richardliang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@a057b8f94144f30f7062fa8fca62316c13a714c9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file takopi_cron-0.0.3-py3-none-any.whl.
File metadata
- Download URL: takopi_cron-0.0.3-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ac6097f6030f6cc6c984b251d00a649687a70ab679e41aeb9cee9068085911f
|
|
| MD5 |
469019c7d1bebcd7185135390ce35ddf
|
|
| BLAKE2b-256 |
c56572dbab253c9de97319340c2facf54488c54f500aa63a21f8d3c7e2dc75f0
|
Provenance
The following attestation bundles were made for takopi_cron-0.0.3-py3-none-any.whl:
Publisher:
workflow.yml on richardliang/takopi-cron
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
takopi_cron-0.0.3-py3-none-any.whl -
Subject digest:
5ac6097f6030f6cc6c984b251d00a649687a70ab679e41aeb9cee9068085911f - Sigstore transparency entry: 1097862208
- Sigstore integration time:
-
Permalink:
richardliang/takopi-cron@a057b8f94144f30f7062fa8fca62316c13a714c9 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/richardliang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@a057b8f94144f30f7062fa8fca62316c13a714c9 -
Trigger Event:
push
-
Statement type: