focus-lock
by Marc Cleroux · ★ 0 · updated 8 days ago
Start a timed sprint on one task with /sprint. Prompts about anything else are held until the timer ends.
Install
/plugin marketplace add tenfoldmarc/claude-code-mods/plugin install focus-lock@tenfold-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runprompt.submitui.render- API calls
$.audio.play$.clock.every$.clock.now$.command.register$.model.complete$.prompt.submit$.state.get$.state.set$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePrompt- Can see
every prompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setdrives Claudeplays audiodraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/tenfoldmarc/claude-code-mods
- Path in repo
mods/focus-lock- Source commit
6f91a53the exact code the scan read- Author
- Marc Cleroux @tenfoldmarc
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from tenfoldmarc/claude-code-mods
daily-command-center
tenfoldmarc/claude-code-mods
Every morning Claude asks for the three tasks you need to do today, then pins them in a side pane next to your revenue and key numbers.
done-chime
tenfoldmarc/claude-code-mods
Plays a chime and shows a toast when Claude finishes a long job, so you can walk away from the screen.