git-log-limit
MatheusChiodi/cockpit
Adds -n 30 to a git log that has no limit, so the history does not flood the context
196 mods
Guards sit in front of the tools Claude uses. They can allow, deny or rewrite a tool call before it runs, for example to block risky shell commands or keep secrets out of tool output, using the tool.call and tool.check hooks.
MatheusChiodi/cockpit
Adds -n 30 to a git log that has no limit, so the history does not flood the context
MatheusChiodi/cockpit
Status line with branch, changed files and commits ahead/behind
MatheusChiodi/cockpit
Asks before a .gitignore edit drops an entry that protects .env, keys or credentials, or git add -f forces one in
MatheusChiodi/cockpit
Status line with how long ago the tests last passed and how many edits Claude has made since
MatheusChiodi/cockpit
Caps a Grep that prints matching lines at 100 lines and tells Claude when the cap cut the answer
MatheusChiodi/cockpit
Band that splits the uncommitted files into the ones Claude edited in this session and the ones you changed yourself
MatheusChiodi/cockpit
Asks before an edit puts a hardcoded password, connection string or JWT into source
MatheusChiodi/cockpit
/heavy lists the five tool results that took the most context this session, with tool, target and size
MatheusChiodi/cockpit
Tells Claude when an edit calls a React hook inside a condition, a loop, a callback or after an early return
MatheusChiodi/cockpit
Toast every 60 minutes of real use reminding you to drink water
MatheusChiodi/cockpit
Tells Claude when an edit declares a variable, function or class with the same name as one of the file's imports
MatheusChiodi/cockpit
Requires your confirmation whenever Claude is about to install a new dependency
MatheusChiodi/cockpit
Status line that warns when node_modules is missing or older than the lockfile
MatheusChiodi/cockpit
/intent says what the session is for; every 30 minutes of use a toast asks if you are still on it
MatheusChiodi/cockpit
Tells Claude when a Java edit adds System.out or System.err output or a printStackTrace call instead of the logger
MatheusChiodi/cockpit
Blocks broad process kills: kill -1, killall, loose pkill, taskkill on system or wildcard names, Stop-Process -Name *
MatheusChiodi/cockpit
Refuses a Write over 1,500 lines or 200 KB and asks for the file to be split or generated by a script
MatheusChiodi/cockpit
Status line with how the last shell command ended, passed, failed or interrupted, how long it took and what it was
MatheusChiodi/cockpit
/lasterr recalls the most recent shell command that failed this session and the end of its output
MatheusChiodi/cockpit
One toast per session when you work after 23:00 local time: it is late, park the work
MatheusChiodi/cockpit
Gives Claude the folder layout two levels deep, skipping node_modules and build output
MatheusChiodi/cockpit
Toast at the end of a turn counting the debug logs and TODOs the edits added
MatheusChiodi/cockpit
Status line that warns when the project has no license file or no license field in package.json
MatheusChiodi/cockpit
Prevents hand edits to lockfiles (package-lock, yarn.lock, pnpm-lock, Cargo.lock...)
No tracking cookies, no third-party scripts. How we handle data