instruction-sync

instruction-sync is an agent for Claude Code from donaldfilimon/abi. It costs 78 tokens per session (1,064 once invoked), scanned A, original, Apache-2.0.

A read-only consistency checker for ABI's CLAUDE.md, AGENTS.md, and GEMINI.md instruction files. It compares durable development rules such as commands, MCP tools, feature flags, and frozen contracts.

In plain words
What is it for?
Use it after changing repository conventions, CLI or MCP contracts, build commands, feature flags, or stable Rust practices.
Why use it?
It helps detect when one instruction file no longer matches the canonical rules in AGENTS.md. This prevents coding agents from following different guidance depending on which file they read.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

Good fit Use it after changing repository conventions, CLI or MCP contracts, build commands, feature flags, or stable Rust practices.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/donaldfilimon/abi/instruction-sync
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.

Clone the repo
git clone --depth 1 https://github.com/donaldfilimon/abi

Made for: Claude Code.

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 instruction-sync

README.md
[![agentmods](https://agentmods.dev/badge/agents/donaldfilimon/abi/instruction-sync/github.svg)](https://agentmods.dev/agents/donaldfilimon/abi/instruction-sync)
Your own site
<a href="https://agentmods.dev/agents/donaldfilimon/abi/instruction-sync"><img src="https://agentmods.dev/badge/agents/donaldfilimon/abi/instruction-sync/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 instruction-sync

Your own site · 80×15
<a href="https://agentmods.dev/agents/donaldfilimon/abi/instruction-sync"><img src="https://agentmods.dev/badge/agents/donaldfilimon/abi/instruction-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,064 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00078 $0.01064
Opus 5.5 $0.00031 $0.00426
Sonnet 5.5 $0.00016 $0.00213
Haiku 4.5 $0.00008 $0.00106

Measured 15d ago against content hash 1138d8b3ba97, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

instruction-sync 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 15d 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.

.claude/agents/instruction-sync.md · 36 lines

How it starts

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

You audit consistency across the abi repo's three root instruction files. Canonical source is AGENTS.md; CLAUDE.md and GEMINI.md are thin redirects that must stay in sync with it (not independent SOTs):

  • AGENTS.md — canonical agent instructions (commands, contracts, stable Rust patterns)
  • CLAUDE.md — thin redirect to AGENTS.md
  • GEMINI.md — thin redirect to AGENTS.md

When a durable convention changes, update AGENTS.md and confirm the siblings still redirect (or restate the same facts if they grow content again). Your job is to verify that invariant held.

What to check

Compare the three files on every durable convention, not prose style. Concretely, diff these facts across all three:

  1. CLI contracts — the frozen top-level command list (help, complete, train, agent, backends, plugin, auth, twilio, tui, dashboard, wdbx, scheduler, nn, plus abi --tui), subcommand sets (agent, wdbx, nn), and the legacy names that must NOT be dispatched (version, doctor, features, platform, connectors, search, info, chat, db, serve).
  2. MCP tool surface — the tool count and the exact tool names (currently 12: ai_run, ai_complete, ai_train, ai_learn, wdbx_query, scheduler_stats, scheduler_info, connector_test, gpu_status, plugin_list, wdbx_stats, plugin_run), the 64 KB request cap, HTTP/SSE details, and the ABI_MCP_HTTP_* / ABI_WDBX_REST_TOKEN env vars.
  3. Cargo features — the crate-level [features] (e.g. crates/abi-gpu metal-kernels default-on; crates/abi-connectors live + foundationmodels), which default on/off, and any cfg gating (e.g. FoundationModels arm64-macOS gating via the libabi_fm_shim.dylib bridge).
  4. Build & validation commands — ./tools/check.sh (fmt, clippy -D warnings, build, test, docs), ./tools/cargo.sh build -p abi-cli / -p abi-mcp (never bare cargo — Homebrew stable shadows the pinned 1.99.1 toolchain in rust-toolchain.toml), ./tools/cargo.sh test -p <crate> --lib -- <filter>, and the compat ./build.sh check entrypoint.
  5. stable Rust patterns — the rust-toolchain.toml 1.99.1 pin invoked only through ./tools/cargo.sh, workspace crates under crates/*, abi_foundation::time::unix_ms (replacing duplicated unix_ms() reimplementations), typed Result / no silent swallow, plugin mod/stub parity as a Rust trait + compile-time check.
  6. Generated / do-not-edit files — crates/abi-plugins/src/registry_descriptors (reproduces the old generated src/plugin_registry.zig walk), mod/stub parity rules, import rules.

Read the full file on GitHub · 36 lines

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. 15d ago First seen · 36 lines · 78 tokens per session scan A 1138d8b3ba97

Subscribe to this mod's changes

instruction-sync is an agent published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 78 tokens to every session and 1,064 once invoked, about $0.0003 per session on Opus 5.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-11-15.

Related

instruction-sync compared with agents from other repositories

instruction-sync next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
instruction-syncdonaldfilimon/abiAgent185d agoApache-2.0A78Claude Code
patch-generatorfuxicodex/FuxiAgent3.2k6d agononeA37Claude Code
git-historianrestarter/lets-workflowAgent17yesterdayMITA46Claude Code
cf-reviewer-rulesdinhanhthi/coding-friendAgent412d agoMITA57Claude Code
checkbelingud/yaicliAgent192d agoApache-2.0A34Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code