scheduled-turns
Use when a task needs recurring or always-on agent turns (periodic checks, polling workflows, run-this-every-morning jobs) without adding a daemon. OS scheduler plus one-shot headless Devin turns writing to ledgers.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- scheduled-turns
- description
- Use when a task needs recurring or always-on agent turns (periodic checks, polling workflows, run-this-every-morning jobs) without adding a daemon. OS scheduler plus one-shot headless Devin turns writing to ledgers.
03 SKILL.md 正文
Scheduled Turns
Runs an agent turn on an OS schedule. Each fire is a FRESH one-shot
session (devin -p), never re-entry into a live session, never a
daemon, matching the runtime's single-process model (AGENTS.md Rule 18;
heartbeat/session-checkpoint emulations were pruned for this reason).
When to Use
- Recurring chores: inbox triage, dep-update checks, report generation
- "Always-on" behavior for an otherwise session-bound agent
When NOT to Use
- Sub-hour cadence or real-time reaction: use
cu-realtimeorbrowser.py eventsinside a live session - Anything needing conversation continuity: each turn is amnesiac, so persist state in files the next turn reads
Recipe
-
Write the turn prompt to the project as
.devin/scheduled/<name>.md(what to check, where to write results, when to stop). -
Register one OS scheduled task per turn:
Windows (PowerShell, run once by the user):
$act = New-ScheduledTaskAction -Execute "devin" ` -Argument "-p --prompt-file .devin/scheduled/<name>.md --respect-workspace-trust false" ` -WorkingDirectory "C:\path\to\project" $trg = New-ScheduledTaskTrigger -Daily -At 09:00 Register-ScheduledTask -TaskName "devin-<name>" ` -Action $act -Trigger $trgPOSIX cron equivalent:
0 9 * * * cd /path && devin -p --prompt-file .devin/scheduled/<name>.md --respect-workspace-trust false >> .devin/ledgers/scheduled-<name>.log 2>&1 -
Each run appends outcome evidence to
.devin/ledgers/scheduled-<name>.md: outcome, what ran, next check. The ledger is the inter-turn memory; prompts must name the files a turn should read first.
Guards
- One instance per task: the scheduled script writes a lock file and exits when it exists (stale locks older than 24h are removed).
- Schedules are user-approved once; the agent never registers or edits a task itself. It writes the prompt file and the user runs the register command.
- No secrets in prompt files, task arguments, or ledger output.
--respect-workspace-trust falseis required: print mode cannot show the workspace trust prompt, so an untrusted dir fails without it.- Turns are bounded: the prompt must state a hard stop condition and a
max runtime expectation; a turn that cannot finish writes
ABANDON: <reason>to its ledger instead of hanging.
Disable
Unregister-ScheduledTask -TaskName "devin-<name>" -Confirm:$false
# cron: remove the crontab line
Delete .devin/scheduled/<name>.md to retire the turn's instructions.
Cross-skills
- Use
adaptive-agenda-calendar-routine-engineto slot recurring turns (morning radar, daily triage) into calendar-backed micro agenda blocks.
04 同仓库更多 Skills
montador-de-ideias
Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.
git-github-adaptive-engineering
Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.
adaptive-agenda-calendar-routine-engine
Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.
demo
Use when demonstrating a skill in a fixture project.
duplicate-skill
Use when testing duplicate skill name detection.
duplicate-skill
Use when testing duplicate skill name detection.