Index of every page on this site: llms.txt
All skills
bostonaholic avatar

/running-unattended-routines-and-triggers

@b3697b8
Run it yourself

Use when creating or editing a scheduled routine or event trigger that runs while nobody is watching, so it never stalls on an approval, never fires on noise, and is tested before it is trusted.

  • 1 file
  • 2.7 KB
  • Updated 3 weeks ago
  • GitHub
Use this Skill: https://skilld.dev/gh/bostonaholic/grokbot-skills/running-unattended-routines-and-triggers

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈59 tokens for metadata: the name and description. ≈614 when used: this file.

Description uses 3.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈237 characters, or 3.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Running unattended routines and triggers

Approvals raised by a routine, trigger, or another bot expire after about ten minutes and the action never runs. Design every unattended job to end in a draft, a file, or a report, and move the permission step to when a person is there.

The line every routine prompt carries

This run is unattended. Never request an approval during it.
If you reach a step that needs one, stop there, write what you would
have done and why, and put it in the report under "waiting for
approval". Then continue with the steps that do not need one.

Creating a routine

  1. Schedule. Write it in plain words and confirm the time zone back before saving. Reads and prep run nightly, summaries weekly; hourly only when the source really changes hourly.
  2. Inputs. If an input is missing or a source is unreachable, report the failure. Never substitute older data as today's.
  3. Idempotent. Every step must be safe to run twice. Before any step that creates or sends something, check whether it already happened; if a step can't be made safe, stop before it and flag it.
  4. Output. Name the exact destination (file, issue, draft, report line). Stay quiet when nothing changed, but log the run so a silent run and a failed run can be told apart.
  5. Test run. Run it once against safe inputs and read the full output before trusting the schedule. Test runs do real work.

Creating a trigger

  1. Fire only when ALL are true: a specific source (one channel, repo, or label), a specific phrase or sender, and not already handled in the last N hours.
  2. One action when it fires, read-only or draft-only. Then stop; no chaining into other work.
  3. Before saving, estimate how many times it would have fired in the last 7 days. More than 10 means narrow the match.

Done checklist

  • Unattended line is in the prompt
  • Time zone confirmed
  • Missing-input and failed-check paths report instead of guessing
  • Every create/send step checks for a prior success first
  • Test run output read and test-run note recorded (format in starting-a-routine-skill-first step 8)
  • Trigger fire estimate is 10 or fewer per week

Circuit breaker (bot-skills#39, Adam GO Nov 2, 2026)

After 3 consecutive failures from the same source, pause the routine and tell Charles in one line naming the routine and the error, so he can resume it. Kill rule: if no pause fires in 30 days, remove this block.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at b3697b8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 3 weeks ago

README badge

README badge for bostonaholic/grokbot-skills/running-unattended-routines-and-triggers