| name | refresh-context |
| description | Re-snapshot Core Context.md from the 9 mothership system files and key essays when the mothership changes or the snapshot is older than 30 days; also responds to /refresh-context and ์ฝ์ด ์ปจํ
์คํธ ๊ฐฑ์ . |
refresh-context
Use this skill when the user asks to run refresh-context, /refresh-context, or refresh the LLM Wiki Core Context snapshot.
Command Template
/refresh-context โ Core Context Re-Snapshot
[[Core Context]] ๋
ธํธ๋ ๋ฉ์ธ ๋ณผํธ ({your-mothership-vault-name}) 9 ์์คํ
ํ์ผ๊ณผ ํต์ฌ ์์ธ์ด 5ํธ์ ์์ snapshot ์ด๋ค. ๋ฉ์ธ ๋ณผํธ๊ฐ ๋ณํ๋ฉด ์ด snapshot ๋ ๊ฐฑ์ ํด์ผ ํ๋ค.
When to Run
/lint ๋๋ /status ๊ฐ "Core Context > 30 days old" ๋๋ "mothership drift" flag ํ์ ๋
- ๋ฉ์ธ ๋ณผํธ 9 ์์คํ
ํ์ผ (
CLAUDE.md, AGENTS.md, ANTIGRAVITY.md, CMDS.md, ๐ CMDS Guide.md, ๐ CMDS Head Quarter.md, BRAIN.md, BRAIN_PROMPT.md, DESIGN.md) ์ major version ์ด ๋ณ๊ฒฝ๋์์ ๋
- ์ฌ์ฉ์๊ฐ ์ ์์ธ์ด๋ฅผ ๋ฐํํ์ ๋ (Permanent Notes)
- 7 ์ฌํ์ฉ ์ถ์ด ๋ณ๊ฒฝ๋์์ ๋ (์: ์ ์ฌ์
๋ถ ์ถ๊ฐ, ๊ธฐ์กด ์ถ ์ ๊ฑฐ)
Process
Step 1: Load Current Core Context
Read [[Core Context]] frontmatter snapshot_date and current ยง2 (7 ์ฌํ์ฉ ์ถ), ยง4 (์ฒ ํ 4์ถ), ยง5 (5 ์์คํ
ํ์ผ ์์ฝ).
Step 2: Re-Read Mothership System Files
# Codex: Read(...)
# Antigravity: view_file(...)
Read("{PATH_TO_YOUR_MOTHERSHIP_VAULT}/CLAUDE.md")
Read("{PATH_TO_YOUR_MOTHERSHIP_VAULT}/AGENTS.md")
Read("{PATH_TO_YOUR_MOTHERSHIP_VAULT}/ANTIGRAVITY.md")
Read("{PATH_TO_YOUR_MOTHERSHIP_VAULT}/CMDS.md")
Read("{PATH_TO_YOUR_MOTHERSHIP_VAULT}/๐ CMDS Guide.md")
Read("{PATH_TO_YOUR_MOTHERSHIP_VAULT}/๐ CMDS Head Quarter.md")
Read("{PATH_TO_YOUR_MOTHERSHIP_VAULT}/BRAIN.md")
Read("{PATH_TO_YOUR_MOTHERSHIP_VAULT}/BRAIN_PROMPT.md")
Read("{PATH_TO_YOUR_MOTHERSHIP_VAULT}/DESIGN.md")
For each file, capture:
version: (frontmatter) โ has it bumped?
date modified: โ newer than current snapshot?
changelog: first entry โ what changed?
- Sections that affect Core Context ยง5 table (precedence, audience, focus, memory-type)
Step 3: (์ต์
) Re-Read Personal Essays
์ฌ์ฉ์๊ฐ Core Context ์ source: ํ๋กํผํฐ์ ๋ฑ๋กํ ์์ธ์ด๋ค์ ๋ค์ ์ฝ๋๋ค. ๊ฒฝ๋ก๋ ์ฌ์ฉ์ ํ๊ฒฝ๋ง๋ค ๋ค๋ฅด๋ฏ๋ก {PATH_TO_YOUR_ESSAYS} placeholder ๋ก ๋ฑ๋กํด๋๊ณ ์ฌ์ฉ.
# Codex: Read(...) / Antigravity: view_file(...)
# Core Context frontmatter ์ source ๋ฆฌ์คํธ์ ์๋ ๊ฐ ๊ฒฝ๋ก์ ๋ํด
Read("<essay path>")
Also scan for new essays (last 60 days) that may signal philosophy shift:
find "{PATH_TO_YOUR_ESSAYS}" -name "*.md" -mtime -60 | head -10
Step 4: Diff & Propose
Show the user a side-by-side:
- Current Core Context (key sections โ 7 axes, 5 files table, 4 philosophies)
- Proposed updates based on mothership state
- New essays discovered (with one-line summary each โ ask if any deserve ยง4 promotion)
Ask: "์ด diff ๋ฅผ ์ ์ฉํ ๊น์? (์ ์ฒด / ๋ถ๋ถ / ๊ฑฐ๋ถ)"
Step 5: Apply
If approved:
- Update [[Core Context]] body sections
- Update frontmatter:
snapshot_date: {today}, date modified: {today}, bump version if ยง2/ยง4/ยง5 changed (semver-ish: 1.0 โ 1.1 for additions, 2.0 for restructure)
- Update
source: list if new essays added
Step 6: Log
Append to log.md:
## [{YYYY-MM-DD}] update | Core Context refreshed (v{old} โ v{new})
- Mothership drift: {which files changed since last snapshot}
- New essays incorporated: {list}
- Updated sections: {ยง2 / ยง4 / ยง5 / etc}
- Why: {one-line reason}
Output
Report:
- Snapshot age: was {N} days old, now 0
- Changes applied: bullet list of section updates
- New essays added to source list: count + titles
- Version bump: old โ new