← ClaudeAtlas

rename-housekeepinglisted

Rewrite stale absolute-path references in memory files after a local repo rename or move. Scans `~/.claude/**`, project `CLAUDE.md`/`AGENTS.md`/`.agents/memory/**`/`.planning/**`/`docs/**`/`.claude/**`, and `~/.cursor`/`~/.codex`/`~/.gemini`. Snapshots writes to `~/.claude/.backups/<ts>/` first. Use when user says "I renamed the repo", "moved this project", "verplaatst", "hernoemd", "fix stale paths", or invokes `/ai:rename-housekeeping <old> <new>`.
yusufkaracaburun/ai-kit · ★ 0 · AI & Automation · score 61
Install: claude install-skill yusufkaracaburun/ai-kit
# Rename housekeeping Repo gets renamed (`mv school-activities-hub naschool`) or moved (`mv ~/projects/foo ~/Sites/foo`). Memory files still reference the old absolute path or basename. Next session copy-pastes stale `cd` commands → hits non-existent dir → user pays round-trip + correction. This skill rewrites every stale reference in the detector universe, with dry-run preview + per-file confirm + backups. ## Args ``` /ai:rename-housekeeping <old> <new> ``` - `<old>` — old basename (`school-activities-hub`) OR old absolute path (`/Users/y/Sites/localhost/school-activities-hub`). - `<new>` — new equivalent. If `<old>` is a basename, `<new>` must also be a basename. If `<old>` is an absolute path, `<new>` must also be a path. If args missing, ask via AskUserQuestion. If user just said "I renamed X to Y" in chat without invoking the slash, parse from context and confirm. ## Detector universe Scan for old basename + old absolute path in: | Scope | Glob | | ----- | ---- | | User-global | `~/.claude/CLAUDE.md` | | User-global | `~/.claude/*.md` (siblings: `ai-kit-lessons.md`, `rules/*.md`) | | User-global | `~/.claude/rules/**/*.md` | | Per-project memory | `~/.claude/projects/<slug>/memory/**/*.md` | | Project root | `<repo>/CLAUDE.md` | | Project root | `<repo>/AGENTS.md` | | Project | `<repo>/.agents/memory/**/*.md` | | Project | `<repo>/.planning/**/*.md` | | Project | `<repo>/docs/**/*.md` | | Project | `<repo>/.claude/**/*.md` | | Cross-agent | `~/.cursor/**/*.md` |