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

/botkits-routine-healthcheck

@c282a38
by botkitsdevbotkitsdev/botkits10 stars
3
Run it yourself

Needs Grok Bot. Use when auditing Grok Bot routines for token waste, offering a fleet checkup after template import, deciding cadence, or running the standing routine-healthcheck wake.

  • 1 file
  • 3.5 KB
  • Updated 5 days ago
  • GitHub
Use this Skill: https://skilld.dev/gh/botkitsdev/botkits/botkits-routine-healthcheck

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈53 tokens for metadata: the name and description. ≈817 when used: this file.

Description uses 2.7% 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 ≈214 characters, or 2.7%.

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.

Routine healthcheck

Audit every bot's scheduled and event routines for wasted wakes and noise, then propose fixes. Report only. Don't change another bot's routines until the user picks which fixes to apply.

When

  • The standing routine-healthcheck routine fires (default Monday morning).
  • First run after import: offer once ("want a checkup of every bot's routines?") and run only on yes.
  • The user asks for a routine audit, a token check, or cheaper wakes.
  • Before you create a new standing routine.

After the first checkup, offer once to create the weekly routine-healthcheck routine if it doesn't exist. Don't re-ask on later runs.

Collect

  1. List every folder in /home/box/agent-data/agents/.
  2. For each: the bot name from profile.json, then every automations/*/automation.json.
  3. Per routine, note: cron or event, enabled or paused, runs per day (work it out from the cron), and whether the prompt says to stay silent when nothing changed.

Flag

Each flag names the bot, the routine, the evidence, and a one-line fix.

  • Too often. Anything denser than hourly (every 15 minutes is 96 wakes a day). Suggest hourly, a few fixed times, or weekday working hours. If it's watching Slack, GitHub, or mail, suggest an event trigger instead of a poll.
  • Talks when it has nothing. No silence rule, or it sends filler like "(no change)". A message the user can't act on is noise, and noise trains people to ignore the real ones.
  • Heavy host. A frequent routine on a bot whose chat is already long, so every wake drags that history along. Move it to a fresh, small bot.
  • Dead weight. Paused for weeks, finished its job (a watch past its end date), or two bots doing the same job.
  • Never acted on. If the user hasn't responded to or used a routine's output in weeks, propose pausing it.

Report

One list, worst first: bot, routine, flag, fix, and estimated wakes saved per week. Add a total. No essay. If everything is fine on a scheduled run, say nothing.

Offer to apply fixes only after the user picks. When creating a new bot for a standing sweep, give it one routine at the slowest schedule that still works.

Inspired by

  • Lauren Tan (@poteto), dr eggbot (marketplace template; no reuse license shown, so no text is copied). Does well: names a weekly token and waste audit that stays quiet and waits for the user to pick. Missing: the listing gives the schedule and intent but no flags, cost estimate, or report shape.
  • Google SRE Book, Monitoring Distributed Systems. Does well: every page should be actionable, noisy alerts get ignored, and rarely used rules should be up for removal. Missing: about production alerting, not agent wakes or token cost.
  • Google SRE Book, Eliminating Toil. Does well: defines repetitive, automatable work with no lasting value. Missing: no audit procedure for scheduled jobs.

What this version adds

  • Wakes-per-day math and a weekly savings total in the report.
  • The "actionable or silent" test and a "never acted on" flag, taken from alerting practice.
  • Event triggers suggested in place of polling.

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 c282a38. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 5 days ago
compatibility
Needs Grok Bot (reads Grok Bot routines).

README badge

README badge for botkitsdev/botkits/botkits-routine-healthcheck