Who it is forA developer or platform lead who wants the same supervision in every repository on a workstation.
The problemSetting up hooks project by project is repetitive, and a new project can be started without any guard.
The outcomeClaude Code and Codex hook files point at Canny, so every project the agent opens is supervised.
What you need first
- git installed
- Node.js 22 or newer
- Claude Code or Codex CLI installed in the project
- A terminal to run the install commands
- Repository is not on npm, so install is a git clone
Steps
- Clone the repository with
git clone https://github.com/qkal/canny.git ~/.canny/src. - Run
node ~/.canny/src/dist/cli.js init --globalonce. (inferred, check the README) - Open any project and run a short agent task to confirm events are recorded with
node ~/.canny/src/dist/cli.js status. - To remove a single project later, run
node ~/.canny/src/dist/cli.js removefrom that project root.
Prompt for your agent
Clone https://github.com/qkal/canny into ~/.canny/src and run `node ~/.canny/src/dist/cli.js init --global`. Report the files written, which per the README are ~/.claude/settings.json and ~/.codex/hooks.json, and run `node ~/.canny/src/dist/cli.js status` after a short session in <project-path>.
Caveat. Global hooks change settings used by every project, so review ~/.claude/settings.json and ~/.codex/hooks.json before relying on them.
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
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page