huxley-skill-timers
One-shot relative timers for Huxley. "Remind me in 5 minutes." Persistent, supervised, stale-restore-guarded.
Status: bundled with the Huxley repo as a workspace member.
What it does
set_timer— "set a timer for 5 minutes" / "remind me in 30 seconds to take it out of the oven" — schedules a one-shot proactive announcement after the given relative duration. The skill's wait task firesinject_turn(message)when the timer expires.
For calendar-time reminders ("at 9am tomorrow") use huxley-skill-reminders instead — the two skills cleanly split absolute vs. relative time.
Persistence + supervision
- Timer rows live in
ctx.storageundertimer:<id>keys. - The wait task for each timer is wrapped in
ctx.background_taskso the framework can see crashes (logged viaaexception), restart within a budget, and cancel cleanly at shutdown. - On boot,
setup()enumeratestimer:*and reschedules the survivors against wall-clock time. - Stale-restore guard: if a restored timer's
fire_atis more thanstale_restore_threshold_sin the past, it's dropped silently — no spammy "your 7am wake-up timer is now firing at 6pm" surprises.
Configure
skills:
timers:
stale_restore_threshold_s: 300 # default 5 min; raise if you want catch-up
fire_prompt: "El temporizador terminó:" # prefix the persona narrates
i18n:
es:
seconds_word: "segundos"
minutes_word: "minutos"
en:
seconds_word: "seconds"
minutes_word: "minutes"
config_schema = None — locale i18n maps don't fit a JSON-Schema-rendered form; v2's PWA falls back to "edit YAML directly."
Development
uv run --package huxley-skill-timers pytest server/skills/timers/tests
uv run ruff check server/skills/timers
uv run mypy server/skills/timers/src
License
MIT — see LICENSE.
Metadata
Release files for huxley-skill-timers 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| huxley_skill_timers-0.1.0.tar.gz | 16.2 kB | Without provenance | Details for huxley_skill_timers-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| huxley_skill_timers-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for huxley_skill_timers-0.1.0-py3-none-any.whl |
Total release size: 29.1 kB
Release files / huxley_skill_timers-0.1.0.tar.gz
| Download URL | huxley_skill_timers-0.1.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
689cf5983bc316cf38b83aae2b8462f0114a228f4b2216c59c6055716021dba7
|
|
BLAKE2b-256 checksum How to use checksums |
828813a2ec17ddaac46fdef37bbb469ffbb5f59971ec561a7d148f594a293544
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.5
|
Release files / huxley_skill_timers-0.1.0-py3-none-any.whl
| Download URL | huxley_skill_timers-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
709682af61dc02852183d8bac681a6f7b50ece6f4670d12d5a5564ce95e33093
|
|
BLAKE2b-256 checksum How to use checksums |
7dae8a54b92adf65ecdf67f317bd33e9c192ce5768614ff7cf91a154558345ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.5
|
Security for huxley-skill-timers 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.