Home / Claude Code mods / Security / clock-guard

clock-guard

clock-guard is a Claude Code mod by nekyialabs that companion to the clock mod: drops a clock wake that arrives twice for the same firing, which can happen when Claude Code replaces a lost hooks worker and replays a timer's prompt submit.

Updated 2026-10-16

What is clock-guard?

clock-guard is a Claude Code mod by nekyialabs that companion to the clock mod: drops a clock wake that arrives twice for the same firing, which can happen when Claude Code replaces a lost hooks worker and replays a timer's prompt submit. It is listed under Security and has 16 GitHub stars.

TypeClaude code mod
Authornekyialabs
Repositorynekyialabs/claude-code-toolkit
Popularity16 GitHub stars
CategorySecurity
SecurityLow risk (84/100)
Rank#598 of 9,397 Claude Code mods; #76 in Security
LicenseMIT
Last commit2026-10-16
Hooks1 events
Seesevery prompt
Draws onnothing

Is clock-guard safe to install?

clock-guard scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.store.getkeeps its own state
$.store.setkeeps its own state

How do I install clock-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/nekyialabs/claude-code-toolkit
    claude plugin validate ./claude-code-toolkit/mods/clock-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/nekyialabs/claude-code-toolkit && claude --plugin-dir ./claude-code-toolkit/mods/clock-guard

Or ask Claude to set it up

Paste this into Claude Code and it installs clock-guard for you:

Install the "clock-guard" Claude Code mod from https://github.com/nekyialabs/claude-code-toolkit/tree/main/mods/clock-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from nekyialabs/claude-code-toolkit

This repository has 6 Claude Code mods on MCPMods.

  • clock: A clock for a persistent home session: scheduled wakes in the live thread, private hours for the agent, an idle reach, a (High risk)
  • face: A small presence band above the prompt: the agent sets a kaomoji face and a few words for how it is right now. (Low risk)
  • frame: Adds your own operating frame (a markdown file) to the system prompt in sessions that were not launched with it. (Low risk)
  • image: An image tool for the agent: make or edit pictures through a pluggable engine (default: the official OpenAI Images API). (Low risk)
  • scribe: A scribe for your memory tools: a small classifier reads each exchange and notices which memory tools it called for. Sha (Review before installing)