sync

sync is a skill for Claude Code from amanasmuei/amem. It costs 34 tokens per session (324 once invoked), scanned A, original, MIT.

A command that imports Claude Code's automatic memory files into amem, a structured memory system for coding agents. It keeps the original files unchanged and skips duplicates.

In plain words
What is it for?
Useful when moving from Claude Code memory to amem, previewing an import, or combining memories from several projects.
Why use it?
It brings existing project and user context into one searchable memory store without repeatedly adding the same information.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the amem plugin — 2 skills shipped together

Good fit Useful when moving from Claude Code memory to amem, previewing an import, or combining memories from several projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amanasmuei/amem/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.

Any agent
npx skills add amanasmuei/amem --skill sync
Clone the repo
git clone --depth 1 https://github.com/amanasmuei/amem

Made for: Claude Code.

Or install amem, the plugin that ships this one along with the rest of its 2 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/amanasmuei/amem/sync"><img src="https://agentmods.dev/badge/skills/amanasmuei/amem/sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 324 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.00034 $0.00324
Opus 5.5 $0.00014 $0.00130
Sonnet 5.5 $0.00007 $0.00065
Haiku 4.5 $0.00003 $0.00032

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

Security

Grade A, and why

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 3mo 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.

plugin/skills/sync/SKILL.md · 43 lines

What it actually says

/amem:sync — Sync Claude Auto-Memory

Import Claude Code's built-in auto-memory files into amem for unified, structured access.

Instructions

  1. Run the sync command via Bash:

    amem-cli sync
    
  2. If the user wants a preview first:

    amem-cli sync --dry-run
    
  3. Report the results: how many imported, skipped (duplicates), and from how many projects.

  4. After sync, call memory_stats to show the updated memory count.

What it does

  • Reads ~/.claude/projects/*/memory/*.md files
  • Parses YAML frontmatter (name, description, type)
  • Maps Claude types to amem types:
    • feedback → correction (confidence 1.0)
    • project → decision (confidence 0.85)
    • user → preference (confidence 0.8)
    • reference → topology (confidence 0.7)
  • Deduplicates by content hash
  • Stores with source: "claude-auto-memory" tag

Important

  • This is non-destructive — it only adds to amem, never modifies Claude auto-memory
  • Duplicates are automatically skipped
  • Safe to run multiple times
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 · 43 lines · 34 tokens per session scan A 6adcf8688835

Subscribe to this mod's changes

sync is a skill published in the GitHub repository amanasmuei/amem (2 stars, last pushed 7mo ago), licensed MIT. It adds 34 tokens to every session and 324 once invoked, about $0.0001 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 compared with skills from other repositories

sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
syncamanasmuei/amemSkill27mo agoMITA34Claude Code
grepai-watch-daemonyoanbernabeu/grepai-skillsSkill201mo agoMITB28Claude Code
learn-tasteemilkowalski/skillsSkill62k2d agoMITA30Claude Code
kiro-steering-customgotalab/cc-sddSkill3.8k1mo agoMITA14Claude Code, Codex
identity-snapshotdavekilleen/DexSkill522yesterdayMITA74Claude Code, Codex
neural-memorynhadaututtheky/neural-memorySkill246yesterdayMITA125Claude Code
brain-rebuildjessepinkman9900/claude-second-brainSkill189todayMITA74Claude Code