sync-adapters

sync-adapters is a skill for Claude Code, Codex from acn-ericlaw/agent-memory. It costs 64 tokens per session (579 once invoked), scanned A, original, Apache-2.0.

A generator that rebuilds the native skill files used by several coding-agent tools from one shared source. It supports adapters for Claude, Gemini, Cursor, Kiro, GitHub Copilot, and Google Antigravity.

In plain words
What is it for?
Run it after creating or editing a skill, or after cloning or pulling the repository. It also removes outdated generated adapters.
Why use it?
Editing a skill can leave copies for different tools out of sync. Regenerating the adapters keeps those copies aligned with the shared version.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Gemini CLI.

Good fit Run it after creating or editing a skill, or after cloning or pulling the repository. It also removes outdated generated adapters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/acn-ericlaw/agent-memory/sync-adapters
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 acn-ericlaw/agent-memory --skill sync-adapters
Clone the repo
git clone --depth 1 https://github.com/acn-ericlaw/agent-memory

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/acn-ericlaw/agent-memory/sync-adapters/github.svg)](https://agentmods.dev/skills/acn-ericlaw/agent-memory/sync-adapters)
Your own site
<a href="https://agentmods.dev/skills/acn-ericlaw/agent-memory/sync-adapters"><img src="https://agentmods.dev/badge/skills/acn-ericlaw/agent-memory/sync-adapters/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 sync-adapters

Your own site · 80×15
<a href="https://agentmods.dev/skills/acn-ericlaw/agent-memory/sync-adapters"><img src="https://agentmods.dev/badge/skills/acn-ericlaw/agent-memory/sync-adapters.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 579 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.00064 $0.00579
Opus 5.5 $0.00026 $0.00232
Sonnet 5.5 $0.00013 $0.00116
Haiku 4.5 $0.00006 $0.00058

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

Security

Grade A, and why

sync-adapters 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 3mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/sync-adapters.mjs, scripts/sync-adapters.py, scripts/sync-adapters.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

agent-skills/sync-adapters/SKILL.md · 36 lines

What it actually says

⚠️ Tool-managed skill provided by agent-memory (provenance: agent-memory-builtin). Don't edit it in place — fork under a new name, or upstream a fix to the agent-memory project (see SKILLS.md).

This skill is the sync skill adapters operation. It is a runnable script — do not hunt for an npm command, MCP tool, or hand-write the adapter files. Run one of these from the repo root (output is byte-identical across all three; bash needs no runtime install — prefer it, especially in a non-Node project):

bash agent-skills/sync-adapters/scripts/sync-adapters.sh
# no bash? (e.g. native Windows) — use whichever runtime you have:
node agent-skills/sync-adapters/scripts/sync-adapters.mjs
python3 agent-skills/sync-adapters/scripts/sync-adapters.py

For each agent-skills/<name>/SKILL.md it (re)writes all six vendor adapters — .claude/skills/<name>/SKILL.md, .gemini/commands/<name>.toml, .cursor/rules/<name>.mdc, .kiro/skills/<name>/SKILL.md, .github/skills/<name>/SKILL.md, .agents/skills/<name>/SKILL.md — and prunes orphaned adapters it previously generated (identified by their pointer signature; never touches hand-authored vendor files). The .agents/skills/ adapter is the Agent Skills standard dir read by Google Antigravity (agy, the Gemini CLI successor) — Antigravity ignores .gemini/commands, so this is what makes /<name> work there.

It is idempotent and writes only the gitignored adapter dirs — never agent-skills/, never a committed file. Pass --dry-run to preview. The neutral agent-skills/<name>/SKILL.md is always the source of truth; the adapters are thin regenerated pointers (do not commit them).

After syncing, reload your runtime if it loads adapters at startup (e.g. GitHub Copilot CLI: /restart or a skills rescan) for a new /<name> to become available this session.

Files

What ships with it

3 files 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. 3mo ago First seen · 36 lines · 64 tokens per session scan A 3e58718795d2

Subscribe to this mod's changes

sync-adapters is a skill published in the GitHub repository acn-ericlaw/agent-memory (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 64 tokens to every session and 579 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-08-31.

Related

sync-adapters compared with skills from other repositories

sync-adapters next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sync-adaptersacn-ericlaw/agent-memorySkill52mo agoApache-2.0A64Claude Code, Codex
reelier-replayseldonframe/reelierSkill33mo agoMITA75Claude Code, Codex
reelier-write-safetyseldonframe/reelierSkill33mo agoMITB78Claude Code, Codex
reelierseldonframe/reelierSkill33mo agoMITB91Claude Code, Codex
agent-release-swarmruvnet/rufloSkill83ktodayMITA19Claude Code
agent-code-analyzerruvnet/rufloSkill83ktodayMITA19Claude Code
eval-dataset-designbojieli/ai-agent-bookSkill60k2d agoApache-2.0A138Claude Code, Codex