Skip to content
Content
Skill

/sync-context

Regenerate ~/.claude/rules/elle-core.md from your context files. Run after significant context updates to keep your session rules current. Use when context feels stale, after /update-context changes rules/preferences/identity, or after /upgrade.

BOOST
From plugin
ai-launchpad-marketplace
12734 skills2 agents
Install
$ npx -y skills add kenneth-liao/ai-launchpad-marketplace --skill sync-context --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/sync-context

Context preview

The summary Claude sees to decide when to auto-load this skill.

Regenerate ~/.claude/rules/elle-core.md from your context files. Run after significant context updates to keep your session rules current. Use when context feels stale, after /update-context changes rules/preferences/identity, or after /upgrade.

SKILL.md

sync-context.SKILL.md
name: sync-context
description: Regenerate ~/.claude/rules/elle-core.md from your context files. Run after significant context updates to keep your session rules current. Use when context feels stale, after /update-context changes rules/preferences/identity, or after /upgrade.
user-invocable: true
disable-model-invocation: true
model: claude-sonnet-4-6

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
Ships withai-launchpad-marketplace

A curated collection of Claude Code plugins to unlock your personal workflows.

Get the whole plugin

Other skills on ai-launchpad-marketplace.