interlinked

A local control system for AI coding agents that checks tool calls, blocks risky actions, and records activity on the machine.

In plain words
What is it for?
Use it in repositories with an .interlinked directory to enforce policies, run quality checks, capture activity, and optionally coordinate multiple agents.
Why use it?
It helps prevent destructive commands, secret leaks, and unapproved dependencies while keeping a replayable record of what agents did.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/quentincody/interlinked-cli/interlinked
Any agent
npx skills add QuentinCody/interlinked-cli --skill interlinked
Clone the repo
git clone --depth 1 https://github.com/QuentinCody/interlinked-cli

Made for: Claude Code, Codex.

Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,689 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00165 $0.01689
Opus 5 $0.00082 $0.00844
Sonnet 5 $0.00033 $0.00338
Haiku 4.5 $0.00016 $0.00169

Measured 2d ago against content hash 069ed52eb228, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

interlinked scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/interlinked/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

interlinked — overview & skill router

Interlinked is a local control plane for AI coding agents. A local daemon ("the harness") hooks into Claude Code, Codex, Copilot CLI, Gemini CLI, and Cursor, and on every tool call it: enforces deterministic policy (block/allow in milliseconds, no model in the decision path), fails closed on what causes incidents (destructive commands, secrets, unvetted deps), and writes a replayable local activity log. It is offline-first — no required cloud dependency or remote telemetry. Activity is recorded locally; an optional authenticated server provides multi-agent coordination and configured sync.

If you're an agent working in a repo with a .interlinked/ directory, you are being guarded by it. This skill orients you and points to the right focused skill.

The three surfaces

Surface Role
Interlinked CLI (interlinked …) Local hooks, guard, quality checks, activity capture, diagnostics.
Interlinked MCP Server Optional remote source of truth for tasks, messages, reservations, agent state.
Web UI (/chat, /map) Optional human oversight and coordination.

The .interlinked/ directory

Everything is per-cwd under <repo>/.interlinked/. Key files:

File Git Purpose
config.json committed server URL, defaults, operational mode, feature flags
config.local.json gitignored token, agent name, workspace, sync mode
guard-rules.json / .local.json team / local guard rules, file reminders, per-edit coverage/mutation policy
check-policy.json / .local.json team / local report-ratchet settings, including the mutation-score floor
package-allowlist.json committed approved dependencies (default-deny installs)
verify-suppressions.json committed file/glob check suppressions
*-baseline.json, metric-caps.json mixed ratchet water-lines (coverage/mutation/line-cap/caps); the daemon folds session evidence into three of them at SessionEnd, tighten-only — see interlinked-quality-gates
baseline-folds.jsonl local audit row per SessionEnd water-line fold (what tightened, what was refused)
mutation-manifest.json mixed stable per-mutant state for the live per-edit mutation ratchet
activity.jsonl, collection.jsonl, timeline.jsonl local captured agent activity (enable gitignores the first two)
harness.sock / harness.pid the running daemon

Read the full file on GitHub · 94 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 94 lines · 165 tokens per session scan A 069ed52eb228

Subscribe to this mod's changes

interlinked is a skill published in the GitHub repository QuentinCody/interlinked-cli (13 stars, last pushed 14d ago), licensed MIT. It adds 165 tokens to every session and 1,689 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens