interlinked-setup

interlinked-setup is a skill for Claude Code, Codex from QuentinCody/interlinked-cli. It costs 127 tokens per session (12,940 once invoked), scanned A, original, MIT.

A setup and troubleshooting guide for Interlinked, a local guard layer that checks AI coding-agent tool calls. It also covers connecting coding tools, managing the local background service, and changing configuration.

In plain words
What is it for?
Use it to install or remove Interlinked, connect Claude Code, Codex, Copilot CLI, Gemini, or Cursor, run diagnostics, manage the local service, and configure its server or checking policy.
Why use it?
It helps keep Interlinked's hooks and guard service working, including when the service is stopped, outdated, or blocking tool calls.

Skill for Claude CodeCodex

Written for Claude Code and Codex: PostToolUse hook event, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Good fit Use it to install or remove Interlinked, connect Claude Code, Codex, Copilot CLI, Gemini, or Cursor, run diagnostics, manage the local service, and configure its server or checking policy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quentincody/interlinked-cli/interlinked-setup
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.

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

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for interlinked-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/quentincody/interlinked-cli/interlinked-setup/github.svg)](https://agentmods.dev/skills/quentincody/interlinked-cli/interlinked-setup)
Your own site
<a href="https://agentmods.dev/skills/quentincody/interlinked-cli/interlinked-setup"><img src="https://agentmods.dev/badge/skills/quentincody/interlinked-cli/interlinked-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for interlinked-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/quentincody/interlinked-cli/interlinked-setup"><img src="https://agentmods.dev/badge/skills/quentincody/interlinked-cli/interlinked-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,940 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 440
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium MCP Rug Pull · line 233
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Rogue Agent · line 474
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.1 $0.00127 $0.12940
Opus 5.5 $0.00051 $0.05176
Sonnet 5.5 $0.00025 $0.02588
Haiku 4.5 $0.00013 $0.01294

Measured today against content hash f3cbead2cb23, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

interlinked-setup scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

origins with curl, honors host proxy settings, and never follows redirects or performs
skills/interlinked-setup/SKILL.md · 773 lines

How it starts

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

interlinked-setup — install, operate & troubleshoot the harness

Hook project discovery walks up from the tool call's cwd to a configured ancestor: .interlinked/config.json, guard-rules.json, harness.pid, or a socket marks a project. A descendant directory containing only hook receipts or prediction state does not shadow that ancestor. An explicitly marked nested project retains its own identity. If no configured ancestor exists within the bounded walk, the nearest .interlinked/ remains the fallback; directory presence alone does not prove a live daemon.

The local guard-prediction oracle defaults to shadow, independently of the optional Supermodel graph protocol. Shared .interlinked/config.json accepts harness.guard_prediction.mode: "enforced" | "shadow" | "off". Use interlinked-harness for exact prediction/reconciliation receipts and limitations. Receipts are required only in explicit enforced mode. Edit-time function token, cyclomatic and cognitive cap crossings are advisory by default; shared harness.edit_metrics.mode: "enforced" restores refusal, while "advisory" states the default explicitly. Cap values and protected baselines do not change. Native cold fallback can run this AST oracle; standalone generated hooks need the daemon and report NOT CHECKED without it. Physical file size is advisory in both warm and cold paths; rebuilding must not revive the old line-count block.

Claude compiler batching activates only after a session sends native PostToolBatch. After daemon restart, edits use the ordinary compiler path until that boundary is observed again; previously queued work remains durable and is checked at Stop/commit. Keep the installed PostToolBatch hook current. It delivers repair context rather than cancelling the agent loop for ordinary compiler findings. See interlinked-verify.

Skill refresh preserves modified installed copies. If they still describe sub-cap complexity slew blocks, compare them with canonical skills/*/SKILL.md, retain local customizations/backups, and reconcile deliberately. Restarting a daemon cannot erase guidance already loaded into a model's conversation.

Non-gating native hook commands use a compact missing-runtime diagnostic and exit 1; gating hooks retain the self-contained fail-closed fallback and exact repair allowlist. After rebuilding, use interlinked install-hooks --refresh --preserve-mode to refresh installed command text, then verify interlinked harness status --json shows the serving build. Keep PostToolUse scoped to mutating tools; do not add PostToolUseFailure duplicates.

Provider qualification must exercise native edit routes, advisory file-size delivery, and completion after ordinary Stop advisories. Claude and Codex keep those advisories on stderr; explicit repair blocks still request continuation. Codex rewrites include permissionDecision: allow. Retain registrations and native transcripts: an encoded response alone does not prove native enforcement.

Before behavioral qualification, use interlinked tests readiness <language> --json, then run a real project suite. Python readiness probes the selected environment for pytest, pytest-cov and coverage; it does not install or infer passing tests. The hook installer also ignores the named generated payload-key, enforcement-status and coverage-runtime-estimate outputs. These ignore entries never exempt policy files or make runtime-input caching sound.

For an externally frozen policy, keep the policy files on read-only supervisor mounts and pin their parent directories as mount points; a read-only file under a replaceable parent is insufficient. Keep daemon sockets, atomic receipt writes, proposals and intended ratchet state writable. Qualify CLI mutations, direct replacement, local overrides and daemon restart under the actual non-root agent identity before claiming immutable effective policy. A same-UID daemon and --by labels do not provide an authorization boundary.

Interlinked is a local, offline-first guard layer for AI coding agents. Repository config, logs, and daemon state live under <repo>/.interlinked/; installation also writes selected providers' settings, managed bridge files, and installed skill directories at their provider-specific project or user locations. A local daemon ("the harness", a Unix-socket server) evaluates each event the installed runner exposes to its hook surface. This skill covers turning it on, keeping the daemon healthy, configuring it, and turning it off. The remote server is optional — hooks, guard, and activity capture work with zero network.

Read the full file on GitHub · 773 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. today Changed · +7 lines f3cbead2cb23
  2. 7d ago Changed · +54 lines 61acc637687e
  3. 24d ago Changed · +2 lines d591b0bf035b
  4. 28d ago Changed · +25 lines a2414f186699
  5. 1mo ago Changed · +10 lines 6917227f7824
  6. 1mo ago Changed · +30 lines 27d5ff754c17
  7. 1mo ago Changed · +40 lines 018ef05c835d
  8. 1mo ago Changed · +112 lines 9118408fff96
  9. 1mo ago Changed · +266 lines · +5 tokens per session 147e5a84985a
  10. 1mo ago First seen · 227 lines · 122 tokens per session scan A 5f926a4c7219

Subscribe to this mod's changes

interlinked-setup is a skill published in the GitHub repository QuentinCody/interlinked-cli (180 stars, last pushed yesterday), licensed MIT. It adds 127 tokens to every session and 12,940 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

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

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 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

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens