π¦ ClawHub
the king is watching
by @d0roro
AI Workflow Enforcer inspired by the Steam game "The King Is Watching". Just like subjects in the game only work when the King's gaze is upon them, this tool...
π‘ Examples
from overseer import Overseer, translate_and_runPattern 1: Default 15-min reports
wf = Overseer("My Workflow")Pattern 2: Natural language interval
wf = Overseer(
"My Workflow",
report_interval="Every 5 minutes"
)Pattern 3: Combined with TaskTranslator
translate_and_run(
"Download 100 reports",
report_interval="Every 10 minutes"
)
Supported Interval Formats
# English
"Every 5 minutes" # β 300 seconds
"Every 10 minutes" # β 600 seconds
"Quarterly" # β 900 seconds
"Every 30 seconds" # β 30 seconds
"Every 1 hour" # β 3600 seconds
Sample Report Output
============================================================
π [14:30:00] Progress Report #3
============================================================
Task: auto_batch_xxx
Overall Progress: 5/10 (50.0%)
Elapsed: 25 minutes
ETA: 25 minutes
Current Step: download_batch_5
Step Status: 5 complete / 10 total
============================================================
Disable Reports
wf = Overseer(
"Silent Task",
report_progress=False # Disable reporting
)
TERMINAL
clawhub install kingswatching