Credentials. The agent needs access to your logs or metrics and possibly your deploy tooling, so grant only the scopes it needs and protect paths it must not change.
Who it is forAn engineer on call for a service who wants a first responder that is awake even when they are not.
The problemIncidents start at night or during other work, and the first minutes go to finding which change caused the spike.
The outcomeAn agent that wakes on a watch, investigates the cause, rolls back or fixes it, and writes a postmortem for you to review.
What you need first
- Node.js 22.19 or newer
- npm to install the package globally
- One coding agent signed in, such as Claude (built in, uses your Claude Code login)
- A repo or service the agent can access, with protected paths set if needed
Steps
- Run
npm install -g @ukanwat/overtimeto install the app. - Run
overtimeand name the agent on-call. - Brief it with the logs or metrics it should watch and what it may do: find the cause, roll back or fix, and write a postmortem.
- Set up a watch on your log or metric source as described in the how-it-works guide, using the watch script the agent creates. (inferred, check the README)
- Trigger a test event and check that the agent wakes and writes a postmortem.
Prompt for your agent
Using the Overtime repo at ukanwat/overtime, create an on-call agent with a watch on <log or metric source>. Expected output: after a test alert, a cause summary, the action taken, and a postmortem file. Verify that the agent wakes within the watch interval and asks before any change it has not been permitted to make.
Caveat. The README describes the watch as a small script that wakes the agent but does not list which log or metric sources are supported, so check that yours can be watched.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ukanwat/overtime and "Wake an on-call agent the moment logs or metrics spike"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer