Agent 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.
Stars
124
Forks
35
Install this agent skill to your Project
npx add-skill https://github.com/kenneth-liao/ai-launchpad-marketplace/tree/main/personal-assistant/skills/sync-context
SKILL.md
Sync Context
Regenerate ~/.claude/rules/elle-core.md from source files in ~/.claude/.context/core/.
What It Does
- Reads identity.md, preferences.md, rules.md, projects.md
- Generates a compact derived file (~100 lines)
- Writes to
~/.claude/rules/elle-core.md - Reports diff of what changed
Run the Script
bash
uv run python ${CLAUDE_SKILL_DIR}/scripts/sync_context.py
After Running
Read the generated file and report what changed:
bash
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-contextchanges rules, preferences, or identity - After
/upgradecompletes - After manual edits to context files
- When elle-core.md feels out of sync with your actual context
Didn't find tool you were looking for?