Skip to content
amir-noymanPublic

About

Claude Code skill that synchronizes auto-memory learnings into CLAUDE.md

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

sync-docs

An Agent Skill that synchronizes session learnings from auto-memory into your project's CLAUDE.md.

The Problem

Claude Code's auto-memory accumulates valuable patterns, architectural decisions, and conventions across sessions. But MEMORY.md truncates at 200 lines, and CLAUDE.md drifts out of date. Knowledge gets lost.

What This Skill Does

When you run /sync-docs, the skill:

  1. Reads both CLAUDE.md and MEMORY.md
  2. Identifies stable patterns worth promoting (filters out one-off fixes)
  3. Presents a sync plan for your approval
  4. Makes surgical edits to CLAUDE.md (never rewrites the file)
  5. Trims promoted entries from MEMORY.md to stay under the 200-line limit
  6. Updates any related project docs affected by the changes

Install

npx skills add amirnoyman/sync-docs

Usage

In Claude Code, type:

/sync-docs

Or ask naturally: "sync docs", "update claude md", "promote memory".

Best used at the end of a productive session or after several sessions of accumulated work.

How It Decides What to Promote

Qualifies:

  • Stable patterns confirmed across multiple sessions
  • Architectural decisions that affect future work
  • Naming or API changes already applied across the codebase
  • Corrections to outdated CLAUDE.md content
  • Workflow or tooling changes

Does not qualify:

  • One-time bug fixes
  • Session-specific context
  • Single-file changes that don't establish a pattern
  • Information already in CLAUDE.md

License

MIT

About

Claude Code skill that synchronizes auto-memory learnings into CLAUDE.md

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors