sync-context

SKILL.md

Sync Context

Regenerate ~/.claude/rules/elle-core.md from source files in ~/.claude/.context/core/.

What It Does

  1. Reads identity.md, preferences.md, rules.md, projects.md
  2. Generates a compact derived file (~100 lines)
  3. Writes to ~/.claude/rules/elle-core.md
  4. Reports diff of what changed

Run the Script

uv run python ${CLAUDE_SKILL_DIR}/scripts/sync_context.py

After Running

Read the generated file and report what changed:

cat ~/.claude/rules/elle-core.md

Summarize:

  • Number of rules synced
  • Number of active projects listed
  • Whether identity/preferences sections were populated
  • Any warnings (empty sections, missing source files)

When to Run

  • After /update-context changes rules, preferences, or identity
  • After /upgrade completes
  • After manual edits to context files
  • When elle-core.md feels out of sync with your actual context
Weekly Installs
2
GitHub Stars
123
First Seen
10 days ago
Installed on
amp2
cline2
opencode2
cursor2
kimi-cli2
codex2