interlinked-cli
github.com/quentincody/interlinked-cli- Category
- Developer Tools
- Rank
- No. 1260Tools index
Previous survey · No. 1237 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Software Testing & Quality
- Builder
- @QuentinCody
- GitHub
- 185 stars
- Date
About
interlinked-cli wraps AI coding agents such as Claude Code, Codex, Cursor, and Copilot CLI with local hooks that enforce code standards and report on what the agent did. Because the checks run on your machine at the point the agent edits code, quality rules apply during the session instead of surfacing later in review.
What it does
A command-line tool that installs itself into the hook systems of AI coding agents, then runs a small background daemon on your machine. Every tool call the agent makes, such as a shell command or a file write, is sent to that daemon, checked against a fixed rule set, and allowed, blocked or turned into a confirmation prompt before it runs. Compiler and lint checks run after a write lands and report back to the agent. Each event the daemon sees goes into a local append-only log you can search later. A server for multi-agent coordination exists but is optional.
Why it's ranked here
The decision path is deterministic and local: no model judges whether a command is allowed, and the project says rule checks return in roughly one to five milliseconds. It is MIT licensed with a single runtime dependency, and the documentation is unusually candid about its own limits, for example spelling out which agents are proven and that a skipped compiler check is reported as not checked rather than clean. The counterweight is maturity: it sits at version 0.1.0, installs from source, and the headline block counts come from one developer's own machine.
What's good
Failure handling is designed rather than assumed. If the daemon is down, a smaller built-in rule set still runs, and checks that need the full evaluator are reported as unavailable instead of passing. Removal is a first-class command that leaves any bridge file you edited in place. A separate transactional write command checks proposed content with TypeScript and Biome before writing, captures each file's prior state, and aborts if another writer changed it. The docs also say plainly what the activity log cannot prove: actions a provider never sent through its hooks are invisible to it.
Tradeoffs
Only Claude Code and Codex are supported; Cursor, Copilot CLI, Gemini CLI, OpenCode and Pi are labelled experimental, and each can enforce only what its own hook interface exposes. For ordinary agent edits, type checking happens after the file is written, so a bad edit lands first and gets flagged later. It needs Node.js 22 or newer and does not run on native Windows. The surface is large, with dozens of commands and over a hundred rules, and installing from a cloned checkout ties the hooks to that folder's location. The docs disagree on whether an npm package is published.
How to use it well
Fits a developer or small team running Claude Code or Codex who wants hard stops on destructive shell commands, secrets in writes, and unvetted package installs, plus a local record of what the agent did. Try it on a throwaway repository first using the guided wizard, which shows the enforcement posture before applying it, and learn the disable command before you need it. Use the transactional write path when you want type errors blocked before they land. It is not a sandbox: anything an agent does outside its hook interface is unguarded.
Technical notes+
Entry point src/index.ts is a thin dispatcher: it supervises a resource-bounded run, falls through to a zero-argument first-run wizard, then parses argv with commander. src/harness/server.ts is the daemon: it loads guard rules, builds per-project dependency graphs lazily, loads an optional trigram index for grep acceleration, and warns on stderr when the optional typescript dependency is missing, since the AST cyclomatic gate then degrades to a regex walker and the self_import pre-block check stops measuring. src/harness/check-engine/index.ts runs external tools; its async path takes a cross-process project lease and runs heavy tools one at a time, returning a resource-busy report rather than queueing. docs/harness.md and docs/architecture.md describe the provider adapters and fallback behaviour. package.json declares two binaries and restricts the os field to darwin and linux.
Observed
- License
- MIT (LICENSE)
- Language
- TypeScript, ESM-only, built to JavaScript with tsup
- Runtime requirement
- Node.js 22 or newer (engines field in package.json)
- Platforms
- macOS and Linux, including WSL; native Windows not supported (os field in package.json)
- Install surface
- Installed from the GitHub repository and linked locally; docs/how-to-use.md states the package is not published to npm
- Interfaces
- CLI binaries interlinked and interlinked-hook, plus a local Unix-socket daemon
- Runtime dependencies
- One: commander (package.json)
- Supported agents
- Claude Code and Codex supported; Cursor, Copilot CLI, Gemini CLI, OpenCode and Pi experimental (README.md)
- Remote service
- Not required; server-backed coordination commands are optional (README.md)
Read from README.md, package.json, docs/architecture.md, docs/how-to-use.md, docs/harness.md, src/index.ts, src/harness/server.ts, src/harness/check-engine/index.ts, LICENSE, CHANGELOG.md.
Similar tools
Tags
Tech Stack
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.