Claude Code hook
Interlinked CLI
The harness for your harness. Local hooks, taste enforcement, and developer observability for AI coding agents (Claude Code, Codex, Cursor, Copilot CLI).
Install
npm install -g github:QuentinCody/interlinked-cliFound in the project README. Check it for setup steps after installing.
git clone https://github.com/QuentinCody/interlinked-cli.gitFrom the README
interlinked-cli The harness for your harness. A local guard layer for AI coding agents — integrates with Claude Code and Codex (supported), plus experimental Cursor, Copilot CLI, Gemini CLI, OpenCode, and Pi adapters; evaluates delivered tool hooks against deterministic rules; blocks the dangerous ones in milliseconds; keeps a local activity log you can grep. Install in one line Node.js 22+ on macOS, Linux, or WSL. Pick one: Then, inside the repo you want guarded: Restart your agent so it loads the installed hooks and skills. The guard checks events delivered by that client's supported hook integration. Use interlinked harness capabilities --json to inspect installation and observed coverage. These instructions install this repository directly; full details are in Install From Source. The exit ramp, up front: interlinked disable non-destructively stands the guard down. interlinked disable --uninstall removes an enable/wizard installation; the narrower interlinked uninstall-hooks removes only hooks installed through install-hooks — both preserve a managed bridge if somebody changed its bytes. The local guard requires no remote service. Runtime state lives under .interlinked/; installation also writes the selected providers' settings, managed bridges, and skill directories. Removal is explicit. Try it on a throwaway repo first if you like; the whole setup is interlinked (the wizard), and its matching teardown is interlinked disable --uninstall. Why this matters for responsible AI at scale Once an AI agent can write code, run shell commands, and install dependencies on its own, the question for any organization stops being *"can it help?"* and becomes *"how do we prove every controllable action a configured runner exposed was checked against policy before it ran —…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- QuentinCody/interlinked-cli
- Type
- Hooks
- Language
- TypeScript
- License
- MIT
- Last updated
- 26 October 2026
FAQ
What is Interlinked CLI?
The harness for your harness. Local hooks, taste enforcement, and developer observability for AI coding agents (Claude Code, Codex, Cursor, Copilot CLI). It is a hook for Claude Code, from QuentinCody/interlinked-cli on GitHub.
How do I install Interlinked CLI?
Run npm install -g github:QuentinCody/interlinked-cli, then follow the setup in the README.
Is Interlinked CLI popular?
QuentinCody/interlinked-cli has 183 GitHub stars and 7 forks. It was last updated on 26 October 2026.
More hooks
claude-hooks
75decider/claude-hooks
Set of hooks that enforce clean-code practices and automate routine checks during Claude Code sessions.
Clawd Conduit
174ssssssanjiu/clawd-conduit
Full-lifecycle wiring between Claude Code and the Clawd on Desk pet — all 15 hook events, with permission prompts answered straight from the desktop
Next16 Claude Starter
145textura-agency/next16-claude-starter
AI-first Next.js 16 starter for animation-heavy sites, wired with an Obsidian vault & Claude Code hooks
Flonat Research
149flonat/flonat-research
Shareable Claude Code + Codex infrastructure for PhD researchers — skills, agents, hooks, and rules for academic workflows
PRD Driven Context Engineering
181mattgierhart/PRD-driven-context-engineering
PRD-Led Context Engineering — Memory as Infrastructure. An ontology layer for product teams building products that solve real problems — with AI agents that remember. Gated PRD, typed IDs, markdown knowledge graph, Claude Code skills & hooks.
agentjail
100LuD1161/agentjail
Policy guardrails that check every Claude Code, Codex or Cursor tool call against local rules.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.