measure-guard

by bodangren · ★ 17 · updated today

PanesBandsGuardsCommandsPrompt

0

Shows the Measure plan state and guards edits, commits, and closeouts against the active plan

install measure-guard

Install

git clone https://github.com/bodangren/measure
claude --plugin-dir ./measure/mods/measure-guard

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.composeclassic.UserPromptSubmitclassic.Stoptool.callui.rendersession.compact
API calls
$.command.register$.fs.exists$.fs.read$.process.run$.prompt.submit$.session.repo$.session.root$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.close$.ui.open$.ui.panes$.ui.resolve$.ui.toast

Origin

How it got here
Found through a post on X by @daengbo, then checked on GitHub: the repo has a plugin manifest and function hooks. Listed .
Repository
github.com/bodangren/measure
Path in repo
mods/measure-guard
Source commit
69236a2 the exact code the scan read
Author
@bodangren
License
Apache-2.0
First published
Last pushed
First listed here
On X
Mentioned in 1 post on X

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.

Posts about this repo

Daniel at Reading-Advantage.com@daengbo

I created my first Claude mod. It's a set of rules and HUD for my Measure spec driven development system that I use in every one of my large projects. The mod has a status like that shows the track and task that's being worked on, and can pull up a more detailed report page on command. It enforces rules around teaching work and commit hashes for each task. It's a small miss, but useful to me. As usual, most of my rolling is just focused on my use case. I've been in the open source world for three decades and very much believe in "scratch your own itch, then release the solution." As usual, use of you like. It's good. Don't use of you don't like. https://github.com/bodangren/measure