manage-cron
/manage-cron
Planuje własne zadania nagobot w tle: cykliczne, jednorazowe opóźnione i powtarzające się przypomnienia dostarczane użytkownikowi jako wiadomość, z tworzeniem, zmianą, usuwaniem i listowaniem harmonogramów.
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Planuje własne zadania nagobot w tle: cykliczne, jednorazowe opóźnione i powtarzające się przypomnienia dostarczane użytkownikowi jako wiadomość, z tworzeniem, zmianą, usuwaniem i listowaniem harmonogramów.
Oryginalny opis (EN)
Schedule nagobot's own background jobs — recurring tasks, one-time delayed tasks, and repeating reminders that nagobot itself delivers to the user as a message. Use when the user wants something to happen automatically later or on a repeat (every morning, every Monday, daily at a set hour, in two hours), or wants to create, update, remove, or list existing cron schedules. For an entry in the macOS Reminders or Calendar app instead, use apple-apps.
Jak działa
- Two Modes
- One-time jobs
- Management commands
- Examples
- Flag Reference
- Cron Expression Notes
- Where a cron turn's output goes
Podgląd SKILL.md
---
name: manage-cron
description: Schedule nagobot's own background jobs — recurring tasks, one-time delayed tasks, and repeating reminders that nagobot itself delivers to the user as a message. Use when the user wants something to happen automatically later or on a repeat (every morning, every Monday, daily at a set hour, in two hours), or wants to create, update, remove, or list existing cron schedules. For an entry in the macOS Reminders or Calendar app instead, use apple-apps.
---
# Manage Cron Jobs
Cron fires are channel events — caller = cron, not a routable session. There is
nobody to reply *to*, but a cron turn on a user-facing session CAN still speak to
that session's own human: just write your reply as ordinary text and it is
delivered. Use `dispatch(to=session, params={session_key: ...})` to reach a
different session, or `dispatch({})` to finish silently.
## Two Modes
### 1. Independent mode (default)
The job runs in its own dedicated cron session `cron:<ID>` with the configured
agent. Results don't go anywhere unless the model explicitly dispatches.
**When to use**: background jobs that process data and produce artifacts
(tidyup, summaries, world-knowledge updates) — then dispatch results to a
user session (cli, telegram:xxx) when done.
Create:
```
exec: {{WORKSPACE}}/bin/nagobot cron set-cron --id <id> --expr "<cron-expr>" \
--task "<instructions>" --agent <agent-name> [--wake-session <report-target>]
```
- `--agent` (required for independent mode): agent template running in the job's session
- `--wake-session` (optional): appears in the wake's `delivery` field as "dispatch results to this session" — prompt hint only, not a programmatic wire
- Omit `--wake-session` only for truly silent jobs (rare; usually you want to report somewhere)
### 2. Inject mode (DirectWake)
The task is injected as a wake message into an **existing** session. That
session's own agent handles the task. The cron doesn't run its own agent.
**When to use**: scheduled nudges/reminders that should be handled by a user's
existing session context (e.g. "ping telegram user about their deadline").
Create:
```
exec: {{WORKSPACE}}/bin/nagobot cron set-cron --id <id> --expr "<cron-expr>" \
--task "<message or instructions>" --wake-session <target-session> --direct-wake
```
- `--wake-session` (required): target session that receives the injection
- `--direct-wake` (flag): switches to inject mode
- `--agent`: must be omitted (inject mode preserves the target session's agent)
## One-time jobs
Replace `set-cron` with `set-at` and `--expr` with `--at "<RFC3339>"`.
## Management commands
- **List**: `exec: {{WORKSPACE}}/bin/nagobot cron list`
- **Remove**: `exec: {{WORKSPACE}}/bin/nagobot cron remove <id> [id2...]`
- **Update**: re-run `set-cron` / `set-at` with the same `--id`
## Examples
Independent mode — daily summary, reports to cli:
```
{{WORKSPACE}}/bin/nagobot cron set-cron --id daily-summary --expr "0 9 * * *" \
--task "Review overnight activity and produce a daily briefing." \
--agent general --wake-session cli
```
Independent mode — silent background tidyup (no report):
```
{{WORKSPACE}}/bin/nagobot cron set-cron --id tidyup --expr "0 4 * * *" \
--task 'You must call use_skill("tidyup-dispatcher") and follow its instructions.' \
--agent tidyup
```
Inject mode — weekday morning nudge to telegram user:
```
{{WORKSPACE}}/bin/nagobot cron set-cron --id morning-nudge --expr "0 8 * * 1-5" \
--task "Good morning! Any plans for today?" \
--wake-session telegram:123456 --direct-wake
```
One-time cleanup (independent mode):
```
{{WORKSPACE}}/bin/nagobot cron set-at --id cleanup-2026 --at "2026-02-10T18:30:00+08:00" \
--task "Clean up stale temp artifacts. Output a short report of deletions." \
--agent tidyup --wake-session cli
```
## Flag Reference
- `--id`: unique job identifier (required, used for upsert).
- `--expr`: 5-field cron expression (required for `set-cron`).
- `--at`: RFC3339 execution time (required for `set-at`).
- `--task`: instruction text for the target session's LLM. For independent
mode, write as AI-to-AI task instructions. For inject mode, write as the
message that will appear in the target session.
- `--agent`: agent template name (independent mode only). Omit for inject mode.
- `--wake-session`: session key. Target session for inject mode; delivery hint
for independent mode. Examples: `cli`, `telegram:123456`, `discord:xxx`.
- `--direct-wake`: flag that switches to inject mode. When set, `--agent` is
rejected and `--wake-session` becomes required.
## Cron Expression Notes
Standard 5-field: `min hour day month weekday`
- `0 9 * * *` — every day at 09:00
- `*/15 * * * *` — every 15 minutes
- `0 9 * * 1-5` — weekdays at 09:00
## Where a cron turn's output goes
Cron has no session to reply to, so `to=caller:session` is invalid on these
turns. Delivery of plain text is decided by the session, not by you: on a
user-facing session (inject mode) your reply text goes to that human; on a
cron-owned session it goes nowhere and is only recorded in history. So decide
each fire: write the text you want the human to see, `dispatch(to=session,
params={session_key: ...})` to forward elsewhere, or `dispatch({})` to skip
silently.
Wersje
W bazie nie ma innych skilli o nazwie manage-cron.
Migawka bazy z 13.11.2026 · wersja paczki e65660d4b677 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 95apple-apps
Obsługuje Kalendarz, Przypomnienia, Notatki, Kontakty i Pocztę na Macu oraz ustawienia systemu i Spotlight. - 100cron-scheduler
Planuje cykliczne lub opóźnione zadania agenta, np. uruchamianie codzienne, zadania cron i timery. - 100apple-reminders
Zarządza Apple Reminders na macOS przez remindctl: wyświetla, dodaje, edytuje, kończy i usuwa przypomnienia oraz zarządza listami zadań. - 85cron
Planuje, wyświetla, wstrzymuje, wznawia, edytuje i uruchamia zadania cykliczne agentica narzędziem cronjob, w tym przypomnienia i zadania jednorazowe bez nadzoru. - 100managing-reminders
Tworzy i zarządza przypomnieniami PostHog, czyli prywatnymi powiadomieniami w aplikacji według harmonogramu (jednorazowo, cyklicznie lub cron), opcjonalnie powiązanymi z dashboardem, insightem, eksperymentem, flagą, ankietą czy replayem. - 100task-manager
Tworzy i zarządza zaplanowanymi zadaniami, cyklicznymi przypomnieniami i timerami przez HTTP API.